mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-25 18:00:52 +01:00
virgl: add BPTC support.
This just adds the guest checks for BPTC, the host renderer also needs code to support these. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
06237fc9e1
commit
246690b683
1 changed files with 3 additions and 0 deletions
|
|
@ -488,6 +488,9 @@ virgl_is_format_supported( struct pipe_screen *screen,
|
|||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_RGTC) {
|
||||
goto out_lookup;
|
||||
}
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC) {
|
||||
goto out_lookup;
|
||||
}
|
||||
|
||||
if (format == PIPE_FORMAT_R11G11B10_FLOAT) {
|
||||
goto out_lookup;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue