SPV: Non-functional: Condense SPV-related versioning, and rationalize all uses.
This commit is contained in:
parent
65336488a8
commit
b901ade058
17 changed files with 174 additions and 153 deletions
|
|
@ -1092,7 +1092,7 @@ int TScanContext::tokenizeIdentifier()
|
|||
case TEXTURE1DARRAY:
|
||||
case SAMPLER:
|
||||
case SAMPLERSHADOW:
|
||||
if (parseContext.spv > 0)
|
||||
if (parseContext.spvVersion.vulkan >= 100)
|
||||
return keyword;
|
||||
else
|
||||
return identifierOrType();
|
||||
|
|
@ -1103,7 +1103,7 @@ int TScanContext::tokenizeIdentifier()
|
|||
case ISUBPASSINPUTMS:
|
||||
case USUBPASSINPUT:
|
||||
case USUBPASSINPUTMS:
|
||||
if (parseContext.spv > 0)
|
||||
if (parseContext.spvVersion.vulkan >= 100)
|
||||
return keyword;
|
||||
else
|
||||
return identifierOrType();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue