summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_texfetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/swrast/s_texfetch.c')
-rw-r--r--src/mesa/swrast/s_texfetch.c32
1 files changed, 31 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c
index 1fe21c0b469..754d982bcd5 100644
--- a/src/mesa/swrast/s_texfetch.c
+++ b/src/mesa/swrast/s_texfetch.c
@@ -551,7 +551,37 @@ texfetch_funcs[] =
fetch_compressed,
fetch_compressed,
fetch_compressed
- }
+ },
+
+ /* ASTC compressed formats */
+ FETCH_NULL(RGBA_ASTC_4x4),
+ FETCH_NULL(RGBA_ASTC_5x4),
+ FETCH_NULL(RGBA_ASTC_5x5),
+ FETCH_NULL(RGBA_ASTC_6x5),
+ FETCH_NULL(RGBA_ASTC_6x6),
+ FETCH_NULL(RGBA_ASTC_8x5),
+ FETCH_NULL(RGBA_ASTC_8x6),
+ FETCH_NULL(RGBA_ASTC_8x8),
+ FETCH_NULL(RGBA_ASTC_10x5),
+ FETCH_NULL(RGBA_ASTC_10x6),
+ FETCH_NULL(RGBA_ASTC_10x8),
+ FETCH_NULL(RGBA_ASTC_10x10),
+ FETCH_NULL(RGBA_ASTC_12x10),
+ FETCH_NULL(RGBA_ASTC_12x12),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_4x4),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_5x4),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_5x5),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_6x5),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_6x6),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_8x5),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_8x6),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_8x8),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_10x5),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_10x6),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_10x8),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_10x10),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_12x10),
+ FETCH_NULL(SRGB8_ALPHA8_ASTC_12x12)
};