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

DX11 buffer mapping (merged) #1109

Merged
merged 1 commit into from
Dec 26, 2016
Merged

DX11 buffer mapping (merged) #1109

merged 1 commit into from
Dec 26, 2016

Conversation

snuk182
Copy link
Contributor

@snuk182 snuk182 commented Dec 26, 2016

Fixes #1098 . Proper merged version.
Improper version here ; #1105 .

@kvark
Copy link
Member

kvark commented Dec 26, 2016

Wonderful, thank you!
@homu r+

@homu
Copy link
Contributor

homu commented Dec 26, 2016

📌 Commit 9234f43 has been approved by kvark

@homu homu merged commit 9234f43 into gfx-rs:master Dec 26, 2016
homu added a commit that referenced this pull request Dec 26, 2016
DX11 buffer mapping (merged)

Fixes #1098 . Proper merged version.
Improper version here ; #1105 .
@homu
Copy link
Contributor

homu commented Dec 26, 2016

⚡ Test exempted - status

adamnemecek pushed a commit to adamnemecek/gfx that referenced this pull request Apr 1, 2021
1112: Expose adapter specific formats features via Extension, support for storage read+write r=kvark a=Wumpf

**Connections**
Draft until gfx-rs#3559 landed (then update and comment two lines in)
New & improved replacement for gfx-rs#1109

PR for wgpu-rs to be opened once there's some confidence that this is that it should look like. [Preview](https://github.com/gfx-rs/wgpu-rs/compare/master...Wumpf:texture-format-feature-query?expand=1)

**Description**
Adapter exposes now per texture format specific features. Feature struct defined as allowed usages + flags. Flags describe only storage texture usage so far.

Query not used for validation unless `TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES` feature is enabled on a device. Otherwise uses hardcoded feature set guaranteed by webgpu.
Storage read/write binding can then be used as a consequence (storage atomic has no effect yet).

**Testing**
Manual testing with my fluid sim project through wgpu-rs which covers storage r/w for a few different formats and storage in general for formats that don't support this usage by default at all.
Ran tests and a couple of samples to see if anything broke with the feature disabled.

Co-authored-by: Andreas Reich <[email protected]>
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