SPV Version: Emit the requested SPIR-V version, not the header version.

Fixes #1236.
This commit is contained in:
John Kessenich
2018-01-31 18:35:56 -07:00
parent 43f5b27321
commit 2b5ea9f851
493 changed files with 500 additions and 497 deletions

View File

@@ -159,7 +159,7 @@ std::vector<std::string> IncludeDirectoryList;
int ClientInputSemanticsVersion = 100; // maps to, say, #define VULKAN 100
int VulkanClientVersion = 100; // would map to, say, Vulkan 1.0
int OpenGLClientVersion = 450; // doesn't influence anything yet, but maps to OpenGL 4.50
unsigned int TargetVersion = 0x00001000; // maps to, say, SPIR-V 1.0
unsigned int TargetVersion = 0x00010000; // maps to, say, SPIR-V 1.0
std::vector<std::string> Processes; // what should be recorded by OpModuleProcessed, or equivalent
// Per descriptor-set binding base data