diff options
author | Nicolai Hähnle <[email protected]> | 2016-10-13 16:03:06 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-10-13 16:04:16 +0200 |
commit | 761388a0eb586b1dcaec063ee561056ed132dc1a (patch) | |
tree | 65ed22db3327460dfe4ac88156ee15b0864901b8 | |
parent | d413fbb159d0ddac16bb9d93bdda4fe598d39e17 (diff) |
radeonsi: fix regression in image atomics
Caused by a bad rebase when pushing commit 76a940893.
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
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 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); |