diff options
author | Nanley Chery <[email protected]> | 2017-01-05 01:23:27 -0800 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2017-01-11 17:35:59 -0800 |
commit | 9f1d3a0c971e95c9e04cf6bfcd60f8b0d8c6742b (patch) | |
tree | f3ead2267abd898930ca0fa2ec282d3073a3f430 /src/intel/vulkan | |
parent | 61992e0afe5f717aad7321d9748588b2cd27f8ee (diff) |
anv/cmd_buffer: Fix programmed HiZ qpitch
Match the comment above the field by using units of pixels and not HiZ
blocks.
Cc: [email protected]
Suggested-by: Jason Ekstrand <[email protected]>
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index a2782dcc4b6..7ff0d3ebba3 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -2191,7 +2191,7 @@ cmd_buffer_emit_depth_stencil(struct anv_cmd_buffer *cmd_buffer) * 2-D images. Prior to Sky Lake, this field is always in rows. */ hdb.SurfaceQPitch = - isl_surf_get_array_pitch_el_rows(&image->aux_surface.isl) >> 2; + isl_surf_get_array_pitch_sa_rows(&image->aux_surface.isl) >> 2; #endif } } else { |