bevy/crates/bevy_pbr/src
akimakinai 11d1ebeed3
Fix OIT shaders error with DX12 backend (#15782)
# Objective

- Fixes #15781

## Solution

- DX12 backend seems to require functions with return types to return
value. [WebGPU spec also requires
this](https://gpuweb.github.io/gpuweb/wgsl/#behaviors-rules).

Upstream issue: https://github.com/gfx-rs/wgpu/issues/4458
https://github.com/gpuweb/gpuweb/issues/2523

## Testing

- Tested `order_independent_transparency` example with both dx12 and
vulkan backend on Windows
2024-10-10 14:17:09 +00:00
..
cluster fix: Skip some rendering logics when the viewport width or height is zero (#15654) 2024-10-08 22:52:19 +00:00
deferred Fix deferred rendering (#15656) 2024-10-04 22:51:23 +00:00
light Synchronize removed components with the render world (#15582) 2024-10-08 22:23:17 +00:00
light_probe Migrate reflection probes to required components (#15737) 2024-10-08 23:59:27 +00:00
lightmap Migrate meshes and materials to required components (#15524) 2024-10-01 21:33:17 +00:00
meshlet Remove the Component trait implementation from Handle (#15796) 2024-10-09 21:10:01 +00:00
prepass Remove the Component trait implementation from Handle (#15796) 2024-10-09 21:10:01 +00:00
render Fix OIT shaders error with DX12 backend (#15782) 2024-10-10 14:17:09 +00:00
ssao Synchronize removed components with the render world (#15582) 2024-10-08 22:23:17 +00:00
ssr Migrate reflection probes to required components (#15737) 2024-10-08 23:59:27 +00:00
volumetric_fog Synchronize removed components with the render world (#15582) 2024-10-08 22:23:17 +00:00
bundle.rs Synchronize removed components with the render world (#15582) 2024-10-08 22:23:17 +00:00
extended_material.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
fog.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
lib.rs Rename App/World::observe to add_observer, EntityWorldMut::observe_entity to observe. (#15754) 2024-10-09 15:39:29 +00:00
material.rs Remove Handle<T> trait implementations that are dependent on Component (#15749) 2024-10-09 17:12:27 +00:00
mesh_material.rs Remove thiserror from bevy_pbr (#15767) 2024-10-09 14:25:16 +00:00
parallax.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
pbr_material.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
wireframe.rs Revert "Have EntityCommands methods consume self for easier chaining" (#15523) 2024-10-02 12:47:26 +00:00