mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
isl: Tile-align height in image size calculation
This fixes a bunch of gpu hangs on the dEQP-VK.glsl.ShaderExecutor.common group of CTS tests.
This commit is contained in:
parent
9f23116bfa
commit
a7e827192b
1 changed files with 1 additions and 1 deletions
|
|
@ -1016,7 +1016,7 @@ isl_surf_init_s(const struct isl_device *dev,
|
|||
array_pitch_el_rows);
|
||||
|
||||
const uint32_t total_h_sa = total_h_el * fmtl->bh;
|
||||
const uint32_t size = row_pitch * total_h_sa;
|
||||
const uint32_t size = row_pitch * isl_align(total_h_sa, tile_info.height);
|
||||
|
||||
/* Alignment of surface base address, in bytes */
|
||||
uint32_t base_alignment = info->min_alignment;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue