Non-functional: Make the vulkan version number meaning be only 0 or not 0.
This commit is contained in:
parent
e58d58b782
commit
b5b5f918c6
6 changed files with 13 additions and 13 deletions
|
|
@ -1244,7 +1244,7 @@ int TScanContext::tokenizeIdentifier()
|
|||
case TEXTURE1DARRAY:
|
||||
case SAMPLER:
|
||||
case SAMPLERSHADOW:
|
||||
if (parseContext.spvVersion.vulkan >= 100)
|
||||
if (parseContext.spvVersion.vulkan > 0)
|
||||
return keyword;
|
||||
else
|
||||
return identifierOrType();
|
||||
|
|
@ -1255,7 +1255,7 @@ int TScanContext::tokenizeIdentifier()
|
|||
case ISUBPASSINPUTMS:
|
||||
case USUBPASSINPUT:
|
||||
case USUBPASSINPUTMS:
|
||||
if (parseContext.spvVersion.vulkan >= 100)
|
||||
if (parseContext.spvVersion.vulkan > 0)
|
||||
return keyword;
|
||||
else
|
||||
return identifierOrType();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue