add msaa support for depth textures #38

Merged
cosmonaut merged 1 commits from TheSpydog/Refresh:depth-msaa into main 2023-01-31 20:30:07 +00:00

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.

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.
TheSpydog added 1 commit 2023-01-31 03:50:56 +00:00
continuous-integration/drone/pr Build is passing Details
2f9c8aed3b
add msaa support for depth textures
cosmonaut merged commit 1f2aaeed9f into main 2023-01-31 20:30:07 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: MoonsideGames/Refresh#38
There is no content yet.