Third version of the series: - rebased to master - lower_shuffle_to_32bit now only lowers shuffles and nothing else - removed constant values from quad intrinsics
Previous Version can be found here https://lists.freedesktop.org/archives/mesa-dev/2018-March/189116.html Daniel Schürmann (7): nir: adjust subgroups instructions for 64bit ballot sizes nir/spirv: Fix warning and add missing breaks. nir: lower 64bit subgroup shuffle intrinsics ac: make ballot and umsb capable of 64bit inputs ac: add LLVM build functions for subgroup instrinsics ac: handle subgroup intrinsics radv: enable subgroup capabilities src/amd/common/ac_llvm_build.c | 490 ++++++++++++++++++++++++++++++++- src/amd/common/ac_llvm_build.h | 30 +- src/amd/common/ac_nir_to_llvm.c | 69 +++-- src/amd/vulkan/radv_device.c | 10 +- src/amd/vulkan/radv_shader.c | 7 +- src/compiler/nir/nir.h | 1 + src/compiler/nir/nir_lower_subgroups.c | 73 +++-- src/compiler/nir/nir_opcodes.py | 12 +- src/compiler/spirv/spirv_to_nir.c | 2 + src/compiler/spirv/vtn_subgroup.c | 2 + 10 files changed, 632 insertions(+), 64 deletions(-) -- 2.14.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev