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>
This commit is contained in:
Dave Airlie 2020-03-31 15:48:51 +10:00 committed by Marge Bot
parent d269634fcd
commit 8bdc40088b

View file

@ -36,10 +36,10 @@
#include "util/u_memory.h"
#include "lp_scene_queue.h"
#include "util/u_math.h"
#include "lp_setup_context.h"
#define SCENE_QUEUE_SIZE 4
#define SCENE_QUEUE_SIZE MAX_SCENES