vk/compiler: Add shader language detection
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 May 2015 00:05:38 +0000 (17:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 21 May 2015 00:05:41 +0000 (17:05 -0700)
commit14929046ba3a2d328d274522e34bcde6a19a47e5
tree077b40715d59f8ccb97ffdad00706e02491fc38e
parent47c1cf5ce68d0f76e749883627983f330c2c8d76
vk/compiler: Add shader language detection

This commit adds support for the LunarG GLSL back-door as well as detecting
regular GLSL and SPIR-V.  The SPIR-V path doesn't exist yet, so that will
cause an assert-fail.
src/vulkan/compiler.cpp