summaryrefslogtreecommitdiffstats
path: root/src/vulkan/overlay-layer
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2019-03-08 23:50:29 -0800
committerJuan A. Suarez Romero <[email protected]>2019-07-09 10:29:50 +0000
commit87fc035c533350c4c4290d147a60b4b4937e6908 (patch)
tree0ae6900a1d0d7a183956df2a8fe4453c530f1e01 /src/vulkan/overlay-layer
parent47d6b60127f5ca435e7bf831656a72a929aa01df (diff)
mesa: Set minimum possible GLSL version
Set the absolute minimum possible GLSL version. API_OPENGL_CORE can mean an OpenGL 3.0 forward-compatible context, so that implies a minimum possible version of 1.30. Otherwise, the minimum possible version 1.20. Since Mesa unconditionally advertises GL_ARB_shading_language_100 and GL_ARB_shader_objects, every driver has GLSL 1.20... even if they don't advertise any extensions to enable any shader stages (e.g., GL_ARB_vertex_shader). Converts about 2,500 piglit tests from crash to skip on NV18. Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109524 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110955 Cc: [email protected] (cherry picked from commit 0349bc3ce2b399082593ddcf1d28782a4566bc08)
Diffstat (limited to 'src/vulkan/overlay-layer')
0 files changed, 0 insertions, 0 deletions