summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.c
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2016-10-13 16:03:06 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2016-10-13 16:04:16 +0200
commit761388a0eb586b1dcaec063ee561056ed132dc1a (patch)
tree65ed22db3327460dfe4ac88156ee15b0864901b8 /src/gallium/drivers/radeonsi/si_shader.c
parentd413fbb159d0ddac16bb9d93bdda4fe598d39e17 (diff)
downloadexternal_mesa3d-761388a0eb586b1dcaec063ee561056ed132dc1a.zip
external_mesa3d-761388a0eb586b1dcaec063ee561056ed132dc1a.tar.gz
external_mesa3d-761388a0eb586b1dcaec063ee561056ed132dc1a.tar.bz2
radeonsi: fix regression in image atomics
Caused by a bad rebase when pushing commit 76a940893.
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 25146e8..fc50205 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);