bevy/crates/bevy_render/macros/src
Patrick Walton 0e36abc180
Disable bindless on a per-material basis if the specific material uses more samplers than are available on the device. (#17155)
Some hardware and driver combos, such as Intel Iris Xe, have low limits
on the numbers of samplers per shader, causing an overflow. With
first-class bindless arrays, `wgpu` should be able to work around this
limitation eventually, but for now we need to disable bindless materials
on those platforms.

This is an alternative to PR #17107 that calculates the precise number
of samplers needed and compares to the hardware sampler limit,
transparently falling back to non-bindless if the limit is exceeded.

Fixes #16988.
2025-01-05 20:36:39 +00:00
..
as_bind_group.rs Disable bindless on a per-material basis if the specific material uses more samplers than are available on the device. (#17155) 2025-01-05 20:36:39 +00:00
extract_component.rs Use one BevyManifest instance in proc macros (#16766) 2024-12-15 15:00:05 +00:00
extract_resource.rs
lib.rs Rust 1.83, allow -> expect (missing_docs) (#16561) 2024-12-16 23:27:57 +00:00