Re: [Mesa-dev] [PATCH] mesa: avoid _mesa_problem invocation when running on drivers without glsl

2019-07-04 Thread Ilia Mirkin
On Fri, Jul 5, 2019 at 12:56 AM Ian Romanick wrote: > > On 7/4/19 4:21 PM, Ilia Mirkin wrote: > > For example wine might query GL_SHADING_LANGUAGE_VERSION on a driver > > that doesn't support GLSL. This is not a problem in itself, we can just > > return a INVALID_ENUM error. > > > > Bugzilla: http

Re: [Mesa-dev] [PATCH] mesa: avoid _mesa_problem invocation when running on drivers without glsl

2019-07-04 Thread Ian Romanick
On 7/4/19 4:21 PM, Ilia Mirkin wrote: > For example wine might query GL_SHADING_LANGUAGE_VERSION on a driver > that doesn't support GLSL. This is not a problem in itself, we can just > return a INVALID_ENUM error. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109524 > Signed-off-by: I

[Mesa-dev] [PATCH] mesa: avoid _mesa_problem invocation when running on drivers without glsl

2019-07-04 Thread Ilia Mirkin
For example wine might query GL_SHADING_LANGUAGE_VERSION on a driver that doesn't support GLSL. This is not a problem in itself, we can just return a INVALID_ENUM error. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109524 Signed-off-by: Ilia Mirkin --- src/mesa/main/getstring.c | 2 ++