[Mesa-dev] [PATCH] st/mesa: expose EXT_render_snorm on GLES
Ilia Mirkin
imirkin at alum.mit.edu
Thu Nov 29 20:59:52 UTC 2018
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
On Thu, Nov 29, 2018 at 3:36 PM Marek Olšák <maraeo at gmail.com> wrote:
>
> From: Marek Olšák <marek.olsak at amd.com>
>
> ---
> docs/relnotes/19.0.0.html | 1 +
> src/mesa/state_tracker/st_extensions.c | 8 ++++++++
> 2 files changed, 9 insertions(+)
>
> 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
> @@ -36,20 +36,21 @@ TBD.
> </pre>
>
>
> <h2>New features</h2>
>
> <ul>
> <li>GL_AMD_texture_texture4 on all GL 4.0 drivers.</li>
> <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>
>
> <h2>Bug fixes</h2>
>
> <ul>
> <li>TBD</li>
> </ul>
>
> diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
> index 5c068d14e93..33ce61d779b 100644
> --- a/src/mesa/state_tracker/st_extensions.c
> +++ b/src/mesa/state_tracker/st_extensions.c
> @@ -796,20 +796,28 @@ void st_init_extensions(struct pipe_screen *screen,
> { { o(EXT_packed_float) },
> { PIPE_FORMAT_R11G11B10_FLOAT } },
>
> { { o(EXT_texture_integer) },
> { PIPE_FORMAT_R32G32B32A32_UINT,
> PIPE_FORMAT_R32G32B32A32_SINT } },
>
> { { 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 */
> static const struct st_extension_format_mapping depthstencil_mapping[] = {
> { { o(ARB_depth_buffer_float) },
> { PIPE_FORMAT_Z32_FLOAT,
> PIPE_FORMAT_Z32_FLOAT_S8X24_UINT } },
> };
>
> /* Required: sampler support */
> --
> 2.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list