Skip to content

Conversation

@cwfitzgerald
Copy link
Member

@cwfitzgerald cwfitzgerald commented Nov 19, 2025

Description

For native users who are always writing to all of their render target, this will provide the best performance on all hardware without needing to switch between Clear/Load depending on if they're running on a tiler or not.

I've also refactored wgpu-hal to actually have bitflags for all the variants, instead of having "no flags" have a special meeting.

Testing

Test pass. Going to add a test for DontCare before this is ready for review.

Squash or Rebase?

Squash

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy --tests. If applicable, add:
    • --target wasm32-unknown-unknown
  • Run cargo xtask test to run tests.
  • If this contains user-facing changes, add a CHANGELOG.md entry.

@cwfitzgerald cwfitzgerald force-pushed the cw/dontcare branch 2 times, most recently from 8c19a28 to 0477714 Compare November 19, 2025 01:45
@cwfitzgerald cwfitzgerald marked this pull request as ready for review November 26, 2025 14:09
@cwfitzgerald cwfitzgerald force-pushed the cw/dontcare branch 2 times, most recently from c9af109 to 3926130 Compare November 27, 2025 05:29
@Wumpf Wumpf self-requested a review December 7, 2025 16:17
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice! some asks for doc improvements, but pre-approving since there's nothing substantial

@cwfitzgerald cwfitzgerald enabled auto-merge (squash) December 8, 2025 03:28
@cwfitzgerald cwfitzgerald merged commit e3149ba into gfx-rs:trunk Dec 8, 2025
42 checks passed
@cwfitzgerald cwfitzgerald deleted the cw/dontcare branch December 8, 2025 03:48
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.

2 participants