diff options
author | Chris Forbes <[email protected]> | 2013-11-06 20:03:21 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-11-25 22:01:35 +1300 |
commit | a95236cfc1d55750840a6ac7a5747da3ecd200d2 (patch) | |
tree | a473be68cb8218377639adaef454a0d646fed077 /src/mesa/main/get.c | |
parent | 56e98fe2fe0cccd86d63f4465466a9e57659f8e0 (diff) |
mesa: Add binding point for indirect buffer
Based on part of Patch 2 of Christoph Bumiller's ARB_draw_indirect series.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 6e6b7b79e20..7f233409ea9 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -914,6 +914,10 @@ find_custom_value(struct gl_context *ctx, const struct value_desc *d, union valu case GL_ATOMIC_COUNTER_BUFFER_BINDING: v->value_int = ctx->AtomicBuffer->Name; break; + /* GL_ARB_draw_indirect */ + case GL_DRAW_INDIRECT_BUFFER_BINDING: + v->value_int = ctx->DrawIndirectBuffer->Name; + break; } } |