Skip to content

Conversation

@msiglreith
Copy link
Contributor

Untested so far, probably requires small changes to portability due to API breakage.

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 good!

}
pso::Descriptor::TexelBuffer(_) => unimplemented!()
pso::Descriptor::UniformTexelBuffer(buffer_view) => {
src_views.push(buffer_view.handle_srv);
Copy link
Member

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?

@kvark
Copy link
Member

kvark commented May 4, 2018

bors r+

bors bot added a commit that referenced this pull request May 4, 2018
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]>
@kvark
Copy link
Member

kvark commented May 4, 2018

Looks like Metal needs a few more corrections:
https://travis-ci.org/gfx-rs/gfx/jobs/374861471#L2659

@bors
Copy link
Contributor

bors bot commented May 4, 2018

Build failed

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.

Beautiful!
bors r+

bors bot added a commit that referenced this pull request May 4, 2018
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]>
@bors
Copy link
Contributor

bors bot commented May 4, 2018

Build failed (retrying...)

@bors
Copy link
Contributor

bors bot commented May 4, 2018

Canceled

@msiglreith
Copy link
Contributor Author

bors r=kvark

bors bot added a commit that referenced this pull request May 4, 2018
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]>
@bors
Copy link
Contributor

bors bot commented May 4, 2018

@bors bors bot merged commit efb1978 into gfx-rs:master May 4, 2018
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