Non-functional: Make the vulkan version number meaning be only 0 or not 0.

This commit is contained in:
John Kessenich 2018-03-02 18:17:42 -07:00
parent e58d58b782
commit b5b5f918c6
6 changed files with 13 additions and 13 deletions

View file

@ -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();