llvmpipe: base the scene queue size of the max number of scenes.
authorDave Airlie <airlied@redhat.com>
Tue, 31 Mar 2020 05:48:51 +0000 (15:48 +1000)
committerMarge Bot <emma+marge@anholt.net>
Mon, 21 Feb 2022 03:52:02 +0000 (03:52 +0000)
commit8bdc40088b0296418777aaa5ac9de05b1b1e55e9
treee36b3ac8882d265f0587edea3e97ebd06b23f37a
parentd269634fcd8c32e648ecef4e9c5386bad165569c
llvmpipe: base the scene queue size of the max number of scenes.

If the max scenes increases then the queue will get resized.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14923>
src/gallium/drivers/llvmpipe/lp_scene_queue.c