anv: Add support for SPIR-V 1.3 subgroup operations

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 7 March 2018 20:13 EST

This requires us to bump the subgroup size to 32 for all shader stages because Vulkan requires that to be a physical device query.

03c07ac548 anv: Add support for SPIR-V 1.3 subgroup operations
src/intel/compiler/brw_compiler.h | 8 ++++++++
src/intel/compiler/brw_nir.c | 3 +--
src/intel/vulkan/anv_device.c | 24 ++++++++++++++++++++++++
src/intel/vulkan/anv_pipeline.c | 6 ++++++
4 files changed, 39 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share