From: Marek Olšák Date: Thu, 29 Nov 2018 20:34:05 +0000 (-0500) Subject: st/mesa: expose EXT_render_snorm on GLES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5907412d0405d4ed1649a9f3336b1febab0b18dc;p=mesa.git st/mesa: expose EXT_render_snorm on GLES Reviewed-by: Ilia Mirkin --- diff --git a/docs/features.txt b/docs/features.txt index 8999e42519c..5fc408da8ff 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -319,7 +319,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve GL_EXT_memory_object DONE (radeonsi) GL_EXT_memory_object_fd DONE (radeonsi) GL_EXT_memory_object_win32 not started - GL_EXT_render_snorm DONE (i965) + GL_EXT_render_snorm DONE (i965, radeonsi) GL_EXT_semaphore DONE (radeonsi) GL_EXT_semaphore_fd DONE (radeonsi) GL_EXT_semaphore_win32 not started diff --git a/docs/relnotes/19.0.0.html b/docs/relnotes/19.0.0.html index f4522b654c6..04e06cdd758 100644 --- a/docs/relnotes/19.0.0.html +++ b/docs/relnotes/19.0.0.html @@ -43,6 +43,7 @@ TBD.
  • GL_EXT_shader_implicit_conversions on all drivers (ES extension).
  • GL_EXT_texture_compression_bptc on all GL 4.0 drivers (ES extension).
  • GL_EXT_texture_compression_rgtc on all GL 3.0 drivers (ES extension).
  • +
  • GL_EXT_render_snorm on gallium drivers (ES extension).
  • GL_EXT_texture_view on drivers supporting texture views (ES extension).
  • GL_OES_texture_view on drivers supporting texture views (ES extension).
  • diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 428975dd4cb..002866d4cdb 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -799,6 +799,14 @@ void st_init_extensions(struct pipe_screen *screen, { { o(ARB_texture_rg) }, { PIPE_FORMAT_R8_UNORM, PIPE_FORMAT_R8G8_UNORM } }, + + { { o(EXT_render_snorm) }, + { PIPE_FORMAT_R8_SNORM, + PIPE_FORMAT_R8G8_SNORM, + PIPE_FORMAT_R8G8B8A8_SNORM, + PIPE_FORMAT_R16_SNORM, + PIPE_FORMAT_R16G16_SNORM, + PIPE_FORMAT_R16G16B16A16_SNORM } }, }; /* Required: depth stencil and sampler support */