Re: [Mesa-dev] [PATCH 2/3] glsl/linker: generalize validate_explicit_variable_location for SSO

2017-10-20 Thread Timothy Arceri
Thanks! 1-2: Reviewed-by: Timothy Arceri ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 2/3] glsl/linker: generalize validate_explicit_variable_location for SSO

2017-10-20 Thread Iago Toral Quiroga
For non-SSO programs, we only need to validate outputs, since the cross validation of outputs to inputs will ensure that we produce linker errors for invalid inputs too. Hoever,for the SSO path there is no output to input validation, so we need to validate inputs explicitly. Generalize the functio