summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-11-29 15:34:05 -0500
committerMarek Olšák <[email protected]>2018-12-04 15:33:29 -0500
commit5907412d0405d4ed1649a9f3336b1febab0b18dc (patch)
tree34203280d18a7ab9b968d918cd0f67f455e3bb2a
parent1660f3aa05f9cdc62787972d7f1905e00580e011 (diff)
st/mesa: expose EXT_render_snorm on GLES
Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r--docs/features.txt2
-rw-r--r--docs/relnotes/19.0.0.html1
-rw-r--r--src/mesa/state_tracker/st_extensions.c8
3 files changed, 10 insertions, 1 deletions
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.
<li>GL_EXT_shader_implicit_conversions on all drivers (ES extension).</li>
<li>GL_EXT_texture_compression_bptc on all GL 4.0 drivers (ES extension).</li>
<li>GL_EXT_texture_compression_rgtc on all GL 3.0 drivers (ES extension).</li>
+<li>GL_EXT_render_snorm on gallium drivers (ES extension).</li>
<li>GL_EXT_texture_view on drivers supporting texture views (ES extension).</li>
<li>GL_OES_texture_view on drivers supporting texture views (ES extension).</li>
</ul>
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 */