bevy/crates/bevy_render/macros
loganbenjamin ee1368a032
Fix AsBindGroup derive, texture attribute, visibility flag parsing (#8868)
# Objective

- Fix the AsBindGroup texture attribute visibility flag parsing
- This appears to have been caused by a syn crate update which then the
visibility code got updated
- Also I noticed that by default the vertex and fragment flags were on,
so visibility(compute) would actually make the texture visible to
vertex, fragment and compute shaders, I fixed this too

## Solution

- Update flag parsing to use MetaList.parse_nested_meta function, which
loads the flags into a Vec then loop through those flags
- Change initial visibility flags to use VisibilityFlags::default()
rather than VisibilityFlags::vertex_fragment()
2023-06-21 23:58:55 +00:00
..
src Fix AsBindGroup derive, texture attribute, visibility flag parsing (#8868) 2023-06-21 23:58:55 +00:00
Cargo.toml update syn, encase, glam and hexasphere (#8573) 2023-05-16 01:24:17 +00:00