Skip to content
  • Neil Roberts's avatar
    glsl-es-1.00: Test that mismatched function return precision fails · b68c885b
    Neil Roberts authored
    
    
    In GLSL ES functions can have precision qualifers for the return type.
    Interpreting this quote from the GLSL ES spec, it seems like the
    precision for the return type should match between repeated
    declarations of the same function:
    
    “Only a precision qualifier is allowed on the return type of a
     function. […] If a function name is declared twice with the same
     parameter types, then the return types and all qualifiers must also
     match, and it is the same function being declared.”
    
    Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
    b68c885b