From 802043018eb11562cd977702dc1297b1afa3a190 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Fri, 1 Sep 2023 13:29:53 +0200 Subject: [PATCH] crocus: add a __gen_get_batch_address declaration Signed-off-by: Rohan Garg Reviewed-by: Lionel Landwerlin Part-of: --- src/gallium/drivers/crocus/crocus_genx_macros.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/crocus/crocus_genx_macros.h b/src/gallium/drivers/crocus/crocus_genx_macros.h index a0309513ed2..11f761daa44 100644 --- a/src/gallium/drivers/crocus/crocus_genx_macros.h +++ b/src/gallium/drivers/crocus/crocus_genx_macros.h @@ -72,6 +72,12 @@ __gen_combine_address(struct crocus_batch *batch, void *location, } } +static inline struct crocus_address +__gen_get_batch_address(struct crocus_batch *batch, void *location) +{ + unreachable("Not supported by crocus"); +} + #define __gen_address_type struct crocus_address #define __gen_user_data struct crocus_batch