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

Fix failing test compilation on windows - DX12 and DX11 not there. #1513

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

ElectronicRU
Copy link
Contributor

Description
Due to some things in macros being left on cfg(windows) and some changed to cfg(dx12/dx11), the tests didn't even compile, much less run.

Testing
Ideally, some CI for Windows should be set up.

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.

Nice one, thanks!
bors r+

@bors
Copy link
Contributor

bors bot commented Jun 18, 2021

@bors bors bot merged commit 49f677b into gfx-rs:master Jun 18, 2021
@Gordon-F
Copy link
Contributor

@ElectronicRU Could you agree with project relicense #1473 ?

@kvark
Copy link
Member

kvark commented Jun 18, 2021

@Gordon-F I think any new contributions made after #1473 was filed can automatically considered to be complying.

@Gordon-F
Copy link
Contributor

@kvark Yeah, but only after. We still accept patches under MPL-2.0 License 😄

@kvark
Copy link
Member

kvark commented Jun 18, 2021

I mean, after #1473 was filed. I don't know how it all works, but that was the workflow we did for gfx, IIRC.
I.e. the only contributors it cares about are those before the date of the issue.

Patryk27 pushed a commit to Patryk27/wgpu that referenced this pull request Nov 23, 2022
Pointers should not be `DATA`: they can never be stored in anything. (Function
arguments are not storage; they're like `let` bindings.)

Un-`SIZED` values may only live in the `Storage` storage class, so creating
pointers to them in other storage classes is meaningless.

The `ARGUMENT` flag should be set only on pointers in those storage classes that
are permitted to be passed to functions.

See comments in code for details.

Fixes gfx-rs#1513.
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