gallium/u_threaded: set has_user_indices = false for merged draws
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 9 Dec 2020 16:39:52 +0000 (17:39 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Dec 2020 09:17:45 +0000 (09:17 +0000)
commit7c85b1d2f0ff951de741c480cfd6e00ba3eb5486
treef9f12a728ab9c631e7b00943ea9c7c3b76e47954
parent5eda9673b2347aa33713790b3a04b8363862db2f
gallium/u_threaded: set has_user_indices = false for merged draws

Fixes an assert when running this piglit test:
   arb_shader_draw_parameters-drawid-single-draw

Fixes: 351ba767afe ("gallium/u_threaded: set has_user_indices = false in the driver thread")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8004>
src/gallium/auxiliary/util/u_threaded_context.c