nir/spirv: Get the shader stage from the SPIR-V
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 Dec 2015 01:00:16 +0000 (17:00 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 31 Dec 2015 01:45:43 +0000 (17:45 -0800)
commite993e45eb157014fe6a7f65be8edda9fd716dc52
tree0cdc5ad597d54b66a0cba7666488248bbb42c30f
parentdb3a64fcea6318ab5ded186a347e732b7956f1f7
nir/spirv: Get the shader stage from the SPIR-V

Previously, we depended on it being passed in.
src/glsl/nir/spirv/nir_spirv.h
src/glsl/nir/spirv/spirv_to_nir.c
src/glsl/nir/spirv/vtn_private.h
src/glsl/nir/spirv2nir.c
src/vulkan/anv_pipeline.c