Skip to content

Commit

Permalink
Update do-while expected output for naga v0.10 backend behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Jun 21, 2023
1 parent f620e6a commit 410a48d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/out/glsl/do-while.main.Fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ void fb1_(inout bool cond) {
while(true) {
if (!loop_init) {
bool _e6 = cond;
bool unnamed = !(_e6);
bool unnamed = (!_e6);
if (unnamed) {
break;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/out/hlsl/do-while.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ void fb1_(inout bool cond)
while(true) {
if (!loop_init) {
bool _expr6 = cond;
bool unnamed = !(_expr6);
bool unnamed = !_expr6;
if (unnamed) {
break;
}
Expand Down
4 changes: 2 additions & 2 deletions tests/out/msl/do-while.msl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ void fb1_(
while(true) {
if (!loop_init) {
bool _e6 = cond;
bool unnamed = !(_e6);
if (!(cond)) {
bool unnamed = !_e6;
if (!cond) {
break;
}
}
Expand Down

0 comments on commit 410a48d

Please sign in to comment.