gallium/swr: Enable support bptc format.
Reuse Code from:
f69bc797e1 gallium/auxiliary: Add helper support for bptc format compress/decompress
Signed-off-by: Denis Pauk <pauk.denis@gmail.com>
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
CC: Marek Olšák <maraeo@gmail.com>
CC: Tim Rowley <timothy.o.rowley@intel.com>
This commit is contained in:
@@ -141,8 +141,7 @@ swr_is_format_supported(struct pipe_screen *_screen,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
|
||||
format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC ||
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC ||
|
||||
format_desc->layout == UTIL_FORMAT_LAYOUT_FXT1)
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user