mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 17:01:22 +00:00
d919a85c8e
It seems to work when parsing the layouts. They can be created in-line (in theory) or in a "setLayouts" node and then referenced by name.
21 lines
512 B
C
21 lines
512 B
C
#ifndef __vkparse_h
|
|
#define __vkparse_h
|
|
|
|
#include "QF/cexpr.h"
|
|
#include "QF/Vulkan/renderpass.h"
|
|
#ifdef vkparse_internal
|
|
#include "libs/video/renderer/vulkan/vkparse.hinc"
|
|
#endif
|
|
|
|
typedef struct parsectx_s {
|
|
struct exprctx_s *ectx;
|
|
struct vulkan_ctx_s *vctx;
|
|
} parsectx_t;
|
|
|
|
|
|
void QFV_ParseDescriptorSetLayouts (vulkan_ctx_t *ctx, plitem_t *sets);
|
|
VkRenderPass QFV_ParseRenderPass (vulkan_ctx_t *ctx, plitem_t *plist);
|
|
void QFV_InitParse (void);
|
|
exprenum_t *QFV_GetEnum (const char *name);
|
|
|
|
#endif//__vkparse_h
|