From 19563f0880fb82c73b7e8fd05d12e36832ca0b04 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Tue, 22 Jul 2014 21:08:14 -0400 Subject: softpipe,llvmpipe: mark BPTC formats as unsupported Signed-off-by: Ilia Mirkin Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger --- src/gallium/drivers/softpipe/sp_screen.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/drivers/softpipe/sp_screen.c') diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 13f47233269..7be39d4f618 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -322,6 +322,11 @@ softpipe_is_format_supported( struct pipe_screen *screen, return FALSE; } + if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC) { + /* Software decoding is not hooked up. */ + return FALSE; + } + /* * All other operations (sampling, transfer, etc). */ -- cgit v1.2.3