quakeforge/include/QF/Vulkan/pipeline.h

22 lines
711 B
C
Raw Normal View History

2020-02-12 19:21:35 +00:00
#ifndef __QF_Vulkan_pipeline_h
#define __QF_Vulkan_pipeline_h
2020-02-17 14:30:25 +00:00
#include "QF/darray.h"
typedef struct qfv_pipelinecacheset_s
DARRAY_TYPE (VkPipelineCache) qfv_pipelinecacheset_t;
2020-02-12 19:21:35 +00:00
#define QFV_AllocPipelineCacheSet(num, allocator) \
DARRAY_ALLOCFIXED (qfv_pipelinecacheset_t, num, allocator)
2020-02-12 19:21:35 +00:00
struct dstring_s;
VkPipelineCache QFV_CreatePipelineCache (struct qfv_device_s *device,
struct dstring_s *cacheData);
struct dstring_s *QFV_GetPipelineCacheData (struct qfv_device_s *device,
VkPipelineCache cache);
void QFV_MergePipelineCaches (struct qfv_device_s *device,
VkPipelineCache targetCache,
2020-02-12 19:21:35 +00:00
qfv_pipelinecacheset_t *sourceCaches);
#endif//__QF_Vulkan_pipeline_h