From 761388a0eb586b1dcaec063ee561056ed132dc1a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Thu, 13 Oct 2016 16:03:06 +0200 Subject: [PATCH] radeonsi: fix regression in image atomics Caused by a bad rebase when pushing commit 76a940893. --- src/gallium/drivers/radeonsi/si_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 25146e8d43f..fc50205633d 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -4203,7 +4203,7 @@ static void atomic_emit( else coords = emit_data->args[1]; - build_type_name_for_intr(coords, coords_type, sizeof(coords_type)); + build_type_name_for_intr(LLVMTypeOf(coords), coords_type, sizeof(coords_type)); snprintf(intrinsic_name, sizeof(intrinsic_name), "llvm.amdgcn.image.atomic.%s.%s", action->intr_name, coords_type); -- 2.30.2