bevy/crates/bevy_render/src
Alice Cecile 4ac2a63556
Remove all existing system order ambiguities in DefaultPlugins (#15031)
# Objective

As discussed in https://github.com/bevyengine/bevy/issues/7386, system
order ambiguities within `DefaultPlugins` are a source of bugs in the
engine and badly pollute diagnostic output for users.

We should eliminate them!

This PR is an alternative to #15027: with all external ambiguities
silenced, this should be much less prone to merge conflicts and the test
output should be much easier for authors to understand.

Note that system order ambiguities are still permitted in the
`RenderApp`: these need a bit of thought in terms of how to test them,
and will be fairly involved to fix. While these aren't *good*, they'll
generally only cause graphical bugs, not logic ones.

## Solution

All remaining system order ambiguities have been resolved.
Review this PR commit-by-commit to see how each of these problems were
fixed.

## Testing

`cargo run --example ambiguity_detection` passes with no panics or
logging!
2024-09-03 20:24:34 +00:00
..
batching Fix Adreno 642L crash (#14937) 2024-08-27 17:35:01 +00:00
camera Return Results from Camera's world/viewport conversion methods (#14989) 2024-09-03 19:45:15 +00:00
diagnostic Wgpu 0.20 (#13186) 2024-06-14 18:39:31 +00:00
mesh Fix tiny seam in Annulus geometry. (#14913) 2024-08-25 14:11:58 +00:00
primitives Glam 0.28 update - adopted (#14613) 2024-08-06 01:28:00 +00:00
render_graph Don't ignore draw errors (#13240) 2024-07-22 19:22:30 +00:00
render_phase Make TrackedRenderPass::set_vertex_buffer aware of slice size (#14916) 2024-08-28 11:41:42 +00:00
render_resource Adds ShaderStorageBuffer asset (#14663) 2024-09-02 16:46:34 +00:00
renderer Replace the wgpu_trace feature with a field in bevy_render::settings::WgpuSettings (#14842) 2024-08-25 14:16:11 +00:00
texture ImageSampler::init_descriptor (#11113) 2024-08-26 17:56:37 +00:00
view Remove all existing system order ambiguities in DefaultPlugins (#15031) 2024-09-03 20:24:34 +00:00
alpha.rs
color_operations.wgsl move wgsl color operations from bevy_pbr to bevy_render (#13209) 2024-05-04 10:30:23 +00:00
extract_component.rs
extract_instances.rs
extract_param.rs
extract_resource.rs Add error when extract resource build fails (#4964) 2024-04-28 05:20:59 +00:00
globals.rs
globals.wgsl
gpu_component_array_buffer.rs
lib.rs Adds ShaderStorageBuffer asset (#14663) 2024-09-02 16:46:34 +00:00
maths.wgsl add tonemapping LUT bindings for sprite and mesh2d pipelines (#13262) 2024-05-28 12:09:26 +00:00
pipelined_rendering.rs Fix lints introduced in Rust beta 1.80 (#13899) 2024-06-17 17:22:01 +00:00
render_asset.rs check sampler type in as_bind_group derives (#12637) 2024-08-21 01:41:31 +00:00
settings.rs Replace the wgpu_trace feature with a field in bevy_render::settings::WgpuSettings (#14842) 2024-08-25 14:16:11 +00:00
spatial_bundle.rs Clearer spatial bundle pub const docs (#14293) 2024-07-15 16:03:09 +00:00
storage.rs Adds ShaderStorageBuffer asset (#14663) 2024-09-02 16:46:34 +00:00