diff options
Diffstat (limited to 'src/amd/addrlib/core')
-rw-r--r-- | src/amd/addrlib/core/addrelemlib.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/addrlib/core/addrelemlib.cpp b/src/amd/addrlib/core/addrelemlib.cpp index 477a078705a..a60a667dcb4 100644 --- a/src/amd/addrlib/core/addrelemlib.cpp +++ b/src/amd/addrlib/core/addrelemlib.cpp @@ -1724,7 +1724,8 @@ VOID ElemLib::SetClearComps( BOOL_32 ElemLib::IsBlockCompressed( AddrFormat format) ///< [in] Format { - return format >= ADDR_FMT_BC1 && format <= ADDR_FMT_BC7; + return (((format >= ADDR_FMT_BC1) && (format <= ADDR_FMT_BC7)) || + ((format >= ADDR_FMT_ASTC_4x4) && (format <= ADDR_FMT_ASTC_12x12))); } |