Support VK_EXT_multisampled_render_to_single_sampled

This extension greatly simplifies MSAA rendering on TBR hardware.
This commit is contained in:
Shahbaz Youssefi
2022-09-07 14:47:59 +01:00
committed by Baldur Karlsson
parent 8e2e0b6bb5
commit 8f14374b52
14 changed files with 374 additions and 199 deletions
+7
View File
@@ -1082,6 +1082,13 @@ If the list is empty, fdm_offset is disabled and rendering is as normal.
:type: List[Offset]
)");
rdcarray<Offset> fragmentDensityOffsets;
DOCUMENT(R"(If VK_EXT_multisampled_render_to_single_sampled is enabled, contains the number of
samples used to render this subpass.
If the subpass is not internally multisampled, tileOnlyMSAASampleCount is set to 0.
)");
uint32_t tileOnlyMSAASampleCount = 0;
};
DOCUMENT("Describes a single attachment in a framebuffer object.");