aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/marshal.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-02-19 16:54:45 -0500
committerMarge Bot <[email protected]>2020-03-06 01:06:14 +0000
commitfb95a4693f05b8a64d61267409fcdce937dd3383 (patch)
tree225457a3f9fffe53e18c2921a88226958127ffd3 /src/mesa/main/marshal.c
parent30b6e8236400deac08aec6b0334f78b7eacb62d9 (diff)
glthread: add GL_DRAW_INDIRECT_BUFFER tracking and generator support
Reviewed-by: Timothy Arceri <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
Diffstat (limited to 'src/mesa/main/marshal.c')
-rw-r--r--src/mesa/main/marshal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/marshal.c b/src/mesa/main/marshal.c
index 28054d236c9..24e419ca337 100644
--- a/src/mesa/main/marshal.c
+++ b/src/mesa/main/marshal.c
@@ -252,6 +252,9 @@ track_vbo_binding(struct gl_context *ctx, GLenum target, GLuint buffer)
*/
glthread->element_array_is_vbo = (buffer != 0);
break;
+ case GL_DRAW_INDIRECT_BUFFER:
+ glthread->draw_indirect_buffer_is_vbo = buffer != 0;
+ break;
}
}