[hlsl-out] "continue cannot be used in a switch" within loop #4485
Labels
area: naga back-end
Outputs of naga shader conversion
FXC bug
lang: HLSL
D3D Shading Language
naga
Shader Translator
type: bug
Something isn't working
Milestone
WGSL:
HLSL:
The generated HLSL is rejected by FXC with the following error:
I guess the
continue
would need to be compiled down to e.g. a flag that conditionally executes the remainder of the loop.The text was updated successfully, but these errors were encountered: