diff options
author | Jordan Justen <[email protected]> | 2015-09-17 10:10:07 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-09-24 19:15:13 -0700 |
commit | 12cf91db0236291ebaff71f602d929064b1ec096 (patch) | |
tree | ef0386376c08b46ce7d1d4b4280ff2be60f13fac /src/mesa/main/get.c | |
parent | 4a1ba7e6bd3ddcab4647a1382d14165a08c0d3b0 (diff) |
mesa/cs: Support GL_DISPATCH_INDIRECT_BUFFER
v2:
* Use _mesa_has_compute_shaders (Ilia)
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Kristian Høgsberg <[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 926caef7031..e643d3a5e36 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1036,6 +1036,10 @@ find_custom_value(struct gl_context *ctx, const struct value_desc *d, union valu v->value_int = 0; } break; + /* GL_ARB_compute_shader */ + case GL_DISPATCH_INDIRECT_BUFFER_BINDING: + v->value_int = ctx->DispatchIndirectBuffer->Name; + break; } } |