-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing synchronization in "subpasses" sample #455
Comments
A subpass dependency as described in https://developer.arm.com/documentation/101897/0200/fragment-shading/multipass-rendering should fix this issue. Code snippet:
|
Thanks for raising this issue. I get the same sync validation messages and noticed that this also happens for other samples (e.g. MSAA). We probably should do a full sync run for all samples to ensure that they all validate clean against sync val. |
May be too challenging to fix right now. Lets track it for future framework changes |
We really need to fix this. This issue has been open for too long and is causing issues esp. for people using AMD hardware. |
I had an artifact like this when I was implementing SSAO. I was thinking it was a synchronization problem. The artifact didn`t disappear when I fixed synchronization. In the end it was all about dividing by zero in my fragment shader. |
This is definitely a sync issue (see earlier comments and linked issues/PRs). I can reproduce it on my side. |
The sample "subpasses" has missing synchronization, which leads to display artifacts.
To reproduce enable Synchronization Validation Layers and start the sample. Then switch the Render technique between "Subpasses" and "Renderpasses". Following validation errors are printed:
Note: The display artifacts are visible only when the "Subpasses" option is selected.
vulkaninfo.txt
The text was updated successfully, but these errors were encountered: