diff options
author | Nanley Chery <[email protected]> | 2015-08-26 16:25:44 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2015-09-19 13:25:59 -0700 |
commit | 31a5135cd793951191c4a2fb86a50253a9931454 (patch) | |
tree | 0e483509e46230b4d53b1d9ee96fca4c780e096a /src/mesa/main/texcompress.c | |
parent | c228514c72cb2fd5fb9e510808e29204fc9e7ae1 (diff) |
mesa/formats: add MESA_LAYOUT_LATC
This enables us to predicate statments on a compressed format being
a type of LATC format. Also, remove the comment that lists the enum
(it was getting a tad long).
Reviewed-by: Anuj Phogat <[email protected]>
Signed-off-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress.c')
-rw-r--r-- | src/mesa/main/texcompress.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 394c8bab214..e0294a88bfa 100644 --- a/src/mesa/main/texcompress.c +++ b/src/mesa/main/texcompress.c @@ -728,6 +728,7 @@ _mesa_get_compressed_fetch_func(mesa_format format) case MESA_FORMAT_LAYOUT_FXT1: return _mesa_get_fxt_fetch_func(format); case MESA_FORMAT_LAYOUT_RGTC: + case MESA_FORMAT_LAYOUT_LATC: return _mesa_get_compressed_rgtc_func(format); case MESA_FORMAT_LAYOUT_ETC1: return _mesa_get_etc_fetch_func(format); |