From: Caio Marcelo de Oliveira Filho Date: Mon, 5 Aug 2019 23:56:42 +0000 (-0700) Subject: iris: Enable ARB_gl_spirv and ARB_spirv_extensions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15e439071d8;p=mesa.git iris: Enable ARB_gl_spirv and ARB_spirv_extensions This will also "unlock" OpenGL 4.6 for Iris! v2: Also enable PIPE_CAP_GL_SPIRV_VARIABLE_POINTERS. Reviewed-by: Alejandro PiƱeiro [v1] --- diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c index e09f4fe4423..2e7cf9f4e59 100644 --- a/src/gallium/drivers/iris/iris_screen.c +++ b/src/gallium/drivers/iris/iris_screen.c @@ -200,6 +200,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_CS_DERIVED_SYSTEM_VALUES_SUPPORTED: case PIPE_CAP_TEXTURE_SHADOW_LOD: case PIPE_CAP_SHADER_SAMPLES_IDENTICAL: + case PIPE_CAP_GL_SPIRV: + case PIPE_CAP_GL_SPIRV_VARIABLE_POINTERS: return true; case PIPE_CAP_FBFETCH: return BRW_MAX_DRAW_BUFFERS;