mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 04:10:40 +01:00
radv/ac: bump params array for image atomic comp swap
For the comp_swap case this was overflowing and crashing sometimes. Fixes: dEQP-VK.image.atomic_operations.compare_exchange.* Cc: "17.2" <mesa-stable@lists.freedesktop.org> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
ebd2a5354d
commit
aba441be44
1 changed files with 1 additions and 1 deletions
|
|
@ -3466,7 +3466,7 @@ static void visit_image_store(struct ac_nir_context *ctx,
|
|||
static LLVMValueRef visit_image_atomic(struct ac_nir_context *ctx,
|
||||
const nir_intrinsic_instr *instr)
|
||||
{
|
||||
LLVMValueRef params[6];
|
||||
LLVMValueRef params[7];
|
||||
int param_count = 0;
|
||||
const nir_variable *var = instr->variables[0]->var;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue