Commit 244e4083 authored by Danylo Piliaiev's avatar Danylo Piliaiev 馃嚭馃嚘 Committed by Marge Bot
Browse files

ir3: Consider const alloc alignment in free space size calcs


The alignment was considered only for offset, but its users
(at least ir3_nir_opt_preamble) expect the size itself to also
be aligned.

Fixes tests:
  dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.struct_mixed_types.uniform_buffer_block_geom
  dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.struct_mixed_types.uniform_buffer_block_tessc
  dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.struct_mixed_types.uniform_buffer_block_tesse
  gmem-dEQP-VK.spirv_assembly.instruction.graphics.16bit_storage.struct_mixed_types.uniform_buffer_block_tesse

Fixes: 922ef8e7
("ir3: Make allocation of consts more generic and order independent")

Signed-off-by: default avatarDanylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!33161>
parent 1feb733c
Loading
Loading
Loading
Loading
Loading
Please register or to comment