Skip to content

Commit 34b75f7

Browse files
committed
fix: Update snapshot tests on main
1 parent d935dc2 commit 34b75f7

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

packages/typegpu/tests/tgsl/wgslGenerator.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,8 +1882,8 @@ describe('wgslGenerator', () => {
18821882
"fn fn_1() -> i32 {
18831883
var a = -1;
18841884
{
1885-
const temp2 = 0;
1886-
a = temp2;
1885+
const temp = 0;
1886+
a = temp;
18871887
}
18881888
let temp = (a * 2i);
18891889
return temp;
@@ -1894,8 +1894,8 @@ describe('wgslGenerator', () => {
18941894
"fn fn_1() -> i32 {
18951895
var a = -1;
18961896
{
1897-
const temp2 = 1;
1898-
a = temp2;
1897+
const temp = 1;
1898+
a = temp;
18991899
}
19001900
let temp = (a * 2i);
19011901
return temp;
@@ -1917,12 +1917,12 @@ describe('wgslGenerator', () => {
19171917
fn fn_1() -> i32 {
19181918
var a = -1;
19191919
if ((item() == 0u)) {
1920-
const temp2 = 0;
1921-
a = temp2;
1920+
const temp = 0;
1921+
a = temp;
19221922
}
19231923
else {
1924-
const temp2 = 1;
1925-
a = temp2;
1924+
const temp = 1;
1925+
a = temp;
19261926
}
19271927
let temp = (a * 2i);
19281928
return temp;

0 commit comments

Comments
 (0)