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
|
|
@ -802,7 +802,7 @@ void TParseVersions::spvRemoved(const TSourceLoc& loc, const char* op)
|
|||
// Call for any operation removed because Vulkan SPIR-V is being generated.
|
||||
void TParseVersions::vulkanRemoved(const TSourceLoc& loc, const char* op)
|
||||
{
|
||||
if (spvVersion.vulkan >= 100)
|
||||
if (spvVersion.vulkan > 0)
|
||||
error(loc, "not allowed when using GLSL for Vulkan", op, "");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue