2021-04-24 01:40:39 +00:00
|
|
|
{
|
|
|
|
clearValues = (
|
|
|
|
{ depthStencil = { depth = 1; stencil = 0; }; },
|
|
|
|
);
|
2022-05-31 03:43:04 +00:00
|
|
|
info = {
|
|
|
|
color = "[0.2, 0.2, 0.2, 1]";
|
|
|
|
subpass_info = (
|
|
|
|
{ name = depth; color = "[ 0.5, 0.5, 0.5, 1]" },
|
|
|
|
);
|
|
|
|
};
|
|
|
|
renderpass_base = {
|
2021-04-24 01:40:39 +00:00
|
|
|
attachments = (
|
|
|
|
{
|
2022-05-31 03:43:04 +00:00
|
|
|
format = $output.format;
|
2021-04-24 01:40:39 +00:00
|
|
|
samples = 1;
|
|
|
|
loadOp = dont_care;
|
|
|
|
storeOp = store;
|
|
|
|
stencilLoadOp = dont_care;
|
|
|
|
stencilStoreOp = dont_care;
|
|
|
|
initialLayout = undefined;
|
|
|
|
finalLayout = shader_read_only_optimal;
|
|
|
|
},
|
|
|
|
);
|
|
|
|
subpasses = (
|
|
|
|
{ // 0 depth
|
|
|
|
pipelineBindPoint = graphics;
|
|
|
|
depthStencilAttachment = {
|
|
|
|
attachment = 0;
|
|
|
|
layout = depth_stencil_attachment_optimal;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
};
|
2022-05-31 03:43:04 +00:00
|
|
|
renderpass_6 = {
|
|
|
|
@inherit = $properties.renderpass_base;
|
|
|
|
@next = (VkRenderPassMultiviewCreateInfo, {
|
|
|
|
viewMasks = (0x0000003fu);
|
|
|
|
});
|
|
|
|
};
|
|
|
|
renderpass_4 = {
|
|
|
|
@inherit = $properties.renderpass_base;
|
|
|
|
@next = (VkRenderPassMultiviewCreateInfo, {
|
|
|
|
viewMasks = (0x0000000fu);
|
|
|
|
});
|
|
|
|
};
|
|
|
|
renderpass_1 = {
|
|
|
|
@inherit = $properties.renderpass_base;
|
|
|
|
@next = (VkRenderPassMultiviewCreateInfo, {
|
|
|
|
viewMasks = (0x00000001u);
|
|
|
|
});
|
|
|
|
};
|
2021-04-24 01:40:39 +00:00
|
|
|
}
|