summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2017-06-19 17:00:27 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2017-07-13 13:27:40 +0200
commitb83131d60305ac6a05f9124dd8b5bd7c1bb28808 (patch)
tree96b2c64d74f34870eeb11e7b37fa0e4697683cdb
parentf4ecc92585d7e8c43e6b28b2ebba4c1b933192fa (diff)
st/mesa: enable ARB_gl_spirv (TODO)
TODO proper enable flag TODO features doc
-rw-r--r--src/mesa/state_tracker/st_extensions.c4
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:
*/