Skip to content
  • Ian Romanick's avatar
    Instead of 'attribute', use 'in' with 'layout' · 2a0609e3
    Ian Romanick authored
    This fixes all of the GL_ARB_explicit_attribute_location tests except
    glsl-explicit-location-05 on the AMD drivers.  This is a bug in their
    driver.  The spec clearly spells out this behavior in issue #6:
    
       "6. What happens if an input or output variable is declared in two
           shader objects with an attribute location assigned in one shader but
           not the other.
    
           RESOLVED.  The link will succeed and use the explicit assignment from
           the first shader, as long as there are no other conflicting
           assignments."
    
    Fixes bugzilla #31804.
    2a0609e3