mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-01 21:40:43 +00:00
e10b084d36
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.
25 lines
640 B
R
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;
|