Re: [Mesa-dev] [PATCH] mesa: lower severity for GLSL compiler warnings

2017-02-13 Thread Timothy Arceri
On 14/02/17 05:07, Matt Turner wrote: Agreed. The GL_KHR_debug spec says MEDIUM means "Severe performance warnings; GLSL or other shader compiler and linker warnings; use of currently deprecated behavior", while HIGH means "Any GL error; dangerous undefined behavior; any GLSL or ARB shader compil

Re: [Mesa-dev] [PATCH] mesa: lower severity for GLSL compiler warnings

2017-02-13 Thread Matt Turner
Agreed. The GL_KHR_debug spec says MEDIUM means "Severe performance warnings; GLSL or other shader compiler and linker warnings; use of currently deprecated behavior", while HIGH means "Any GL error; dangerous undefined behavior; any GLSL or ARB shader compiler and linker errors;" Reviewed-by: Mat

[Mesa-dev] [PATCH] mesa: lower severity for GLSL compiler warnings

2017-02-13 Thread James Legg
This matches the examples in the GL_KHR_debug spec. --- src/mesa/main/errors.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index 3a40c74..ad495d6 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -385,7 +38