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

wgpu-hal heuristics assumed that the view dimension will be equal to Cube rather than CubeArray #1

Closed
orhun opened this issue Jul 31, 2024 · 5 comments

Comments

@orhun
Copy link
Contributor

orhun commented Jul 31, 2024

Hello!

I'm getting a bunch of these errors spammed in my terminal when I try to run lifecycler (latest version):

2024-07-31T11:46:09.178073Z ERROR wgpu_hal::gles: wgpu-hal heuristics assumed that the view dimension will be equal to `Cube` rather than `CubeArray`.
`D2` textures with `depth_or_array_layers == 1` are assumed to have view dimension `D2`
`D2` textures with `depth_or_array_layers > 1` are assumed to have view dimension `D2Array`
`D2` textures with `depth_or_array_layers == 6` are assumed to have view dimension `Cube`
`D2` textures with `depth_or_array_layers > 6 && depth_or_array_layers % 6 == 0` are assumed to have view dimension `CubeArray`

any ideas? 🐟

@cxreiff
Copy link
Owner

cxreiff commented Jul 31, 2024

I got those as well on my linux partition- looking into it.

@cxreiff
Copy link
Owner

cxreiff commented Jul 31, 2024

Appears to be a relatively recent bevy-wide issue: bevyengine/bevy#13115

As it doesn't appear to affect the rendering other than displacing it, I'll work on suppressing the error as a quick fix.

@cxreiff
Copy link
Owner

cxreiff commented Jul 31, 2024

Removed error logging for now, should work now (fixed in repo and crates.io, github/itch.io releases postponed until past the jam judging period). Thanks for the report!

@orhun
Copy link
Contributor Author

orhun commented Jul 31, 2024

Yeah, I tried with RUST_LOG=none and it worked fine. Thanks for the fix! Are you planning to create a new release soon?

btw I created an AUR package here: https://aur.archlinux.org/packages/lifecycler I'm happy to add installation instructions to the repo :)

@cxreiff
Copy link
Owner

cxreiff commented Jul 31, 2024

I'll disable itch.io upload and trigger a release (jam judging still going on).

And thank you! Yes if you wouldn't mind, I'll merge it.

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

No branches or pull requests

2 participants