glsl/sso: Add parser and AST-to-HIR support for separate shader object layouts
GL_ARB_separate_shader_objects adds the ability to specify location layouts for interstage inputs and outputs. In addition, this extension makes 'in' and 'out' generally available for shader inputs and outputs. This mimics the behavior of GL_ARB_explicit_attrib_location. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -2134,6 +2134,9 @@ _glcpp_parser_handle_version_declaration(glcpp_parser_t *parser, intmax_t versio
|
||||
if (extensions->ARB_texture_gather)
|
||||
add_builtin_define(parser, "GL_ARB_texture_gather", 1);
|
||||
|
||||
if (extensions->ARB_separate_shader_objects)
|
||||
add_builtin_define(parser, "GL_ARB_separate_shader_objects", 1);
|
||||
|
||||
if (extensions->ARB_shader_atomic_counters)
|
||||
add_builtin_define(parser, "GL_ARB_shader_atomic_counters", 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user