diff --git a/src/gallium/drivers/zink/zink_program.c b/src/gallium/drivers/zink/zink_program.c index 89f01e35e90..9fd806bd24a 100644 --- a/src/gallium/drivers/zink/zink_program.c +++ b/src/gallium/drivers/zink/zink_program.c @@ -42,16 +42,6 @@ #define XXH_INLINE_ALL #include "util/xxhash.h" -struct gfx_pipeline_cache_entry { - struct zink_gfx_pipeline_state state; - VkPipeline pipeline; -}; - -struct compute_pipeline_cache_entry { - struct zink_compute_pipeline_state state; - VkPipeline pipeline; -}; - void debug_describe_zink_gfx_program(char *buf, const struct zink_gfx_program *ptr) { diff --git a/src/gallium/drivers/zink/zink_program.h b/src/gallium/drivers/zink/zink_program.h index f162fd6c8de..e9e7ec89a37 100644 --- a/src/gallium/drivers/zink/zink_program.h +++ b/src/gallium/drivers/zink/zink_program.h @@ -29,6 +29,17 @@ extern "C" { #endif + +struct gfx_pipeline_cache_entry { + struct zink_gfx_pipeline_state state; + VkPipeline pipeline; +}; + +struct compute_pipeline_cache_entry { + struct zink_compute_pipeline_state state; + VkPipeline pipeline; +}; + #define ZINK_MAX_INLINED_VARIANTS 5 static inline enum zink_descriptor_type