quakeforge/libs/video/renderer/vulkan/vkgen/vulkan.r
Bill Currie 7829ec3adb [vkgen] Add support for read-only values
This makes it possible to use the parser to read in certain fields, but
skip over others. The read-only is for cexpr parsing of the read-only
fields.
2022-11-26 22:15:15 +09:00

21 lines
561 B
R

#define __x86_64__
#include <vulkan/vulkan.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;