Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Using the same attachment as a color & input attachment for a subpass triggers questionable warnings #1080

Open
DominikWitczakAMD opened this issue Oct 21, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@DominikWitczakAMD
Copy link
Contributor

Consider an app which uses a renderpass attachment X both as a color & an input attachment in the same subpass. This triggers the following warnings:

image

image

However:

  • The attachment cannot be in COLOR_ATTACHMENT_OPTIMAL layout because that's illegal as per spec.
  • The attachment cannot be in READ_ONLY_OPTIMAL layout because of the same reason.
  • The attachment cannot be in two layouts at once :)
@tobine tobine added the bug label Oct 21, 2016
@tobine tobine added this to the P2 milestone Oct 21, 2016
@chrisforbes chrisforbes self-assigned this Oct 25, 2016
@chrisforbes
Copy link
Collaborator

Yep, that's pretty awful. To do this properly we need to combine all the constraints on the layout, rather than making a fuss about each constraint individually.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants