orka
orka copied to clipboard
Automatic resolve multisampled resources in frame graph
Automatic resolve multisampled resources if the resource was written as a FB attachment by blitting the framebuffer. If the resource was written as an image, then so automatic resolving should occur.
For example:
P1 -> R1 -> P2
R1 can be resolved by adding an extra pass that does nothing but a blit operation from the FB of P1 to P3:
P1 -> R1 [-> P3 -> R2] -> P2
The extra render pass should be able to blit mulitple resources (1 color and/or 1 depth and/or 1 stencil). The extra resource (R2) must have the same format.