From 90bf30d7e48c752315e7a3281178ead76c778aca Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 26 Jan 2022 15:00:19 -0500 Subject: [PATCH] zink: make pipe_buffer_write usage trigger compiler errors don't want to have to hunt this down ever again Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/zink/zink_context.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/zink/zink_context.h b/src/gallium/drivers/zink/zink_context.h index 4fa1bea3d93..3b6d9c0bffe 100644 --- a/src/gallium/drivers/zink/zink_context.h +++ b/src/gallium/drivers/zink/zink_context.h @@ -50,6 +50,8 @@ #include +#define pipe_buffer_write "use tc_buffer_write to avoid breaking threaded context" + #ifdef __cplusplus extern "C" { #endif