add msaa support for depth textures #38
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "TheSpydog/Refresh:depth-msaa"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Depth textures handle MSAA differently than color textures do, because there's no need for a resolve texture. This means the root VulkanTexture can have the sample count instead of needing an additional
msaaTex
.This changeset also fixes a bug where the depth buffer wasn't getting cleared if there were MSAA color attachments.