When the host GL version is < 4.0 then the GLSL shader language level is set to a value below 400, but if geometry shaders, tesselation shaders, and the gpu_shader5 are supported, then we can expect that the GLSL language level 400 is actually supported, so advertice it also on a GL host. Tested-by: Jakob Bornecrantz <jakob@collabora.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>macos/master
parent
b7eccdf410
commit
3bb14a39af
Loading…
Reference in new issue