projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9963af8
)
anv: Pull StencilBufferWriteEnable from both sides
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 16 Feb 2016 20:21:55 +0000
(12:21 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 18 Feb 2016 02:04:39 +0000
(18:04 -0800)
src/vulkan/gen8_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/vulkan/gen8_cmd_buffer.c
b/src/vulkan/gen8_cmd_buffer.c
index ebd6123454de5eeb9e5e5bc10af180d36e942d6e..5ca6f6978c9fcd52f74106c6b8c4ba54593db48f 100644
(file)
--- a/
src/vulkan/gen8_cmd_buffer.c
+++ b/
src/vulkan/gen8_cmd_buffer.c
@@
-427,7
+427,8
@@
genX(cmd_buffer_flush_state)(struct anv_cmd_buffer *cmd_buffer)
struct GEN9_3DSTATE_WM_DEPTH_STENCIL wm_depth_stencil = {
GEN9_3DSTATE_WM_DEPTH_STENCIL_header,
- .StencilBufferWriteEnable = d->stencil_write_mask.front != 0,
+ .StencilBufferWriteEnable = d->stencil_write_mask.front != 0 ||
+ d->stencil_write_mask.back != 0,
.StencilTestMask = d->stencil_compare_mask.front & 0xff,
.StencilWriteMask = d->stencil_write_mask.front & 0xff,