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"
|
|
|
|
|
2020-02-18 13:38:01 +00:00
|
|
|
typedef struct qfv_pipelinecacheset_s
|
|
|
|
DARRAY_TYPE (VkPipelineCache) qfv_pipelinecacheset_t;
|
2020-02-12 19:21:35 +00:00
|
|
|
|
|
|
|
#define QFV_AllocPipelineCacheSet(num, allocator) \
|
2020-02-18 13:38:01 +00:00
|
|
|
DARRAY_ALLOCFIXED (qfv_pipelinecacheset_t, num, allocator)
|
2020-02-12 19:21:35 +00:00
|
|
|
|
|
|
|
struct dstring_s;
|
2020-02-18 13:38:01 +00:00
|
|
|
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
|