`loop` 的误译为 `continuing` 块
作者: Patryk27创建于 2023年6月6日更新于 2026年9月18日
标签type: bugarea: naga back-endnagalang: GLSLlang: Metallang: HLSL
if (!(((phi_79_ < 8) ? true : false))) {
Note that it uses phi_79_ with value after the assignment, instead of using the value from-before the assignment, which causes this shader to be effectively an infinite loop (later optimized out by Metal Shader Compiler into a no-op, apparently).
内容来源: gfx-rs/wgpu