mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[vulkan] Support chained render pass infos
And thus the cube mapped render pass.
This commit is contained in:
parent
fdcd972ff9
commit
38c10f9c4f
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
||||||
};*/
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue