summaryrefslogtreecommitdiffstats
path: root/src/util/format
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-11-27 02:41:47 -0800
committerKenneth Graunke <[email protected]>2019-12-01 22:55:21 -0800
commit1bdd342b60cf4426bfa29030032f23f1e4c80fb6 (patch)
tree699f14b679e9625723e9a584f156790d06f75413 /src/util/format
parent3e21e17b2fecad442fa649f61b6511504596d2ec (diff)
st/mesa: Add GL_TDFX_texture_compression_FXT1 support
Eric recently added PIPE_FORMAT_FXT1_RGB[A] as part of his format unification work. This was really most of the work of implementing the extension. We just need to handle it in a couple of places and expose the extension. v2: Reject the new formats in llvmpipe_is_format_supported to prevent crashes because it doesn't know how to handle the new formats. Reviewed-by: Marek Olšák <[email protected]> [v1] Reviewed-by: Eric Anholt <[email protected]> [v1]
Diffstat (limited to 'src/util/format')
-rw-r--r--src/util/format/u_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/format/u_format.h b/src/util/format/u_format.h
index eec7a185f94..b85bd217b2e 100644
--- a/src/util/format/u_format.h
+++ b/src/util/format/u_format.h
@@ -495,6 +495,7 @@ util_format_is_compressed(enum pipe_format format)
case UTIL_FORMAT_LAYOUT_BPTC:
case UTIL_FORMAT_LAYOUT_ASTC:
case UTIL_FORMAT_LAYOUT_ATC:
+ case UTIL_FORMAT_LAYOUT_FXT1:
/* XXX add other formats in the future */
return TRUE;
default: