zink: put screen param into flush queue global data
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14541>
This commit is contained in:
committed by
Marge Bot
parent
43f197acd7
commit
7e0ff34010
@@ -2140,7 +2140,7 @@ zink_internal_create_screen(const struct pipe_screen_config *config)
|
||||
}
|
||||
|
||||
if (screen->threaded)
|
||||
util_queue_init(&screen->flush_queue, "zfq", 8, 1, UTIL_QUEUE_INIT_RESIZE_IF_FULL, NULL);
|
||||
util_queue_init(&screen->flush_queue, "zfq", 8, 1, UTIL_QUEUE_INIT_RESIZE_IF_FULL, screen);
|
||||
|
||||
/* Some Vulkan implementations have special requirements for WSI
|
||||
* allocations.
|
||||
|
||||
Reference in New Issue
Block a user