mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 15:40:20 +01:00
Add support for GL_NUM_SHADING_LANGUAGE_VERSIONS
and glGetStringi for GL_SHADING_LANGUAGE_VERSION
v2:
- Combine similar functionality into
_mesa_get_shading_language_version() function.
- Change GLSL version return mechanism.
v3:
- Add return of empty string for GLSL ver 1.10.
- Move _mesa_get_shading_language_version() function
to src/mesa/main/version.c.
v4:
- Add OpenGL version check.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104915
Signed-off-by: Andriy Khulap <andriy.khulap@globallogic.com>
Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| es1api | ||
| es2api | ||
| glapi | ||
| shared-glapi | ||
| .gitignore | ||
| Android.mk | ||
| entry.c | ||
| entry.h | ||
| entry_ppc64le_tls.h | ||
| entry_ppc64le_tsd.h | ||
| entry_x86-64_tls.h | ||
| entry_x86_tls.h | ||
| entry_x86_tsd.h | ||
| Makefile.am | ||
| Makefile.sources | ||
| mapi_abi.py | ||
| mapi_glapi.c | ||
| mapi_tmp.h | ||
| meson.build | ||
| stub.c | ||
| stub.h | ||
| table.c | ||
| table.h | ||
| u_current.c | ||
| u_current.h | ||
| u_execmem.c | ||
| u_execmem.h | ||