gallium/u_threaded: add a null constant buffer codepath
authorMarek Olšák <marek.olsak@amd.com>
Sat, 12 Dec 2020 21:02:49 +0000 (16:02 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 27 Jan 2021 23:53:35 +0000 (23:53 +0000)
commitdcc94af6b1a555cf18ea74b0831b36754681a241
treed3de6363ae129d600cfe8c7723e4e5dc8a284d79
parentccf9ef36285689818da89973b3585925a035d158
gallium/u_threaded: add a null constant buffer codepath

This consumes less space in the batch buffer.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8298>
src/gallium/auxiliary/util/u_threaded_context.c