mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
softpipe/llvmpipe: don't advertize support for ASTC
3333977556 added support for ASTC textures to
gallium. They don't have any helpers hooked up for software decoding, however,
so cannot support them in drivers relying on util code for decoding.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
97eed8dcb9
commit
6c6a439e98
2 changed files with 4 additions and 2 deletions
|
|
@ -460,7 +460,8 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
|
|||
}
|
||||
}
|
||||
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC) {
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
|
||||
format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
|
||||
/* Software decoding is not hooked up. */
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -362,7 +362,8 @@ softpipe_is_format_supported( struct pipe_screen *screen,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC) {
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
|
||||
format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
|
||||
/* Software decoding is not hooked up. */
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue