spirv: Add explicit pointer types
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 28 Nov 2018 21:20:03 +0000 (15:20 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Tue, 8 Jan 2019 00:38:30 +0000 (00:38 +0000)
commitadc155a8156ee4df18c66bc44587a6880a70bdd7
treeb96e01a55601d50cb8f1db0800065a93e5c1b9fd
parentbe039cb467635c6e2a70e29a586de7a5e403c929
spirv: Add explicit pointer types

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

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/amd/vulkan/radv_shader.c
src/compiler/spirv/nir_spirv.h
src/compiler/spirv/spirv_to_nir.c
src/intel/vulkan/anv_pipeline.c