On Tue, May 2, 2017 at 7:36 PM, Eric Anholt <e...@anholt.net> wrote: > Fixes deqp_gles2 undefine_invalid_object_* failures. > --- > src/compiler/glsl/glcpp/glcpp-parse.y | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/src/compiler/glsl/glcpp/glcpp-parse.y > b/src/compiler/glsl/glcpp/glcpp-parse.y > index e113253061f6..5cb2a380605b 100644 > --- a/src/compiler/glsl/glcpp/glcpp-parse.y > +++ b/src/compiler/glsl/glcpp/glcpp-parse.y > @@ -284,7 +284,8 @@ control_line_success: > * It is an error to undefine or to redefine a built-in > * (pre-defined) macro name. > * > - * The GLSL ES 1.00 spec does not contain this text. > + * The GLSL ES 1.00 spec does not contain this text, but > + * dEQP's preprocess test in GLES2 checks for it.
Wouldn't it be better to fix dEQP? Or at least get Khronos to clarify the spec? I mean, the spec is what defines the behavior, not dEQP. There's been a bunch of mistakes in dEQP that has been corrected, why would this be any different? _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev