SPV/Standalone: Support specifying arbitrary versions of SPIR-V.

This commit is contained in:
John Kessenich 2018-10-26 10:12:32 -06:00
parent ae63a8dfce
commit 8717a5d39a
4 changed files with 83 additions and 36 deletions

3
glslang/Public/ShaderLang.h Normal file → Executable file
View file

@ -154,7 +154,10 @@ typedef EShTargetClientVersion EshTargetClientVersion;
typedef enum {
EShTargetSpv_1_0 = (1 << 16),
EShTargetSpv_1_1 = (1 << 16) | (1 << 8),
EShTargetSpv_1_2 = (1 << 16) | (2 << 8),
EShTargetSpv_1_3 = (1 << 16) | (3 << 8),
EShTargetSpv_1_4 = (1 << 16) | (4 << 8),
} EShTargetLanguageVersion;
struct TInputLanguage {