aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_extensions.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 68e66018feb..d35e19f3f90 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -1203,4 +1203,10 @@ void st_init_extensions(struct pipe_screen *screen,
extensions->ARB_texture_multisample &&
extensions->ARB_gpu_shader5 &&
extensions->EXT_shader_integer_mix;
+
+ /* And if we have enough for ES 3.1, we can also expose
+ * OES_shader_io_blocks, which is only hidden due to the compiler not being
+ * able to version-restrict things.
+ */
+ extensions->OES_shader_io_blocks = extensions->ARB_ES3_1_compatibility;
}