glthread: add GL_DRAW_INDIRECT_BUFFER tracking and generator support

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3948>
This commit is contained in:
Marek Olšák
2020-02-19 16:54:45 -05:00
committed by Marge Bot
parent 30b6e82364
commit fb95a4693f
4 changed files with 26 additions and 1 deletions

View File

@@ -94,6 +94,7 @@ struct glthread_state
* buffer) binding is in a VBO.
*/
bool element_array_is_vbo;
bool draw_indirect_buffer_is_vbo;
};
void _mesa_glthread_init(struct gl_context *ctx);