diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2016-03-13 11:36:53 -0500 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2016-03-21 15:34:22 -0500 |
commit | 96cd908fd34ef711100c9beaed03c3c8ffd5873d (patch) | |
tree | 43ccb458dce589ae74191e106f1e3ca3dcb69b2b /src/gallium/include | |
parent | 86caa67aefab81aed1d358bb0ac6cfa648576297 (diff) | |
download | external_mesa3d-96cd908fd34ef711100c9beaed03c3c8ffd5873d.zip external_mesa3d-96cd908fd34ef711100c9beaed03c3c8ffd5873d.tar.gz external_mesa3d-96cd908fd34ef711100c9beaed03c3c8ffd5873d.tar.bz2 |
gallium: add additional PIPE_BARRIER_* bits
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index bdd76ab..90af7a7 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -360,6 +360,13 @@ enum pipe_flush_flags #define PIPE_BARRIER_MAPPED_BUFFER (1 << 0) #define PIPE_BARRIER_SHADER_BUFFER (1 << 1) #define PIPE_BARRIER_QUERY_BUFFER (1 << 2) +#define PIPE_BARRIER_VERTEX_BUFFER (1 << 3) +#define PIPE_BARRIER_INDEX_BUFFER (1 << 4) +#define PIPE_BARRIER_CONSTANT_BUFFER (1 << 5) +#define PIPE_BARRIER_INDIRECT_BUFFER (1 << 6) +#define PIPE_BARRIER_TEXTURE (1 << 7) +#define PIPE_BARRIER_IMAGE (1 << 8) +#define PIPE_BARRIER_FRAMEBUFFER (1 << 9) /** * Resource binding flags -- state tracker must specify in advance all |