Module: Mesa Branch: main Commit: b3f4e76c071ec1c36b829b7b888f259ee9e669eb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b3f4e76c071ec1c36b829b7b888f259ee9e669eb
Author: Mike Blumenkrantz <[email protected]> Date: Fri May 7 09:38:45 2021 -0400 zink: optimize zink_tc_fence struct packing Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11400> --- src/gallium/drivers/zink/zink_fence.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/zink/zink_fence.h b/src/gallium/drivers/zink/zink_fence.h index 00c4a2f2fca..5c7fa4d4562 100644 --- a/src/gallium/drivers/zink/zink_fence.h +++ b/src/gallium/drivers/zink/zink_fence.h @@ -41,12 +41,12 @@ struct tc_unflushed_batch_token; struct zink_tc_fence { struct pipe_reference reference; + uint32_t deferred_id; struct tc_unflushed_batch_token *tc_token; struct util_queue_fence ready; + uint32_t batch_id; struct pipe_context *deferred_ctx; - uint32_t deferred_id; struct zink_fence *fence; - uint32_t batch_id; }; struct zink_fence { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
