projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ce4c9
)
gallium: Make PIPE_TRANSFER_{READ,WRITE,READ_WRITE} bitmask friendly.
author
Maarten Maathuis
<madman2003@gmail.com>
Sun, 16 Aug 2009 01:20:09 +0000
(
03:20
+0200)
committer
Maarten Maathuis
<madman2003@gmail.com>
Mon, 17 Aug 2009 16:48:14 +0000
(18:48 +0200)
src/gallium/include/pipe/p_defines.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_defines.h
b/src/gallium/include/pipe/p_defines.h
index bc4bc707591e9b3f17f3dcaa971b96b4a25ac9db..b01ab6d137c9fe0ffdc924057fd03414edfedc42 100644
(file)
--- a/
src/gallium/include/pipe/p_defines.h
+++ b/
src/gallium/include/pipe/p_defines.h
@@
-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 */
};