mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
# Objective Fix nested shader defs. For example, in: ```rust #ifdef A #ifdef B some code here #endif #endif ``` ...before this PR, if `A` *is not* defined, and `B` *is* defined, then `some code here` will be output. ## Solution - Combine the logic of whether the parent and child scope guards are defined and use that as the resulting child scope guard boolean value |
||
---|---|---|
.. | ||
bevy_core_pipeline | ||
bevy_gltf2 | ||
bevy_pbr2 | ||
bevy_render2 | ||
bevy_sprite2 |