zink: use uint64_t for batch_id
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 25 Mar 2022 18:00:21 +0000 (14:00 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 16 Jun 2022 00:30:45 +0000 (00:30 +0000)
commitd301883aba5a60d8d748a82a5777aa0701bdcaca
treed55597e60a547a8b69256dd2f0dda860bbf723dc
parent4622e99e103ec2c079c6da082752f8a3c2bd0c83
zink: use uint64_t for batch_id

this maps directly to the vulkan api and allows removal of timeline
wrapping code

the consequence of this is a ~0.26% reduction in drawoverhead performance
on base cases (n=1000), but the simplification and deletions seem worth it

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17045>
src/gallium/drivers/zink/zink_batch.c
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_context.h
src/gallium/drivers/zink/zink_fence.h
src/gallium/drivers/zink/zink_kopper.c
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_screen.h