st/mesa: fix Sanctuary and Tropics by disabling ARB_gpu_shader5 for them
They use the "sample" keyword as a variable name. Cc: 19.2 19.3 <mesa-stable@lists.freedesktop.org> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -1095,7 +1095,7 @@ void st_init_extensions(struct pipe_screen *screen,
|
||||
if (api == API_OPENGLES2 && ESSLVersion >= 320)
|
||||
extensions->ARB_gpu_shader5 = GL_TRUE;
|
||||
|
||||
if (GLSLVersion >= 400)
|
||||
if (GLSLVersion >= 400 && !options->disable_arb_gpu_shader5)
|
||||
extensions->ARB_gpu_shader5 = GL_TRUE;
|
||||
if (GLSLVersion >= 410)
|
||||
extensions->ARB_shader_precision = GL_TRUE;
|
||||
|
Reference in New Issue
Block a user