Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21533>
struct threaded_context *tc = threaded_context(_pipe);
unsigned index_size = info->index_size;
bool has_user_indices = info->has_user_indices;
- tc_parse_draw(tc);
+ if (tc->options.parse_renderpass_info)
+ tc_parse_draw(tc);
if (unlikely(indirect)) {
assert(!has_user_indices);
unsigned num_draws)
{
struct threaded_context *tc = threaded_context(_pipe);
- tc_parse_draw(tc);
+ if (tc->options.parse_renderpass_info)
+ tc_parse_draw(tc);
if (num_draws == 1) {
/* Single draw. */