[Mesa-dev] [PATCH] mesa: enable EXT_render_snorm extension
Eric Anholt
eric at anholt.net
Wed Jun 13 21:58:39 UTC 2018
Tapani Pälli <tapani.palli at intel.com> writes:
> Patch sets additional formats renderable and enables the extension
> when OpenGL ES 3.1 is supported.
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
> src/mesa/main/extensions_table.h | 1 +
> src/mesa/main/fbobject.c | 20 +++++++++++++++-----
> src/mesa/main/glformats.c | 9 +++++++++
> 3 files changed, 25 insertions(+), 5 deletions(-)
>
> diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h
> index 79ef228b69..bc60475bea 100644
> --- a/src/mesa/main/extensions_table.h
> +++ b/src/mesa/main/extensions_table.h
> @@ -245,6 +245,7 @@ EXT(EXT_polygon_offset_clamp , ARB_polygon_offset_clamp
> EXT(EXT_primitive_bounding_box , OES_primitive_bounding_box , x , x , x , 31, 2014)
> EXT(EXT_provoking_vertex , EXT_provoking_vertex , GLL, GLC, x , x , 2009)
> EXT(EXT_read_format_bgra , dummy_true , x , x , ES1, ES2, 2009)
> +EXT(EXT_render_snorm , dummy_true , x , x , x, 31, 2014)
Since this is an extension beyond GLES 3.1, I think it shouldn't be
dummy_true -- at least V3D 3.3 should be able to do 3.1, and can't
render to snorm.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180613/39c502be/attachment.sig>
More information about the mesa-dev
mailing list