mirror of
https://github.com/bevyengine/bevy
synced 2024-12-21 10:33:08 +00:00
14ce281904
# 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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |