bevy/crates
Jakob Hellermann b7dfe1677f include sources in shader validation error (#3724)
## Objective

When print shader validation error messages, we didn't print the sources and error message text, which led to some confusing error messages.

```cs
error: 
   ┌─ wgsl:15:11
   │
15 │     return material.color + 1u;
   │           ^^^^^^^^^^^^^^^^^^^^ naga::Expression [11]
```

## Solution

New error message:
```cs
error: Entry point fragment at Vertex is invalid
   ┌─ wgsl:15:11
   │
15 │     return material.color + 1u;
   │           ^^^^^^^^^^^^^^^^^^^^ naga::Expression [11]
   │
   = Expression [11] is invalid
   = Operation Add can't work with [8] and [10]
```
2022-02-04 03:37:38 +00:00
..
bevy_app improve error message for attempting to add systems using add_system_to_stage (#3287) 2022-02-04 02:26:18 +00:00
bevy_asset bevy_asset: Add AssetServerSettings watch_for_changes member (#3643) 2022-02-04 03:21:29 +00:00
bevy_audio Update rodio 0.15 (#3846) 2022-02-03 04:25:44 +00:00
bevy_core impl more traits for bevy_core::Name (#3611) 2022-02-04 03:07:20 +00:00
bevy_core_pipeline Update ClearColor Resource docs (#3842) 2022-02-02 21:29:48 +00:00
bevy_crevice Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_derive Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_diagnostic Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_dylib Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_dynamic_plugin Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_ecs Backport soundness fix (#3685) 2022-02-04 03:21:31 +00:00
bevy_ecs_compile_fail_tests Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_gilrs Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_gltf Update gltf requirement from 0.16.0 to 1.0.0 (#3826) 2022-02-02 00:25:39 +00:00
bevy_input derive clone for Input (#3569) 2022-02-04 02:42:59 +00:00
bevy_internal Enable the doc_markdown clippy lint (#3457) 2022-01-09 23:20:13 +00:00
bevy_log Add crate level docs to bevy_log and enable #![warn(missing_docs)] (#3520) 2022-01-23 18:00:43 +00:00
bevy_macro_utils Don't panic in macro shape validation (#3647) 2022-01-15 22:14:43 +00:00
bevy_math Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_pbr fix: remove unneeded filter in check_light_mesh_visibility (#3861) 2022-02-04 03:07:22 +00:00
bevy_reflect document more of bevy_reflect (#3655) 2022-01-14 19:09:44 +00:00
bevy_render include sources in shader validation error (#3724) 2022-02-04 03:37:38 +00:00
bevy_scene Increment last event count on next instead of iter (#2382) 2022-02-02 02:29:33 +00:00
bevy_sprite Add the Inside version to the Collision enum (#2489) 2022-02-01 22:40:25 +00:00
bevy_tasks Document bevy_tasks and enable #![warn(missing_docs)] (#3509) 2022-01-16 04:53:22 +00:00
bevy_text Update docstrings for text_system and text2d_system (#3732) 2022-01-20 19:32:16 +00:00
bevy_transform Add Transform::rotate_around method (#3107) 2022-02-04 02:09:24 +00:00
bevy_ui Update docstrings for text_system and text2d_system (#3732) 2022-01-20 19:32:16 +00:00
bevy_utils Release 0.6.0 (#3587) 2022-01-08 10:18:22 +00:00
bevy_window Change default window title to "app" (#3417) 2022-02-04 02:42:58 +00:00
bevy_winit do not set cursor grab on window creation if not asked for (#3617) 2022-01-15 20:29:58 +00:00