mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 00:38:48 +02:00
anv/cmd_buffer: Fix programmed HiZ qpitch
Match the comment above the field by using units of pixels and not HiZ
blocks.
Cc: mesa-stable@lists.freedesktop.org
Suggested-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 9f1d3a0c97)
This commit is contained in:
parent
8b3beddd03
commit
d5a941b7d9
1 changed files with 1 additions and 1 deletions
|
|
@ -1822,7 +1822,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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue