Removed unnecessary preserve attachment and shader attachment writes (fixes validation)

This commit is contained in:
saschawillems 2017-06-16 21:44:53 +02:00
parent 60721b71e1
commit fa00daac41
3 changed files with 2 additions and 13 deletions

View file

@ -365,9 +365,6 @@ public:
// Use the color attachments filled in the first pass as input attachments
subpassDescriptions[1].inputAttachmentCount = 3;
subpassDescriptions[1].pInputAttachments = inputReferences;
// Preserve attachment 1 (position + depth) for next subpass
subpassDescriptions[1].preserveAttachmentCount = 1;
subpassDescriptions[1].pPreserveAttachments = &preserveAttachmentIndex;
// Third subpass: Forward transparency
// ----------------------------------------------------------------------------------------