diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-02-05 22:54:18 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-03-07 21:18:32 +0100 |
commit | 97f10934edf8ac02f28fccea0bcbbe9293375357 (patch) | |
tree | d0af38ad0594961185a9f8a2ff31a88caa76fd4e /src/amd/Makefile.sources | |
parent | c217607b65ae00918ea86454eb59e6ee69c6ea68 (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/Makefile.sources')
-rw-r--r-- | src/amd/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/Makefile.sources b/src/amd/Makefile.sources index 10c4827e19c..f57dd403c5f 100644 --- a/src/amd/Makefile.sources +++ b/src/amd/Makefile.sources @@ -44,6 +44,7 @@ AMD_COMPILER_FILES = \ common/ac_llvm_helper.cpp \ common/ac_llvm_util.c \ common/ac_llvm_util.h \ + common/ac_lower_subgroups.c \ common/ac_shader_abi.h \ common/ac_shader_info.c \ common/ac_shader_info.h \ |