bevy/crates/bevy_render/src
研究社交 6b38863313 Request WGPU Capabilities for Non-uniform Indexing (#6995)
# Objective

Fixes #6952 

## Solution

- Request WGPU capabilities `SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING`, `SAMPLER_NON_UNIFORM_INDEXING` and `UNIFORM_BUFFER_AND_STORAGE_TEXTURE_ARRAY_NON_UNIFORM_INDEXING` when corresponding features are enabled.
- Add an example (`shaders/texture_binding_array`) illustrating (and testing) the use of non-uniform indexed textures and samplers.

![image](https://user-images.githubusercontent.com/16053640/209448310-defa4eae-6bcb-460d-9b3d-a3d2fad4316c.png)

## Changelog

- Added new capabilities for shader validation.
- Added example `shaders/texture_binding_array`.
2023-01-26 13:18:15 +00:00
..
camera Cascaded shadow maps. (#7064) 2023-01-25 12:35:39 +00:00
color Improve Color::hex performance (#6940) 2023-01-17 13:26:43 +00:00
mesh Update Box vertices comment (#7055) 2022-12-29 23:45:07 +00:00
primitives Cascaded shadow maps. (#7064) 2023-01-25 12:35:39 +00:00
render_graph fix clippy (#7302) 2023-01-20 14:25:25 +00:00
render_phase Reduce the use of atomics in the render phase (#7084) 2023-01-18 02:19:19 +00:00
render_resource Request WGPU Capabilities for Non-uniform Indexing (#6995) 2023-01-26 13:18:15 +00:00
renderer Support recording multiple CommandBuffers in RenderContext (#7248) 2023-01-22 00:21:55 +00:00
texture Add depth and normal prepass (#6284) 2023-01-19 22:11:13 +00:00
view Cascaded shadow maps. (#7064) 2023-01-25 12:35:39 +00:00
extract_component.rs ExtractComponent output optional associated type (#6699) 2022-11-21 13:19:44 +00:00
extract_param.rs Revise SystemParam docs (#7274) 2023-01-20 13:39:23 +00:00
extract_resource.rs gate an import used only for a debug assert (#7165) 2023-01-11 20:52:04 +00:00
globals.rs bevy_reflect: Register missing reflected types for bevy_render (#6725) 2022-11-23 00:41:21 +00:00
lib.rs Cascaded shadow maps. (#7064) 2023-01-25 12:35:39 +00:00
pipelined_rendering.rs Remove App::add_sub_app (#7290) 2023-01-24 21:24:25 +00:00
render_asset.rs Fix clippy::iter_with_drain (#6485) 2022-11-06 01:42:15 +00:00
settings.rs Replace WgpuAdapterInfo with RenderAdapterInfo in the documentation. (#7036) 2022-12-26 19:47:01 +00:00
spatial_bundle.rs enum Visibility component (#6320) 2022-12-25 00:39:29 +00:00