summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2018-11-27 20:19:11 -0500
committerMarek Olšák <marek.olsak@amd.com>2018-12-04 12:50:36 -0500
commitd9b2234042142dc02a4844747d3c35e140da53dc (patch)
treea7297075537414d294590c83995a33860bea13e5
parent95d62baac5daf39fc76bdffa600ffa2d5e36b25f (diff)
st/mesa: expose GL_OES_texture_view
For format fallbacks like ETC and ASTC, switching between sRGB and linear decoding is undefined, or at least is not bit-exact. Same as EXT_texture_sRGB_decode on GLES. There are no piglit or dEQP regresssions. Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
-rw-r--r--docs/features.txt2
-rw-r--r--docs/relnotes/19.0.0.html1
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/docs/features.txt b/docs/features.txt
index a97f998a5cc..8999e42519c 100644
--- a/docs/features.txt
+++ b/docs/features.txt
@@ -338,7 +338,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
GL_OES_texture_float_linear DONE (freedreno, i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe)
GL_OES_texture_half_float DONE (freedreno, i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe)
GL_OES_texture_half_float_linear DONE (freedreno, i965, r300, r600, radeonsi, nv30, nv50, nvc0, softpipe, llvmpipe)
- GL_OES_texture_view DONE (i965/gen8+)
+ GL_OES_texture_view DONE (i965/gen8+, freedreno, nv50, r600, radeonsi, nv50, nvc0, llvmpipe, softpipe, swr)
GL_OES_viewport_array DONE (i965, nvc0, radeonsi)
GLX_ARB_context_flush_control not started
GLX_ARB_robustness_application_isolation not started
diff --git a/docs/relnotes/19.0.0.html b/docs/relnotes/19.0.0.html
index 1b839b0a485..f66f22132e1 100644
--- a/docs/relnotes/19.0.0.html
+++ b/docs/relnotes/19.0.0.html
@@ -40,6 +40,7 @@ TBD.
<ul>
<li>GL_EXT_shader_implicit_conversions on all drivers (ES extension).</li>
+<li>GL_OES_texture_view on drivers supporting texture views (ES extension).</li>
</ul>
<h2>Bug fixes</h2>
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index b0fc824e30c..428975dd4cb 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -767,6 +767,7 @@ void st_init_extensions(struct pipe_screen *screen,
{ o(OES_standard_derivatives), PIPE_CAP_SM3 },
{ o(OES_texture_float_linear), PIPE_CAP_TEXTURE_FLOAT_LINEAR },
{ o(OES_texture_half_float_linear), PIPE_CAP_TEXTURE_HALF_FLOAT_LINEAR },
+ { o(OES_texture_view), PIPE_CAP_SAMPLER_VIEW_TARGET },
};
/* Required: render target and sampler support */