mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
rgtc: llvmpipe/softpipe refuse RGTC until u_format has support.
So far I haven't implemented the u_format code for these. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
0495425dc3
commit
e3709c26a6
2 changed files with 10 additions and 0 deletions
|
|
@ -278,6 +278,11 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
|
|||
return util_format_s3tc_enabled;
|
||||
}
|
||||
|
||||
/* u_format doesn't support RGTC yet */
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_RGTC) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Everything else should be supported by u_format.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -248,6 +248,11 @@ softpipe_is_format_supported( struct pipe_screen *screen,
|
|||
return util_format_s3tc_enabled;
|
||||
}
|
||||
|
||||
/* u_format doesn't implement RGTC yet */
|
||||
if (format_desc->layout == UTIL_FORMAT_LAYOUT_RGTC) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Everything else should be supported by u_format.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue