mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
r300g: report that transfers are always supported
This commit is contained in:
parent
25470dcbb1
commit
89dc925150
1 changed files with 6 additions and 0 deletions
|
|
@ -319,6 +319,12 @@ static boolean r300_is_format_supported(struct pipe_screen* screen,
|
|||
retval |= PIPE_BIND_VERTEX_BUFFER;
|
||||
}
|
||||
|
||||
/* Transfers are always supported. */
|
||||
if (usage & PIPE_BIND_TRANSFER_READ)
|
||||
retval |= PIPE_BIND_TRANSFER_READ;
|
||||
if (usage & PIPE_BIND_TRANSFER_WRITE)
|
||||
retval |= PIPE_BIND_TRANSFER_WRITE;
|
||||
|
||||
return retval == usage;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue