bevy/crates/bevy_pbr/src
François Mockers a9964f442d
fix msaa shift with irradiance volumes in mesh pipeline key (#12845)
# Objective

- #12791 broke example `irradiance_volumes`
- Fixes #12876 

```
wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `pbr_opaque_mesh_pipeline`
    Color state [0] is invalid
    Sample count 8 is not supported by format Rgba8UnormSrgb on this device. The WebGPU spec guarentees [1, 4] samples are supported by this format. With the TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES feature your device supports [1, 2, 4].
```

## Solution

- Shift bits a bit more
2024-04-05 17:50:23 +00:00
..
deferred Refactor App and SubApp internals for better separation (#9202) 2024-03-31 03:16:10 +00:00
light Moving structs PointLight, SpotLight, and DirectionalLight out of light/mod.rs (#12656) 2024-03-23 02:16:07 +00:00
light_probe Refactor App and SubApp internals for better separation (#9202) 2024-03-31 03:16:10 +00:00
lightmap Refactor App and SubApp internals for better separation (#9202) 2024-03-31 03:16:10 +00:00
meshlet Relax BufferVec's type constraints (#12866) 2024-04-05 02:11:41 +00:00
prepass Micro-optimize queue_material_meshes, primarily to remove bit manipulation. (#12791) 2024-04-01 21:58:53 +00:00
render fix msaa shift with irradiance volumes in mesh pipeline key (#12845) 2024-04-05 17:50:23 +00:00
ssao Refactor App and SubApp internals for better separation (#9202) 2024-03-31 03:16:10 +00:00
bundle.rs Move EntityHash related types into bevy_ecs (#11498) 2024-02-12 15:02:24 +00:00
extended_material.rs Meshlet rendering (initial feature) (#10164) 2024-03-25 19:08:27 +00:00
fog.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
lib.rs Refactor App and SubApp internals for better separation (#9202) 2024-03-31 03:16:10 +00:00
material.rs Micro-optimize queue_material_meshes, primarily to remove bit manipulation. (#12791) 2024-04-01 21:58:53 +00:00
parallax.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
pbr_material.rs Pack the StandardMaterialKey into a single scalar instead of a structure. (#12783) 2024-03-29 18:34:27 +00:00
wireframe.rs Intern mesh vertex buffer layouts so that we don't have to compare them over and over. (#12216) 2024-03-01 20:56:21 +00:00