Infrastructure: Non-functional: Move to rich description of environment.
This is for input languages, client APIs, code to generate, etc.
This commit is contained in:
parent
4fbb8cb45e
commit
4be4aebdcd
6 changed files with 191 additions and 34 deletions
|
|
@ -355,9 +355,9 @@ void TParseVersions::getPreamble(std::string& preamble)
|
|||
// #define VULKAN XXXX
|
||||
const int numberBufSize = 12;
|
||||
char numberBuf[numberBufSize];
|
||||
if (spvVersion.vulkan > 0) {
|
||||
if (spvVersion.vulkanGlsl > 0) {
|
||||
preamble += "#define VULKAN ";
|
||||
snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkan);
|
||||
snprintf(numberBuf, numberBufSize, "%d", spvVersion.vulkanGlsl);
|
||||
preamble += numberBuf;
|
||||
preamble += "\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue