diff options
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 4 |
1 files changed, 4 insertions, 0 deletions
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: */ |