We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given this HLSL:
void main() { while (true) { if (false) { } else { break; } break; } }
Compiling with latest dxc snapshot:
"C:\dxc\dxc-artifacts (5)\bin\dxc.exe" /T ps_6_5 LoopBreak_FromLoopBodyDirect.hlsl Internal compiler error: access violation. Attempted to read from address 0x0000000000000048
If we remove either one of the two breaks, it compiles. If we change the if (false) to if (true) it also compiles.
break
if (false)
if (true)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Given this HLSL:
Compiling with latest dxc snapshot:
If we remove either one of the two
break
s, it compiles. If we change theif (false)
toif (true)
it also compiles.The text was updated successfully, but these errors were encountered: