#include <GL/gl.h>
#include <stdbool.h>
#include <stdint.h>
-#include "compiler.h"
#ifdef __cplusplus
extern "C" {
MESA_FORMAT_X8B8G8R8_SRGB, /* RRRR RRRR GGGG GGGG BBBB BBBB xxxx xxxx */
MESA_FORMAT_L8A8_SRGB, /* AAAA AAAA LLLL LLLL */
MESA_FORMAT_A8L8_SRGB, /* LLLL LLLL AAAA AAAA */
+ MESA_FORMAT_R_SRGB8, /* RRRR RRRR */
/* Array sRGB formats */
MESA_FORMAT_L_SRGB8, /* ubyte[i] = L */
extern bool
_mesa_is_format_etc2(mesa_format format);
+bool
+_mesa_is_format_astc_2d(mesa_format format);
+
GLenum
_mesa_is_format_color_format(mesa_format format);