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:
parent
f3b184590f
commit
4d14b190bb
4 changed files with 71 additions and 13 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue