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

Skip the cube compatibility on a downlevel flag #1419

Merged
merged 1 commit into from
Jun 1, 2021
Merged

Conversation

kvark
Copy link
Member

@kvark kvark commented Jun 1, 2021

Connections
Fixes #1418

Description
Adds a downlevel flag for cube arrays, checks for it.

Testing
Untested, but should work.

@kvark kvark requested a review from cwfitzgerald June 1, 2021 00:18
Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

We should keep the aniso downlevel flag. I know that the webgpu standard does not say that ANISO has to do anything, but people should still know when it's going to be ignored. If you want to change the "is compliant" to not include aniso that's fine, but I generally dislike misrepresenting the device's capabilities to the client.

@kvark
Copy link
Member Author

kvark commented Jun 1, 2021

Ok, the compatibility mask was wrong then, it took aniso into it. I'll add the flag back, but outside of the compat mask.

@kvark
Copy link
Member Author

kvark commented Jun 1, 2021

The review note is addressed, let's proceed.
bors r=cwfitzgerald

@bors
Copy link
Contributor

bors bot commented Jun 1, 2021

@bors bors bot merged commit eadaa1b into gfx-rs:master Jun 1, 2021
@kvark kvark deleted the cube branch June 1, 2021 12:53
bors bot added a commit to gfx-rs/wgpu-rs that referenced this pull request Jun 1, 2021
921: Update wgpu to eadaa1b r=kvark a=kvark

Picks up gfx-rs/wgpu#1419, gfx-rs/wgpu#1417, and gfx-rs/wgpu#1403

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
kvark added a commit to kvark/wgpu that referenced this pull request Jun 3, 2021
921: Update wgpu to eadaa1b r=kvark a=kvark

Picks up gfx-rs#1419, gfx-rs#1417, and gfx-rs#1403

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
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.

texture array interpreted as cube texture array
2 participants