Add missing GL_ARB_shader_ballot builtins to Geometry and Tessellation shaders
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 12 Jun 2019 14:42:43 +0000 (16:42 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Sat, 15 Jun 2019 10:55:50 +0000 (12:55 +0200)
commitdbe6b06dde29718ff737dd3893c9976bd8661329
tree15db19c9856b5f17382dd2f75d332111971dd59b
parenta549bb81752365526f6d7334f00961ea08689211
Add missing GL_ARB_shader_ballot builtins to Geometry and Tessellation shaders

When processing Geometry and Tessellation Control/Evaluation shaders,
the builtins defined by GL_ARB_shader_ballot were not processed by
glslang. This specially a problem for gl_SubGroupSizeARB because, it is
treated as shader input instead of uniform on Vulkan.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
glslang/MachineIndependent/Initialize.cpp