Open Shatur opened 8 months ago
Hard to tell from the lack of info in the logs, but if I had to guess, your GPU crashed.
How can I provide more information about the issue?
This part of the log:
Caused by:
In Device::create_render_pipeline
note: label = `pbr_opaque_mesh_pipeline`
Internal error in ShaderStages(FRAGMENT) shader: 0:2(12): error: extension `GL_EXT_texture_cube_map_array' unsupported in fragment shader
looks weird - it's a GLES 3.2 / GL 4.0 feature, not supported by Panfrost yet (neither GL_OES_texture_cube_map_array
nor GL_ARB_texture_cube_map_array
) and isn't required for webgl2. AFAIK webgl2 should even work with GLES 3.0.
Interesting... @superdump maybe you have an idea why it happens?
I think we need to expose: https://docs.rs/wgpu/latest/wgpu/struct.DownlevelCapabilities.html and use it for various parts of feature detection logic.
Bevy version
v0.13.1
[Optional] Relevant system information
Phone specs. More detailed CPU specs.
What you did
I trying to run examples from the Bevy repo.
What went wrong
If I try to any example like this:
I have the following error:
In order to fix it I set
WGPU_SETTINGS_PRIO=webgl2
environment variable.Now all 2D examples work, I can run
sprite
orbreakout
examples without issues.But when I try to run any 3D example like this:
It crashes with the following output: log.txt
Additional information
My setup: