anv/cmd_buffer: Let the pipeline set StencilBufferWriteEnable on gen9
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 4 Mar 2016 20:23:01 +0000 (12:23 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 4 Mar 2016 20:23:01 +0000 (12:23 -0800)
src/intel/vulkan/gen8_cmd_buffer.c

index dc0d55709042c890e1257d327959e8133af5575c..8972a8db6fc8ede8ec48e33b2ac6b6ff5aaca489 100644 (file)
@@ -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,