zink: make timeline semaphores per-screen

Graphics / Mesa 3D Graphics Library / Mesa - Mike Blumenkrantz [gmail.com] - 9 April 2021 13:31 UTC

I misread the spec, and it turns out timeline ids can't be reused across semaphores. This is obvious in retrospect, but what can be done?

fa36a16c684 zink: make timeline semaphores per-screen
src/gallium/drivers/zink/zink_batch.c | 34 ++++++---------------------------
src/gallium/drivers/zink/zink_batch.h | 2 --
src/gallium/drivers/zink/zink_context.c | 6 +-----
src/gallium/drivers/zink/zink_screen.c | 30 +++++++++++++++++++++++++++++
src/gallium/drivers/zink/zink_screen.h | 6 ++++++
5 files changed, 43 insertions(+), 35 deletions(-)

Upstream: cgit.freedesktop.org


  • Share