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
Fix issue with stencil in rendergraph #1813
Fix issue with stencil in rendergraph #1813
Conversation
It appears that you made a non-draft PR! |
@@ -270,8 +271,7 @@ void BindMotionVectorPassColorBuffers(in RenderGraphBuilder builder, in PrepassO | |||
// NOTE: Currently we profiled that generating the HTile for SSR and using it is not worth it the optimization. | |||
// However if the generated HTile will be used for something else but SSR, this should be made NOT resolve only and | |||
// re-enabled in the shader. | |||
if (hdCamera.IsSSREnabled()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why if (hdCamera.IsSSREnabled()) have disappeard?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed with Julien during our call, this is redundant in Rendergraph as the pass will be automatically culled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
This reverts commit 01ba90c.
This reverts commit 5bd028c.
This reverts commit fc56d9e.
Fix an issue that prevented the stencil to be set if BuildCoarseStencilAndResolveIfNeeded was not called.
Added a comment on top of BuildCoarseStencilAndResolveIfNeeded and removed SSR check as rendergraph will automatically cull passes.