summaryrefslogtreecommitdiffstats
path: root/src/amd/common/meson.build
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-02-05 22:54:18 +0100
committerBas Nieuwenhuizen <[email protected]>2018-03-07 21:18:32 +0100
commit97f10934edf8ac02f28fccea0bcbbe9293375357 (patch)
treed0af38ad0594961185a9f8a2ff31a88caa76fd4e /src/amd/common/meson.build
parentc217607b65ae00918ea86454eb59e6ee69c6ea68 (diff)
ac/nir: Add vote_ieq/vote_feq lowering pass.
The old vote_eq implementation supported only booleans, but now we have to support arbitrary values, so use the read_first_invocation intrinsic + ballot. I took this as an opportunity to figure out how easy it was to do this in nir instead of in the nir_to_llvm pass, and it actually turned out pretty okay IMO. Only creating the pass is some extra code. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/meson.build')
-rw-r--r--src/amd/common/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/meson.build b/src/amd/common/meson.build
index 22c13b955fa..6c5c2f45ac5 100644
--- a/src/amd/common/meson.build
+++ b/src/amd/common/meson.build
@@ -35,6 +35,7 @@ amd_common_files = files(
'ac_llvm_helper.cpp',
'ac_llvm_util.c',
'ac_llvm_util.h',
+ 'ac_lower_subgroups.c',
'ac_shader_abi.h',
'ac_shader_info.c',
'ac_shader_info.h',