zink: move pipeline cache structs to zink_program.h
these shouldn't be widely used, so they're not in zink_types.h Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18135>
This commit is contained in:

committed by
Marge Bot

parent
0b6751773c
commit
5457a70ce3
@@ -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)
|
||||
{
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user