Delete duplicated gl_SubGroupSizeARB builtin treatment
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
This commit is contained in:
parent
def9662348
commit
2cfde2bdbe
@ -8176,12 +8176,6 @@ void TBuiltIns::identifyBuiltIns(int version, EProfile profile, const SpvVersion
|
|||||||
BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
|
BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (spvVersion.vulkan > 0)
|
|
||||||
// Treat "gl_SubGroupSizeARB" as shader input instead of uniform for Vulkan
|
|
||||||
SpecialQualifier("gl_SubGroupSizeARB", EvqVaryingIn, EbvSubGroupSize, symbolTable);
|
|
||||||
else
|
|
||||||
BuiltInVariable("gl_SubGroupSizeARB", EbvSubGroupSize, symbolTable);
|
|
||||||
|
|
||||||
// GL_KHR_shader_subgroup
|
// GL_KHR_shader_subgroup
|
||||||
if ((profile == EEsProfile && version >= 310) ||
|
if ((profile == EEsProfile && version >= 310) ||
|
||||||
(profile != EEsProfile && version >= 140)) {
|
(profile != EEsProfile && version >= 140)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user