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:
Eric Anholt 2018-02-22 17:38:50 -08:00
parent 8df11f3fad
commit 978b884afc
1 changed files with 2 additions and 0 deletions

View File

@ -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,