diff options
author | Younes Manton <[email protected]> | 2008-12-01 22:08:59 -0500 |
---|---|---|
committer | Younes Manton <[email protected]> | 2008-12-02 16:15:12 -0500 |
commit | 1c22c0452526aaae13a2e618ec6e46327609d9c2 (patch) | |
tree | 45f499ccc70892040b55346dedb67245064b2577 /src/gallium/include/pipe/p_defines.h | |
parent | d585fdf318e92a1a25bb244db3e8dc374203f43e (diff) |
gallium: Make room for custom PIPE_TEXTURE_USAGE_* flags.
Diffstat (limited to 'src/gallium/include/pipe/p_defines.h')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index dc8a92dccb0..9a016d326f0 100644 --- 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 |