aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Pauk <pauk.denis@gmail.com>2018-06-26 23:30:51 +0300
committerMarek Olšák <marek.olsak@amd.com>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 <pauk.denis@gmail.com> CC: Marek Olšák <maraeo@gmail.com> CC: Rhys Perry <pendingchaos02@gmail.com> Signed-off-by: Marek Olšák <marek.olsak@amd.com>
-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;
}