aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Pauk <[email protected]>2019-12-14 09:54:48 +0200
committerDave Airlie <[email protected]>2019-12-14 20:02:10 +0000
commit3acc15f4f0d19e56d763f5e0e10e5fb7991b3959 (patch)
treef8a5061e47745b0a71d953090a072aef7a407a86 /src
parent1bf3837395b07793baa48fd71689701d4ea55e38 (diff)
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 <[email protected]> Reviewed-by: Bruce Cherniak <[email protected]> Reviewed-by: Dave Airlie <[email protected]> CC: Marek Olšák <[email protected]> CC: Tim Rowley <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/swr/swr_screen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
index e54be2dc35b..b2e3132b2a7 100644
--- a/src/gallium/drivers/swr/swr_screen.cpp
+++ b/src/gallium/drivers/swr/swr_screen.cpp
@@ -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;