From b83131d60305ac6a05f9124dd8b5bd7c1bb28808 Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Mon, 19 Jun 2017 17:00:27 +0200 Subject: st/mesa: enable ARB_gl_spirv (TODO) TODO proper enable flag TODO features doc --- src/mesa/state_tracker/st_extensions.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 74193cc492..303cd0e790 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -814,6 +814,10 @@ void st_init_extensions(struct pipe_screen *screen, } }, }; + extensions->ARB_gl_spirv = GL_TRUE; // TODO check proper enable + consts->SpirVNIROptions = (const struct nir_shader_compiler_options *) + screen->get_compiler_options(screen, PIPE_SHADER_IR_NIR, PIPE_SHADER_FRAGMENT); + /* * Extensions that are supported by all Gallium drivers: */ -- cgit v1.2.3