summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Pauk <[email protected]>2018-06-26 23:30:51 +0300
committerMarek Olšák <[email protected]>2018-07-01 15:42:37 -0400
commit530130e74f35ebdc811f2d26167bf6e00abfc2db (patch)
tree5ed724087ba325c8c176b3866d0baa65dfe244cb
parentf69bc797e15fe6beb9e439009fab55f7fae0b7f9 (diff)
gallium/softpipe: Enable support bptc format.
v2: none v3: none Signed-off-by: Denis Pauk <[email protected]> CC: Marek Olšák <[email protected]> CC: Rhys Perry <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r--src/gallium/drivers/softpipe/sp_screen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c
index 8fbcbc8bac2..ed8f8d9112d 100644
--- a/src/gallium/drivers/softpipe/sp_screen.c
+++ b/src/gallium/drivers/softpipe/sp_screen.c
@@ -441,8 +441,7 @@ softpipe_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) {
/* Software decoding is not hooked up. */
return FALSE;
}