[Mesa-dev] [PATCH v3 0/7] radv: add support for new subgroup capabilities

Daniel Schürmann daniel.schuermann at campus.tu-berlin.de
Tue Apr 10 14:37:29 UTC 2018


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



More information about the mesa-dev mailing list