Skip to content
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

Add Rgb9e5Ufloat Format #1703

Merged
merged 1 commit into from
Jul 22, 2021
Merged

Add Rgb9e5Ufloat Format #1703

merged 1 commit into from
Jul 22, 2021

Conversation

cwfitzgerald
Copy link
Member

@cwfitzgerald cwfitzgerald commented Jul 22, 2021

Connections

Addresses part of #967, a wgpu-hal followup to #955.

Description

This adds only Rgb9e5Ufloat. I removed the explicit numbering from the texture format so we don't have to constantly re-number things. The default numbering is identical to what we were doing.

Testing

All backends unconditionally support it, so little testing is needed.

@cwfitzgerald cwfitzgerald requested a review from kvark July 22, 2021 03:44
@cwfitzgerald cwfitzgerald force-pushed the rgb9e5-ufloat branch 2 times, most recently from fd47626 to 73384bf Compare July 22, 2021 03:52
Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

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

Looks great, thank you!
bors r+

@bors
Copy link
Contributor

bors bot commented Jul 22, 2021

@bors bors bot merged commit 753cc25 into gfx-rs:master Jul 22, 2021
@teoxoy teoxoy mentioned this pull request Nov 9, 2022
5 tasks
Patryk27 pushed a commit to Patryk27/wgpu that referenced this pull request Nov 23, 2022
[msl-out] Correct output for bounds-checked atomic accesses.
Patryk27 pushed a commit to Patryk27/wgpu that referenced this pull request Nov 23, 2022
* Fix incorrect atomic bounds check on metal back-end

Generalize put_atomic_fetch to handle `exchange` as well, rather than special-cased code which didn't do the bounds check (the check handling as fixed in gfx-rs#1703 but only for the fetch cases, exchange was skipped).

Fixes #1848

* Add tests for atomic exchange
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