[vulkan] Support chained render pass infos

And thus the cube mapped render pass.
This commit is contained in:
Bill Currie 2023-02-27 15:02:48 +09:00
parent fdcd972ff9
commit 38c10f9c4f
2 changed files with 3 additions and 2 deletions

View file

@ -158,6 +158,7 @@ typedef struct qfv_framebufferinfo_s {
typedef struct qfv_renderpassinfo_s { typedef struct qfv_renderpassinfo_s {
vec4f_t color; vec4f_t color;
const char *name; const char *name;
void *pNext;
uint32_t num_attachments; uint32_t num_attachments;
qfv_attachmentinfo_t *attachments; qfv_attachmentinfo_t *attachments;
qfv_framebufferinfo_t framebuffer; qfv_framebufferinfo_t framebuffer;

View file

@ -1147,12 +1147,12 @@ renderpasses = {
}; };
}; };
}; };
/*deferred_cube = { deferred_cube = {
@inherit = $renderpasses.deferred; @inherit = $renderpasses.deferred;
@next = (VkRenderPassMultiviewCreateInfo, { @next = (VkRenderPassMultiviewCreateInfo, {
viewMasks = (0x3fu, 0x3fu, 0x3fu, 0x3fu, 0x3fu); viewMasks = (0x3fu, 0x3fu, 0x3fu, 0x3fu, 0x3fu);
viewOffsets = ( 0, 0, 0, 0, 0); viewOffsets = ( 0, 0, 0, 0, 0);
}); });
};*/ };
}; };
}; };