summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-05-26 23:02:18 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-05-28 20:58:12 -0400
commit60341ddd5cb8bed72c693b5d1df95ad8bda85d0d (patch)
tree6b55768fb39eda89888d9c322da99fda0da6d7de
parent884ac617220e4ac033061bd7313079bf5471cb58 (diff)
downloadexternal_mesa3d-60341ddd5cb8bed72c693b5d1df95ad8bda85d0d.zip
external_mesa3d-60341ddd5cb8bed72c693b5d1df95ad8bda85d0d.tar.gz
external_mesa3d-60341ddd5cb8bed72c693b5d1df95ad8bda85d0d.tar.bz2
st/mesa: expose OES_shader_io_blocks when we have enough for ES 3.1
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--docs/GL3.txt2
-rw-r--r--docs/relnotes/11.3.0.html2
-rw-r--r--src/mesa/state_tracker/st_extensions.c6
3 files changed, 8 insertions, 2 deletions
diff --git a/docs/GL3.txt b/docs/GL3.txt
index 9a686fd..02908d0 100644
--- a/docs/GL3.txt
+++ b/docs/GL3.txt
@@ -264,7 +264,7 @@ GLES3.2, GLSL ES 3.2
GL_OES_sample_shading DONE (i965, nvc0, r600, radeonsi)
GL_OES_sample_variables DONE (i965, nvc0, r600, radeonsi)
GL_OES_shader_image_atomic DONE (all drivers that support GL_ARB_shader_image_load_store)
- GL_OES_shader_io_blocks DONE (i965/gen8+)
+ GL_OES_shader_io_blocks DONE (i965/gen8+, nvc0, radeonsi)
GL_OES_shader_multisample_interpolation DONE (i965, nvc0, r600, radeonsi)
GL_OES_tessellation_shader started (Ken)
GL_OES_texture_border_clamp DONE (all drivers)
diff --git a/docs/relnotes/11.3.0.html b/docs/relnotes/11.3.0.html
index e16ef7d..c4736d3 100644
--- a/docs/relnotes/11.3.0.html
+++ b/docs/relnotes/11.3.0.html
@@ -69,7 +69,7 @@ Note: some of the new features are only available with certain drivers.
<li>GL_OES_sample_shading on i965, nvc0, r600, radeonsi</li>
<li>GL_OES_sample_variables on i965, nvc0, r600, radeonsi</li>
<li>GL_OES_shader_image_atomic on all drivers that support GL_ARB_shader_image_load_store</li>
-<li>GL_OES_shader_io_blocks on all i965</li>
+<li>GL_OES_shader_io_blocks on i965, nvc0, radeonsi</li>
<li>GL_OES_shader_multisample_interpolation on i965, nvc0, r600, radeonsi</li>
<li>GL_OES_texture_border_clamp and GL_EXT_texture_border_clamp on all drivers that support GL_ARB_texture_border_clamp</li>
<li>GL_OES_texture_buffer and GL_EXT_texture_buffer on i965, nvc0, radeonsi</li>
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 68e6601..d35e19f 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;
}