diff options
author | Christoph Bumiller <[email protected]> | 2013-04-05 14:29:35 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-07-02 00:47:09 +0200 |
commit | a27b3582a60ac2be2b1d6594b042d2bb6438d81a (patch) | |
tree | 368249789c88371d9f8b11cb918e5f4de08acaa1 /src/gallium/include/pipe | |
parent | 8392179fcc10024e3d80d6adedb38c30fd3cacc7 (diff) |
gallium: add PIPE_BIND_COMMAND_ARGS_BUFFER
Intended for use with GL_ARB_draw_indirect's DRAW_INDIRECT_BUFFER
target or for D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS.
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 702bb0b830b..0c958cf050a 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -350,6 +350,7 @@ enum pipe_flush_flags { #define PIPE_BIND_GLOBAL (1 << 18) /* set_global_binding */ #define PIPE_BIND_SHADER_RESOURCE (1 << 19) /* set_shader_resources */ #define PIPE_BIND_COMPUTE_RESOURCE (1 << 20) /* set_compute_resources */ +#define PIPE_BIND_COMMAND_ARGS_BUFFER (1 << 21) /* pipe_draw_info.indirect */ /* The first two flags above were previously part of the amorphous * TEXTURE_USAGE, most of which are now descriptions of the ways a |