spirv: Restrict use of descriptor intrinsics to Vulkan
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Fri, 22 Mar 2019 05:58:30 +0000 (22:58 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 20 Jun 2019 05:07:51 +0000 (22:07 -0700)
commit12131096fa421952fd198b1edb5bf5865803b8eb
tree922cebec2d59dcd902dd6aee915323e03a3732bd
parent21dd8814169e81f3dd398d17311b688f83b653c4
spirv: Restrict use of descriptor intrinsics to Vulkan

In ARB_gl_spirv we'll be able to use variables for uniform buffers, so
don't use the descriptor intrinsics to lower the block access.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/vtn_variables.c