Removed unnecessary preserve attachment and shader attachment writes (fixes validation)
This commit is contained in:
parent
60721b71e1
commit
fa00daac41
3 changed files with 2 additions and 13 deletions
|
|
@ -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
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue