-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
example shader_material_glsl panics due to missing feature #8505
Copy link
Copy link
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examples
Description
Bevy version
main since #8491
What you did
cargo run --example shader_material_glsl
What went wrong
It panics with
thread 'Compute Task Pool (0)' panicked at 'not implemented: Enable feature "shader_format_glsl" to use GLSL shaders', crates/bevy_render/src/render_resource/shader.rs:215:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::render_resource::pipeline_cache::PipelineCache::process_pipeline_queue_system`!
thread 'Compute Task Pool (1)' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', crates/bevy_render/src/pipelined_rendering.rs:135:45
Additional information
This is expected as glsl support is now behind a feature. Should the example be removed? Or the feature enabled by default? Or the example updated to have a better fallback when the feature is not enabled?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examplesAn addition or correction to our examples