From 7510c10209d95458ededf01234b644bf2020d768 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Fri, 22 Nov 2013 19:49:58 -0800 Subject: mesa: Add MESA_FORMAT_SIGNED_RG88 and _RG1616. Including pack/unpack and texstore code. ARB_shader_image_load_store requires support for the GL_RG8_SNORM and GL_RG16_SNORM formats, which map to MESA_FORMAT_SIGNED_GR88 and MESA_FORMAT_SIGNED_GR1616 on little-endian hosts, and MESA_FORMAT_SIGNED_RG88 and MESA_FORMAT_SIGNED_RG1616 respectively on big-endian hosts -- only the former were already present, add support for the latter. Acked-by: Chris Forbes Reviewed-by: Paul Berry --- src/mesa/main/formats.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main/formats.h') diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index f96c18aa4f3..a1f0d226a59 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -306,6 +306,9 @@ typedef enum MESA_FORMAT_ABGR2101010, + MESA_FORMAT_SIGNED_RG88, + MESA_FORMAT_SIGNED_RG1616, + MESA_FORMAT_COUNT } gl_format; -- cgit v1.2.3