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

TEXTURE_BINDING_ARRAY required but not enabled on the device #11299

Closed
atlasoft opened this issue Jan 11, 2024 · 1 comment · Fixed by #11307
Closed

TEXTURE_BINDING_ARRAY required but not enabled on the device #11299

atlasoft opened this issue Jan 11, 2024 · 1 comment · Fixed by #11307
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Milestone

Comments

@atlasoft
Copy link

How can Bevy's documentation be improved?

In the "getting started" page, instructions lead to clone the repo and "cargo run" the breakout example. However it is wasn't working.

´´´
cargo run --example breakout
...
2024-01-11T14:42:51.532466Z INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon Graphics (radeonsi, renoir, LLVM 16.0.6, DRM 3.49, 6.1.71-1-lts)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }
2024-01-11T14:42:51.904746Z ERROR log: Handling wgpu errors as fatal by default
thread 'main' panicked at /home/tokyo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.18.0/src/backend/direct.rs:3111:5:
wgpu error: Validation Error

Caused by:
In Device::create_bind_group_layout
note: label = mesh_view_layout
Binding 14 entry is invalid
Features Features(TEXTURE_BINDING_ARRAY) are required but not enabled on the device
´´´

Looking into wgpu crate for TEXTURE_BINDING_ARRAY, it is mentioned that

Supported platforms:
    DX12
    Metal (with MSL 2.0+ on macOS 10.13+)
    Vulkan
This is a native only feature.

So I suspected a missing package in the OS, so installed extra/vulkan-radeon and ran again, with success.

I think it could be nice to have some hints about prerequisites on the documentation, for example here:
Link: https://bevyengine.org/learn/book/getting-started/

It seems it only happens on HEAD: ce5bae5
Tried with v0.12.1 and package is not needed.

@atlasoft atlasoft added C-Docs An addition or correction to our documentation S-Needs-Triage This issue needs to be labelled labels Jan 11, 2024
@mockersf
Copy link
Member

this is new since #10057

@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior and removed S-Needs-Triage This issue needs to be labelled C-Docs An addition or correction to our documentation labels Jan 11, 2024
@alice-i-cecile alice-i-cecile added this to the 0.13 milestone Jan 11, 2024
github-merge-queue bot pushed a commit that referenced this issue Jan 12, 2024
# Objective

- Fix working on macOS, iOS, Android on main 
- Fixes #11281 
- Fixes #11282 
- Fixes #11283 
- Fixes #11299

## Solution

- Revert #10057
Ixentus pushed a commit to Ixentus/bevy that referenced this issue Jan 12, 2024
…yengine#11307)

# Objective

- Fix working on macOS, iOS, Android on main 
- Fixes bevyengine#11281 
- Fixes bevyengine#11282 
- Fixes bevyengine#11283 
- Fixes bevyengine#11299

## Solution

- Revert bevyengine#10057
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants