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:
Jason Ekstrand 2015-12-30 14:02:20 -08:00
parent 9f23116bfa
commit a7e827192b

View file

@ -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;