projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svga: Fix up for context transfers.
[mesa.git]
/
src
/
gallium
/
drivers
/
i915
/
i915_state_immediate.c
diff --git
a/src/gallium/drivers/i915/i915_state_immediate.c
b/src/gallium/drivers/i915/i915_state_immediate.c
index 8c16bb4e2710e63ede4c3e428f7fb02387bc55ca..d2c6f1514342a5d39da5c3d33538a17c6100ae91 100644
(file)
--- a/
src/gallium/drivers/i915/i915_state_immediate.c
+++ b/
src/gallium/drivers/i915/i915_state_immediate.c
@@
-129,6
+129,8
@@
static void upload_S5( struct i915_context *i915 )
unsigned LIS5 = 0;
LIS5 |= i915->depth_stencil->stencil_LIS5;
+ /* hope it's safe to set stencil ref value even if stencil test is disabled? */
+ LIS5 |= i915->stencil_ref.ref_value[0] << S5_STENCIL_REF_SHIFT;
LIS5 |= i915->blend->LIS5;