zink: make batch internal api static again
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 9 Aug 2022 18:10:32 +0000 (14:10 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sat, 20 Aug 2022 01:27:13 +0000 (01:27 +0000)
hooray

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18135>

src/gallium/drivers/zink/zink_batch.c
src/gallium/drivers/zink/zink_batch.h

index 1542f35..cc0236e 100644 (file)
@@ -533,7 +533,7 @@ zink_batch_add_wait_semaphore(struct zink_batch *batch, VkSemaphore sem)
    util_dynarray_append(&batch->state->acquires, VkSemaphore, sem);
 }
 
-bool
+static bool
 batch_ptr_add_usage(struct zink_batch *batch, struct set *s, void *ptr)
 {
    bool found = false;
index 5e515ae..f50d60c 100644 (file)
@@ -38,10 +38,6 @@ extern "C" {
 #endif
 
 
-/* not real api don't use */
-bool
-batch_ptr_add_usage(struct zink_batch *batch, struct set *s, void *ptr);
-
 void
 zink_reset_batch_state(struct zink_context *ctx, struct zink_batch_state *bs);