*/
+#include "main/errors.h"
#include "main/macros.h"
#include "main/texcompress.h"
#include "main/texcompress_fxt1.h"
#include "main/samplerobj.h"
#include "s_context.h"
#include "s_texfetch.h"
-#include "../../gallium/auxiliary/util/u_format_rgb9e5.h"
-#include "../../gallium/auxiliary/util/u_format_r11g11b10f.h"
+#include "util/format_rgb9e5.h"
+#include "util/format_r11g11b10f.h"
#include "util/format_srgb.h"
FETCH_NULL(B4G4R4X4_UNORM),
FETCH_FUNCS(A4R4G4B4_UNORM),
FETCH_FUNCS(A1B5G5R5_UNORM),
+ FETCH_NULL(X1B5G5R5_UNORM),
FETCH_FUNCS(B5G5R5A1_UNORM),
FETCH_NULL(B5G5R5X1_UNORM),
FETCH_FUNCS(A1R5G5B5_UNORM),
FETCH_FUNCS(A8L8_SRGB),
/* Array sRGB formats */
+ FETCH_FUNCS(R_SRGB8),
FETCH_FUNCS(L_SRGB8),
FETCH_FUNCS(BGR_SRGB8),
},
/* Packed signed/unsigned non-normalized integer formats */
+ FETCH_NULL(A8B8G8R8_UINT),
+ FETCH_NULL(A8R8G8B8_UINT),
+ FETCH_NULL(R8G8B8A8_UINT),
+ FETCH_NULL(B8G8R8A8_UINT),
FETCH_NULL(B10G10R10A2_UINT),
FETCH_NULL(R10G10B10A2_UINT),
FETCH_NULL(A2B10G10R10_UINT),
FETCH_NULL(A2R10G10B10_UINT),
+ FETCH_NULL(B5G6R5_UINT),
+ FETCH_NULL(R5G6B5_UINT),
+ FETCH_NULL(B2G3R3_UINT),
+ FETCH_NULL(R3G3B2_UINT),
+ FETCH_NULL(A4B4G4R4_UINT),
+ FETCH_NULL(R4G4B4A4_UINT),
+ FETCH_NULL(B4G4R4A4_UINT),
+ FETCH_NULL(A4R4G4B4_UINT),
+ FETCH_NULL(A1B5G5R5_UINT),
+ FETCH_NULL(B5G5R5A1_UINT),
+ FETCH_NULL(A1R5G5B5_UINT),
+ FETCH_NULL(R5G5B5A1_UINT),
/* Array signed/unsigned non-normalized integer formats */
FETCH_NULL(A_UINT8),
FETCH_NULL(SRGB8_ALPHA8_ASTC_10x8),
FETCH_NULL(SRGB8_ALPHA8_ASTC_10x10),
FETCH_NULL(SRGB8_ALPHA8_ASTC_12x10),
- FETCH_NULL(SRGB8_ALPHA8_ASTC_12x12)
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_12x12),
+
+ FETCH_NULL(RGBA_ASTC_3x3x3),
+ FETCH_NULL(RGBA_ASTC_4x3x3),
+ FETCH_NULL(RGBA_ASTC_4x4x3),
+ FETCH_NULL(RGBA_ASTC_4x4x4),
+ FETCH_NULL(RGBA_ASTC_5x4x4),
+ FETCH_NULL(RGBA_ASTC_5x5x4),
+ FETCH_NULL(RGBA_ASTC_5x5x5),
+ FETCH_NULL(RGBA_ASTC_6x5x5),
+ FETCH_NULL(RGBA_ASTC_6x6x5),
+ FETCH_NULL(RGBA_ASTC_6x6x6),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_3x3x3),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_4x3x3),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_4x4x3),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_4x4x4),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_5x4x4),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_5x5x4),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_5x5x5),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_6x5x5),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_6x6x5),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_6x6x6),
+
+ FETCH_NULL(ATC_RGB),
+ FETCH_NULL(ATC_RGBA_EXPLICIT),
+ FETCH_NULL(ATC_RGBA_INTERPOLATED)
};