summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2018-11-29 15:34:05 -0500
committerMarek Olšák <marek.olsak@amd.com>2018-12-04 15:33:29 -0500
commit5907412d0405d4ed1649a9f3336b1febab0b18dc (patch)
tree34203280d18a7ab9b968d918cd0f67f455e3bb2a /src/mesa
parent1660f3aa05f9cdc62787972d7f1905e00580e011 (diff)
st/mesa: expose EXT_render_snorm on GLES
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_extensions.c8
1 files changed, 8 insertions, 0 deletions
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 */