spirv: Add explicit pointer types

Graphics / Mesa 3D Graphics Library / Mesa - Jason Ekstrand [intel.com] - 8 January 2019 00:38 EST

Instead of baking in uvec2 for UBO and SSBO pointers and uint for push constant and shared memory pointers, make it configurable.

adc155a815 spirv: Add explicit pointer types
src/amd/vulkan/radv_shader.c | 4 ++++
src/compiler/spirv/nir_spirv.h | 6 ++++++
src/compiler/spirv/spirv_to_nir.c | 42 ++++++++++++++++++++-------------------
src/intel/vulkan/anv_pipeline.c | 4 ++++
4 files changed, 36 insertions(+), 20 deletions(-)

Upstream: cgit.freedesktop.org


  • Share