diff options
author | Jason Ekstrand <[email protected]> | 2016-07-08 17:24:19 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-13 11:47:37 -0700 |
commit | 0bd3a7e931b0cfd5aa81f37c43c330d6ae656a49 (patch) | |
tree | b627e15a5c2dbbafe116dd96ca10d0eabff02c48 /src/intel/vulkan/genX_cmd_buffer.c | |
parent | 4b62c19c323f79e7cc4feff5845996e8dde8daaf (diff) |
isl: Change the physical size of a W-tile to 128x32
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_cmd_buffer.c')
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index ed90a91499f..648649fbb93 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -1112,12 +1112,7 @@ cmd_buffer_emit_depth_stencil(struct anv_cmd_buffer *cmd_buffer) #endif sb.StencilBufferObjectControlState = GENX(MOCS), - /* Stencil buffers have strange pitch. The PRM says: - * - * The pitch must be set to 2x the value computed based on width, - * as the stencil buffer is stored with two rows interleaved. - */ - sb.SurfacePitch = 2 * image->stencil_surface.isl.row_pitch - 1, + sb.SurfacePitch = image->stencil_surface.isl.row_pitch - 1, #if GEN_GEN >= 8 sb.SurfaceQPitch = isl_surf_get_array_pitch_el_rows(&image->stencil_surface.isl) >> 2, |