mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-20 10:10:29 +01:00
gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly.
This commit is contained in:
parent
93ce4c99d4
commit
f199dbdb76
1 changed files with 3 additions and 3 deletions
|
|
@ -191,9 +191,9 @@ enum pipe_texture_target {
|
|||
* Transfer object usage flags
|
||||
*/
|
||||
enum pipe_transfer_usage {
|
||||
PIPE_TRANSFER_READ,
|
||||
PIPE_TRANSFER_WRITE,
|
||||
PIPE_TRANSFER_READ_WRITE /**< Read/modify/write */
|
||||
PIPE_TRANSFER_READ = (1 << 0),
|
||||
PIPE_TRANSFER_WRITE = (1 << 1),
|
||||
PIPE_TRANSFER_READ_WRITE = PIPE_TRANSFER_READ | PIPE_TRANSFER_WRITE /**< Read/modify/write */
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue