nir/spirv: Allow but warn for a few capabilities
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Feb 2016 06:02:41 +0000 (22:02 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 24 Feb 2016 06:07:25 +0000 (22:07 -0800)
commitc9564fd598573f609480f70a141b95900047ba58
tree9b98c7e56427ee4e91da5caba758b026b08b9839
parentf0f7cc22f3f061416c81cf80ccbe4a6a390082a7
nir/spirv: Allow but warn for a few capabilities

Unfortunately, glslang gives us cull/clip distance and GS streams even if
the shader doesn't use it whenever a shader is declared as version 450.
This is a glslang bug, but we can easily enough ignore it for now.
src/compiler/nir/spirv/spirv_to_nir.c