summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-04 12:23:01 -0800
committerJason Ekstrand <[email protected]>2016-03-04 12:23:01 -0800
commitd154a5ebd68b3d1f465d6bb77e34b3ff04bc8a9f (patch)
treecfbe765788a383dcbcd416ca27e41c4edeb82889 /src
parentf374765ce685d30b4eabe8085dc3daa95a75f8f8 (diff)
anv/cmd_buffer: Let the pipeline set StencilBufferWriteEnable on gen9
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/gen8_cmd_buffer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/intel/vulkan/gen8_cmd_buffer.c b/src/intel/vulkan/gen8_cmd_buffer.c
index dc0d5570904..8972a8db6fc 100644
--- a/src/intel/vulkan/gen8_cmd_buffer.c
+++ b/src/intel/vulkan/gen8_cmd_buffer.c
@@ -428,9 +428,6 @@ 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 ||
- d->stencil_write_mask.back != 0,
-
.StencilTestMask = d->stencil_compare_mask.front & 0xff,
.StencilWriteMask = d->stencil_write_mask.front & 0xff,