spirv: Handle ShaderLayer and ShaderViewportIndex capabilities
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Sat, 14 Sep 2019 03:40:50 +0000 (20:40 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 17 Sep 2019 02:18:01 +0000 (19:18 -0700)
commit9cf1bfcdd7ea6095147cbc10466d0cec4b761567
tree445497de50161ffa35402e49bb0f7c73af2fac35
parentf6392e38d83e6a358a18c67e6ed56c97b0dd7f65
spirv: Handle ShaderLayer and ShaderViewportIndex capabilities

SPIR-V 1.5 incorported the SPV_EXT_shader_viewport_index_layer but
splitting into the two capabilities above.  Just handle them as we
support the extension already.

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