Skip to content

Conversation

@HansKristian-Work
Copy link
Owner

No description provided.

@HansKristian-Work HansKristian-Work force-pushed the render-pass-improvements branch 6 times, most recently from ad073f9 to de8d119 Compare December 18, 2025 16:00
@HansKristian-Work HansKristian-Work marked this pull request as ready for review December 18, 2025 16:01
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
We may need to handle clears and kick off the suspend resume as needed.
It might be possible to omit it in certain cases, but we're really
supposed to do what application says when it's using explicit render
pass API.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Similar to deferred clear, but we don't do barrier on deferred discard.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
LOAD_OP_DONT_CARE implies a write, so need writable layouts.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
When the stars align we can promote attachment resolves properly.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Lots of bad state tracking going on here that ended up blocking
suspend-resume.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
For resolves, we can potentially only do the resolve when we confirm
render pass completion.
For EndingAccess DISCARD, we can only safely do that on EndRenderPass.

Only do render pass resolves if we confirm load-store-op-compat
workaround for simplicity.
Ignore DISCARDs if we don't have this compat.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
@HansKristian-Work
Copy link
Owner Author

Added a comment at the end which deals with independent resolves in a smarter way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants