projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d585fdf
)
gallium: Make room for custom PIPE_TEXTURE_USAGE_* flags.
author
Younes Manton
<younes.m@gmail.com>
Tue, 2 Dec 2008 03:08:59 +0000
(22:08 -0500)
committer
Younes Manton
<younes.m@gmail.com>
Tue, 2 Dec 2008 21:15:12 +0000
(16:15 -0500)
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 dc8a92dccb0ffce9ef1f50f8b4cd90e5edb4c89e..9a016d326f0709a668555776781786f54a025759 100644
(file)
--- a/
src/gallium/include/pipe/p_defines.h
+++ b/
src/gallium/include/pipe/p_defines.h
@@
-171,6
+171,8
@@
enum pipe_texture_target {
#define PIPE_TEXTURE_USAGE_PRIMARY 0x4 /* ie a frontbuffer */
#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x8
#define PIPE_TEXTURE_USAGE_SAMPLER 0x10
+/** Pipe driver custom usage flags should be greater or equal to this value */
+#define PIPE_TEXTURE_USAGE_CUSTOM (1 << 16)
#define PIPE_TEXTURE_GEOM_NON_SQUARE 0x1
#define PIPE_TEXTURE_GEOM_NON_POWER_OF_TWO 0x2