mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
r300g: remove unneeded code in winsys
We don't need the read/write flags.
This commit is contained in:
parent
98f344c504
commit
862ebb411b
1 changed files with 0 additions and 6 deletions
|
|
@ -115,12 +115,6 @@ static unsigned get_pb_usage_from_transfer_flags(enum pipe_transfer_usage usage)
|
|||
{
|
||||
unsigned res = 0;
|
||||
|
||||
if (usage & PIPE_TRANSFER_READ)
|
||||
res |= PB_USAGE_CPU_READ;
|
||||
|
||||
if (usage & PIPE_TRANSFER_WRITE)
|
||||
res |= PB_USAGE_CPU_WRITE;
|
||||
|
||||
if (usage & PIPE_TRANSFER_DONTBLOCK)
|
||||
res |= PB_USAGE_DONTBLOCK;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue