mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
broadcom/vc4: Ignore PIPE_BIND_DISPLAY_TARGET in is_format_supported().
We were failing the retval == usage check at the end.
Fixes: f7604d8af5 ("st/dri: only expose config formats that are display targets")
This commit is contained in:
parent
8df11f3fad
commit
978b884afc
1 changed files with 2 additions and 0 deletions
|
|
@ -550,6 +550,8 @@ vc4_screen_is_format_supported(struct pipe_screen *pscreen,
|
|||
retval |= PIPE_BIND_INDEX_BUFFER;
|
||||
}
|
||||
|
||||
retval |= usage & PIPE_BIND_DISPLAY_TARGET;
|
||||
|
||||
#if 0
|
||||
if (retval != usage) {
|
||||
fprintf(stderr,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue