bevy/crates/bevy_pbr/src/render
François 3537c6ae2d Fix animation: shadow and wireframe support (#4367)
# Objective

Animation with shadows crashes with:
```
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `shadow_pipeline`
    error matching VERTEX shader requirements against the pipeline
    shader global ResourceBinding { group: 1, binding: 1 } is not available in the layout pipeline layout
    visibility flags don't include the shader stage
```


Animation with wireframe crashes with:
```
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `opaque_mesh_pipeline`
    error matching VERTEX shader requirements against the pipeline
    shader global ResourceBinding { group: 2, binding: 0 } is not available in the layout pipeline layout
    binding is missing from the pipeline layout
```

## Solution

- Fix the bindings
2022-03-30 19:56:16 +00:00
..
depth.wgsl Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
light.rs Fix animation: shadow and wireframe support (#4367) 2022-03-30 19:56:16 +00:00
mesh.rs Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
mesh.wgsl Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
mesh_struct.wgsl Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
mesh_view_bind_group.wgsl Move import_path definitions into shader source (#3976) 2022-02-18 21:54:03 +00:00
mod.rs Materials and MaterialPlugin (#3428) 2021-12-25 21:45:43 +00:00
pbr.wgsl KTX2/DDS/.basis compressed texture support (#3884) 2022-03-15 22:26:46 +00:00
skinning.wgsl Mesh Skinning. Attempt #3 (#4238) 2022-03-29 18:31:13 +00:00
wireframe.wgsl Fix animation: shadow and wireframe support (#4367) 2022-03-30 19:56:16 +00:00