Mesa (master): radeonsi: fix regression in image atomics
Nicolai Hähnle
nh at kemper.freedesktop.org
Thu Oct 13 14:04:39 UTC 2016
Module: Mesa
Branch: master
Commit: 761388a0eb586b1dcaec063ee561056ed132dc1a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=761388a0eb586b1dcaec063ee561056ed132dc1a
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Thu Oct 13 16:03:06 2016 +0200
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 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);
More information about the mesa-commit
mailing list