mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 21:48:15 +02:00
softpipe,llvmpipe: mark BPTC formats as unsupported
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
43c038f4a6
commit
19563f0880
2 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue