diff options
author | Ilia Mirkin <[email protected]> | 2014-07-22 21:08:14 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-08-12 19:21:04 -0400 |
commit | 19563f0880fb82c73b7e8fd05d12e36832ca0b04 (patch) | |
tree | 107ce80e95d4fe4b30eb500402f16017e493372a /src/gallium/drivers/llvmpipe | |
parent | 43c038f4a621b081a9f85ab3b1b7f1264e4e2377 (diff) |
softpipe,llvmpipe: mark BPTC formats as unsupported
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index e10a7630ed8..347b1af4f14 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -409,6 +409,11 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen, } } + if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC) { + /* Software decoding is not hooked up. */ + return FALSE; + } + if (format_desc->layout == UTIL_FORMAT_LAYOUT_S3TC) { return util_format_s3tc_enabled; } |