Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Vulkan] Fix an issue with how render passes are specified.
* When creating a VkRenderPass, don't combine VkAttachmentLoadOp.Load and VkImageLayout.Undefined. Instead, have two different render passes: a "clear" one, and a "don't care" one. * This issue doesn't cause any validation errors or visible defects, but the Vulkan spec seems to imply that it shouldn't be done. * This helps avoid some errors when running on MoltenVK.
- Loading branch information
Showing
6 changed files
with
133 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters