File tree Expand file tree Collapse file tree
packages/typegpu/tests/tgsl Expand file tree Collapse file tree Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments