From: Marek Olšák Date: Wed, 28 Nov 2018 01:19:11 +0000 (-0500) Subject: st/mesa: expose GL_OES_texture_view X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9b2234042142dc02a4844747d3c35e140da53dc;p=mesa.git 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 --- 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.

Bug fixes

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 */