quakeforge/libs/video/renderer/vulkan/vkgen/vulkan.r
Bill Currie e10b084d36 [vulkan] Generate parse data for new render pass structs
There's still a lot of work to do, but the basics are in. The spec will
be parsed into info structs that can then be further processed to
generate all the actual structs, generally making things a little less
timing dependent (eg, image view info refers to its image by name).

The new render pass and subpass structs have their names mangled for now
until I can switch over to the new system.
2023-02-14 15:14:45 +09:00

25 lines
640 B
R

#define __x86_64__
#include <vulkan/vulkan.h>
typedef vec4 vec4f_t;
#define __QF_simd_types_h
#include "QF/Vulkan/render.h"
//FIXME copy of qfv_subpass_t in qf_renderpass.h
//except it doesn't really matter because a custom spec is used
typedef struct qfv_subpass_s {
vec4 color;
string name;
} qfv_subpass_t;
//FIXME copy of qfv_output_t in qf_renderpass.h
//except it doesn't really matter because a custom spec is used
typedef struct qfv_output_s {
VkExtent2D extent;
VkImage image;
VkImageView view;
VkFormat format;
uint32_t frames;
VkImageView *view_list;
VkImageLayout finalLayout;
} qfv_output_t;