mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
main: return two minor digits for ES shading language version
For OpenGL ES 3.0 spec, the minor number for SHADING_LANGUAGE_VERSION is always two digits, matching the OpenGL ES Shading Language Specification release number. For example, this query might return the string "3.00". This patch fixes the following dEQP test: dEQP-GLES3.functional.state_query.string.shading_language_version No piglit regression observed. Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
426a50e208
commit
6cc7251185
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ shading_language_version(struct gl_context *ctx)
|
|||
case API_OPENGLES2:
|
||||
return (ctx->Version < 30)
|
||||
? (const GLubyte *) "OpenGL ES GLSL ES 1.0.16"
|
||||
: (const GLubyte *) "OpenGL ES GLSL ES 3.0";
|
||||
: (const GLubyte *) "OpenGL ES GLSL ES 3.00";
|
||||
|
||||
case API_OPENGLES:
|
||||
/* fall-through */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue