Module: Mesa
Branch: master
Commit: 761388a0eb586b1dcaec063ee561056ed132dc1a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=761388a0eb586b1dcaec063ee561056ed132dc1a

Author: Nicolai Hähnle <nicolai.haeh...@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);

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to