-
Notifications
You must be signed in to change notification settings - Fork 535
dx12: Implement buffer views #1987
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
Conversation
kvark
left a comment
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.
Looks good!
src/backend/dx12/src/device.rs
Outdated
| } | ||
| pso::Descriptor::TexelBuffer(_) => unimplemented!() | ||
| pso::Descriptor::UniformTexelBuffer(buffer_view) => { | ||
| src_views.push(buffer_view.handle_srv); |
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.
given that the SRV here and UAV below can be NULL, can we at least error!() on it?
|
bors r+ |
1987: dx12: Implement buffer views r=kvark a=msiglreith Untested so far, probably requires small changes to portability due to API breakage. Co-authored-by: msiglreith <[email protected]>
|
Looks like Metal needs a few more corrections: |
Build failed |
kvark
left a comment
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.
Beautiful!
bors r+
1985: mtl: Map more vertex formats r=kvark a=grovesNL Depends on gfx-rs/metal-rs#41 to be merged/published. Not sure what to do with `Int1010102Normalized` and `UInt1010102Normalized` because the byte ordering for alpha appears to differ from Vulkan, so I'm leaving them out for now. PR checklist: - [X] `make` succeeds (on *nix) - [X] `make reftests` succeeds - [X] tested examples with the following backends: Metal 1987: dx12: Implement buffer views r=kvark a=msiglreith Untested so far, probably requires small changes to portability due to API breakage. Co-authored-by: Joshua Groves <[email protected]> Co-authored-by: msiglreith <[email protected]>
Build failed (retrying...) |
Canceled |
|
bors r=kvark |
1987: dx12: Implement buffer views r=kvark a=msiglreith Untested so far, probably requires small changes to portability due to API breakage. Co-authored-by: msiglreith <[email protected]>
Untested so far, probably requires small changes to portability due to API breakage.