writer/hlsl: Simplify emission logic, clean up output
And fix issues where global variables would not be emitted unless they were transitively referenced by an entry point.
This change requires crbug.com/tint/697 to be fixed before landing.
Change-Id: I712bd9d369e08c9a3cdfb0f114c3609584f91f28
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54241
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
diff --git a/test/intrinsics/arrayLength/complex_via_let.wgsl.expected.hlsl b/test/intrinsics/arrayLength/complex_via_let.wgsl.expected.hlsl
index de68f94..9e16082 100644
--- a/test/intrinsics/arrayLength/complex_via_let.wgsl.expected.hlsl
+++ b/test/intrinsics/arrayLength/complex_via_let.wgsl.expected.hlsl
@@ -1,4 +1,3 @@
-
ByteAddressBuffer G : register(t0, space0);
[numthreads(1, 1, 1)]
@@ -9,4 +8,3 @@
const uint l1 = tint_symbol_2;
return;
}
-
diff --git a/test/intrinsics/arrayLength/deprecated.wgsl.expected.hlsl b/test/intrinsics/arrayLength/deprecated.wgsl.expected.hlsl
index 97c38fa..b1a3d5f 100644
--- a/test/intrinsics/arrayLength/deprecated.wgsl.expected.hlsl
+++ b/test/intrinsics/arrayLength/deprecated.wgsl.expected.hlsl
@@ -1,4 +1,3 @@
-
ByteAddressBuffer G : register(t0, space0);
[numthreads(1, 1, 1)]
@@ -10,4 +9,3 @@
const uint l2 = tint_symbol_2;
return;
}
-
diff --git a/test/intrinsics/arrayLength/simple.wgsl.expected.hlsl b/test/intrinsics/arrayLength/simple.wgsl.expected.hlsl
index de68f94..9e16082 100644
--- a/test/intrinsics/arrayLength/simple.wgsl.expected.hlsl
+++ b/test/intrinsics/arrayLength/simple.wgsl.expected.hlsl
@@ -1,4 +1,3 @@
-
ByteAddressBuffer G : register(t0, space0);
[numthreads(1, 1, 1)]
@@ -9,4 +8,3 @@
const uint l1 = tint_symbol_2;
return;
}
-
diff --git a/test/intrinsics/arrayLength/via_let.wgsl.expected.hlsl b/test/intrinsics/arrayLength/via_let.wgsl.expected.hlsl
index de68f94..9e16082 100644
--- a/test/intrinsics/arrayLength/via_let.wgsl.expected.hlsl
+++ b/test/intrinsics/arrayLength/via_let.wgsl.expected.hlsl
@@ -1,4 +1,3 @@
-
ByteAddressBuffer G : register(t0, space0);
[numthreads(1, 1, 1)]
@@ -9,4 +8,3 @@
const uint l1 = tint_symbol_2;
return;
}
-
diff --git a/test/intrinsics/arrayLength/via_let_complex.wgsl.expected.hlsl b/test/intrinsics/arrayLength/via_let_complex.wgsl.expected.hlsl
index de68f94..9e16082 100644
--- a/test/intrinsics/arrayLength/via_let_complex.wgsl.expected.hlsl
+++ b/test/intrinsics/arrayLength/via_let_complex.wgsl.expected.hlsl
@@ -1,4 +1,3 @@
-
ByteAddressBuffer G : register(t0, space0);
[numthreads(1, 1, 1)]
@@ -9,4 +8,3 @@
const uint l1 = tint_symbol_2;
return;
}
-
diff --git a/test/intrinsics/frexp.wgsl.expected.hlsl b/test/intrinsics/frexp.wgsl.expected.hlsl
index 9ac2398..dce5489 100644
--- a/test/intrinsics/frexp.wgsl.expected.hlsl
+++ b/test/intrinsics/frexp.wgsl.expected.hlsl
@@ -7,4 +7,3 @@
const float significand = tint_tmp_1;
return;
}
-
diff --git a/test/intrinsics/gen/abs/002533.wgsl.expected.hlsl b/test/intrinsics/gen/abs/002533.wgsl.expected.hlsl
index 8f4024e..84bbcc3 100644
--- a/test/intrinsics/gen/abs/002533.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/002533.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_002533() {
float4 res = abs(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_002533();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_002533();
return;
}
-
diff --git a/test/intrinsics/gen/abs/005174.wgsl.expected.hlsl b/test/intrinsics/gen/abs/005174.wgsl.expected.hlsl
index b824ff5..02e7240 100644
--- a/test/intrinsics/gen/abs/005174.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/005174.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_005174() {
float3 res = abs(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_005174();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_005174();
return;
}
-
diff --git a/test/intrinsics/gen/abs/1ce782.wgsl.expected.hlsl b/test/intrinsics/gen/abs/1ce782.wgsl.expected.hlsl
index 684aae1..d323c0c 100644
--- a/test/intrinsics/gen/abs/1ce782.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/1ce782.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_1ce782() {
uint4 res = abs(uint4(0u, 0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_1ce782();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_1ce782();
return;
}
-
diff --git a/test/intrinsics/gen/abs/1e9d53.wgsl.expected.hlsl b/test/intrinsics/gen/abs/1e9d53.wgsl.expected.hlsl
index b6a925e..2828fd7 100644
--- a/test/intrinsics/gen/abs/1e9d53.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/1e9d53.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_1e9d53() {
float2 res = abs(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_1e9d53();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_1e9d53();
return;
}
-
diff --git a/test/intrinsics/gen/abs/467cd1.wgsl.expected.hlsl b/test/intrinsics/gen/abs/467cd1.wgsl.expected.hlsl
index ac45548..2e781e9 100644
--- a/test/intrinsics/gen/abs/467cd1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/467cd1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_467cd1() {
uint res = abs(1u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_467cd1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_467cd1();
return;
}
-
diff --git a/test/intrinsics/gen/abs/4ad288.wgsl.expected.hlsl b/test/intrinsics/gen/abs/4ad288.wgsl.expected.hlsl
index 6c6afef..968877d 100644
--- a/test/intrinsics/gen/abs/4ad288.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/4ad288.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_4ad288() {
int res = abs(1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_4ad288();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_4ad288();
return;
}
-
diff --git a/test/intrinsics/gen/abs/5ad50a.wgsl.expected.hlsl b/test/intrinsics/gen/abs/5ad50a.wgsl.expected.hlsl
index 86eee8b..c5b68f4 100644
--- a/test/intrinsics/gen/abs/5ad50a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/5ad50a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_5ad50a() {
int3 res = abs(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_5ad50a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_5ad50a();
return;
}
-
diff --git a/test/intrinsics/gen/abs/7326de.wgsl.expected.hlsl b/test/intrinsics/gen/abs/7326de.wgsl.expected.hlsl
index 48d4e3d..eac41c0 100644
--- a/test/intrinsics/gen/abs/7326de.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/7326de.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_7326de() {
uint3 res = abs(uint3(0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_7326de();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_7326de();
return;
}
-
diff --git a/test/intrinsics/gen/abs/7f28e6.wgsl.expected.hlsl b/test/intrinsics/gen/abs/7f28e6.wgsl.expected.hlsl
index b73df9f..9432a61 100644
--- a/test/intrinsics/gen/abs/7f28e6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/7f28e6.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_7f28e6() {
uint2 res = abs(uint2(0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_7f28e6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_7f28e6();
return;
}
-
diff --git a/test/intrinsics/gen/abs/7faa9e.wgsl.expected.hlsl b/test/intrinsics/gen/abs/7faa9e.wgsl.expected.hlsl
index 0f4908a..c26a54f 100644
--- a/test/intrinsics/gen/abs/7faa9e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/7faa9e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_7faa9e() {
int2 res = abs(int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_7faa9e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_7faa9e();
return;
}
-
diff --git a/test/intrinsics/gen/abs/9c80a6.wgsl.expected.hlsl b/test/intrinsics/gen/abs/9c80a6.wgsl.expected.hlsl
index 4519edf..06dbec3 100644
--- a/test/intrinsics/gen/abs/9c80a6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/9c80a6.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_9c80a6() {
int4 res = abs(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_9c80a6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_9c80a6();
return;
}
-
diff --git a/test/intrinsics/gen/abs/b96037.wgsl.expected.hlsl b/test/intrinsics/gen/abs/b96037.wgsl.expected.hlsl
index 83e60ba..4d5cfa6 100644
--- a/test/intrinsics/gen/abs/b96037.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/abs/b96037.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void abs_b96037() {
float res = abs(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
abs_b96037();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
abs_b96037();
return;
}
-
diff --git a/test/intrinsics/gen/acos/489247.wgsl.expected.hlsl b/test/intrinsics/gen/acos/489247.wgsl.expected.hlsl
index e32b25a..204b739 100644
--- a/test/intrinsics/gen/acos/489247.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/acos/489247.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void acos_489247() {
float res = acos(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
acos_489247();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
acos_489247();
return;
}
-
diff --git a/test/intrinsics/gen/acos/8e2acf.wgsl.expected.hlsl b/test/intrinsics/gen/acos/8e2acf.wgsl.expected.hlsl
index 1a192bc..b26a9af 100644
--- a/test/intrinsics/gen/acos/8e2acf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/acos/8e2acf.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void acos_8e2acf() {
float4 res = acos(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
acos_8e2acf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
acos_8e2acf();
return;
}
-
diff --git a/test/intrinsics/gen/acos/a610c4.wgsl.expected.hlsl b/test/intrinsics/gen/acos/a610c4.wgsl.expected.hlsl
index c6b468c..ff383ea 100644
--- a/test/intrinsics/gen/acos/a610c4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/acos/a610c4.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void acos_a610c4() {
float3 res = acos(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
acos_a610c4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
acos_a610c4();
return;
}
-
diff --git a/test/intrinsics/gen/acos/dfc915.wgsl.expected.hlsl b/test/intrinsics/gen/acos/dfc915.wgsl.expected.hlsl
index 3ba6714..23b6145 100644
--- a/test/intrinsics/gen/acos/dfc915.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/acos/dfc915.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void acos_dfc915() {
float2 res = acos(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
acos_dfc915();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
acos_dfc915();
return;
}
-
diff --git a/test/intrinsics/gen/all/986c7b.wgsl.expected.hlsl b/test/intrinsics/gen/all/986c7b.wgsl.expected.hlsl
index 5813269..a486261 100644
--- a/test/intrinsics/gen/all/986c7b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/all/986c7b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void all_986c7b() {
bool res = all(bool4(false, false, false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
all_986c7b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
all_986c7b();
return;
}
-
diff --git a/test/intrinsics/gen/all/bd2dba.wgsl.expected.hlsl b/test/intrinsics/gen/all/bd2dba.wgsl.expected.hlsl
index 5b6b8ed..ca205bd 100644
--- a/test/intrinsics/gen/all/bd2dba.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/all/bd2dba.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void all_bd2dba() {
bool res = all(bool3(false, false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
all_bd2dba();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
all_bd2dba();
return;
}
-
diff --git a/test/intrinsics/gen/all/f46790.wgsl.expected.hlsl b/test/intrinsics/gen/all/f46790.wgsl.expected.hlsl
index 8839cf0..814e292 100644
--- a/test/intrinsics/gen/all/f46790.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/all/f46790.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void all_f46790() {
bool res = all(bool2(false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
all_f46790();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
all_f46790();
return;
}
-
diff --git a/test/intrinsics/gen/any/083428.wgsl.expected.hlsl b/test/intrinsics/gen/any/083428.wgsl.expected.hlsl
index c3271b0..b51ed1b 100644
--- a/test/intrinsics/gen/any/083428.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/any/083428.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void any_083428() {
bool res = any(bool4(false, false, false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
any_083428();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
any_083428();
return;
}
-
diff --git a/test/intrinsics/gen/any/0e3e58.wgsl.expected.hlsl b/test/intrinsics/gen/any/0e3e58.wgsl.expected.hlsl
index 2a86e56..f8fcf2e 100644
--- a/test/intrinsics/gen/any/0e3e58.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/any/0e3e58.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void any_0e3e58() {
bool res = any(bool2(false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
any_0e3e58();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
any_0e3e58();
return;
}
-
diff --git a/test/intrinsics/gen/any/e755c1.wgsl.expected.hlsl b/test/intrinsics/gen/any/e755c1.wgsl.expected.hlsl
index 3b80182..1b84630 100644
--- a/test/intrinsics/gen/any/e755c1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/any/e755c1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void any_e755c1() {
bool res = any(bool3(false, false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
any_e755c1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
any_e755c1();
return;
}
-
diff --git a/test/intrinsics/gen/arrayLength/647a40.wgsl.expected.hlsl b/test/intrinsics/gen/arrayLength/647a40.wgsl.expected.hlsl
index 6488e63..7faa515 100644
--- a/test/intrinsics/gen/arrayLength/647a40.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/arrayLength/647a40.wgsl.expected.hlsl
@@ -2,10 +2,6 @@
var res: u32 = arrayLength(sb.arg_0);
^^^^^^^^^^^
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
ByteAddressBuffer sb : register(t0, space0);
void arrayLength_647a40() {
@@ -15,6 +11,10 @@
uint res = tint_symbol_3;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
arrayLength_647a40();
const tint_symbol tint_symbol_4 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -31,4 +31,3 @@
arrayLength_647a40();
return;
}
-
diff --git a/test/intrinsics/gen/arrayLength/721c9d.wgsl.expected.hlsl b/test/intrinsics/gen/arrayLength/721c9d.wgsl.expected.hlsl
index 2444d9e..8a66190 100644
--- a/test/intrinsics/gen/arrayLength/721c9d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/arrayLength/721c9d.wgsl.expected.hlsl
@@ -2,10 +2,6 @@
var res: u32 = arrayLength(sb.arg_0);
^^^^^^^^^^^
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
ByteAddressBuffer sb : register(t0, space0);
void arrayLength_721c9d() {
@@ -15,6 +11,10 @@
uint res = tint_symbol_3;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
arrayLength_721c9d();
const tint_symbol tint_symbol_4 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -31,4 +31,3 @@
arrayLength_721c9d();
return;
}
-
diff --git a/test/intrinsics/gen/arrayLength/b083be.wgsl.expected.hlsl b/test/intrinsics/gen/arrayLength/b083be.wgsl.expected.hlsl
index f2d3ad8..b2423ae 100644
--- a/test/intrinsics/gen/arrayLength/b083be.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/arrayLength/b083be.wgsl.expected.hlsl
@@ -2,10 +2,6 @@
var res: u32 = arrayLength(sb.arg_0);
^^^^^^^^^^^
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
ByteAddressBuffer sb : register(t0, space0);
void arrayLength_b083be() {
@@ -15,6 +11,10 @@
uint res = tint_symbol_3;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
arrayLength_b083be();
const tint_symbol tint_symbol_4 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -31,4 +31,3 @@
arrayLength_b083be();
return;
}
-
diff --git a/test/intrinsics/gen/asin/064953.wgsl.expected.hlsl b/test/intrinsics/gen/asin/064953.wgsl.expected.hlsl
index e996d43..8d226a3 100644
--- a/test/intrinsics/gen/asin/064953.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/asin/064953.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void asin_064953() {
float4 res = asin(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
asin_064953();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
asin_064953();
return;
}
-
diff --git a/test/intrinsics/gen/asin/7b6a44.wgsl.expected.hlsl b/test/intrinsics/gen/asin/7b6a44.wgsl.expected.hlsl
index e829039..8be5141 100644
--- a/test/intrinsics/gen/asin/7b6a44.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/asin/7b6a44.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void asin_7b6a44() {
float2 res = asin(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
asin_7b6a44();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
asin_7b6a44();
return;
}
-
diff --git a/test/intrinsics/gen/asin/8cd9c9.wgsl.expected.hlsl b/test/intrinsics/gen/asin/8cd9c9.wgsl.expected.hlsl
index a1f8642..1671e3d 100644
--- a/test/intrinsics/gen/asin/8cd9c9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/asin/8cd9c9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void asin_8cd9c9() {
float3 res = asin(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
asin_8cd9c9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
asin_8cd9c9();
return;
}
-
diff --git a/test/intrinsics/gen/asin/c0c272.wgsl.expected.hlsl b/test/intrinsics/gen/asin/c0c272.wgsl.expected.hlsl
index 5899931..8bfdcab 100644
--- a/test/intrinsics/gen/asin/c0c272.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/asin/c0c272.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void asin_c0c272() {
float res = asin(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
asin_c0c272();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
asin_c0c272();
return;
}
-
diff --git a/test/intrinsics/gen/atan/02979a.wgsl.expected.hlsl b/test/intrinsics/gen/atan/02979a.wgsl.expected.hlsl
index bf84852..5b056a9 100644
--- a/test/intrinsics/gen/atan/02979a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/atan/02979a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void atan_02979a() {
float res = atan(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
atan_02979a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
atan_02979a();
return;
}
-
diff --git a/test/intrinsics/gen/atan/331e6d.wgsl.expected.hlsl b/test/intrinsics/gen/atan/331e6d.wgsl.expected.hlsl
index 25f15a7..8af96d5 100644
--- a/test/intrinsics/gen/atan/331e6d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/atan/331e6d.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void atan_331e6d() {
float3 res = atan(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
atan_331e6d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
atan_331e6d();
return;
}
-
diff --git a/test/intrinsics/gen/atan/a8b696.wgsl.expected.hlsl b/test/intrinsics/gen/atan/a8b696.wgsl.expected.hlsl
index abebf34..e8f2079 100644
--- a/test/intrinsics/gen/atan/a8b696.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/atan/a8b696.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void atan_a8b696() {
float4 res = atan(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
atan_a8b696();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
atan_a8b696();
return;
}
-
diff --git a/test/intrinsics/gen/atan/ad96e4.wgsl.expected.hlsl b/test/intrinsics/gen/atan/ad96e4.wgsl.expected.hlsl
index c76ef0e..fa420d2 100644
--- a/test/intrinsics/gen/atan/ad96e4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/atan/ad96e4.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void atan_ad96e4() {
float2 res = atan(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
atan_ad96e4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
atan_ad96e4();
return;
}
-
diff --git a/test/intrinsics/gen/atan2/57fb13.wgsl.expected.hlsl b/test/intrinsics/gen/atan2/57fb13.wgsl.expected.hlsl
index e511c42..f0fcac0 100644
--- a/test/intrinsics/gen/atan2/57fb13.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/atan2/57fb13.wgsl.expected.hlsl
@@ -7,25 +7,30 @@
float2 res = atan2(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
-void vertex_main() {
- atan2_57fb13();
- return;
-}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+tint_symbol vertex_main() {
+ atan2_57fb13();
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
+}
void fragment_main() {
atan2_57fb13();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
atan2_57fb13();
return;
}
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+
+Internal Compiler error: cast<X>() argument of incompatible type!
+
diff --git a/test/intrinsics/gen/atan2/96057c.wgsl.expected.hlsl b/test/intrinsics/gen/atan2/96057c.wgsl.expected.hlsl
index 7663e32..b916a19 100644
--- a/test/intrinsics/gen/atan2/96057c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/atan2/96057c.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void atan2_96057c() {
float res = atan2(1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
atan2_96057c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
atan2_96057c();
return;
}
-
diff --git a/test/intrinsics/gen/atan2/a70d0d.wgsl.expected.hlsl b/test/intrinsics/gen/atan2/a70d0d.wgsl.expected.hlsl
index 49a82da..93e7937 100644
--- a/test/intrinsics/gen/atan2/a70d0d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/atan2/a70d0d.wgsl.expected.hlsl
@@ -7,25 +7,30 @@
float3 res = atan2(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
-void vertex_main() {
- atan2_a70d0d();
- return;
-}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+tint_symbol vertex_main() {
+ atan2_a70d0d();
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
+}
void fragment_main() {
atan2_a70d0d();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
atan2_a70d0d();
return;
}
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+
+Internal Compiler error: cast<X>() argument of incompatible type!
+
diff --git a/test/intrinsics/gen/atan2/ae713e.wgsl.expected.hlsl b/test/intrinsics/gen/atan2/ae713e.wgsl.expected.hlsl
index a72a697..8ebbe2e 100644
--- a/test/intrinsics/gen/atan2/ae713e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/atan2/ae713e.wgsl.expected.hlsl
@@ -7,25 +7,30 @@
float4 res = atan2(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
-void vertex_main() {
- atan2_ae713e();
- return;
-}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+tint_symbol vertex_main() {
+ atan2_ae713e();
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
+}
void fragment_main() {
atan2_ae713e();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
atan2_ae713e();
return;
}
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+
+Internal Compiler error: cast<X>() argument of incompatible type!
+
diff --git a/test/intrinsics/gen/ceil/34064b.wgsl.expected.hlsl b/test/intrinsics/gen/ceil/34064b.wgsl.expected.hlsl
index 83a777c..c0ebdc2 100644
--- a/test/intrinsics/gen/ceil/34064b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ceil/34064b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ceil_34064b() {
float3 res = ceil(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ceil_34064b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ceil_34064b();
return;
}
-
diff --git a/test/intrinsics/gen/ceil/678655.wgsl.expected.hlsl b/test/intrinsics/gen/ceil/678655.wgsl.expected.hlsl
index 6c0838e..d65855d 100644
--- a/test/intrinsics/gen/ceil/678655.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ceil/678655.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ceil_678655() {
float res = ceil(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ceil_678655();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ceil_678655();
return;
}
-
diff --git a/test/intrinsics/gen/ceil/96f597.wgsl.expected.hlsl b/test/intrinsics/gen/ceil/96f597.wgsl.expected.hlsl
index f27af89..99800e2 100644
--- a/test/intrinsics/gen/ceil/96f597.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ceil/96f597.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ceil_96f597() {
float2 res = ceil(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ceil_96f597();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ceil_96f597();
return;
}
-
diff --git a/test/intrinsics/gen/ceil/b74c16.wgsl.expected.hlsl b/test/intrinsics/gen/ceil/b74c16.wgsl.expected.hlsl
index 77772ec..6a7294f 100644
--- a/test/intrinsics/gen/ceil/b74c16.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ceil/b74c16.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ceil_b74c16() {
float4 res = ceil(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ceil_b74c16();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ceil_b74c16();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/0acf8f.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/0acf8f.wgsl.expected.hlsl
index 46ebedc..05273bd 100644
--- a/test/intrinsics/gen/clamp/0acf8f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/0acf8f.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_0acf8f() {
float2 res = clamp(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_0acf8f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_0acf8f();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/1a32e3.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/1a32e3.wgsl.expected.hlsl
index 7041713..23f3143 100644
--- a/test/intrinsics/gen/clamp/1a32e3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/1a32e3.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_1a32e3() {
int4 res = clamp(int4(0, 0, 0, 0), int4(0, 0, 0, 0), int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_1a32e3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_1a32e3();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/2bd567.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/2bd567.wgsl.expected.hlsl
index 2957e22..bbaf37b 100644
--- a/test/intrinsics/gen/clamp/2bd567.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/2bd567.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_2bd567() {
float res = clamp(1.0f, 1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_2bd567();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_2bd567();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/2bde41.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/2bde41.wgsl.expected.hlsl
index d8a1a6b..c242988 100644
--- a/test/intrinsics/gen/clamp/2bde41.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/2bde41.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_2bde41() {
float4 res = clamp(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_2bde41();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_2bde41();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/548fc7.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/548fc7.wgsl.expected.hlsl
index d8be53e..34c5070 100644
--- a/test/intrinsics/gen/clamp/548fc7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/548fc7.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_548fc7() {
uint3 res = clamp(uint3(0u, 0u, 0u), uint3(0u, 0u, 0u), uint3(0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_548fc7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_548fc7();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/5f0819.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/5f0819.wgsl.expected.hlsl
index 402bbab..4e38819 100644
--- a/test/intrinsics/gen/clamp/5f0819.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/5f0819.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_5f0819() {
int3 res = clamp(int3(0, 0, 0), int3(0, 0, 0), int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_5f0819();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_5f0819();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/6c1749.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/6c1749.wgsl.expected.hlsl
index 19fa755..9997509 100644
--- a/test/intrinsics/gen/clamp/6c1749.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/6c1749.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_6c1749() {
int2 res = clamp(int2(0, 0), int2(0, 0), int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_6c1749();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_6c1749();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/7706d7.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/7706d7.wgsl.expected.hlsl
index 48fa122..2073f92 100644
--- a/test/intrinsics/gen/clamp/7706d7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/7706d7.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_7706d7() {
uint2 res = clamp(uint2(0u, 0u), uint2(0u, 0u), uint2(0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_7706d7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_7706d7();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/867397.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/867397.wgsl.expected.hlsl
index e7b719f..365ea97 100644
--- a/test/intrinsics/gen/clamp/867397.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/867397.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_867397() {
float3 res = clamp(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_867397();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_867397();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/a2de25.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/a2de25.wgsl.expected.hlsl
index 382350e..cb42fbf 100644
--- a/test/intrinsics/gen/clamp/a2de25.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/a2de25.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_a2de25() {
uint res = clamp(1u, 1u, 1u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_a2de25();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_a2de25();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/b07c65.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/b07c65.wgsl.expected.hlsl
index 4c2a7a4..eb9e17f 100644
--- a/test/intrinsics/gen/clamp/b07c65.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/b07c65.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_b07c65() {
int res = clamp(1, 1, 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_b07c65();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_b07c65();
return;
}
-
diff --git a/test/intrinsics/gen/clamp/bd43ce.wgsl.expected.hlsl b/test/intrinsics/gen/clamp/bd43ce.wgsl.expected.hlsl
index 939b0e3..1ee7ca0 100644
--- a/test/intrinsics/gen/clamp/bd43ce.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/clamp/bd43ce.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void clamp_bd43ce() {
uint4 res = clamp(uint4(0u, 0u, 0u, 0u), uint4(0u, 0u, 0u, 0u), uint4(0u, 0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
clamp_bd43ce();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
clamp_bd43ce();
return;
}
-
diff --git a/test/intrinsics/gen/cos/16dc15.wgsl.expected.hlsl b/test/intrinsics/gen/cos/16dc15.wgsl.expected.hlsl
index a13cac7..d6155d1 100644
--- a/test/intrinsics/gen/cos/16dc15.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cos/16dc15.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cos_16dc15() {
float3 res = cos(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cos_16dc15();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cos_16dc15();
return;
}
-
diff --git a/test/intrinsics/gen/cos/29d66d.wgsl.expected.hlsl b/test/intrinsics/gen/cos/29d66d.wgsl.expected.hlsl
index 15304cd..b58da1b 100644
--- a/test/intrinsics/gen/cos/29d66d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cos/29d66d.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cos_29d66d() {
float4 res = cos(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cos_29d66d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cos_29d66d();
return;
}
-
diff --git a/test/intrinsics/gen/cos/c3b486.wgsl.expected.hlsl b/test/intrinsics/gen/cos/c3b486.wgsl.expected.hlsl
index 65bab61..fa0b5b2 100644
--- a/test/intrinsics/gen/cos/c3b486.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cos/c3b486.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cos_c3b486() {
float2 res = cos(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cos_c3b486();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cos_c3b486();
return;
}
-
diff --git a/test/intrinsics/gen/cos/c5c28e.wgsl.expected.hlsl b/test/intrinsics/gen/cos/c5c28e.wgsl.expected.hlsl
index 162b46d..f90c205 100644
--- a/test/intrinsics/gen/cos/c5c28e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cos/c5c28e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cos_c5c28e() {
float res = cos(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cos_c5c28e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cos_c5c28e();
return;
}
-
diff --git a/test/intrinsics/gen/cosh/377652.wgsl.expected.hlsl b/test/intrinsics/gen/cosh/377652.wgsl.expected.hlsl
index 3a7fac1..8175fae 100644
--- a/test/intrinsics/gen/cosh/377652.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cosh/377652.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cosh_377652() {
float3 res = cosh(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cosh_377652();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cosh_377652();
return;
}
-
diff --git a/test/intrinsics/gen/cosh/c13756.wgsl.expected.hlsl b/test/intrinsics/gen/cosh/c13756.wgsl.expected.hlsl
index e69f553..91de6c1 100644
--- a/test/intrinsics/gen/cosh/c13756.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cosh/c13756.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cosh_c13756() {
float2 res = cosh(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cosh_c13756();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cosh_c13756();
return;
}
-
diff --git a/test/intrinsics/gen/cosh/da92dd.wgsl.expected.hlsl b/test/intrinsics/gen/cosh/da92dd.wgsl.expected.hlsl
index 4fbccb7..fab9283 100644
--- a/test/intrinsics/gen/cosh/da92dd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cosh/da92dd.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cosh_da92dd() {
float res = cosh(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cosh_da92dd();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cosh_da92dd();
return;
}
-
diff --git a/test/intrinsics/gen/cosh/e0c1de.wgsl.expected.hlsl b/test/intrinsics/gen/cosh/e0c1de.wgsl.expected.hlsl
index 6cca3f0..7faf6ac 100644
--- a/test/intrinsics/gen/cosh/e0c1de.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cosh/e0c1de.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cosh_e0c1de() {
float4 res = cosh(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cosh_e0c1de();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cosh_e0c1de();
return;
}
-
diff --git a/test/intrinsics/gen/countOneBits/0d0e46.wgsl.expected.hlsl b/test/intrinsics/gen/countOneBits/0d0e46.wgsl.expected.hlsl
index 3ecd142..7a4be61 100644
--- a/test/intrinsics/gen/countOneBits/0d0e46.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/countOneBits/0d0e46.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void countOneBits_0d0e46() {
uint4 res = countbits(uint4(0u, 0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
countOneBits_0d0e46();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
countOneBits_0d0e46();
return;
}
-
diff --git a/test/intrinsics/gen/countOneBits/0f7980.wgsl.expected.hlsl b/test/intrinsics/gen/countOneBits/0f7980.wgsl.expected.hlsl
index 0b46abb..8c79b6e 100644
--- a/test/intrinsics/gen/countOneBits/0f7980.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/countOneBits/0f7980.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void countOneBits_0f7980() {
int4 res = countbits(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
countOneBits_0f7980();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
countOneBits_0f7980();
return;
}
-
diff --git a/test/intrinsics/gen/countOneBits/65d2ae.wgsl.expected.hlsl b/test/intrinsics/gen/countOneBits/65d2ae.wgsl.expected.hlsl
index f45af04..44cad4a 100644
--- a/test/intrinsics/gen/countOneBits/65d2ae.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/countOneBits/65d2ae.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void countOneBits_65d2ae() {
int3 res = countbits(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
countOneBits_65d2ae();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
countOneBits_65d2ae();
return;
}
-
diff --git a/test/intrinsics/gen/countOneBits/690cfc.wgsl.expected.hlsl b/test/intrinsics/gen/countOneBits/690cfc.wgsl.expected.hlsl
index e39e491..382a5ab 100644
--- a/test/intrinsics/gen/countOneBits/690cfc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/countOneBits/690cfc.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void countOneBits_690cfc() {
uint3 res = countbits(uint3(0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
countOneBits_690cfc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
countOneBits_690cfc();
return;
}
-
diff --git a/test/intrinsics/gen/countOneBits/94fd81.wgsl.expected.hlsl b/test/intrinsics/gen/countOneBits/94fd81.wgsl.expected.hlsl
index 582f6c3..0983c0c 100644
--- a/test/intrinsics/gen/countOneBits/94fd81.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/countOneBits/94fd81.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void countOneBits_94fd81() {
uint2 res = countbits(uint2(0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
countOneBits_94fd81();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
countOneBits_94fd81();
return;
}
-
diff --git a/test/intrinsics/gen/countOneBits/ae44f9.wgsl.expected.hlsl b/test/intrinsics/gen/countOneBits/ae44f9.wgsl.expected.hlsl
index 95166f6..daae521 100644
--- a/test/intrinsics/gen/countOneBits/ae44f9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/countOneBits/ae44f9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void countOneBits_ae44f9() {
uint res = countbits(1u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
countOneBits_ae44f9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
countOneBits_ae44f9();
return;
}
-
diff --git a/test/intrinsics/gen/countOneBits/af90e2.wgsl.expected.hlsl b/test/intrinsics/gen/countOneBits/af90e2.wgsl.expected.hlsl
index 106a672..8851c9a 100644
--- a/test/intrinsics/gen/countOneBits/af90e2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/countOneBits/af90e2.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void countOneBits_af90e2() {
int2 res = countbits(int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
countOneBits_af90e2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
countOneBits_af90e2();
return;
}
-
diff --git a/test/intrinsics/gen/countOneBits/fd88b2.wgsl.expected.hlsl b/test/intrinsics/gen/countOneBits/fd88b2.wgsl.expected.hlsl
index 91cbb87..497252a 100644
--- a/test/intrinsics/gen/countOneBits/fd88b2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/countOneBits/fd88b2.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void countOneBits_fd88b2() {
int res = countbits(1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
countOneBits_fd88b2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
countOneBits_fd88b2();
return;
}
-
diff --git a/test/intrinsics/gen/cross/041cb0.wgsl.expected.hlsl b/test/intrinsics/gen/cross/041cb0.wgsl.expected.hlsl
index 0e27cd5..a16d30c 100644
--- a/test/intrinsics/gen/cross/041cb0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/cross/041cb0.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void cross_041cb0() {
float3 res = cross(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
cross_041cb0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
cross_041cb0();
return;
}
-
diff --git a/test/intrinsics/gen/determinant/2b62ba.wgsl.expected.hlsl b/test/intrinsics/gen/determinant/2b62ba.wgsl.expected.hlsl
index faf8357..dbbacfb 100644
--- a/test/intrinsics/gen/determinant/2b62ba.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/determinant/2b62ba.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void determinant_2b62ba() {
float res = determinant(float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
determinant_2b62ba();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
determinant_2b62ba();
return;
}
-
diff --git a/test/intrinsics/gen/determinant/a0a87c.wgsl.expected.hlsl b/test/intrinsics/gen/determinant/a0a87c.wgsl.expected.hlsl
index f091946..8cd79f9 100644
--- a/test/intrinsics/gen/determinant/a0a87c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/determinant/a0a87c.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void determinant_a0a87c() {
float res = determinant(float4x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
determinant_a0a87c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
determinant_a0a87c();
return;
}
-
diff --git a/test/intrinsics/gen/determinant/e19305.wgsl.expected.hlsl b/test/intrinsics/gen/determinant/e19305.wgsl.expected.hlsl
index 9159fdb..a9077f0 100644
--- a/test/intrinsics/gen/determinant/e19305.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/determinant/e19305.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void determinant_e19305() {
float res = determinant(float2x2(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
determinant_e19305();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
determinant_e19305();
return;
}
-
diff --git a/test/intrinsics/gen/distance/0657d4.wgsl.expected.hlsl b/test/intrinsics/gen/distance/0657d4.wgsl.expected.hlsl
index 24476ae..2a24c71 100644
--- a/test/intrinsics/gen/distance/0657d4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/distance/0657d4.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void distance_0657d4() {
float res = distance(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
distance_0657d4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
distance_0657d4();
return;
}
-
diff --git a/test/intrinsics/gen/distance/9646ea.wgsl.expected.hlsl b/test/intrinsics/gen/distance/9646ea.wgsl.expected.hlsl
index ee84647..4ca0c1f 100644
--- a/test/intrinsics/gen/distance/9646ea.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/distance/9646ea.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void distance_9646ea() {
float res = distance(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
distance_9646ea();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
distance_9646ea();
return;
}
-
diff --git a/test/intrinsics/gen/distance/aa4055.wgsl.expected.hlsl b/test/intrinsics/gen/distance/aa4055.wgsl.expected.hlsl
index d23ef59..4a24941 100644
--- a/test/intrinsics/gen/distance/aa4055.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/distance/aa4055.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void distance_aa4055() {
float res = distance(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
distance_aa4055();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
distance_aa4055();
return;
}
-
diff --git a/test/intrinsics/gen/distance/cfed73.wgsl.expected.hlsl b/test/intrinsics/gen/distance/cfed73.wgsl.expected.hlsl
index 82c8668..4d26388 100644
--- a/test/intrinsics/gen/distance/cfed73.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/distance/cfed73.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void distance_cfed73() {
float res = distance(1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
distance_cfed73();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
distance_cfed73();
return;
}
-
diff --git a/test/intrinsics/gen/dot/0c577b.wgsl.expected.hlsl b/test/intrinsics/gen/dot/0c577b.wgsl.expected.hlsl
index 3da6b95..eb3ac36 100644
--- a/test/intrinsics/gen/dot/0c577b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dot/0c577b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void dot_0c577b() {
float res = dot(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
dot_0c577b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
dot_0c577b();
return;
}
-
diff --git a/test/intrinsics/gen/dot/883f0e.wgsl.expected.hlsl b/test/intrinsics/gen/dot/883f0e.wgsl.expected.hlsl
index 4d5aa8d..a3d0f45 100644
--- a/test/intrinsics/gen/dot/883f0e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dot/883f0e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void dot_883f0e() {
float res = dot(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
dot_883f0e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
dot_883f0e();
return;
}
-
diff --git a/test/intrinsics/gen/dot/ba4246.wgsl.expected.hlsl b/test/intrinsics/gen/dot/ba4246.wgsl.expected.hlsl
index 8498c90..d208e99 100644
--- a/test/intrinsics/gen/dot/ba4246.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dot/ba4246.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void dot_ba4246() {
float res = dot(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
dot_ba4246();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
dot_ba4246();
return;
}
-
diff --git a/test/intrinsics/gen/dpdx/0763f7.wgsl.expected.hlsl b/test/intrinsics/gen/dpdx/0763f7.wgsl.expected.hlsl
index 1ca6ae7..f9c5475 100644
--- a/test/intrinsics/gen/dpdx/0763f7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdx/0763f7.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdx_0763f7();
return;
}
-
diff --git a/test/intrinsics/gen/dpdx/99edb1.wgsl.expected.hlsl b/test/intrinsics/gen/dpdx/99edb1.wgsl.expected.hlsl
index c692e09..98dd751 100644
--- a/test/intrinsics/gen/dpdx/99edb1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdx/99edb1.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdx_99edb1();
return;
}
-
diff --git a/test/intrinsics/gen/dpdx/c487fa.wgsl.expected.hlsl b/test/intrinsics/gen/dpdx/c487fa.wgsl.expected.hlsl
index 4b78e5b..12185e9 100644
--- a/test/intrinsics/gen/dpdx/c487fa.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdx/c487fa.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdx_c487fa();
return;
}
-
diff --git a/test/intrinsics/gen/dpdx/e263de.wgsl.expected.hlsl b/test/intrinsics/gen/dpdx/e263de.wgsl.expected.hlsl
index 7aced4b..e9ef3f4 100644
--- a/test/intrinsics/gen/dpdx/e263de.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdx/e263de.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdx_e263de();
return;
}
-
diff --git a/test/intrinsics/gen/dpdxCoarse/029152.wgsl.expected.hlsl b/test/intrinsics/gen/dpdxCoarse/029152.wgsl.expected.hlsl
index 74a2823..940572b 100644
--- a/test/intrinsics/gen/dpdxCoarse/029152.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdxCoarse/029152.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdxCoarse_029152();
return;
}
-
diff --git a/test/intrinsics/gen/dpdxCoarse/9581cf.wgsl.expected.hlsl b/test/intrinsics/gen/dpdxCoarse/9581cf.wgsl.expected.hlsl
index dabf49e..c716d04 100644
--- a/test/intrinsics/gen/dpdxCoarse/9581cf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdxCoarse/9581cf.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdxCoarse_9581cf();
return;
}
-
diff --git a/test/intrinsics/gen/dpdxCoarse/c28641.wgsl.expected.hlsl b/test/intrinsics/gen/dpdxCoarse/c28641.wgsl.expected.hlsl
index 8ad91d2..a4a21b6 100644
--- a/test/intrinsics/gen/dpdxCoarse/c28641.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdxCoarse/c28641.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdxCoarse_c28641();
return;
}
-
diff --git a/test/intrinsics/gen/dpdxCoarse/f64d7b.wgsl.expected.hlsl b/test/intrinsics/gen/dpdxCoarse/f64d7b.wgsl.expected.hlsl
index e73fe4b..dd67ed0 100644
--- a/test/intrinsics/gen/dpdxCoarse/f64d7b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdxCoarse/f64d7b.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdxCoarse_f64d7b();
return;
}
-
diff --git a/test/intrinsics/gen/dpdxFine/8c5069.wgsl.expected.hlsl b/test/intrinsics/gen/dpdxFine/8c5069.wgsl.expected.hlsl
index 28414bb..7092cb8 100644
--- a/test/intrinsics/gen/dpdxFine/8c5069.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdxFine/8c5069.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdxFine_8c5069();
return;
}
-
diff --git a/test/intrinsics/gen/dpdxFine/9631de.wgsl.expected.hlsl b/test/intrinsics/gen/dpdxFine/9631de.wgsl.expected.hlsl
index 2aee38d..10efbb6 100644
--- a/test/intrinsics/gen/dpdxFine/9631de.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdxFine/9631de.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdxFine_9631de();
return;
}
-
diff --git a/test/intrinsics/gen/dpdxFine/f401a2.wgsl.expected.hlsl b/test/intrinsics/gen/dpdxFine/f401a2.wgsl.expected.hlsl
index badad66..bf4ada4 100644
--- a/test/intrinsics/gen/dpdxFine/f401a2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdxFine/f401a2.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdxFine_f401a2();
return;
}
-
diff --git a/test/intrinsics/gen/dpdxFine/f92fb6.wgsl.expected.hlsl b/test/intrinsics/gen/dpdxFine/f92fb6.wgsl.expected.hlsl
index d8e8840..cd55d24 100644
--- a/test/intrinsics/gen/dpdxFine/f92fb6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdxFine/f92fb6.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdxFine_f92fb6();
return;
}
-
diff --git a/test/intrinsics/gen/dpdy/699a05.wgsl.expected.hlsl b/test/intrinsics/gen/dpdy/699a05.wgsl.expected.hlsl
index e1d5f33..10f868c 100644
--- a/test/intrinsics/gen/dpdy/699a05.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdy/699a05.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdy_699a05();
return;
}
-
diff --git a/test/intrinsics/gen/dpdy/7f8d84.wgsl.expected.hlsl b/test/intrinsics/gen/dpdy/7f8d84.wgsl.expected.hlsl
index 2b98417..8b93006 100644
--- a/test/intrinsics/gen/dpdy/7f8d84.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdy/7f8d84.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdy_7f8d84();
return;
}
-
diff --git a/test/intrinsics/gen/dpdy/a8b56e.wgsl.expected.hlsl b/test/intrinsics/gen/dpdy/a8b56e.wgsl.expected.hlsl
index fb8f848..34b2d30 100644
--- a/test/intrinsics/gen/dpdy/a8b56e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdy/a8b56e.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdy_a8b56e();
return;
}
-
diff --git a/test/intrinsics/gen/dpdy/feb40f.wgsl.expected.hlsl b/test/intrinsics/gen/dpdy/feb40f.wgsl.expected.hlsl
index be1091c..bf81fe9 100644
--- a/test/intrinsics/gen/dpdy/feb40f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdy/feb40f.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdy_feb40f();
return;
}
-
diff --git a/test/intrinsics/gen/dpdyCoarse/3e1ab4.wgsl.expected.hlsl b/test/intrinsics/gen/dpdyCoarse/3e1ab4.wgsl.expected.hlsl
index ea55628..e8d6a21 100644
--- a/test/intrinsics/gen/dpdyCoarse/3e1ab4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdyCoarse/3e1ab4.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdyCoarse_3e1ab4();
return;
}
-
diff --git a/test/intrinsics/gen/dpdyCoarse/445d24.wgsl.expected.hlsl b/test/intrinsics/gen/dpdyCoarse/445d24.wgsl.expected.hlsl
index 09f3ea5..1b72a6e 100644
--- a/test/intrinsics/gen/dpdyCoarse/445d24.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdyCoarse/445d24.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdyCoarse_445d24();
return;
}
-
diff --git a/test/intrinsics/gen/dpdyCoarse/870a7e.wgsl.expected.hlsl b/test/intrinsics/gen/dpdyCoarse/870a7e.wgsl.expected.hlsl
index 3d181a4..4308124 100644
--- a/test/intrinsics/gen/dpdyCoarse/870a7e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdyCoarse/870a7e.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdyCoarse_870a7e();
return;
}
-
diff --git a/test/intrinsics/gen/dpdyCoarse/ae1873.wgsl.expected.hlsl b/test/intrinsics/gen/dpdyCoarse/ae1873.wgsl.expected.hlsl
index 2f6b6ac..f2d2f8f 100644
--- a/test/intrinsics/gen/dpdyCoarse/ae1873.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdyCoarse/ae1873.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdyCoarse_ae1873();
return;
}
-
diff --git a/test/intrinsics/gen/dpdyFine/1fb7ab.wgsl.expected.hlsl b/test/intrinsics/gen/dpdyFine/1fb7ab.wgsl.expected.hlsl
index e9ea642..8a6d616 100644
--- a/test/intrinsics/gen/dpdyFine/1fb7ab.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdyFine/1fb7ab.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdyFine_1fb7ab();
return;
}
-
diff --git a/test/intrinsics/gen/dpdyFine/6eb673.wgsl.expected.hlsl b/test/intrinsics/gen/dpdyFine/6eb673.wgsl.expected.hlsl
index 678b56f..6b16f5d 100644
--- a/test/intrinsics/gen/dpdyFine/6eb673.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdyFine/6eb673.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdyFine_6eb673();
return;
}
-
diff --git a/test/intrinsics/gen/dpdyFine/d0a648.wgsl.expected.hlsl b/test/intrinsics/gen/dpdyFine/d0a648.wgsl.expected.hlsl
index 81163cb..def00ad 100644
--- a/test/intrinsics/gen/dpdyFine/d0a648.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdyFine/d0a648.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdyFine_d0a648();
return;
}
-
diff --git a/test/intrinsics/gen/dpdyFine/df33aa.wgsl.expected.hlsl b/test/intrinsics/gen/dpdyFine/df33aa.wgsl.expected.hlsl
index 62cae74..9e66106 100644
--- a/test/intrinsics/gen/dpdyFine/df33aa.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/dpdyFine/df33aa.wgsl.expected.hlsl
@@ -6,4 +6,3 @@
dpdyFine_df33aa();
return;
}
-
diff --git a/test/intrinsics/gen/exp/0f70eb.wgsl.expected.hlsl b/test/intrinsics/gen/exp/0f70eb.wgsl.expected.hlsl
index d9e0f37..c71e07a 100644
--- a/test/intrinsics/gen/exp/0f70eb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/exp/0f70eb.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void exp_0f70eb() {
float4 res = exp(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
exp_0f70eb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
exp_0f70eb();
return;
}
-
diff --git a/test/intrinsics/gen/exp/1951e7.wgsl.expected.hlsl b/test/intrinsics/gen/exp/1951e7.wgsl.expected.hlsl
index d080449..d015d9b 100644
--- a/test/intrinsics/gen/exp/1951e7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/exp/1951e7.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void exp_1951e7() {
float2 res = exp(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
exp_1951e7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
exp_1951e7();
return;
}
-
diff --git a/test/intrinsics/gen/exp/771fd2.wgsl.expected.hlsl b/test/intrinsics/gen/exp/771fd2.wgsl.expected.hlsl
index d6259fe..d3d3234 100644
--- a/test/intrinsics/gen/exp/771fd2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/exp/771fd2.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void exp_771fd2() {
float res = exp(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
exp_771fd2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
exp_771fd2();
return;
}
-
diff --git a/test/intrinsics/gen/exp/d98450.wgsl.expected.hlsl b/test/intrinsics/gen/exp/d98450.wgsl.expected.hlsl
index d9ed452..59c8f2c 100644
--- a/test/intrinsics/gen/exp/d98450.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/exp/d98450.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void exp_d98450() {
float3 res = exp(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
exp_d98450();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
exp_d98450();
return;
}
-
diff --git a/test/intrinsics/gen/exp2/1f8680.wgsl.expected.hlsl b/test/intrinsics/gen/exp2/1f8680.wgsl.expected.hlsl
index 5bc943f..93dbbe4 100644
--- a/test/intrinsics/gen/exp2/1f8680.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/exp2/1f8680.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void exp2_1f8680() {
float3 res = exp2(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
exp2_1f8680();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
exp2_1f8680();
return;
}
-
diff --git a/test/intrinsics/gen/exp2/a9d0a7.wgsl.expected.hlsl b/test/intrinsics/gen/exp2/a9d0a7.wgsl.expected.hlsl
index 9ddf6d9..458a3e1 100644
--- a/test/intrinsics/gen/exp2/a9d0a7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/exp2/a9d0a7.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void exp2_a9d0a7() {
float4 res = exp2(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
exp2_a9d0a7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
exp2_a9d0a7();
return;
}
-
diff --git a/test/intrinsics/gen/exp2/d6777c.wgsl.expected.hlsl b/test/intrinsics/gen/exp2/d6777c.wgsl.expected.hlsl
index 5354c3c..37ea6ab 100644
--- a/test/intrinsics/gen/exp2/d6777c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/exp2/d6777c.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void exp2_d6777c() {
float2 res = exp2(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
exp2_d6777c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
exp2_d6777c();
return;
}
-
diff --git a/test/intrinsics/gen/exp2/dea523.wgsl.expected.hlsl b/test/intrinsics/gen/exp2/dea523.wgsl.expected.hlsl
index 8ceb49d..46a56fc 100644
--- a/test/intrinsics/gen/exp2/dea523.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/exp2/dea523.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void exp2_dea523() {
float res = exp2(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
exp2_dea523();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
exp2_dea523();
return;
}
-
diff --git a/test/intrinsics/gen/faceForward/5afbd5.wgsl.expected.hlsl b/test/intrinsics/gen/faceForward/5afbd5.wgsl.expected.hlsl
index c1705ac..44000ac 100644
--- a/test/intrinsics/gen/faceForward/5afbd5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/faceForward/5afbd5.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void faceForward_5afbd5() {
float3 res = faceforward(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
faceForward_5afbd5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
faceForward_5afbd5();
return;
}
-
diff --git a/test/intrinsics/gen/faceForward/b316e5.wgsl.expected.hlsl b/test/intrinsics/gen/faceForward/b316e5.wgsl.expected.hlsl
index ad2397c..7791bd0 100644
--- a/test/intrinsics/gen/faceForward/b316e5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/faceForward/b316e5.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void faceForward_b316e5() {
float4 res = faceforward(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
faceForward_b316e5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
faceForward_b316e5();
return;
}
-
diff --git a/test/intrinsics/gen/faceForward/e6908b.wgsl.expected.hlsl b/test/intrinsics/gen/faceForward/e6908b.wgsl.expected.hlsl
index 1f4c927..bee1a6a 100644
--- a/test/intrinsics/gen/faceForward/e6908b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/faceForward/e6908b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void faceForward_e6908b() {
float2 res = faceforward(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
faceForward_e6908b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
faceForward_e6908b();
return;
}
-
diff --git a/test/intrinsics/gen/faceForward/fc994b.wgsl.expected.hlsl b/test/intrinsics/gen/faceForward/fc994b.wgsl.expected.hlsl
index 9516896..1292f0c 100644
--- a/test/intrinsics/gen/faceForward/fc994b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/faceForward/fc994b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void faceForward_fc994b() {
float res = faceforward(1.0f, 1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
faceForward_fc994b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
faceForward_fc994b();
return;
}
-
diff --git a/test/intrinsics/gen/floor/3bccc4.wgsl.expected.hlsl b/test/intrinsics/gen/floor/3bccc4.wgsl.expected.hlsl
index 4a90889..99e4150 100644
--- a/test/intrinsics/gen/floor/3bccc4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/floor/3bccc4.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void floor_3bccc4() {
float4 res = floor(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
floor_3bccc4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
floor_3bccc4();
return;
}
-
diff --git a/test/intrinsics/gen/floor/5fc9ac.wgsl.expected.hlsl b/test/intrinsics/gen/floor/5fc9ac.wgsl.expected.hlsl
index dc36184..7bce1c3 100644
--- a/test/intrinsics/gen/floor/5fc9ac.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/floor/5fc9ac.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void floor_5fc9ac() {
float2 res = floor(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
floor_5fc9ac();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
floor_5fc9ac();
return;
}
-
diff --git a/test/intrinsics/gen/floor/60d7ea.wgsl.expected.hlsl b/test/intrinsics/gen/floor/60d7ea.wgsl.expected.hlsl
index 1fd8e71..d1657b3 100644
--- a/test/intrinsics/gen/floor/60d7ea.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/floor/60d7ea.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void floor_60d7ea() {
float3 res = floor(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
floor_60d7ea();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
floor_60d7ea();
return;
}
-
diff --git a/test/intrinsics/gen/floor/66f154.wgsl.expected.hlsl b/test/intrinsics/gen/floor/66f154.wgsl.expected.hlsl
index dc573b6..95dd96e 100644
--- a/test/intrinsics/gen/floor/66f154.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/floor/66f154.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void floor_66f154() {
float res = floor(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
floor_66f154();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
floor_66f154();
return;
}
-
diff --git a/test/intrinsics/gen/fma/26a7a9.wgsl.expected.hlsl b/test/intrinsics/gen/fma/26a7a9.wgsl.expected.hlsl
index ddb3b74..a4eeb65 100644
--- a/test/intrinsics/gen/fma/26a7a9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fma/26a7a9.wgsl.expected.hlsl
@@ -7,36 +7,38 @@
float2 res = fma(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
-void vertex_main() {
- fma_26a7a9();
- return;
-}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+tint_symbol vertex_main() {
+ fma_26a7a9();
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
+}
void fragment_main() {
fma_26a7a9();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
fma_26a7a9();
return;
}
-
-tint_EKmo0D:2:16: error: no matching function for call to 'fma'
+tint_lmSoBx:2:16: error: no matching function for call to 'fma'
float2 res = fma(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 2>' to 'vector<double, 2>' for 1st argument
-tint_EKmo0D:2:16: error: no matching function for call to 'fma'
+tint_lmSoBx:2:16: error: no matching function for call to 'fma'
float2 res = fma(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 2>' to 'vector<double, 2>' for 1st argument
-tint_EKmo0D:2:16: error: no matching function for call to 'fma'
+tint_lmSoBx:2:16: error: no matching function for call to 'fma'
float2 res = fma(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 2>' to 'vector<double, 2>' for 1st argument
diff --git a/test/intrinsics/gen/fma/6a3283.wgsl.expected.hlsl b/test/intrinsics/gen/fma/6a3283.wgsl.expected.hlsl
index 2fb09c9..015ee12 100644
--- a/test/intrinsics/gen/fma/6a3283.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fma/6a3283.wgsl.expected.hlsl
@@ -7,36 +7,38 @@
float4 res = fma(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
-void vertex_main() {
- fma_6a3283();
- return;
-}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+tint_symbol vertex_main() {
+ fma_6a3283();
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
+}
void fragment_main() {
fma_6a3283();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
fma_6a3283();
return;
}
-
-tint_dZoyK7:2:16: error: no matching function for call to 'fma'
+tint_JBvC4T:2:16: error: no matching function for call to 'fma'
float4 res = fma(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 4>' to 'vector<double, 4>' for 1st argument
-tint_dZoyK7:2:16: error: no matching function for call to 'fma'
+tint_JBvC4T:2:16: error: no matching function for call to 'fma'
float4 res = fma(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 4>' to 'vector<double, 4>' for 1st argument
-tint_dZoyK7:2:16: error: no matching function for call to 'fma'
+tint_JBvC4T:2:16: error: no matching function for call to 'fma'
float4 res = fma(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 4>' to 'vector<double, 4>' for 1st argument
diff --git a/test/intrinsics/gen/fma/c10ba3.wgsl.expected.hlsl b/test/intrinsics/gen/fma/c10ba3.wgsl.expected.hlsl
index 5aa77e7..21b964e 100644
--- a/test/intrinsics/gen/fma/c10ba3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fma/c10ba3.wgsl.expected.hlsl
@@ -7,36 +7,38 @@
float res = fma(1.0f, 1.0f, 1.0f);
}
-void vertex_main() {
- fma_c10ba3();
- return;
-}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+tint_symbol vertex_main() {
+ fma_c10ba3();
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
+}
void fragment_main() {
fma_c10ba3();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
fma_c10ba3();
return;
}
-
-tint_6WuQ1K:2:15: error: no matching function for call to 'fma'
+tint_kYorD1:2:15: error: no matching function for call to 'fma'
float res = fma(1.0f, 1.0f, 1.0f);
^~~
note: candidate function not viable: no known conversion from 'float' to 'double' for 1st argument
-tint_6WuQ1K:2:15: error: no matching function for call to 'fma'
+tint_kYorD1:2:15: error: no matching function for call to 'fma'
float res = fma(1.0f, 1.0f, 1.0f);
^~~
note: candidate function not viable: no known conversion from 'float' to 'double' for 1st argument
-tint_6WuQ1K:2:15: error: no matching function for call to 'fma'
+tint_kYorD1:2:15: error: no matching function for call to 'fma'
float res = fma(1.0f, 1.0f, 1.0f);
^~~
note: candidate function not viable: no known conversion from 'float' to 'double' for 1st argument
diff --git a/test/intrinsics/gen/fma/e17c5c.wgsl.expected.hlsl b/test/intrinsics/gen/fma/e17c5c.wgsl.expected.hlsl
index 01b8be3..8df2067 100644
--- a/test/intrinsics/gen/fma/e17c5c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fma/e17c5c.wgsl.expected.hlsl
@@ -7,36 +7,38 @@
float3 res = fma(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
-void vertex_main() {
- fma_e17c5c();
- return;
-}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+tint_symbol vertex_main() {
+ fma_e17c5c();
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
+}
void fragment_main() {
fma_e17c5c();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
fma_e17c5c();
return;
}
-
-tint_5UHLns:2:16: error: no matching function for call to 'fma'
+tint_TfNWAd:2:16: error: no matching function for call to 'fma'
float3 res = fma(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 3>' to 'vector<double, 3>' for 1st argument
-tint_5UHLns:2:16: error: no matching function for call to 'fma'
+tint_TfNWAd:2:16: error: no matching function for call to 'fma'
float3 res = fma(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 3>' to 'vector<double, 3>' for 1st argument
-tint_5UHLns:2:16: error: no matching function for call to 'fma'
+tint_TfNWAd:2:16: error: no matching function for call to 'fma'
float3 res = fma(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
^~~
note: candidate function not viable: no known conversion from 'vector<float, 3>' to 'vector<double, 3>' for 1st argument
diff --git a/test/intrinsics/gen/fract/8bc1e9.wgsl.expected.hlsl b/test/intrinsics/gen/fract/8bc1e9.wgsl.expected.hlsl
index 3dcf051..09bd4ec 100644
--- a/test/intrinsics/gen/fract/8bc1e9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fract/8bc1e9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fract_8bc1e9() {
float4 res = frac(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fract_8bc1e9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fract_8bc1e9();
return;
}
-
diff --git a/test/intrinsics/gen/fract/943cb1.wgsl.expected.hlsl b/test/intrinsics/gen/fract/943cb1.wgsl.expected.hlsl
index 413bae4..9354ed9 100644
--- a/test/intrinsics/gen/fract/943cb1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fract/943cb1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fract_943cb1() {
float2 res = frac(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fract_943cb1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fract_943cb1();
return;
}
-
diff --git a/test/intrinsics/gen/fract/a49758.wgsl.expected.hlsl b/test/intrinsics/gen/fract/a49758.wgsl.expected.hlsl
index e5f9476..9b658fc 100644
--- a/test/intrinsics/gen/fract/a49758.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fract/a49758.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fract_a49758() {
float3 res = frac(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fract_a49758();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fract_a49758();
return;
}
-
diff --git a/test/intrinsics/gen/fract/fa5c71.wgsl.expected.hlsl b/test/intrinsics/gen/fract/fa5c71.wgsl.expected.hlsl
index 97a0ec5..c8839c4 100644
--- a/test/intrinsics/gen/fract/fa5c71.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fract/fa5c71.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fract_fa5c71() {
float res = frac(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fract_fa5c71();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fract_fa5c71();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/013caa.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/013caa.wgsl.expected.hlsl
index ea3a251..4e6691c 100644
--- a/test/intrinsics/gen/frexp/013caa.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/013caa.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_013caa() {
int4 arg_1 = int4(0, 0, 0, 0);
float4 tint_tmp;
@@ -10,6 +6,10 @@
float4 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_013caa();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_013caa();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/15edf3.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/15edf3.wgsl.expected.hlsl
index 822b133..b972bbc 100644
--- a/test/intrinsics/gen/frexp/15edf3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/15edf3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_15edf3() {
int2 arg_1 = int2(0, 0);
float2 tint_tmp;
@@ -10,6 +6,10 @@
float2 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_15edf3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_15edf3();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/19ab15.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/19ab15.wgsl.expected.hlsl
index 76392a0..84d1a23 100644
--- a/test/intrinsics/gen/frexp/19ab15.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/19ab15.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_19ab15() {
int4 arg_1 = int4(0, 0, 0, 0);
float4 tint_tmp;
@@ -10,6 +6,10 @@
float4 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_19ab15();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_19ab15();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/2052e9.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/2052e9.wgsl.expected.hlsl
index 47f244c..21325b5 100644
--- a/test/intrinsics/gen/frexp/2052e9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/2052e9.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_2052e9() {
int4 arg_1 = int4(0, 0, 0, 0);
float4 tint_tmp;
@@ -10,6 +6,10 @@
float4 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_2052e9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_2052e9();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/234f02.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/234f02.wgsl.expected.hlsl
index 89ce1a0..2e1ecd9 100644
--- a/test/intrinsics/gen/frexp/234f02.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/234f02.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_234f02() {
uint4 arg_1 = uint4(0u, 0u, 0u, 0u);
float4 tint_tmp;
@@ -10,6 +6,10 @@
float4 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_234f02();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_234f02();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/2945dc.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/2945dc.wgsl.expected.hlsl
index c60fced..7f6c3a2 100644
--- a/test/intrinsics/gen/frexp/2945dc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/2945dc.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_2945dc() {
uint2 arg_1 = uint2(0u, 0u);
float2 tint_tmp;
@@ -10,6 +6,10 @@
float2 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_2945dc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_2945dc();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/41e931.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/41e931.wgsl.expected.hlsl
index 29011ad..e8abbac 100644
--- a/test/intrinsics/gen/frexp/41e931.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/41e931.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_41e931() {
int arg_1 = 0;
float tint_tmp;
@@ -10,6 +6,10 @@
float res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_41e931();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_41e931();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/481e59.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/481e59.wgsl.expected.hlsl
index cc4f941..1c44a01 100644
--- a/test/intrinsics/gen/frexp/481e59.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/481e59.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_481e59() {
int arg_1 = 0;
float tint_tmp;
@@ -10,6 +6,10 @@
float res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_481e59();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_481e59();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/5a141e.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/5a141e.wgsl.expected.hlsl
index 4a71307..04f9a19 100644
--- a/test/intrinsics/gen/frexp/5a141e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/5a141e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_5a141e() {
int3 arg_1 = int3(0, 0, 0);
float3 tint_tmp;
@@ -10,6 +6,10 @@
float3 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_5a141e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_5a141e();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/64e816.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/64e816.wgsl.expected.hlsl
index 689fdea..df6498d 100644
--- a/test/intrinsics/gen/frexp/64e816.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/64e816.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_64e816() {
uint3 arg_1 = uint3(0u, 0u, 0u);
float3 tint_tmp;
@@ -10,6 +6,10 @@
float3 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_64e816();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_64e816();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/68fc89.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/68fc89.wgsl.expected.hlsl
index 7f021f3..1b06040 100644
--- a/test/intrinsics/gen/frexp/68fc89.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/68fc89.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_68fc89() {
uint4 arg_1 = uint4(0u, 0u, 0u, 0u);
float4 tint_tmp;
@@ -10,6 +6,10 @@
float4 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_68fc89();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_68fc89();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/6d0058.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/6d0058.wgsl.expected.hlsl
index d94d417..2692f2a 100644
--- a/test/intrinsics/gen/frexp/6d0058.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/6d0058.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_6d0058() {
int3 arg_1 = int3(0, 0, 0);
float3 tint_tmp;
@@ -10,6 +6,10 @@
float3 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_6d0058();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_6d0058();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/6f0e62.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/6f0e62.wgsl.expected.hlsl
index ff4e8f6..af2c8d9 100644
--- a/test/intrinsics/gen/frexp/6f0e62.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/6f0e62.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_6f0e62() {
uint4 arg_1 = uint4(0u, 0u, 0u, 0u);
float4 tint_tmp;
@@ -10,6 +6,10 @@
float4 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_6f0e62();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_6f0e62();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/790800.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/790800.wgsl.expected.hlsl
index c8bd72d..c40f290 100644
--- a/test/intrinsics/gen/frexp/790800.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/790800.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_790800() {
uint arg_1 = 0u;
float tint_tmp;
@@ -10,6 +6,10 @@
float res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_790800();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_790800();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/a951b5.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/a951b5.wgsl.expected.hlsl
index ebfed6a..ae632ce 100644
--- a/test/intrinsics/gen/frexp/a951b5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/a951b5.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_a951b5() {
int2 arg_1 = int2(0, 0);
float2 tint_tmp;
@@ -10,6 +6,10 @@
float2 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_a951b5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_a951b5();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/b2f24a.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/b2f24a.wgsl.expected.hlsl
index ef8a2e3..8b480cf 100644
--- a/test/intrinsics/gen/frexp/b2f24a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/b2f24a.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_b2f24a() {
uint arg_1 = 0u;
float tint_tmp;
@@ -10,6 +6,10 @@
float res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_b2f24a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_b2f24a();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/b9e4de.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/b9e4de.wgsl.expected.hlsl
index 14d25ab..64fa0e1 100644
--- a/test/intrinsics/gen/frexp/b9e4de.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/b9e4de.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_b9e4de() {
int3 arg_1 = int3(0, 0, 0);
float3 tint_tmp;
@@ -10,6 +6,10 @@
float3 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_b9e4de();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_b9e4de();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/c51019.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/c51019.wgsl.expected.hlsl
index 95fc70a..a4f8a75 100644
--- a/test/intrinsics/gen/frexp/c51019.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/c51019.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_c51019() {
uint3 arg_1 = uint3(0u, 0u, 0u);
float3 tint_tmp;
@@ -10,6 +6,10 @@
float3 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_c51019();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_c51019();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/d06c2c.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/d06c2c.wgsl.expected.hlsl
index ad5a6e2..608f5ce 100644
--- a/test/intrinsics/gen/frexp/d06c2c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/d06c2c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_d06c2c() {
int2 arg_1 = int2(0, 0);
float2 tint_tmp;
@@ -10,6 +6,10 @@
float2 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_d06c2c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_d06c2c();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/d68011.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/d68011.wgsl.expected.hlsl
index 37b8d92..003ad26 100644
--- a/test/intrinsics/gen/frexp/d68011.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/d68011.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_d68011() {
uint2 arg_1 = uint2(0u, 0u);
float2 tint_tmp;
@@ -10,6 +6,10 @@
float2 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_d68011();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_d68011();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/e061dd.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/e061dd.wgsl.expected.hlsl
index 42cf4dd..6d6d7a8 100644
--- a/test/intrinsics/gen/frexp/e061dd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/e061dd.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_e061dd() {
int arg_1 = 0;
float tint_tmp;
@@ -10,6 +6,10 @@
float res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_e061dd();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_e061dd();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/e9b529.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/e9b529.wgsl.expected.hlsl
index 2e5f8ae..21884b4 100644
--- a/test/intrinsics/gen/frexp/e9b529.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/e9b529.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_e9b529() {
uint3 arg_1 = uint3(0u, 0u, 0u);
float3 tint_tmp;
@@ -10,6 +6,10 @@
float3 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_e9b529();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_e9b529();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/ee3625.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/ee3625.wgsl.expected.hlsl
index 39053bc..0c47c6d 100644
--- a/test/intrinsics/gen/frexp/ee3625.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/ee3625.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_ee3625() {
uint2 arg_1 = uint2(0u, 0u);
float2 tint_tmp;
@@ -10,6 +6,10 @@
float2 res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_ee3625();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_ee3625();
return;
}
-
diff --git a/test/intrinsics/gen/frexp/fb15f9.wgsl.expected.hlsl b/test/intrinsics/gen/frexp/fb15f9.wgsl.expected.hlsl
index 55e4853..ac59b66 100644
--- a/test/intrinsics/gen/frexp/fb15f9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/frexp/fb15f9.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void frexp_fb15f9() {
uint arg_1 = 0u;
float tint_tmp;
@@ -10,6 +6,10 @@
float res = tint_tmp_1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
frexp_fb15f9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
frexp_fb15f9();
return;
}
-
diff --git a/test/intrinsics/gen/fwidth/5d1b39.wgsl.expected.hlsl b/test/intrinsics/gen/fwidth/5d1b39.wgsl.expected.hlsl
index 9537c9b..097aba6 100644
--- a/test/intrinsics/gen/fwidth/5d1b39.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidth/5d1b39.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidth_5d1b39() {
float3 res = fwidth(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidth_5d1b39();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidth_5d1b39();
return;
}
-
diff --git a/test/intrinsics/gen/fwidth/b83ebb.wgsl.expected.hlsl b/test/intrinsics/gen/fwidth/b83ebb.wgsl.expected.hlsl
index 25357eb..c80fcd8 100644
--- a/test/intrinsics/gen/fwidth/b83ebb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidth/b83ebb.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidth_b83ebb() {
float2 res = fwidth(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidth_b83ebb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidth_b83ebb();
return;
}
-
diff --git a/test/intrinsics/gen/fwidth/d2ab9a.wgsl.expected.hlsl b/test/intrinsics/gen/fwidth/d2ab9a.wgsl.expected.hlsl
index f72c106..4f18daa 100644
--- a/test/intrinsics/gen/fwidth/d2ab9a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidth/d2ab9a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidth_d2ab9a() {
float4 res = fwidth(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidth_d2ab9a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidth_d2ab9a();
return;
}
-
diff --git a/test/intrinsics/gen/fwidth/df38ef.wgsl.expected.hlsl b/test/intrinsics/gen/fwidth/df38ef.wgsl.expected.hlsl
index aa1fd45..520c17e 100644
--- a/test/intrinsics/gen/fwidth/df38ef.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidth/df38ef.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidth_df38ef() {
float res = fwidth(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidth_df38ef();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidth_df38ef();
return;
}
-
diff --git a/test/intrinsics/gen/fwidthCoarse/159c8a.wgsl.expected.hlsl b/test/intrinsics/gen/fwidthCoarse/159c8a.wgsl.expected.hlsl
index 846633d..6118e10 100644
--- a/test/intrinsics/gen/fwidthCoarse/159c8a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidthCoarse/159c8a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidthCoarse_159c8a() {
float res = fwidth(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidthCoarse_159c8a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidthCoarse_159c8a();
return;
}
-
diff --git a/test/intrinsics/gen/fwidthCoarse/1e59d9.wgsl.expected.hlsl b/test/intrinsics/gen/fwidthCoarse/1e59d9.wgsl.expected.hlsl
index fa99a24..0c4024a 100644
--- a/test/intrinsics/gen/fwidthCoarse/1e59d9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidthCoarse/1e59d9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidthCoarse_1e59d9() {
float3 res = fwidth(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidthCoarse_1e59d9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidthCoarse_1e59d9();
return;
}
-
diff --git a/test/intrinsics/gen/fwidthCoarse/4e4fc4.wgsl.expected.hlsl b/test/intrinsics/gen/fwidthCoarse/4e4fc4.wgsl.expected.hlsl
index 89aad0f..07dc4e3 100644
--- a/test/intrinsics/gen/fwidthCoarse/4e4fc4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidthCoarse/4e4fc4.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidthCoarse_4e4fc4() {
float4 res = fwidth(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidthCoarse_4e4fc4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidthCoarse_4e4fc4();
return;
}
-
diff --git a/test/intrinsics/gen/fwidthCoarse/e653f7.wgsl.expected.hlsl b/test/intrinsics/gen/fwidthCoarse/e653f7.wgsl.expected.hlsl
index a13ab5c..91cc3fd 100644
--- a/test/intrinsics/gen/fwidthCoarse/e653f7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidthCoarse/e653f7.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidthCoarse_e653f7() {
float2 res = fwidth(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidthCoarse_e653f7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidthCoarse_e653f7();
return;
}
-
diff --git a/test/intrinsics/gen/fwidthFine/523fdc.wgsl.expected.hlsl b/test/intrinsics/gen/fwidthFine/523fdc.wgsl.expected.hlsl
index 4ad5e9f..5e8c7f2 100644
--- a/test/intrinsics/gen/fwidthFine/523fdc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidthFine/523fdc.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidthFine_523fdc() {
float3 res = fwidth(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidthFine_523fdc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidthFine_523fdc();
return;
}
-
diff --git a/test/intrinsics/gen/fwidthFine/68f4ef.wgsl.expected.hlsl b/test/intrinsics/gen/fwidthFine/68f4ef.wgsl.expected.hlsl
index b7788d5..6f5cae9 100644
--- a/test/intrinsics/gen/fwidthFine/68f4ef.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidthFine/68f4ef.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidthFine_68f4ef() {
float4 res = fwidth(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidthFine_68f4ef();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidthFine_68f4ef();
return;
}
-
diff --git a/test/intrinsics/gen/fwidthFine/f1742d.wgsl.expected.hlsl b/test/intrinsics/gen/fwidthFine/f1742d.wgsl.expected.hlsl
index 3a62a95..11f8ca8 100644
--- a/test/intrinsics/gen/fwidthFine/f1742d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidthFine/f1742d.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidthFine_f1742d() {
float res = fwidth(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidthFine_f1742d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidthFine_f1742d();
return;
}
-
diff --git a/test/intrinsics/gen/fwidthFine/ff6aa0.wgsl.expected.hlsl b/test/intrinsics/gen/fwidthFine/ff6aa0.wgsl.expected.hlsl
index 4cd1a2f..6cb6031 100644
--- a/test/intrinsics/gen/fwidthFine/ff6aa0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/fwidthFine/ff6aa0.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void fwidthFine_ff6aa0() {
float2 res = fwidth(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
fwidthFine_ff6aa0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
fwidthFine_ff6aa0();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.hlsl
index 7509487..283d9bd 100644
--- a/test/intrinsics/gen/ignore/5016e5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/5016e5.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
SamplerState arg_0 : register(s0, space1);
void ignore_5016e5() {
arg_0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_5016e5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
ignore_5016e5();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/509355.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/509355.wgsl.expected.hlsl
index 9e4ebfd..5df586a 100644
--- a/test/intrinsics/gen/ignore/509355.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/509355.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube arg_0 : register(t0, space1);
void ignore_509355() {
arg_0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_509355();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
ignore_509355();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.hlsl
index af01ce9..2a28f20 100644
--- a/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/51aeb7.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ignore_51aeb7() {
1;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_51aeb7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ignore_51aeb7();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.hlsl
index ef511d2..c8f96cf 100644
--- a/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/5c9edf.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void ignore_5c9edf() {
arg_0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_5c9edf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
ignore_5c9edf();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/6698df.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/6698df.wgsl.expected.hlsl
index 313b30d..5bb770d 100644
--- a/test/intrinsics/gen/ignore/6698df.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/6698df.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ignore_6698df() {
1u;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_6698df();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ignore_6698df();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.hlsl
index 7f9708e..bef69a0 100644
--- a/test/intrinsics/gen/ignore/ad88be.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/ad88be.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray arg_0 : register(t0, space1);
void ignore_ad88be() {
arg_0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_ad88be();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
ignore_ad88be();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/b469af.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/b469af.wgsl.expected.hlsl
index 8878238..9a6d9ee 100644
--- a/test/intrinsics/gen/ignore/b469af.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/b469af.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
SamplerComparisonState arg_0 : register(s0, space1);
void ignore_b469af() {
arg_0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_b469af();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
ignore_b469af();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.hlsl
index acc7fdc..3df1f83 100644
--- a/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/c8a0ee.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
void ignore_c8a0ee() {
arg_0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_c8a0ee();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
ignore_c8a0ee();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.hlsl
index fa3ae80..55c4fe9 100644
--- a/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/d91a2f.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ignore_d91a2f() {
1.0f;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_d91a2f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ignore_d91a2f();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.hlsl
index 55eefbc..955a25e 100644
--- a/test/intrinsics/gen/ignore/e0187b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/e0187b.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
void ignore_e0187b() {
arg_0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_e0187b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
ignore_e0187b();
return;
}
-
diff --git a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.hlsl b/test/intrinsics/gen/ignore/f414a6.wgsl.expected.hlsl
index cc430af..17d7a9b 100644
--- a/test/intrinsics/gen/ignore/f414a6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ignore/f414a6.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ignore_f414a6() {
false;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ignore_f414a6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ignore_f414a6();
return;
}
-
diff --git a/test/intrinsics/gen/inverseSqrt/84407e.wgsl.expected.hlsl b/test/intrinsics/gen/inverseSqrt/84407e.wgsl.expected.hlsl
index 4c8f482..0650ed05c 100644
--- a/test/intrinsics/gen/inverseSqrt/84407e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/inverseSqrt/84407e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void inverseSqrt_84407e() {
float res = rsqrt(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
inverseSqrt_84407e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
inverseSqrt_84407e();
return;
}
-
diff --git a/test/intrinsics/gen/inverseSqrt/8f2bd2.wgsl.expected.hlsl b/test/intrinsics/gen/inverseSqrt/8f2bd2.wgsl.expected.hlsl
index 747c9a5..f2a9c1f 100644
--- a/test/intrinsics/gen/inverseSqrt/8f2bd2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/inverseSqrt/8f2bd2.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void inverseSqrt_8f2bd2() {
float2 res = rsqrt(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
inverseSqrt_8f2bd2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
inverseSqrt_8f2bd2();
return;
}
-
diff --git a/test/intrinsics/gen/inverseSqrt/b197b1.wgsl.expected.hlsl b/test/intrinsics/gen/inverseSqrt/b197b1.wgsl.expected.hlsl
index bf44bfe..793a23e 100644
--- a/test/intrinsics/gen/inverseSqrt/b197b1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/inverseSqrt/b197b1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void inverseSqrt_b197b1() {
float3 res = rsqrt(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
inverseSqrt_b197b1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
inverseSqrt_b197b1();
return;
}
-
diff --git a/test/intrinsics/gen/inverseSqrt/c22347.wgsl.expected.hlsl b/test/intrinsics/gen/inverseSqrt/c22347.wgsl.expected.hlsl
index b67ba97..b9be140 100644
--- a/test/intrinsics/gen/inverseSqrt/c22347.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/inverseSqrt/c22347.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void inverseSqrt_c22347() {
float4 res = rsqrt(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
inverseSqrt_c22347();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
inverseSqrt_c22347();
return;
}
-
diff --git a/test/intrinsics/gen/isFinite/34d32b.wgsl.expected.hlsl b/test/intrinsics/gen/isFinite/34d32b.wgsl.expected.hlsl
index 138a1e1..b848416 100644
--- a/test/intrinsics/gen/isFinite/34d32b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isFinite/34d32b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isFinite_34d32b() {
bool2 res = isfinite(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isFinite_34d32b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isFinite_34d32b();
return;
}
-
diff --git a/test/intrinsics/gen/isFinite/426f9f.wgsl.expected.hlsl b/test/intrinsics/gen/isFinite/426f9f.wgsl.expected.hlsl
index d46bad6..b50f91f 100644
--- a/test/intrinsics/gen/isFinite/426f9f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isFinite/426f9f.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isFinite_426f9f() {
bool res = isfinite(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isFinite_426f9f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isFinite_426f9f();
return;
}
-
diff --git a/test/intrinsics/gen/isFinite/8a23ad.wgsl.expected.hlsl b/test/intrinsics/gen/isFinite/8a23ad.wgsl.expected.hlsl
index 646590d..7dee6d6 100644
--- a/test/intrinsics/gen/isFinite/8a23ad.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isFinite/8a23ad.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isFinite_8a23ad() {
bool3 res = isfinite(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isFinite_8a23ad();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isFinite_8a23ad();
return;
}
-
diff --git a/test/intrinsics/gen/isFinite/f31987.wgsl.expected.hlsl b/test/intrinsics/gen/isFinite/f31987.wgsl.expected.hlsl
index 8297351..23dd93d 100644
--- a/test/intrinsics/gen/isFinite/f31987.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isFinite/f31987.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isFinite_f31987() {
bool4 res = isfinite(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isFinite_f31987();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isFinite_f31987();
return;
}
-
diff --git a/test/intrinsics/gen/isInf/666f2a.wgsl.expected.hlsl b/test/intrinsics/gen/isInf/666f2a.wgsl.expected.hlsl
index 0d885e0..96f0a8d 100644
--- a/test/intrinsics/gen/isInf/666f2a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isInf/666f2a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isInf_666f2a() {
bool3 res = isinf(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isInf_666f2a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isInf_666f2a();
return;
}
-
diff --git a/test/intrinsics/gen/isInf/7bd98f.wgsl.expected.hlsl b/test/intrinsics/gen/isInf/7bd98f.wgsl.expected.hlsl
index aa952bb..450f57e 100644
--- a/test/intrinsics/gen/isInf/7bd98f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isInf/7bd98f.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isInf_7bd98f() {
bool res = isinf(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isInf_7bd98f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isInf_7bd98f();
return;
}
-
diff --git a/test/intrinsics/gen/isInf/7e81b5.wgsl.expected.hlsl b/test/intrinsics/gen/isInf/7e81b5.wgsl.expected.hlsl
index b1f7ad6..c7cb98b 100644
--- a/test/intrinsics/gen/isInf/7e81b5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isInf/7e81b5.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isInf_7e81b5() {
bool4 res = isinf(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isInf_7e81b5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isInf_7e81b5();
return;
}
-
diff --git a/test/intrinsics/gen/isInf/a46d6f.wgsl.expected.hlsl b/test/intrinsics/gen/isInf/a46d6f.wgsl.expected.hlsl
index e87b882..27b9849 100644
--- a/test/intrinsics/gen/isInf/a46d6f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isInf/a46d6f.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isInf_a46d6f() {
bool2 res = isinf(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isInf_a46d6f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isInf_a46d6f();
return;
}
-
diff --git a/test/intrinsics/gen/isNan/1280ab.wgsl.expected.hlsl b/test/intrinsics/gen/isNan/1280ab.wgsl.expected.hlsl
index 0d6bc82..f9cc8b5 100644
--- a/test/intrinsics/gen/isNan/1280ab.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isNan/1280ab.wgsl.expected.hlsl
@@ -4,28 +4,33 @@
Validation Failure:
void isNan_1280ab() {
- vector<bool, 3> res = isnan(float3(0.0f, 0.0f, 0.0f));
+ bool3 res = isnan(float3(0.0f, 0.0f, 0.0f));
}
-void vertex_main() {
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+tint_symbol vertex_main() {
isNan_1280ab();
- return;
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
}
-
void fragment_main() {
isNan_1280ab();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
isNan_1280ab();
return;
}
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+
+Internal Compiler error: cast<X>() argument of incompatible type!
+
diff --git a/test/intrinsics/gen/isNan/4d280d.wgsl.expected.hlsl b/test/intrinsics/gen/isNan/4d280d.wgsl.expected.hlsl
index 3fed784..bc5f879 100644
--- a/test/intrinsics/gen/isNan/4d280d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isNan/4d280d.wgsl.expected.hlsl
@@ -4,28 +4,33 @@
Validation Failure:
void isNan_4d280d() {
- vector<bool, 4> res = isnan(float4(0.0f, 0.0f, 0.0f, 0.0f));
+ bool4 res = isnan(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
-void vertex_main() {
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+tint_symbol vertex_main() {
isNan_4d280d();
- return;
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
}
-
void fragment_main() {
isNan_4d280d();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
isNan_4d280d();
return;
}
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+
+Internal Compiler error: cast<X>() argument of incompatible type!
+
diff --git a/test/intrinsics/gen/isNan/67ecd3.wgsl.expected.hlsl b/test/intrinsics/gen/isNan/67ecd3.wgsl.expected.hlsl
index 9850d57..dada69e 100644
--- a/test/intrinsics/gen/isNan/67ecd3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isNan/67ecd3.wgsl.expected.hlsl
@@ -4,28 +4,33 @@
Validation Failure:
void isNan_67ecd3() {
- vector<bool, 2> res = isnan(float2(0.0f, 0.0f));
+ bool2 res = isnan(float2(0.0f, 0.0f));
}
-void vertex_main() {
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
+tint_symbol vertex_main() {
isNan_67ecd3();
- return;
+ const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
+ return tint_symbol_1;
}
-
void fragment_main() {
isNan_67ecd3();
return;
}
-
[numthreads(1, 1, 1)]
void compute_main() {
isNan_67ecd3();
return;
}
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+Internal Compiler error: cast<X>() argument of incompatible type!
-dxc: /build/directxshadercompiler-1.4.0.2274-413-1lunarg18.04/include/llvm/Support/Casting.h:238: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::ConstantFP; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::ConstantFP*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
+
+Internal Compiler error: cast<X>() argument of incompatible type!
+
diff --git a/test/intrinsics/gen/isNan/e4978e.wgsl.expected.hlsl b/test/intrinsics/gen/isNan/e4978e.wgsl.expected.hlsl
index 688ff07..728c6fd 100644
--- a/test/intrinsics/gen/isNan/e4978e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isNan/e4978e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void isNan_e4978e() {
bool res = isnan(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
isNan_e4978e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
isNan_e4978e();
return;
}
-
diff --git a/test/intrinsics/gen/isNormal/863dcd.wgsl.expected.hlsl b/test/intrinsics/gen/isNormal/863dcd.wgsl.expected.hlsl
index b4a5d83..2538b80 100644
--- a/test/intrinsics/gen/isNormal/863dcd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isNormal/863dcd.wgsl.expected.hlsl
@@ -5,9 +5,16 @@
var res : vec4<bool> = isNormal(vec4<f32>());
}
+struct tint_symbol {
+ [[builtin(position)]]
+ value : vec4<f32>;
+};
+
[[stage(vertex)]]
-fn vertex_main() {
+fn vertex_main() -> tint_symbol {
isNormal_863dcd();
+ let tint_symbol_1 : tint_symbol = tint_symbol(vec4<f32>());
+ return tint_symbol_1;
}
[[stage(fragment)]]
diff --git a/test/intrinsics/gen/isNormal/b00ab1.wgsl.expected.hlsl b/test/intrinsics/gen/isNormal/b00ab1.wgsl.expected.hlsl
index c6bca5c..e09dd01 100644
--- a/test/intrinsics/gen/isNormal/b00ab1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isNormal/b00ab1.wgsl.expected.hlsl
@@ -5,9 +5,16 @@
var res : vec2<bool> = isNormal(vec2<f32>());
}
+struct tint_symbol {
+ [[builtin(position)]]
+ value : vec4<f32>;
+};
+
[[stage(vertex)]]
-fn vertex_main() {
+fn vertex_main() -> tint_symbol {
isNormal_b00ab1();
+ let tint_symbol_1 : tint_symbol = tint_symbol(vec4<f32>());
+ return tint_symbol_1;
}
[[stage(fragment)]]
diff --git a/test/intrinsics/gen/isNormal/c286b7.wgsl.expected.hlsl b/test/intrinsics/gen/isNormal/c286b7.wgsl.expected.hlsl
index 1522bbb..207ab29b 100644
--- a/test/intrinsics/gen/isNormal/c286b7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isNormal/c286b7.wgsl.expected.hlsl
@@ -5,9 +5,16 @@
var res : vec3<bool> = isNormal(vec3<f32>());
}
+struct tint_symbol {
+ [[builtin(position)]]
+ value : vec4<f32>;
+};
+
[[stage(vertex)]]
-fn vertex_main() {
+fn vertex_main() -> tint_symbol {
isNormal_c286b7();
+ let tint_symbol_1 : tint_symbol = tint_symbol(vec4<f32>());
+ return tint_symbol_1;
}
[[stage(fragment)]]
diff --git a/test/intrinsics/gen/isNormal/c6e880.wgsl.expected.hlsl b/test/intrinsics/gen/isNormal/c6e880.wgsl.expected.hlsl
index c6a86ac..a80ab16 100644
--- a/test/intrinsics/gen/isNormal/c6e880.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/isNormal/c6e880.wgsl.expected.hlsl
@@ -5,9 +5,16 @@
var res : bool = isNormal(1.0);
}
+struct tint_symbol {
+ [[builtin(position)]]
+ value : vec4<f32>;
+};
+
[[stage(vertex)]]
-fn vertex_main() {
+fn vertex_main() -> tint_symbol {
isNormal_c6e880();
+ let tint_symbol_1 : tint_symbol = tint_symbol(vec4<f32>());
+ return tint_symbol_1;
}
[[stage(fragment)]]
diff --git a/test/intrinsics/gen/ldexp/2cb32a.wgsl.expected.hlsl b/test/intrinsics/gen/ldexp/2cb32a.wgsl.expected.hlsl
index 756a4aa..dc02f4a 100644
--- a/test/intrinsics/gen/ldexp/2cb32a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ldexp/2cb32a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ldexp_2cb32a() {
float3 res = ldexp(float3(0.0f, 0.0f, 0.0f), uint3(0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ldexp_2cb32a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ldexp_2cb32a();
return;
}
-
diff --git a/test/intrinsics/gen/ldexp/4d6f6d.wgsl.expected.hlsl b/test/intrinsics/gen/ldexp/4d6f6d.wgsl.expected.hlsl
index 6826179..2033f87 100644
--- a/test/intrinsics/gen/ldexp/4d6f6d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ldexp/4d6f6d.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ldexp_4d6f6d() {
float4 res = ldexp(float4(0.0f, 0.0f, 0.0f, 0.0f), uint4(0u, 0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ldexp_4d6f6d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ldexp_4d6f6d();
return;
}
-
diff --git a/test/intrinsics/gen/ldexp/7bc2fd.wgsl.expected.hlsl b/test/intrinsics/gen/ldexp/7bc2fd.wgsl.expected.hlsl
index 4d473ca..0d904e3 100644
--- a/test/intrinsics/gen/ldexp/7bc2fd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ldexp/7bc2fd.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ldexp_7bc2fd() {
float2 res = ldexp(float2(0.0f, 0.0f), uint2(0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ldexp_7bc2fd();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ldexp_7bc2fd();
return;
}
-
diff --git a/test/intrinsics/gen/ldexp/a31cdc.wgsl.expected.hlsl b/test/intrinsics/gen/ldexp/a31cdc.wgsl.expected.hlsl
index 7ee93e5..5ba1ac5 100644
--- a/test/intrinsics/gen/ldexp/a31cdc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ldexp/a31cdc.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ldexp_a31cdc() {
float3 res = ldexp(float3(0.0f, 0.0f, 0.0f), int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ldexp_a31cdc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ldexp_a31cdc();
return;
}
-
diff --git a/test/intrinsics/gen/ldexp/abd718.wgsl.expected.hlsl b/test/intrinsics/gen/ldexp/abd718.wgsl.expected.hlsl
index d5aaaa9..73f68e0 100644
--- a/test/intrinsics/gen/ldexp/abd718.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ldexp/abd718.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ldexp_abd718() {
float2 res = ldexp(float2(0.0f, 0.0f), int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ldexp_abd718();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ldexp_abd718();
return;
}
-
diff --git a/test/intrinsics/gen/ldexp/cc9cde.wgsl.expected.hlsl b/test/intrinsics/gen/ldexp/cc9cde.wgsl.expected.hlsl
index a624dc7..28e5c76 100644
--- a/test/intrinsics/gen/ldexp/cc9cde.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ldexp/cc9cde.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ldexp_cc9cde() {
float4 res = ldexp(float4(0.0f, 0.0f, 0.0f, 0.0f), int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ldexp_cc9cde();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ldexp_cc9cde();
return;
}
-
diff --git a/test/intrinsics/gen/ldexp/db8b49.wgsl.expected.hlsl b/test/intrinsics/gen/ldexp/db8b49.wgsl.expected.hlsl
index 4b5c054..91105e7 100644
--- a/test/intrinsics/gen/ldexp/db8b49.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ldexp/db8b49.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ldexp_db8b49() {
float res = ldexp(1.0f, 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ldexp_db8b49();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ldexp_db8b49();
return;
}
-
diff --git a/test/intrinsics/gen/ldexp/f54ff2.wgsl.expected.hlsl b/test/intrinsics/gen/ldexp/f54ff2.wgsl.expected.hlsl
index c20a999..467fdc4 100644
--- a/test/intrinsics/gen/ldexp/f54ff2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/ldexp/f54ff2.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void ldexp_f54ff2() {
float res = ldexp(1.0f, 1u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
ldexp_f54ff2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
ldexp_f54ff2();
return;
}
-
diff --git a/test/intrinsics/gen/length/056071.wgsl.expected.hlsl b/test/intrinsics/gen/length/056071.wgsl.expected.hlsl
index 3c0448d..5ea50c0 100644
--- a/test/intrinsics/gen/length/056071.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/length/056071.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void length_056071() {
float res = length(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
length_056071();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
length_056071();
return;
}
-
diff --git a/test/intrinsics/gen/length/602a17.wgsl.expected.hlsl b/test/intrinsics/gen/length/602a17.wgsl.expected.hlsl
index c9fe718..cdc5661 100644
--- a/test/intrinsics/gen/length/602a17.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/length/602a17.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void length_602a17() {
float res = length(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
length_602a17();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
length_602a17();
return;
}
-
diff --git a/test/intrinsics/gen/length/afde8b.wgsl.expected.hlsl b/test/intrinsics/gen/length/afde8b.wgsl.expected.hlsl
index b0b2597..a875f42 100644
--- a/test/intrinsics/gen/length/afde8b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/length/afde8b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void length_afde8b() {
float res = length(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
length_afde8b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
length_afde8b();
return;
}
-
diff --git a/test/intrinsics/gen/length/becebf.wgsl.expected.hlsl b/test/intrinsics/gen/length/becebf.wgsl.expected.hlsl
index c7daa53..9e9b6e7 100644
--- a/test/intrinsics/gen/length/becebf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/length/becebf.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void length_becebf() {
float res = length(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
length_becebf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
length_becebf();
return;
}
-
diff --git a/test/intrinsics/gen/log/3da25a.wgsl.expected.hlsl b/test/intrinsics/gen/log/3da25a.wgsl.expected.hlsl
index d2ee1f4..357157a 100644
--- a/test/intrinsics/gen/log/3da25a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/log/3da25a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void log_3da25a() {
float4 res = log(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
log_3da25a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
log_3da25a();
return;
}
-
diff --git a/test/intrinsics/gen/log/7114a6.wgsl.expected.hlsl b/test/intrinsics/gen/log/7114a6.wgsl.expected.hlsl
index 81658bb..41fcb79 100644
--- a/test/intrinsics/gen/log/7114a6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/log/7114a6.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void log_7114a6() {
float res = log(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
log_7114a6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
log_7114a6();
return;
}
-
diff --git a/test/intrinsics/gen/log/b2ce28.wgsl.expected.hlsl b/test/intrinsics/gen/log/b2ce28.wgsl.expected.hlsl
index 63b63dd..02b6dd7 100644
--- a/test/intrinsics/gen/log/b2ce28.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/log/b2ce28.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void log_b2ce28() {
float2 res = log(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
log_b2ce28();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
log_b2ce28();
return;
}
-
diff --git a/test/intrinsics/gen/log/f4c570.wgsl.expected.hlsl b/test/intrinsics/gen/log/f4c570.wgsl.expected.hlsl
index fd8c5ab..ef0069f 100644
--- a/test/intrinsics/gen/log/f4c570.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/log/f4c570.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void log_f4c570() {
float3 res = log(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
log_f4c570();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
log_f4c570();
return;
}
-
diff --git a/test/intrinsics/gen/log2/4036ed.wgsl.expected.hlsl b/test/intrinsics/gen/log2/4036ed.wgsl.expected.hlsl
index 8cf1e31..6fce734 100644
--- a/test/intrinsics/gen/log2/4036ed.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/log2/4036ed.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void log2_4036ed() {
float res = log2(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
log2_4036ed();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
log2_4036ed();
return;
}
-
diff --git a/test/intrinsics/gen/log2/902988.wgsl.expected.hlsl b/test/intrinsics/gen/log2/902988.wgsl.expected.hlsl
index 36b4440..9d60126 100644
--- a/test/intrinsics/gen/log2/902988.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/log2/902988.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void log2_902988() {
float4 res = log2(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
log2_902988();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
log2_902988();
return;
}
-
diff --git a/test/intrinsics/gen/log2/adb233.wgsl.expected.hlsl b/test/intrinsics/gen/log2/adb233.wgsl.expected.hlsl
index d12c23f..9dc101f 100644
--- a/test/intrinsics/gen/log2/adb233.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/log2/adb233.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void log2_adb233() {
float3 res = log2(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
log2_adb233();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
log2_adb233();
return;
}
-
diff --git a/test/intrinsics/gen/log2/aea659.wgsl.expected.hlsl b/test/intrinsics/gen/log2/aea659.wgsl.expected.hlsl
index c14b45a..448f134 100644
--- a/test/intrinsics/gen/log2/aea659.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/log2/aea659.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void log2_aea659() {
float2 res = log2(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
log2_aea659();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
log2_aea659();
return;
}
-
diff --git a/test/intrinsics/gen/max/0c0aae.wgsl.expected.hlsl b/test/intrinsics/gen/max/0c0aae.wgsl.expected.hlsl
index e4b23d4..b812b28 100644
--- a/test/intrinsics/gen/max/0c0aae.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/0c0aae.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_0c0aae() {
uint res = max(1u, 1u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_0c0aae();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_0c0aae();
return;
}
-
diff --git a/test/intrinsics/gen/max/25eafe.wgsl.expected.hlsl b/test/intrinsics/gen/max/25eafe.wgsl.expected.hlsl
index 21ad0f5..5ae78c8 100644
--- a/test/intrinsics/gen/max/25eafe.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/25eafe.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_25eafe() {
int3 res = max(int3(0, 0, 0), int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_25eafe();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_25eafe();
return;
}
-
diff --git a/test/intrinsics/gen/max/320815.wgsl.expected.hlsl b/test/intrinsics/gen/max/320815.wgsl.expected.hlsl
index d4abc9e..8108f19 100644
--- a/test/intrinsics/gen/max/320815.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/320815.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_320815() {
uint2 res = max(uint2(0u, 0u), uint2(0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_320815();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_320815();
return;
}
-
diff --git a/test/intrinsics/gen/max/44a39d.wgsl.expected.hlsl b/test/intrinsics/gen/max/44a39d.wgsl.expected.hlsl
index d093206..474e381 100644
--- a/test/intrinsics/gen/max/44a39d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/44a39d.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_44a39d() {
float res = max(1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_44a39d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_44a39d();
return;
}
-
diff --git a/test/intrinsics/gen/max/453e04.wgsl.expected.hlsl b/test/intrinsics/gen/max/453e04.wgsl.expected.hlsl
index d89a97b..496be90 100644
--- a/test/intrinsics/gen/max/453e04.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/453e04.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_453e04() {
uint4 res = max(uint4(0u, 0u, 0u, 0u), uint4(0u, 0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_453e04();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_453e04();
return;
}
-
diff --git a/test/intrinsics/gen/max/462050.wgsl.expected.hlsl b/test/intrinsics/gen/max/462050.wgsl.expected.hlsl
index 3e0d5d4..0ba3a04 100644
--- a/test/intrinsics/gen/max/462050.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/462050.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_462050() {
float2 res = max(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_462050();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_462050();
return;
}
-
diff --git a/test/intrinsics/gen/max/4883ac.wgsl.expected.hlsl b/test/intrinsics/gen/max/4883ac.wgsl.expected.hlsl
index 4020fd7..ecc4c1e 100644
--- a/test/intrinsics/gen/max/4883ac.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/4883ac.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_4883ac() {
float3 res = max(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_4883ac();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_4883ac();
return;
}
-
diff --git a/test/intrinsics/gen/max/85e6bc.wgsl.expected.hlsl b/test/intrinsics/gen/max/85e6bc.wgsl.expected.hlsl
index 237e7ef..d64e608 100644
--- a/test/intrinsics/gen/max/85e6bc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/85e6bc.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_85e6bc() {
int4 res = max(int4(0, 0, 0, 0), int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_85e6bc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_85e6bc();
return;
}
-
diff --git a/test/intrinsics/gen/max/a93419.wgsl.expected.hlsl b/test/intrinsics/gen/max/a93419.wgsl.expected.hlsl
index 92950d1..98599e9 100644
--- a/test/intrinsics/gen/max/a93419.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/a93419.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_a93419() {
float4 res = max(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_a93419();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_a93419();
return;
}
-
diff --git a/test/intrinsics/gen/max/b1b73a.wgsl.expected.hlsl b/test/intrinsics/gen/max/b1b73a.wgsl.expected.hlsl
index ab2d462..531e496 100644
--- a/test/intrinsics/gen/max/b1b73a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/b1b73a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_b1b73a() {
uint3 res = max(uint3(0u, 0u, 0u), uint3(0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_b1b73a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_b1b73a();
return;
}
-
diff --git a/test/intrinsics/gen/max/ce7c30.wgsl.expected.hlsl b/test/intrinsics/gen/max/ce7c30.wgsl.expected.hlsl
index 7892ab4..ada95a0 100644
--- a/test/intrinsics/gen/max/ce7c30.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/ce7c30.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_ce7c30() {
int res = max(1, 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_ce7c30();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_ce7c30();
return;
}
-
diff --git a/test/intrinsics/gen/max/e8192f.wgsl.expected.hlsl b/test/intrinsics/gen/max/e8192f.wgsl.expected.hlsl
index 8209b73..1f4b38e 100644
--- a/test/intrinsics/gen/max/e8192f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/max/e8192f.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void max_e8192f() {
int2 res = max(int2(0, 0), int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
max_e8192f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
max_e8192f();
return;
}
-
diff --git a/test/intrinsics/gen/min/03c7e3.wgsl.expected.hlsl b/test/intrinsics/gen/min/03c7e3.wgsl.expected.hlsl
index 1873732..d12d908 100644
--- a/test/intrinsics/gen/min/03c7e3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/03c7e3.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_03c7e3() {
int2 res = min(int2(0, 0), int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_03c7e3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_03c7e3();
return;
}
-
diff --git a/test/intrinsics/gen/min/0dc614.wgsl.expected.hlsl b/test/intrinsics/gen/min/0dc614.wgsl.expected.hlsl
index e3d5176..989a854 100644
--- a/test/intrinsics/gen/min/0dc614.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/0dc614.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_0dc614() {
uint4 res = min(uint4(0u, 0u, 0u, 0u), uint4(0u, 0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_0dc614();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_0dc614();
return;
}
-
diff --git a/test/intrinsics/gen/min/3941e1.wgsl.expected.hlsl b/test/intrinsics/gen/min/3941e1.wgsl.expected.hlsl
index ca5c4aa..be28f09 100644
--- a/test/intrinsics/gen/min/3941e1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/3941e1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_3941e1() {
int4 res = min(int4(0, 0, 0, 0), int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_3941e1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_3941e1();
return;
}
-
diff --git a/test/intrinsics/gen/min/46c5d3.wgsl.expected.hlsl b/test/intrinsics/gen/min/46c5d3.wgsl.expected.hlsl
index 7b463e1..182b371 100644
--- a/test/intrinsics/gen/min/46c5d3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/46c5d3.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_46c5d3() {
uint res = min(1u, 1u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_46c5d3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_46c5d3();
return;
}
-
diff --git a/test/intrinsics/gen/min/82b28f.wgsl.expected.hlsl b/test/intrinsics/gen/min/82b28f.wgsl.expected.hlsl
index 7e4e2eb..f473322 100644
--- a/test/intrinsics/gen/min/82b28f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/82b28f.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_82b28f() {
uint2 res = min(uint2(0u, 0u), uint2(0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_82b28f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_82b28f();
return;
}
-
diff --git a/test/intrinsics/gen/min/93cfc4.wgsl.expected.hlsl b/test/intrinsics/gen/min/93cfc4.wgsl.expected.hlsl
index fdb17d1..b3a98f5 100644
--- a/test/intrinsics/gen/min/93cfc4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/93cfc4.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_93cfc4() {
float3 res = min(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_93cfc4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_93cfc4();
return;
}
-
diff --git a/test/intrinsics/gen/min/a45171.wgsl.expected.hlsl b/test/intrinsics/gen/min/a45171.wgsl.expected.hlsl
index 6e28f6b..25e54bc 100644
--- a/test/intrinsics/gen/min/a45171.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/a45171.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_a45171() {
int3 res = min(int3(0, 0, 0), int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_a45171();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_a45171();
return;
}
-
diff --git a/test/intrinsics/gen/min/aa28ad.wgsl.expected.hlsl b/test/intrinsics/gen/min/aa28ad.wgsl.expected.hlsl
index 6338bf2..225d671 100644
--- a/test/intrinsics/gen/min/aa28ad.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/aa28ad.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_aa28ad() {
float2 res = min(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_aa28ad();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_aa28ad();
return;
}
-
diff --git a/test/intrinsics/gen/min/af326d.wgsl.expected.hlsl b/test/intrinsics/gen/min/af326d.wgsl.expected.hlsl
index 5abdab5..20a61cb 100644
--- a/test/intrinsics/gen/min/af326d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/af326d.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_af326d() {
float res = min(1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_af326d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_af326d();
return;
}
-
diff --git a/test/intrinsics/gen/min/c70bb7.wgsl.expected.hlsl b/test/intrinsics/gen/min/c70bb7.wgsl.expected.hlsl
index a7f58af..c3e5fed 100644
--- a/test/intrinsics/gen/min/c70bb7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/c70bb7.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_c70bb7() {
uint3 res = min(uint3(0u, 0u, 0u), uint3(0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_c70bb7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_c70bb7();
return;
}
-
diff --git a/test/intrinsics/gen/min/c73147.wgsl.expected.hlsl b/test/intrinsics/gen/min/c73147.wgsl.expected.hlsl
index 1fddfd9..7c6d8a9 100644
--- a/test/intrinsics/gen/min/c73147.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/c73147.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_c73147() {
int res = min(1, 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_c73147();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_c73147();
return;
}
-
diff --git a/test/intrinsics/gen/min/c76fa6.wgsl.expected.hlsl b/test/intrinsics/gen/min/c76fa6.wgsl.expected.hlsl
index 72c91f1..49d053b 100644
--- a/test/intrinsics/gen/min/c76fa6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/min/c76fa6.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void min_c76fa6() {
float4 res = min(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
min_c76fa6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
min_c76fa6();
return;
}
-
diff --git a/test/intrinsics/gen/mix/0c8c33.wgsl.expected.hlsl b/test/intrinsics/gen/mix/0c8c33.wgsl.expected.hlsl
index eae9172..ddf487e 100644
--- a/test/intrinsics/gen/mix/0c8c33.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/mix/0c8c33.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void mix_0c8c33() {
float3 res = lerp(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
mix_0c8c33();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
mix_0c8c33();
return;
}
-
diff --git a/test/intrinsics/gen/mix/4f0b5e.wgsl.expected.hlsl b/test/intrinsics/gen/mix/4f0b5e.wgsl.expected.hlsl
index f26b24f..98fba76 100644
--- a/test/intrinsics/gen/mix/4f0b5e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/mix/4f0b5e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void mix_4f0b5e() {
float res = lerp(1.0f, 1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
mix_4f0b5e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
mix_4f0b5e();
return;
}
-
diff --git a/test/intrinsics/gen/mix/6f8adc.wgsl.expected.hlsl b/test/intrinsics/gen/mix/6f8adc.wgsl.expected.hlsl
index c9d077b..8509f0e 100644
--- a/test/intrinsics/gen/mix/6f8adc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/mix/6f8adc.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void mix_6f8adc() {
float2 res = lerp(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
mix_6f8adc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
mix_6f8adc();
return;
}
-
diff --git a/test/intrinsics/gen/mix/c37ede.wgsl.expected.hlsl b/test/intrinsics/gen/mix/c37ede.wgsl.expected.hlsl
index d0bd679..c90ce31 100644
--- a/test/intrinsics/gen/mix/c37ede.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/mix/c37ede.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void mix_c37ede() {
float4 res = lerp(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
mix_c37ede();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
mix_c37ede();
return;
}
-
diff --git a/test/intrinsics/gen/modf/353f7d.wgsl.expected.hlsl b/test/intrinsics/gen/modf/353f7d.wgsl.expected.hlsl
index 2d9e125..b677940 100644
--- a/test/intrinsics/gen/modf/353f7d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/353f7d.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_353f7d() {
float arg_1 = 0.0f;
float res = modf(1.0f, arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_353f7d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_353f7d();
return;
}
-
diff --git a/test/intrinsics/gen/modf/3b79d5.wgsl.expected.hlsl b/test/intrinsics/gen/modf/3b79d5.wgsl.expected.hlsl
index fc102f9..4f4e6fd 100644
--- a/test/intrinsics/gen/modf/3b79d5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/3b79d5.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_3b79d5() {
float3 arg_1 = float3(0.0f, 0.0f, 0.0f);
float3 res = modf(float3(0.0f, 0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_3b79d5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_3b79d5();
return;
}
-
diff --git a/test/intrinsics/gen/modf/4bb324.wgsl.expected.hlsl b/test/intrinsics/gen/modf/4bb324.wgsl.expected.hlsl
index f204c98..3401374 100644
--- a/test/intrinsics/gen/modf/4bb324.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/4bb324.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_4bb324() {
float4 arg_1 = float4(0.0f, 0.0f, 0.0f, 0.0f);
float4 res = modf(float4(0.0f, 0.0f, 0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_4bb324();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_4bb324();
return;
}
-
diff --git a/test/intrinsics/gen/modf/4fe3d9.wgsl.expected.hlsl b/test/intrinsics/gen/modf/4fe3d9.wgsl.expected.hlsl
index a708a27..dec22ac 100644
--- a/test/intrinsics/gen/modf/4fe3d9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/4fe3d9.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_4fe3d9() {
float3 arg_1 = float3(0.0f, 0.0f, 0.0f);
float3 res = modf(float3(0.0f, 0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_4fe3d9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_4fe3d9();
return;
}
-
diff --git a/test/intrinsics/gen/modf/51e4c6.wgsl.expected.hlsl b/test/intrinsics/gen/modf/51e4c6.wgsl.expected.hlsl
index d7785bf..8b28ed7 100644
--- a/test/intrinsics/gen/modf/51e4c6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/51e4c6.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_51e4c6() {
float2 arg_1 = float2(0.0f, 0.0f);
float2 res = modf(float2(0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_51e4c6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_51e4c6();
return;
}
-
diff --git a/test/intrinsics/gen/modf/546e09.wgsl.expected.hlsl b/test/intrinsics/gen/modf/546e09.wgsl.expected.hlsl
index 34c99d8..2df7bdf 100644
--- a/test/intrinsics/gen/modf/546e09.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/546e09.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_546e09() {
float arg_1 = 0.0f;
float res = modf(1.0f, arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_546e09();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_546e09();
return;
}
-
diff --git a/test/intrinsics/gen/modf/86441c.wgsl.expected.hlsl b/test/intrinsics/gen/modf/86441c.wgsl.expected.hlsl
index 7158a0e..21ca45c 100644
--- a/test/intrinsics/gen/modf/86441c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/86441c.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_86441c() {
float2 arg_1 = float2(0.0f, 0.0f);
float2 res = modf(float2(0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_86441c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_86441c();
return;
}
-
diff --git a/test/intrinsics/gen/modf/955651.wgsl.expected.hlsl b/test/intrinsics/gen/modf/955651.wgsl.expected.hlsl
index b4f9389..02cf941 100644
--- a/test/intrinsics/gen/modf/955651.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/955651.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_955651() {
float3 arg_1 = float3(0.0f, 0.0f, 0.0f);
float3 res = modf(float3(0.0f, 0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_955651();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_955651();
return;
}
-
diff --git a/test/intrinsics/gen/modf/a54eca.wgsl.expected.hlsl b/test/intrinsics/gen/modf/a54eca.wgsl.expected.hlsl
index 67ab4f5..59e0e3c 100644
--- a/test/intrinsics/gen/modf/a54eca.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/a54eca.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_a54eca() {
float2 arg_1 = float2(0.0f, 0.0f);
float2 res = modf(float2(0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_a54eca();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_a54eca();
return;
}
-
diff --git a/test/intrinsics/gen/modf/d1d6f6.wgsl.expected.hlsl b/test/intrinsics/gen/modf/d1d6f6.wgsl.expected.hlsl
index 5b30846..afd659d 100644
--- a/test/intrinsics/gen/modf/d1d6f6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/d1d6f6.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_d1d6f6() {
float4 arg_1 = float4(0.0f, 0.0f, 0.0f, 0.0f);
float4 res = modf(float4(0.0f, 0.0f, 0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_d1d6f6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_d1d6f6();
return;
}
-
diff --git a/test/intrinsics/gen/modf/e83560.wgsl.expected.hlsl b/test/intrinsics/gen/modf/e83560.wgsl.expected.hlsl
index 43ea2ba..fbd15df 100644
--- a/test/intrinsics/gen/modf/e83560.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/e83560.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_e83560() {
float4 arg_1 = float4(0.0f, 0.0f, 0.0f, 0.0f);
float4 res = modf(float4(0.0f, 0.0f, 0.0f, 0.0f), arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_e83560();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_e83560();
return;
}
-
diff --git a/test/intrinsics/gen/modf/f90945.wgsl.expected.hlsl b/test/intrinsics/gen/modf/f90945.wgsl.expected.hlsl
index 2836d02..5e79aa3 100644
--- a/test/intrinsics/gen/modf/f90945.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/modf/f90945.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void modf_f90945() {
float arg_1 = 0.0f;
float res = modf(1.0f, arg_1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
modf_f90945();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
modf_f90945();
return;
}
-
diff --git a/test/intrinsics/gen/normalize/64d8c0.wgsl.expected.hlsl b/test/intrinsics/gen/normalize/64d8c0.wgsl.expected.hlsl
index a078829..f04a581 100644
--- a/test/intrinsics/gen/normalize/64d8c0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/normalize/64d8c0.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void normalize_64d8c0() {
float3 res = normalize(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
normalize_64d8c0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
normalize_64d8c0();
return;
}
-
diff --git a/test/intrinsics/gen/normalize/9a0aab.wgsl.expected.hlsl b/test/intrinsics/gen/normalize/9a0aab.wgsl.expected.hlsl
index b03bff5..273f93f 100644
--- a/test/intrinsics/gen/normalize/9a0aab.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/normalize/9a0aab.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void normalize_9a0aab() {
float4 res = normalize(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
normalize_9a0aab();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
normalize_9a0aab();
return;
}
-
diff --git a/test/intrinsics/gen/normalize/fc2ef1.wgsl.expected.hlsl b/test/intrinsics/gen/normalize/fc2ef1.wgsl.expected.hlsl
index 03f2379..d024e8f 100644
--- a/test/intrinsics/gen/normalize/fc2ef1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/normalize/fc2ef1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void normalize_fc2ef1() {
float2 res = normalize(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
normalize_fc2ef1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
normalize_fc2ef1();
return;
}
-
diff --git a/test/intrinsics/gen/pack2x16float/0e97b3.wgsl.expected.hlsl b/test/intrinsics/gen/pack2x16float/0e97b3.wgsl.expected.hlsl
index b641eea..9132660 100644
--- a/test/intrinsics/gen/pack2x16float/0e97b3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pack2x16float/0e97b3.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pack2x16float_0e97b3() {
uint2 tint_tmp = f32tof16(float2(0.0f, 0.0f));
uint res = (tint_tmp.x | tint_tmp.y << 16);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pack2x16float_0e97b3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
pack2x16float_0e97b3();
return;
}
-
diff --git a/test/intrinsics/gen/pack2x16snorm/6c169b.wgsl.expected.hlsl b/test/intrinsics/gen/pack2x16snorm/6c169b.wgsl.expected.hlsl
index 9b38965..c2d596b 100644
--- a/test/intrinsics/gen/pack2x16snorm/6c169b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pack2x16snorm/6c169b.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pack2x16snorm_6c169b() {
int2 tint_tmp = int2(round(clamp(float2(0.0f, 0.0f), -1.0, 1.0) * 32767.0)) & 0xffff;
uint res = asuint(tint_tmp.x | tint_tmp.y << 16);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pack2x16snorm_6c169b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
pack2x16snorm_6c169b();
return;
}
-
diff --git a/test/intrinsics/gen/pack2x16unorm/0f08e4.wgsl.expected.hlsl b/test/intrinsics/gen/pack2x16unorm/0f08e4.wgsl.expected.hlsl
index e7d59a9..cf0dbe7 100644
--- a/test/intrinsics/gen/pack2x16unorm/0f08e4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pack2x16unorm/0f08e4.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pack2x16unorm_0f08e4() {
uint2 tint_tmp = uint2(round(clamp(float2(0.0f, 0.0f), 0.0, 1.0) * 65535.0));
uint res = (tint_tmp.x | tint_tmp.y << 16);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pack2x16unorm_0f08e4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
pack2x16unorm_0f08e4();
return;
}
-
diff --git a/test/intrinsics/gen/pack4x8snorm/4d22e7.wgsl.expected.hlsl b/test/intrinsics/gen/pack4x8snorm/4d22e7.wgsl.expected.hlsl
index b2ac524..d495e8d 100644
--- a/test/intrinsics/gen/pack4x8snorm/4d22e7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pack4x8snorm/4d22e7.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pack4x8snorm_4d22e7() {
int4 tint_tmp = int4(round(clamp(float4(0.0f, 0.0f, 0.0f, 0.0f), -1.0, 1.0) * 127.0)) & 0xff;
uint res = asuint(tint_tmp.x | tint_tmp.y << 8 | tint_tmp.z << 16 | tint_tmp.w << 24);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pack4x8snorm_4d22e7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
pack4x8snorm_4d22e7();
return;
}
-
diff --git a/test/intrinsics/gen/pack4x8unorm/95c456.wgsl.expected.hlsl b/test/intrinsics/gen/pack4x8unorm/95c456.wgsl.expected.hlsl
index 1dc64d0..6fca709 100644
--- a/test/intrinsics/gen/pack4x8unorm/95c456.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pack4x8unorm/95c456.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pack4x8unorm_95c456() {
uint4 tint_tmp = uint4(round(clamp(float4(0.0f, 0.0f, 0.0f, 0.0f), 0.0, 1.0) * 255.0));
uint res = (tint_tmp.x | tint_tmp.y << 8 | tint_tmp.z << 16 | tint_tmp.w << 24);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pack4x8unorm_95c456();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
pack4x8unorm_95c456();
return;
}
-
diff --git a/test/intrinsics/gen/pow/04a908.wgsl.expected.hlsl b/test/intrinsics/gen/pow/04a908.wgsl.expected.hlsl
index 15e1d54..6bc1871 100644
--- a/test/intrinsics/gen/pow/04a908.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pow/04a908.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pow_04a908() {
float4 res = pow(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pow_04a908();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
pow_04a908();
return;
}
-
diff --git a/test/intrinsics/gen/pow/46e029.wgsl.expected.hlsl b/test/intrinsics/gen/pow/46e029.wgsl.expected.hlsl
index 94d3343..73d302d 100644
--- a/test/intrinsics/gen/pow/46e029.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pow/46e029.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pow_46e029() {
float res = pow(1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pow_46e029();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
pow_46e029();
return;
}
-
diff --git a/test/intrinsics/gen/pow/4a46c9.wgsl.expected.hlsl b/test/intrinsics/gen/pow/4a46c9.wgsl.expected.hlsl
index 647b0db..d0d9ca9 100644
--- a/test/intrinsics/gen/pow/4a46c9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pow/4a46c9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pow_4a46c9() {
float3 res = pow(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pow_4a46c9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
pow_4a46c9();
return;
}
-
diff --git a/test/intrinsics/gen/pow/e60ea5.wgsl.expected.hlsl b/test/intrinsics/gen/pow/e60ea5.wgsl.expected.hlsl
index c9faab8..d4a2493 100644
--- a/test/intrinsics/gen/pow/e60ea5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/pow/e60ea5.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void pow_e60ea5() {
float2 res = pow(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
pow_e60ea5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
pow_e60ea5();
return;
}
-
diff --git a/test/intrinsics/gen/reflect/05357e.wgsl.expected.hlsl b/test/intrinsics/gen/reflect/05357e.wgsl.expected.hlsl
index fed17cd..49f9b2d 100644
--- a/test/intrinsics/gen/reflect/05357e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reflect/05357e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reflect_05357e() {
float4 res = reflect(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reflect_05357e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reflect_05357e();
return;
}
-
diff --git a/test/intrinsics/gen/reflect/b61e10.wgsl.expected.hlsl b/test/intrinsics/gen/reflect/b61e10.wgsl.expected.hlsl
index a80f406..7fddf4c 100644
--- a/test/intrinsics/gen/reflect/b61e10.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reflect/b61e10.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reflect_b61e10() {
float2 res = reflect(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reflect_b61e10();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reflect_b61e10();
return;
}
-
diff --git a/test/intrinsics/gen/reflect/f47fdb.wgsl.expected.hlsl b/test/intrinsics/gen/reflect/f47fdb.wgsl.expected.hlsl
index 39eac48..82dc220 100644
--- a/test/intrinsics/gen/reflect/f47fdb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reflect/f47fdb.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reflect_f47fdb() {
float3 res = reflect(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reflect_f47fdb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reflect_f47fdb();
return;
}
-
diff --git a/test/intrinsics/gen/reflect/feae90.wgsl.expected.hlsl b/test/intrinsics/gen/reflect/feae90.wgsl.expected.hlsl
index 1e134b1..8d157b8 100644
--- a/test/intrinsics/gen/reflect/feae90.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reflect/feae90.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reflect_feae90() {
float res = reflect(1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reflect_feae90();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reflect_feae90();
return;
}
-
diff --git a/test/intrinsics/gen/reverseBits/222177.wgsl.expected.hlsl b/test/intrinsics/gen/reverseBits/222177.wgsl.expected.hlsl
index 251d14d..b8761ac 100644
--- a/test/intrinsics/gen/reverseBits/222177.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reverseBits/222177.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reverseBits_222177() {
int2 res = reversebits(int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reverseBits_222177();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reverseBits_222177();
return;
}
-
diff --git a/test/intrinsics/gen/reverseBits/35fea9.wgsl.expected.hlsl b/test/intrinsics/gen/reverseBits/35fea9.wgsl.expected.hlsl
index b826d6a..b76eaa4 100644
--- a/test/intrinsics/gen/reverseBits/35fea9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reverseBits/35fea9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reverseBits_35fea9() {
uint4 res = reversebits(uint4(0u, 0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reverseBits_35fea9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reverseBits_35fea9();
return;
}
-
diff --git a/test/intrinsics/gen/reverseBits/4dbd6f.wgsl.expected.hlsl b/test/intrinsics/gen/reverseBits/4dbd6f.wgsl.expected.hlsl
index 708d2a0..ecc8655 100644
--- a/test/intrinsics/gen/reverseBits/4dbd6f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reverseBits/4dbd6f.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reverseBits_4dbd6f() {
int4 res = reversebits(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reverseBits_4dbd6f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reverseBits_4dbd6f();
return;
}
-
diff --git a/test/intrinsics/gen/reverseBits/7c4269.wgsl.expected.hlsl b/test/intrinsics/gen/reverseBits/7c4269.wgsl.expected.hlsl
index 9694820..87d8b37 100644
--- a/test/intrinsics/gen/reverseBits/7c4269.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reverseBits/7c4269.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reverseBits_7c4269() {
int res = reversebits(1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reverseBits_7c4269();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reverseBits_7c4269();
return;
}
-
diff --git a/test/intrinsics/gen/reverseBits/a6ccd4.wgsl.expected.hlsl b/test/intrinsics/gen/reverseBits/a6ccd4.wgsl.expected.hlsl
index 78ed8c2..3e7f0e8 100644
--- a/test/intrinsics/gen/reverseBits/a6ccd4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reverseBits/a6ccd4.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reverseBits_a6ccd4() {
uint3 res = reversebits(uint3(0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reverseBits_a6ccd4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reverseBits_a6ccd4();
return;
}
-
diff --git a/test/intrinsics/gen/reverseBits/c21bc1.wgsl.expected.hlsl b/test/intrinsics/gen/reverseBits/c21bc1.wgsl.expected.hlsl
index e3e9170..0758ae9 100644
--- a/test/intrinsics/gen/reverseBits/c21bc1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reverseBits/c21bc1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reverseBits_c21bc1() {
int3 res = reversebits(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reverseBits_c21bc1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reverseBits_c21bc1();
return;
}
-
diff --git a/test/intrinsics/gen/reverseBits/e1f4c1.wgsl.expected.hlsl b/test/intrinsics/gen/reverseBits/e1f4c1.wgsl.expected.hlsl
index 58a73ee..423812b 100644
--- a/test/intrinsics/gen/reverseBits/e1f4c1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reverseBits/e1f4c1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reverseBits_e1f4c1() {
uint2 res = reversebits(uint2(0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reverseBits_e1f4c1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reverseBits_e1f4c1();
return;
}
-
diff --git a/test/intrinsics/gen/reverseBits/e31adf.wgsl.expected.hlsl b/test/intrinsics/gen/reverseBits/e31adf.wgsl.expected.hlsl
index 5d35bfc..75c1d48 100644
--- a/test/intrinsics/gen/reverseBits/e31adf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/reverseBits/e31adf.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void reverseBits_e31adf() {
uint res = reversebits(1u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
reverseBits_e31adf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
reverseBits_e31adf();
return;
}
-
diff --git a/test/intrinsics/gen/round/106c0b.wgsl.expected.hlsl b/test/intrinsics/gen/round/106c0b.wgsl.expected.hlsl
index c75d2ca..604e3a3 100644
--- a/test/intrinsics/gen/round/106c0b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/round/106c0b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void round_106c0b() {
float4 res = round(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
round_106c0b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
round_106c0b();
return;
}
-
diff --git a/test/intrinsics/gen/round/1c7897.wgsl.expected.hlsl b/test/intrinsics/gen/round/1c7897.wgsl.expected.hlsl
index 4c4bb18..29369ed 100644
--- a/test/intrinsics/gen/round/1c7897.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/round/1c7897.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void round_1c7897() {
float3 res = round(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
round_1c7897();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
round_1c7897();
return;
}
-
diff --git a/test/intrinsics/gen/round/52c84d.wgsl.expected.hlsl b/test/intrinsics/gen/round/52c84d.wgsl.expected.hlsl
index 6aa14eb..0f0c0d1 100644
--- a/test/intrinsics/gen/round/52c84d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/round/52c84d.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void round_52c84d() {
float2 res = round(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
round_52c84d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
round_52c84d();
return;
}
-
diff --git a/test/intrinsics/gen/round/9edc38.wgsl.expected.hlsl b/test/intrinsics/gen/round/9edc38.wgsl.expected.hlsl
index 874ac81..2012d8f 100644
--- a/test/intrinsics/gen/round/9edc38.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/round/9edc38.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void round_9edc38() {
float res = round(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
round_9edc38();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
round_9edc38();
return;
}
-
diff --git a/test/intrinsics/gen/select/00b848.wgsl.expected.hlsl b/test/intrinsics/gen/select/00b848.wgsl.expected.hlsl
index ec29321..f15e35e 100644
--- a/test/intrinsics/gen/select/00b848.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/00b848.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_00b848() {
int2 res = (bool2(false, false) ? int2(0, 0) : int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_00b848();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_00b848();
return;
}
-
diff --git a/test/intrinsics/gen/select/01e2cd.wgsl.expected.hlsl b/test/intrinsics/gen/select/01e2cd.wgsl.expected.hlsl
index 9aac2c0..d3d8316 100644
--- a/test/intrinsics/gen/select/01e2cd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/01e2cd.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_01e2cd() {
int3 res = (bool3(false, false, false) ? int3(0, 0, 0) : int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_01e2cd();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_01e2cd();
return;
}
-
diff --git a/test/intrinsics/gen/select/1e960b.wgsl.expected.hlsl b/test/intrinsics/gen/select/1e960b.wgsl.expected.hlsl
index adb0fe4..ff79547 100644
--- a/test/intrinsics/gen/select/1e960b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/1e960b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_1e960b() {
uint2 res = (bool2(false, false) ? uint2(0u, 0u) : uint2(0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_1e960b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_1e960b();
return;
}
-
diff --git a/test/intrinsics/gen/select/266aff.wgsl.expected.hlsl b/test/intrinsics/gen/select/266aff.wgsl.expected.hlsl
index dbe0b92..b03ee5a 100644
--- a/test/intrinsics/gen/select/266aff.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/266aff.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_266aff() {
float2 res = (bool2(false, false) ? float2(0.0f, 0.0f) : float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_266aff();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_266aff();
return;
}
-
diff --git a/test/intrinsics/gen/select/28a27e.wgsl.expected.hlsl b/test/intrinsics/gen/select/28a27e.wgsl.expected.hlsl
index de68cc1..cf43395 100644
--- a/test/intrinsics/gen/select/28a27e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/28a27e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_28a27e() {
uint3 res = (bool3(false, false, false) ? uint3(0u, 0u, 0u) : uint3(0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_28a27e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_28a27e();
return;
}
-
diff --git a/test/intrinsics/gen/select/416e14.wgsl.expected.hlsl b/test/intrinsics/gen/select/416e14.wgsl.expected.hlsl
index afcb7f0..61ca130 100644
--- a/test/intrinsics/gen/select/416e14.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/416e14.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_416e14() {
float res = (false ? 1.0f : 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_416e14();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_416e14();
return;
}
-
diff --git a/test/intrinsics/gen/select/80a9a9.wgsl.expected.hlsl b/test/intrinsics/gen/select/80a9a9.wgsl.expected.hlsl
index d98233b..662d56b 100644
--- a/test/intrinsics/gen/select/80a9a9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/80a9a9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_80a9a9() {
bool3 res = (bool3(false, false, false) ? bool3(false, false, false) : bool3(false, false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_80a9a9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_80a9a9();
return;
}
-
diff --git a/test/intrinsics/gen/select/99f883.wgsl.expected.hlsl b/test/intrinsics/gen/select/99f883.wgsl.expected.hlsl
index c187413..04477fa 100644
--- a/test/intrinsics/gen/select/99f883.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/99f883.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_99f883() {
uint res = (false ? 1u : 1u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_99f883();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_99f883();
return;
}
-
diff --git a/test/intrinsics/gen/select/a2860e.wgsl.expected.hlsl b/test/intrinsics/gen/select/a2860e.wgsl.expected.hlsl
index 5dd5d64..9ffc729 100644
--- a/test/intrinsics/gen/select/a2860e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/a2860e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_a2860e() {
int4 res = (bool4(false, false, false, false) ? int4(0, 0, 0, 0) : int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_a2860e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_a2860e();
return;
}
-
diff --git a/test/intrinsics/gen/select/bb8aae.wgsl.expected.hlsl b/test/intrinsics/gen/select/bb8aae.wgsl.expected.hlsl
index 2660cec..4ab9d4e 100644
--- a/test/intrinsics/gen/select/bb8aae.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/bb8aae.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_bb8aae() {
float4 res = (bool4(false, false, false, false) ? float4(0.0f, 0.0f, 0.0f, 0.0f) : float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_bb8aae();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_bb8aae();
return;
}
-
diff --git a/test/intrinsics/gen/select/c31f9e.wgsl.expected.hlsl b/test/intrinsics/gen/select/c31f9e.wgsl.expected.hlsl
index 7d8695e..10235c0 100644
--- a/test/intrinsics/gen/select/c31f9e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/c31f9e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_c31f9e() {
bool res = (false ? false : false);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_c31f9e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_c31f9e();
return;
}
-
diff --git a/test/intrinsics/gen/select/c4a4ef.wgsl.expected.hlsl b/test/intrinsics/gen/select/c4a4ef.wgsl.expected.hlsl
index 11845c3..d85b83c 100644
--- a/test/intrinsics/gen/select/c4a4ef.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/c4a4ef.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_c4a4ef() {
uint4 res = (bool4(false, false, false, false) ? uint4(0u, 0u, 0u, 0u) : uint4(0u, 0u, 0u, 0u));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_c4a4ef();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_c4a4ef();
return;
}
-
diff --git a/test/intrinsics/gen/select/cb9301.wgsl.expected.hlsl b/test/intrinsics/gen/select/cb9301.wgsl.expected.hlsl
index 3e35b51..cc33bff 100644
--- a/test/intrinsics/gen/select/cb9301.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/cb9301.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_cb9301() {
bool2 res = (bool2(false, false) ? bool2(false, false) : bool2(false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_cb9301();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_cb9301();
return;
}
-
diff --git a/test/intrinsics/gen/select/e3e028.wgsl.expected.hlsl b/test/intrinsics/gen/select/e3e028.wgsl.expected.hlsl
index f9d7c07..58f8a7c 100644
--- a/test/intrinsics/gen/select/e3e028.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/e3e028.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_e3e028() {
bool4 res = (bool4(false, false, false, false) ? bool4(false, false, false, false) : bool4(false, false, false, false));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_e3e028();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_e3e028();
return;
}
-
diff --git a/test/intrinsics/gen/select/ebfea2.wgsl.expected.hlsl b/test/intrinsics/gen/select/ebfea2.wgsl.expected.hlsl
index 76919df..8fe538c 100644
--- a/test/intrinsics/gen/select/ebfea2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/ebfea2.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_ebfea2() {
float3 res = (bool3(false, false, false) ? float3(0.0f, 0.0f, 0.0f) : float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_ebfea2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_ebfea2();
return;
}
-
diff --git a/test/intrinsics/gen/select/ed8a15.wgsl.expected.hlsl b/test/intrinsics/gen/select/ed8a15.wgsl.expected.hlsl
index 48f9b92..8f13427 100644
--- a/test/intrinsics/gen/select/ed8a15.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/select/ed8a15.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void select_ed8a15() {
int res = (false ? 1 : 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
select_ed8a15();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
select_ed8a15();
return;
}
-
diff --git a/test/intrinsics/gen/sign/159665.wgsl.expected.hlsl b/test/intrinsics/gen/sign/159665.wgsl.expected.hlsl
index 99d593a..fd8a732 100644
--- a/test/intrinsics/gen/sign/159665.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sign/159665.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sign_159665() {
float3 res = sign(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sign_159665();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sign_159665();
return;
}
-
diff --git a/test/intrinsics/gen/sign/b8f634.wgsl.expected.hlsl b/test/intrinsics/gen/sign/b8f634.wgsl.expected.hlsl
index 6c50bbe..7564ac1 100644
--- a/test/intrinsics/gen/sign/b8f634.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sign/b8f634.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sign_b8f634() {
float4 res = sign(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sign_b8f634();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sign_b8f634();
return;
}
-
diff --git a/test/intrinsics/gen/sign/d065d8.wgsl.expected.hlsl b/test/intrinsics/gen/sign/d065d8.wgsl.expected.hlsl
index 5734893..0a1b005 100644
--- a/test/intrinsics/gen/sign/d065d8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sign/d065d8.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sign_d065d8() {
float2 res = sign(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sign_d065d8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sign_d065d8();
return;
}
-
diff --git a/test/intrinsics/gen/sign/dd790e.wgsl.expected.hlsl b/test/intrinsics/gen/sign/dd790e.wgsl.expected.hlsl
index 693c167..e01d548 100644
--- a/test/intrinsics/gen/sign/dd790e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sign/dd790e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sign_dd790e() {
float res = sign(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sign_dd790e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sign_dd790e();
return;
}
-
diff --git a/test/intrinsics/gen/sin/01f241.wgsl.expected.hlsl b/test/intrinsics/gen/sin/01f241.wgsl.expected.hlsl
index 57f4db0..f845909 100644
--- a/test/intrinsics/gen/sin/01f241.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sin/01f241.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sin_01f241() {
float3 res = sin(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sin_01f241();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sin_01f241();
return;
}
-
diff --git a/test/intrinsics/gen/sin/4e3979.wgsl.expected.hlsl b/test/intrinsics/gen/sin/4e3979.wgsl.expected.hlsl
index a39a10f..17a525d 100644
--- a/test/intrinsics/gen/sin/4e3979.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sin/4e3979.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sin_4e3979() {
float4 res = sin(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sin_4e3979();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sin_4e3979();
return;
}
-
diff --git a/test/intrinsics/gen/sin/b78c91.wgsl.expected.hlsl b/test/intrinsics/gen/sin/b78c91.wgsl.expected.hlsl
index 8714c25..c83dc4e 100644
--- a/test/intrinsics/gen/sin/b78c91.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sin/b78c91.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sin_b78c91() {
float res = sin(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sin_b78c91();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sin_b78c91();
return;
}
-
diff --git a/test/intrinsics/gen/sin/fc8bc4.wgsl.expected.hlsl b/test/intrinsics/gen/sin/fc8bc4.wgsl.expected.hlsl
index 9b910da..6c295aa 100644
--- a/test/intrinsics/gen/sin/fc8bc4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sin/fc8bc4.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sin_fc8bc4() {
float2 res = sin(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sin_fc8bc4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sin_fc8bc4();
return;
}
-
diff --git a/test/intrinsics/gen/sinh/445e33.wgsl.expected.hlsl b/test/intrinsics/gen/sinh/445e33.wgsl.expected.hlsl
index f274918..1d1fab6 100644
--- a/test/intrinsics/gen/sinh/445e33.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sinh/445e33.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sinh_445e33() {
float4 res = sinh(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sinh_445e33();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sinh_445e33();
return;
}
-
diff --git a/test/intrinsics/gen/sinh/7bb598.wgsl.expected.hlsl b/test/intrinsics/gen/sinh/7bb598.wgsl.expected.hlsl
index 3edf894..fbb79e5 100644
--- a/test/intrinsics/gen/sinh/7bb598.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sinh/7bb598.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sinh_7bb598() {
float res = sinh(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sinh_7bb598();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sinh_7bb598();
return;
}
-
diff --git a/test/intrinsics/gen/sinh/b9860e.wgsl.expected.hlsl b/test/intrinsics/gen/sinh/b9860e.wgsl.expected.hlsl
index 1a6c8b6..5a04423 100644
--- a/test/intrinsics/gen/sinh/b9860e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sinh/b9860e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sinh_b9860e() {
float2 res = sinh(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sinh_b9860e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sinh_b9860e();
return;
}
-
diff --git a/test/intrinsics/gen/sinh/c9a5eb.wgsl.expected.hlsl b/test/intrinsics/gen/sinh/c9a5eb.wgsl.expected.hlsl
index 0446183..33d8036 100644
--- a/test/intrinsics/gen/sinh/c9a5eb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sinh/c9a5eb.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sinh_c9a5eb() {
float3 res = sinh(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sinh_c9a5eb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sinh_c9a5eb();
return;
}
-
diff --git a/test/intrinsics/gen/smoothStep/5f615b.wgsl.expected.hlsl b/test/intrinsics/gen/smoothStep/5f615b.wgsl.expected.hlsl
index 4fe969c..f714d05 100644
--- a/test/intrinsics/gen/smoothStep/5f615b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/smoothStep/5f615b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void smoothStep_5f615b() {
float4 res = smoothstep(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
smoothStep_5f615b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
smoothStep_5f615b();
return;
}
-
diff --git a/test/intrinsics/gen/smoothStep/658be3.wgsl.expected.hlsl b/test/intrinsics/gen/smoothStep/658be3.wgsl.expected.hlsl
index a33cea4..bd611c7 100644
--- a/test/intrinsics/gen/smoothStep/658be3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/smoothStep/658be3.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void smoothStep_658be3() {
float3 res = smoothstep(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
smoothStep_658be3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
smoothStep_658be3();
return;
}
-
diff --git a/test/intrinsics/gen/smoothStep/c11eef.wgsl.expected.hlsl b/test/intrinsics/gen/smoothStep/c11eef.wgsl.expected.hlsl
index a4e9542..236ec14 100644
--- a/test/intrinsics/gen/smoothStep/c11eef.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/smoothStep/c11eef.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void smoothStep_c11eef() {
float2 res = smoothstep(float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
smoothStep_c11eef();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
smoothStep_c11eef();
return;
}
-
diff --git a/test/intrinsics/gen/smoothStep/cb0bfb.wgsl.expected.hlsl b/test/intrinsics/gen/smoothStep/cb0bfb.wgsl.expected.hlsl
index 02c8d1e..c8b54f7 100644
--- a/test/intrinsics/gen/smoothStep/cb0bfb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/smoothStep/cb0bfb.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void smoothStep_cb0bfb() {
float res = smoothstep(1.0f, 1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
smoothStep_cb0bfb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
smoothStep_cb0bfb();
return;
}
-
diff --git a/test/intrinsics/gen/sqrt/20c74e.wgsl.expected.hlsl b/test/intrinsics/gen/sqrt/20c74e.wgsl.expected.hlsl
index b6b6c4b..99eda3e 100644
--- a/test/intrinsics/gen/sqrt/20c74e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sqrt/20c74e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sqrt_20c74e() {
float res = sqrt(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sqrt_20c74e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sqrt_20c74e();
return;
}
-
diff --git a/test/intrinsics/gen/sqrt/8c7024.wgsl.expected.hlsl b/test/intrinsics/gen/sqrt/8c7024.wgsl.expected.hlsl
index f6ac0f0..d829840 100644
--- a/test/intrinsics/gen/sqrt/8c7024.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sqrt/8c7024.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sqrt_8c7024() {
float2 res = sqrt(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sqrt_8c7024();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sqrt_8c7024();
return;
}
-
diff --git a/test/intrinsics/gen/sqrt/aa0d7a.wgsl.expected.hlsl b/test/intrinsics/gen/sqrt/aa0d7a.wgsl.expected.hlsl
index 9ba1434..72054cf 100644
--- a/test/intrinsics/gen/sqrt/aa0d7a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sqrt/aa0d7a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sqrt_aa0d7a() {
float4 res = sqrt(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sqrt_aa0d7a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sqrt_aa0d7a();
return;
}
-
diff --git a/test/intrinsics/gen/sqrt/f8c59a.wgsl.expected.hlsl b/test/intrinsics/gen/sqrt/f8c59a.wgsl.expected.hlsl
index 9ccbfea..adf5402 100644
--- a/test/intrinsics/gen/sqrt/f8c59a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/sqrt/f8c59a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void sqrt_f8c59a() {
float3 res = sqrt(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
sqrt_f8c59a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
sqrt_f8c59a();
return;
}
-
diff --git a/test/intrinsics/gen/step/0b073b.wgsl.expected.hlsl b/test/intrinsics/gen/step/0b073b.wgsl.expected.hlsl
index 3eff0d8..be42d83 100644
--- a/test/intrinsics/gen/step/0b073b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/step/0b073b.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void step_0b073b() {
float res = step(1.0f, 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
step_0b073b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
step_0b073b();
return;
}
-
diff --git a/test/intrinsics/gen/step/19accd.wgsl.expected.hlsl b/test/intrinsics/gen/step/19accd.wgsl.expected.hlsl
index c2bd85b..cffd53c 100644
--- a/test/intrinsics/gen/step/19accd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/step/19accd.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void step_19accd() {
float2 res = step(float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
step_19accd();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
step_19accd();
return;
}
-
diff --git a/test/intrinsics/gen/step/334303.wgsl.expected.hlsl b/test/intrinsics/gen/step/334303.wgsl.expected.hlsl
index 9e76fdc..3020166 100644
--- a/test/intrinsics/gen/step/334303.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/step/334303.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void step_334303() {
float3 res = step(float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
step_334303();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
step_334303();
return;
}
-
diff --git a/test/intrinsics/gen/step/e2b337.wgsl.expected.hlsl b/test/intrinsics/gen/step/e2b337.wgsl.expected.hlsl
index 8faf236..ee8706a 100644
--- a/test/intrinsics/gen/step/e2b337.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/step/e2b337.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void step_e2b337() {
float4 res = step(float4(0.0f, 0.0f, 0.0f, 0.0f), float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
step_e2b337();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
step_e2b337();
return;
}
-
diff --git a/test/intrinsics/gen/storageBarrier/d87211.wgsl.expected.hlsl b/test/intrinsics/gen/storageBarrier/d87211.wgsl.expected.hlsl
index 1f80dfc..8fb7cf9 100644
--- a/test/intrinsics/gen/storageBarrier/d87211.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/storageBarrier/d87211.wgsl.expected.hlsl
@@ -7,4 +7,3 @@
storageBarrier_d87211();
return;
}
-
diff --git a/test/intrinsics/gen/tan/244e2a.wgsl.expected.hlsl b/test/intrinsics/gen/tan/244e2a.wgsl.expected.hlsl
index 747de61..2d1c99d 100644
--- a/test/intrinsics/gen/tan/244e2a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/tan/244e2a.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void tan_244e2a() {
float4 res = tan(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
tan_244e2a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
tan_244e2a();
return;
}
-
diff --git a/test/intrinsics/gen/tan/2f030e.wgsl.expected.hlsl b/test/intrinsics/gen/tan/2f030e.wgsl.expected.hlsl
index 3b74399..eb6676d 100644
--- a/test/intrinsics/gen/tan/2f030e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/tan/2f030e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void tan_2f030e() {
float res = tan(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
tan_2f030e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
tan_2f030e();
return;
}
-
diff --git a/test/intrinsics/gen/tan/7ea104.wgsl.expected.hlsl b/test/intrinsics/gen/tan/7ea104.wgsl.expected.hlsl
index 31def87..8c0c860 100644
--- a/test/intrinsics/gen/tan/7ea104.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/tan/7ea104.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void tan_7ea104() {
float3 res = tan(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
tan_7ea104();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
tan_7ea104();
return;
}
-
diff --git a/test/intrinsics/gen/tan/8ce3e9.wgsl.expected.hlsl b/test/intrinsics/gen/tan/8ce3e9.wgsl.expected.hlsl
index be458f9..e916d83 100644
--- a/test/intrinsics/gen/tan/8ce3e9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/tan/8ce3e9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void tan_8ce3e9() {
float2 res = tan(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
tan_8ce3e9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
tan_8ce3e9();
return;
}
-
diff --git a/test/intrinsics/gen/tanh/5663c5.wgsl.expected.hlsl b/test/intrinsics/gen/tanh/5663c5.wgsl.expected.hlsl
index 6579c41..1a2fc3f 100644
--- a/test/intrinsics/gen/tanh/5663c5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/tanh/5663c5.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void tanh_5663c5() {
float4 res = tanh(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
tanh_5663c5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
tanh_5663c5();
return;
}
-
diff --git a/test/intrinsics/gen/tanh/5724b3.wgsl.expected.hlsl b/test/intrinsics/gen/tanh/5724b3.wgsl.expected.hlsl
index 950b4b9..ad42edb 100644
--- a/test/intrinsics/gen/tanh/5724b3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/tanh/5724b3.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void tanh_5724b3() {
float2 res = tanh(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
tanh_5724b3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
tanh_5724b3();
return;
}
-
diff --git a/test/intrinsics/gen/tanh/9f9fb9.wgsl.expected.hlsl b/test/intrinsics/gen/tanh/9f9fb9.wgsl.expected.hlsl
index c37aa5f..8f371b3 100644
--- a/test/intrinsics/gen/tanh/9f9fb9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/tanh/9f9fb9.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void tanh_9f9fb9() {
float3 res = tanh(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
tanh_9f9fb9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
tanh_9f9fb9();
return;
}
-
diff --git a/test/intrinsics/gen/tanh/c15fdb.wgsl.expected.hlsl b/test/intrinsics/gen/tanh/c15fdb.wgsl.expected.hlsl
index ec2388c..bbf0e4a 100644
--- a/test/intrinsics/gen/tanh/c15fdb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/tanh/c15fdb.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void tanh_c15fdb() {
float res = tanh(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
tanh_c15fdb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
tanh_c15fdb();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.hlsl
index edcde32..73b274c 100644
--- a/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/002b2a.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureDimensions_002b2a() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_002b2a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_002b2a();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.hlsl
index 378682f..1c7d1f7 100644
--- a/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/012b82.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureDimensions_012b82() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_012b82();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_012b82();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.hlsl
index 4f438e3..45a46bb 100644
--- a/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/08753d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureDimensions_08753d() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_08753d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_08753d();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/08a62e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/08a62e.wgsl.expected.hlsl
index ce1b111..bcecfaa 100644
--- a/test/intrinsics/gen/textureDimensions/08a62e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/08a62e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureDimensions_08a62e() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_08a62e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_08a62e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/0a5fcf.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/0a5fcf.wgsl.expected.hlsl
index 2142950..e5c665f 100644
--- a/test/intrinsics/gen/textureDimensions/0a5fcf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/0a5fcf.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureDimensions_0a5fcf() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_0a5fcf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_0a5fcf();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/0bab57.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/0bab57.wgsl.expected.hlsl
index d14bed1..b45ebd3 100644
--- a/test/intrinsics/gen/textureDimensions/0bab57.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/0bab57.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureDimensions_0bab57() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_0bab57();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_0bab57();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.hlsl
index faf837d..e006c2b 100644
--- a/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/0c4772.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureDimensions_0c4772() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_0c4772();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_0c4772();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.hlsl
index c6df8d0..beb2252 100644
--- a/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/0cce40.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureDimensions_0cce40() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_0cce40();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_0cce40();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.hlsl
index b056688..b992d4a 100644
--- a/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/0cf2ff.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureDimensions_0cf2ff() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_0cf2ff();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_0cf2ff();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.hlsl
index 4688a7e..dc8a03d 100644
--- a/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/0d8b7e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureDimensions_0d8b7e() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_0d8b7e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_0d8b7e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.hlsl
index 29e863d..2c67f2a 100644
--- a/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/0e32ee.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureDimensions_0e32ee() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_0e32ee();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_0e32ee();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.hlsl
index 9421283..95257b8 100644
--- a/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/0f3c50.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureDimensions_0f3c50() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_0f3c50();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_0f3c50();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1147d6.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1147d6.wgsl.expected.hlsl
index 7d82574..9fe6d63 100644
--- a/test/intrinsics/gen/textureDimensions/1147d6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1147d6.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureDimensions_1147d6() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1147d6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1147d6();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.hlsl
index b07629e..facdaf8 100644
--- a/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1191a5.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureDimensions_1191a5() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1191a5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1191a5();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.hlsl
index fbcb7c7..5ad05e3 100644
--- a/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/12c9bb.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
void textureDimensions_12c9bb() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_12c9bb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_12c9bb();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.hlsl
index ccf858b..f474a68 100644
--- a/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/147998.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureDimensions_147998() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_147998();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_147998();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.hlsl
index 2b718eb..262a1f4 100644
--- a/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/16036c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureDimensions_16036c() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_16036c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_16036c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/168fcc.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/168fcc.wgsl.expected.hlsl
index f1b9dff..c7695cc 100644
--- a/test/intrinsics/gen/textureDimensions/168fcc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/168fcc.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_168fcc() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_168fcc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_168fcc();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/183b3e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/183b3e.wgsl.expected.hlsl
index 0aee4e9..9c73c8c 100644
--- a/test/intrinsics/gen/textureDimensions/183b3e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/183b3e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_183b3e() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_183b3e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_183b3e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/18bd57.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/18bd57.wgsl.expected.hlsl
index 343ba45..4aad0e3 100644
--- a/test/intrinsics/gen/textureDimensions/18bd57.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/18bd57.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_18bd57() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_18bd57();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_18bd57();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/19bffc.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/19bffc.wgsl.expected.hlsl
index abf1f04..b128367 100644
--- a/test/intrinsics/gen/textureDimensions/19bffc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/19bffc.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureDimensions_19bffc() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_19bffc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_19bffc();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1a58e7.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1a58e7.wgsl.expected.hlsl
index 7e5c2b4..c3d3c07 100644
--- a/test/intrinsics/gen/textureDimensions/1a58e7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1a58e7.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureDimensions_1a58e7() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1a58e7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1a58e7();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1aa199.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1aa199.wgsl.expected.hlsl
index 1c77f9f..2d7bddf 100644
--- a/test/intrinsics/gen/textureDimensions/1aa199.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1aa199.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureDimensions_1aa199() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1aa199();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1aa199();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.hlsl
index c57db86..81010d5 100644
--- a/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1b71f0.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureDimensions_1b71f0() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1b71f0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1b71f0();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.hlsl
index f9e2114..5b30fd0 100644
--- a/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1d6c26.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureDimensions_1d6c26() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1d6c26();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1d6c26();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1e189c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1e189c.wgsl.expected.hlsl
index f8ba104..55e5f43 100644
--- a/test/intrinsics/gen/textureDimensions/1e189c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1e189c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureDimensions_1e189c() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1e189c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1e189c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.hlsl
index d4dcf6a..5c5a6f8 100644
--- a/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1e9e39.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureDimensions_1e9e39() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1e9e39();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1e9e39();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1ebd6a.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1ebd6a.wgsl.expected.hlsl
index 6787aab..ea2613e 100644
--- a/test/intrinsics/gen/textureDimensions/1ebd6a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1ebd6a.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<uint4> arg_0 : register(t0, space1);
void textureDimensions_1ebd6a() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1ebd6a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1ebd6a();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.hlsl
index 5246f41..6ce76cc 100644
--- a/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/1f20c5.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_1f20c5() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_1f20c5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_1f20c5();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/214b7b.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/214b7b.wgsl.expected.hlsl
index 422b814..b4a5c47 100644
--- a/test/intrinsics/gen/textureDimensions/214b7b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/214b7b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureDimensions_214b7b() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_214b7b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_214b7b();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.hlsl
index 75222f5..33fdaff 100644
--- a/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/214dd4.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureDimensions_214dd4() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_214dd4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_214dd4();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.hlsl
index be0ec88..721563b 100644
--- a/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/267788.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_267788() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_267788();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_267788();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.hlsl
index 2b9a1f7..d57ccb4 100644
--- a/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/26bdfa.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureDimensions_26bdfa() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyz;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_26bdfa();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_26bdfa();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.hlsl
index 61a8a42..6b67d88 100644
--- a/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/26ef6c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureDimensions_26ef6c() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_26ef6c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_26ef6c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.hlsl
index e9602c3..27d99d4 100644
--- a/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/2ad087.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureDimensions_2ad087() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_2ad087();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_2ad087();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/2d32ae.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/2d32ae.wgsl.expected.hlsl
index e7f0854..a4f6198 100644
--- a/test/intrinsics/gen/textureDimensions/2d32ae.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/2d32ae.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureDimensions_2d32ae() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_2d32ae();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_2d32ae();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/2e0662.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/2e0662.wgsl.expected.hlsl
index 014e321..02bbad5 100644
--- a/test/intrinsics/gen/textureDimensions/2e0662.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/2e0662.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_2e0662() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_2e0662();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_2e0662();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.hlsl
index a3c3f0e..03b2311 100644
--- a/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/2efa05.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureDimensions_2efa05() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyz;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_2efa05();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_2efa05();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.hlsl
index 72b6b64..4e736ec 100644
--- a/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/2f289f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureDimensions_2f289f() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_2f289f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_2f289f();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.hlsl
index 54c9ce3..183b27b 100644
--- a/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/2fe1cc.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_2fe1cc() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_2fe1cc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_2fe1cc();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.hlsl
index 4976ca7..b9fc885 100644
--- a/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/318ecc.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureDimensions_318ecc() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_318ecc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_318ecc();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.hlsl
index 700259c..6643e90 100644
--- a/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/340d06.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureDimensions_340d06() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_340d06();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_340d06();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.hlsl
index 7db71a8..44e97e5 100644
--- a/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/398e30.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureDimensions_398e30() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_398e30();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_398e30();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/39a600.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/39a600.wgsl.expected.hlsl
index 630e3fc..2f4c809 100644
--- a/test/intrinsics/gen/textureDimensions/39a600.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/39a600.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureDimensions_39a600() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_39a600();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_39a600();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.hlsl
index 3b41938..43c1adc 100644
--- a/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/3a94ea.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureDimensions_3a94ea() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_3a94ea();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_3a94ea();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.hlsl
index 9584a88..0c27bc4 100644
--- a/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/3aca08.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureDimensions_3aca08() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_3aca08();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_3aca08();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.hlsl
index a3b9ba6..9cce3f4 100644
--- a/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/3c5ad8.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureDimensions_3c5ad8() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_3c5ad8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_3c5ad8();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/3d5817.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/3d5817.wgsl.expected.hlsl
index d54a083..6b0146c 100644
--- a/test/intrinsics/gen/textureDimensions/3d5817.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/3d5817.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureDimensions_3d5817() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_3d5817();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_3d5817();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/3e0403.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/3e0403.wgsl.expected.hlsl
index 6f38405..27b35b9 100644
--- a/test/intrinsics/gen/textureDimensions/3e0403.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/3e0403.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<float4> arg_0 : register(t0, space1);
void textureDimensions_3e0403() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_3e0403();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_3e0403();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/3e626d.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/3e626d.wgsl.expected.hlsl
index d71ed54..aef0025 100644
--- a/test/intrinsics/gen/textureDimensions/3e626d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/3e626d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray arg_0 : register(t0, space1);
void textureDimensions_3e626d() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_3e626d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_3e626d();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/40bc10.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/40bc10.wgsl.expected.hlsl
index 8a30fc1..629907a 100644
--- a/test/intrinsics/gen/textureDimensions/40bc10.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/40bc10.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureDimensions_40bc10() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_40bc10();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_40bc10();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.hlsl
index 17a6923..a806234 100644
--- a/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/423f99.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureDimensions_423f99() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_423f99();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_423f99();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.hlsl
index ff9767f..3946e1a 100644
--- a/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/4267ee.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureDimensions_4267ee() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_4267ee();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_4267ee();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.hlsl
index 80fa6e9..973565b 100644
--- a/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/42d4e6.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureDimensions_42d4e6() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_42d4e6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_42d4e6();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/441392.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/441392.wgsl.expected.hlsl
index 2b0e416..3c39a18 100644
--- a/test/intrinsics/gen/textureDimensions/441392.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/441392.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureDimensions_441392() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_441392();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_441392();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.hlsl
index 6cdc61b..04effaf 100644
--- a/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/48cb89.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureDimensions_48cb89() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_48cb89();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_48cb89();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/48cbb2.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/48cbb2.wgsl.expected.hlsl
index 6862ef8..ae064b8 100644
--- a/test/intrinsics/gen/textureDimensions/48cbb2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/48cbb2.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureDimensions_48cbb2() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_48cbb2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_48cbb2();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/48f360.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/48f360.wgsl.expected.hlsl
index 91c03e9..ebacb24 100644
--- a/test/intrinsics/gen/textureDimensions/48f360.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/48f360.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureDimensions_48f360() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_48f360();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_48f360();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.hlsl
index dd20f99..52f3fb5 100644
--- a/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/49d274.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureDimensions_49d274() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_49d274();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_49d274();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.hlsl
index 86ee9db..288e0ca 100644
--- a/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/4df9a8.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureDimensions_4df9a8() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_4df9a8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_4df9a8();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.hlsl
index 85b4ecf..cdf6e23 100644
--- a/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/55b23e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureDimensions_55b23e() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_55b23e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_55b23e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/56ccfa.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/56ccfa.wgsl.expected.hlsl
index e90beec..f13cc2c 100644
--- a/test/intrinsics/gen/textureDimensions/56ccfa.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/56ccfa.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureDimensions_56ccfa() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_56ccfa();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_56ccfa();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/579629.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/579629.wgsl.expected.hlsl
index a45f676..0bff944 100644
--- a/test/intrinsics/gen/textureDimensions/579629.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/579629.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<uint4> arg_0 : register(t0, space1);
void textureDimensions_579629() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_579629();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_579629();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.hlsl
index f28db4a..cf0919e 100644
--- a/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/57da0b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureDimensions_57da0b() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_57da0b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_57da0b();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/57e7b3.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/57e7b3.wgsl.expected.hlsl
index 649a074..a28cfb9 100644
--- a/test/intrinsics/gen/textureDimensions/57e7b3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/57e7b3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureDimensions_57e7b3() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_57e7b3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_57e7b3();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.hlsl
index fd0bbea..de43df1 100644
--- a/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/58a515.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureDimensions_58a515() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_58a515();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_58a515();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.hlsl
index c6847f1..c04ecb4 100644
--- a/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/5985f3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureDimensions_5985f3() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_5985f3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_5985f3();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.hlsl
index f4f6e3b..1818f10 100644
--- a/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/5caa5e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureDimensions_5caa5e() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_5caa5e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_5caa5e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.hlsl
index e538f63..6130200 100644
--- a/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/5e295d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureDimensions_5e295d() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_5e295d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_5e295d();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/5ec4e1.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/5ec4e1.wgsl.expected.hlsl
index 5f11e27..8220a44 100644
--- a/test/intrinsics/gen/textureDimensions/5ec4e1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/5ec4e1.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<uint4> arg_0 : register(t0, space1);
void textureDimensions_5ec4e1() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_5ec4e1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_5ec4e1();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.hlsl
index 5038d47..c6cccc9 100644
--- a/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/60bf54.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureDimensions_60bf54() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_60bf54();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_60bf54();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.hlsl
index a9de7f8..16e4e0b 100644
--- a/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/63f3cf.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureDimensions_63f3cf() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_63f3cf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_63f3cf();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/66dc4e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/66dc4e.wgsl.expected.hlsl
index 476c3f6..f5a65dd 100644
--- a/test/intrinsics/gen/textureDimensions/66dc4e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/66dc4e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureDimensions_66dc4e() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_66dc4e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_66dc4e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/670d90.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/670d90.wgsl.expected.hlsl
index 0c7b7ce..72494c9 100644
--- a/test/intrinsics/gen/textureDimensions/670d90.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/670d90.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureDimensions_670d90() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_670d90();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_670d90();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.hlsl
index 47d4573..4e4d61e 100644
--- a/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/68105c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureDimensions_68105c() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_68105c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_68105c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.hlsl
index 4e00737..4319d82 100644
--- a/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/6adac6.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureDimensions_6adac6() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_6adac6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_6adac6();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/6c08ab.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/6c08ab.wgsl.expected.hlsl
index f8e730c..ab27c7b 100644
--- a/test/intrinsics/gen/textureDimensions/6c08ab.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/6c08ab.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureDimensions_6c08ab() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_6c08ab();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_6c08ab();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/6e2d12.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/6e2d12.wgsl.expected.hlsl
index 9d87135..16756e5 100644
--- a/test/intrinsics/gen/textureDimensions/6e2d12.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/6e2d12.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureDimensions_6e2d12() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_6e2d12();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_6e2d12();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.hlsl
index 7bba929..b72ef5b 100644
--- a/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/6ec1b4.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureDimensions_6ec1b4() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_6ec1b4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_6ec1b4();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.hlsl
index 060565b..4ae5623 100644
--- a/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/6f0d79.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureDimensions_6f0d79() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_6f0d79();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_6f0d79();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.hlsl
index c322459..fa6c8d4 100644
--- a/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/702c53.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureDimensions_702c53() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_702c53();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_702c53();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/70e26a.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/70e26a.wgsl.expected.hlsl
index 509cbe6..5d73615 100644
--- a/test/intrinsics/gen/textureDimensions/70e26a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/70e26a.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureDimensions_70e26a() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_70e26a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_70e26a();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/71e8f7.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/71e8f7.wgsl.expected.hlsl
index a1121b7..1768d0d 100644
--- a/test/intrinsics/gen/textureDimensions/71e8f7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/71e8f7.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureDimensions_71e8f7() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_71e8f7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_71e8f7();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.hlsl
index 85ff2aa..21afa32 100644
--- a/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/72e5d6.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
void textureDimensions_72e5d6() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_72e5d6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_72e5d6();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/75be9d.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/75be9d.wgsl.expected.hlsl
index 4518519..57f519e 100644
--- a/test/intrinsics/gen/textureDimensions/75be9d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/75be9d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<float4> arg_0 : register(t0, space1);
void textureDimensions_75be9d() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_75be9d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_75be9d();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/76e722.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/76e722.wgsl.expected.hlsl
index 23371c9..9f7983b 100644
--- a/test/intrinsics/gen/textureDimensions/76e722.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/76e722.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube arg_0 : register(t0, space1);
void textureDimensions_76e722() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_76e722();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_76e722();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/770103.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/770103.wgsl.expected.hlsl
index 69fdd99..3df768f 100644
--- a/test/intrinsics/gen/textureDimensions/770103.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/770103.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureDimensions_770103() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_770103();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_770103();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/7bb707.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/7bb707.wgsl.expected.hlsl
index ff67876..0010c33 100644
--- a/test/intrinsics/gen/textureDimensions/7bb707.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/7bb707.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<int4> arg_0 : register(t0, space1);
void textureDimensions_7bb707() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_7bb707();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_7bb707();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.hlsl
index cd4a7f5..ee84547 100644
--- a/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/7bf826.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
void textureDimensions_7bf826() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_7bf826();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_7bf826();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.hlsl
index e52ce55..0318e50 100644
--- a/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/7f5c2e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureDimensions_7f5c2e() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_7f5c2e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_7f5c2e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.hlsl
index 04a45e6..0701af9 100644
--- a/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/8028f3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureDimensions_8028f3() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_8028f3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_8028f3();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.hlsl
index 566b02c..c1ccc4f 100644
--- a/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/811679.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureDimensions_811679() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_811679();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_811679();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.hlsl
index 82362a9..6175f41 100644
--- a/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/820596.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureDimensions_820596() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_820596();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_820596();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/82138e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/82138e.wgsl.expected.hlsl
index cd6085f..0dbe912 100644
--- a/test/intrinsics/gen/textureDimensions/82138e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/82138e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureDimensions_82138e() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_82138e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_82138e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/8347ab.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/8347ab.wgsl.expected.hlsl
index 764a3be..c5d0901 100644
--- a/test/intrinsics/gen/textureDimensions/8347ab.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/8347ab.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureDimensions_8347ab() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_8347ab();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_8347ab();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.hlsl
index 2d5bed0..b1d9086 100644
--- a/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/83ee5a.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureDimensions_83ee5a() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_83ee5a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_83ee5a();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.hlsl
index e028f7c..79ffdeb 100644
--- a/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/85d556.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureDimensions_85d556() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_85d556();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_85d556();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/8799ee.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/8799ee.wgsl.expected.hlsl
index ee449f0..86b3b89 100644
--- a/test/intrinsics/gen/textureDimensions/8799ee.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/8799ee.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureDimensions_8799ee() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_8799ee();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_8799ee();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/89a864.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/89a864.wgsl.expected.hlsl
index 1b6ca0a..64aa384 100644
--- a/test/intrinsics/gen/textureDimensions/89a864.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/89a864.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_89a864() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_89a864();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_89a864();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.hlsl
index de03454..06cb050 100644
--- a/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/8aa4c4.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureDimensions_8aa4c4() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_8aa4c4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_8aa4c4();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/8b4fff.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/8b4fff.wgsl.expected.hlsl
index 548895b..beaf14b 100644
--- a/test/intrinsics/gen/textureDimensions/8b4fff.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/8b4fff.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureDimensions_8b4fff() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_8b4fff();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_8b4fff();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/8d89f8.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/8d89f8.wgsl.expected.hlsl
index b6af49c..087075d 100644
--- a/test/intrinsics/gen/textureDimensions/8d89f8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/8d89f8.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureDimensions_8d89f8() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_8d89f8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_8d89f8();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.hlsl
index fc59c20..b93b2ff 100644
--- a/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/8deb5e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureDimensions_8deb5e() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_8deb5e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_8deb5e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.hlsl
index dbacbfd..2b26ad0 100644
--- a/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/8fca0f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureDimensions_8fca0f() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_8fca0f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_8fca0f();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.hlsl
index 282b6bc..42922ef 100644
--- a/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/9042ab.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureDimensions_9042ab() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_9042ab();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_9042ab();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/91f42d.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/91f42d.wgsl.expected.hlsl
index 6466284..1f1cf45 100644
--- a/test/intrinsics/gen/textureDimensions/91f42d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/91f42d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_91f42d() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_91f42d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_91f42d();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/924742.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/924742.wgsl.expected.hlsl
index d37de9d..b7678f6 100644
--- a/test/intrinsics/gen/textureDimensions/924742.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/924742.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureDimensions_924742() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_924742();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_924742();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/92ad20.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/92ad20.wgsl.expected.hlsl
index 13de281..6c4dc92 100644
--- a/test/intrinsics/gen/textureDimensions/92ad20.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/92ad20.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureDimensions_92ad20() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_92ad20();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_92ad20();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.hlsl
index 38786a8..51a58d5 100644
--- a/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/939fdb.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
void textureDimensions_939fdb() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_939fdb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_939fdb();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/9572e5.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/9572e5.wgsl.expected.hlsl
index 0e529a0..5cffe3f 100644
--- a/test/intrinsics/gen/textureDimensions/9572e5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/9572e5.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureDimensions_9572e5() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_9572e5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_9572e5();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/998f6b.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/998f6b.wgsl.expected.hlsl
index 3d3813e..db80a85 100644
--- a/test/intrinsics/gen/textureDimensions/998f6b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/998f6b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_998f6b() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_998f6b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_998f6b();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.hlsl
index eafa206..59d549b 100644
--- a/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/9abfe5.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureDimensions_9abfe5() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_9abfe5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_9abfe5();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.hlsl
index 2b71c0a..6c71a9c 100644
--- a/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/9c9c57.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureDimensions_9c9c57() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_9c9c57();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_9c9c57();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.hlsl
index 65426e4..516614a 100644
--- a/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/9da9e2.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureDimensions_9da9e2() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_9da9e2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_9da9e2();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.hlsl
index 48afe18..20c1bd7 100644
--- a/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/9eb8d8.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureDimensions_9eb8d8() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_9eb8d8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_9eb8d8();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.hlsl
index 865eb30..376e017 100644
--- a/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/9f8e46.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_9f8e46() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_9f8e46();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_9f8e46();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/a0aad1.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/a0aad1.wgsl.expected.hlsl
index 03d4ed9..2823ef6 100644
--- a/test/intrinsics/gen/textureDimensions/a0aad1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/a0aad1.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureDimensions_a0aad1() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_a0aad1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_a0aad1();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/a0e4ec.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/a0e4ec.wgsl.expected.hlsl
index 9e7545b..17f92cc 100644
--- a/test/intrinsics/gen/textureDimensions/a0e4ec.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/a0e4ec.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureDimensions_a0e4ec() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_a0e4ec();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_a0e4ec();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/a6ca1c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/a6ca1c.wgsl.expected.hlsl
index 3f542da..51f6a0b 100644
--- a/test/intrinsics/gen/textureDimensions/a6ca1c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/a6ca1c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube arg_0 : register(t0, space1);
void textureDimensions_a6ca1c() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_a6ca1c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_a6ca1c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.hlsl
index 025145a..d07cc4d 100644
--- a/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/a7d565.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureDimensions_a7d565() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_a7d565();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_a7d565();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.hlsl
index ebc454c..1966fdf 100644
--- a/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/a863f2.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureDimensions_a863f2() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_a863f2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_a863f2();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/ae457f.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/ae457f.wgsl.expected.hlsl
index ca16cd7..134eea5 100644
--- a/test/intrinsics/gen/textureDimensions/ae457f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/ae457f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_ae457f() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_ae457f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_ae457f();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.hlsl
index 5e7a354..99cf9a3 100644
--- a/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/b0e16d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureDimensions_b0e16d() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_b0e16d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_b0e16d();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.hlsl
index c5f0e3e..df91bd8 100644
--- a/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/b91240.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureDimensions_b91240() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_b91240();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_b91240();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.hlsl
index 4fdd172..6f1312d 100644
--- a/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/ba1481.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_ba1481() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_ba1481();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_ba1481();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/ba6e15.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/ba6e15.wgsl.expected.hlsl
index 3da4821..8ddceca 100644
--- a/test/intrinsics/gen/textureDimensions/ba6e15.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/ba6e15.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_ba6e15() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_ba6e15();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_ba6e15();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.hlsl
index 830d2b5..32e4fa0 100644
--- a/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/bb3dde.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureDimensions_bb3dde() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_bb3dde();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_bb3dde();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/bdf2ee.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/bdf2ee.wgsl.expected.hlsl
index 0864e71..0d2ed89 100644
--- a/test/intrinsics/gen/textureDimensions/bdf2ee.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/bdf2ee.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray arg_0 : register(t0, space1);
void textureDimensions_bdf2ee() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_bdf2ee();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_bdf2ee();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/c2215f.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/c2215f.wgsl.expected.hlsl
index a0bf314..46aecf6 100644
--- a/test/intrinsics/gen/textureDimensions/c2215f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/c2215f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureDimensions_c2215f() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_c2215f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_c2215f();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.hlsl
index 187d499..2c572f8 100644
--- a/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/c30e75.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureDimensions_c30e75() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_c30e75();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_c30e75();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/c60b66.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/c60b66.wgsl.expected.hlsl
index 25d2b08..1a27212 100644
--- a/test/intrinsics/gen/textureDimensions/c60b66.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/c60b66.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureDimensions_c60b66() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_c60b66();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_c60b66();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/c74533.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/c74533.wgsl.expected.hlsl
index 447186a..7fe1132 100644
--- a/test/intrinsics/gen/textureDimensions/c74533.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/c74533.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureDimensions_c74533() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_c74533();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_c74533();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.hlsl
index a5d7e28..0dca855 100644
--- a/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/c7943d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureDimensions_c7943d() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_c7943d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_c7943d();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/caaabb.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/caaabb.wgsl.expected.hlsl
index fae0f87..b1571d1 100644
--- a/test/intrinsics/gen/textureDimensions/caaabb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/caaabb.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureDimensions_caaabb() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_caaabb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_caaabb();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cc5478.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cc5478.wgsl.expected.hlsl
index 2fbc2ad..3dd6c4a 100644
--- a/test/intrinsics/gen/textureDimensions/cc5478.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cc5478.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureDimensions_cc5478() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cc5478();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cc5478();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.hlsl
index 48cc885..6f5cbe5 100644
--- a/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cc968c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureDimensions_cc968c() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cc968c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cc968c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cccc17.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cccc17.wgsl.expected.hlsl
index 468f704..3cebd21 100644
--- a/test/intrinsics/gen/textureDimensions/cccc17.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cccc17.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<int4> arg_0 : register(t0, space1);
void textureDimensions_cccc17() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cccc17();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cccc17();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.hlsl
index 2971b4b..3f7daad 100644
--- a/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cccc8f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureDimensions_cccc8f() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cccc8f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cccc8f();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.hlsl
index f616593..f0e67fa 100644
--- a/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cd76a7.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureDimensions_cd76a7() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cd76a7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cd76a7();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cdaff9.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cdaff9.wgsl.expected.hlsl
index 95cb20b..e07a03c 100644
--- a/test/intrinsics/gen/textureDimensions/cdaff9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cdaff9.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureDimensions_cdaff9() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cdaff9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cdaff9();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.hlsl
index 1f10d18..1118928 100644
--- a/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cdf473.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureDimensions_cdf473() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cdf473();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cdf473();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.hlsl
index e99586d..35e10bb 100644
--- a/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cec841.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureDimensions_cec841() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cec841();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cec841();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cf1d42.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cf1d42.wgsl.expected.hlsl
index 49a3eb8..f5333dc 100644
--- a/test/intrinsics/gen/textureDimensions/cf1d42.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cf1d42.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureDimensions_cf1d42() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cf1d42();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cf1d42();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.hlsl
index 1cba320..666d3c0 100644
--- a/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/cf7e43.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureDimensions_cf7e43() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_cf7e43();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_cf7e43();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/d40b9e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/d40b9e.wgsl.expected.hlsl
index 2dd0690..66ac1b7 100644
--- a/test/intrinsics/gen/textureDimensions/d40b9e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/d40b9e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureDimensions_d40b9e() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_d40b9e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_d40b9e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/d4106f.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/d4106f.wgsl.expected.hlsl
index 630ecd7..d79aff5 100644
--- a/test/intrinsics/gen/textureDimensions/d4106f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/d4106f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureDimensions_d4106f() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_d4106f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_d4106f();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/d8f951.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/d8f951.wgsl.expected.hlsl
index bd74f95..b30e569 100644
--- a/test/intrinsics/gen/textureDimensions/d8f951.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/d8f951.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureDimensions_d8f951() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_d8f951();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_d8f951();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/da3099.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/da3099.wgsl.expected.hlsl
index e927c7b..016d1e2 100644
--- a/test/intrinsics/gen/textureDimensions/da3099.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/da3099.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureDimensions_da3099() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_da3099();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_da3099();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/daf7c0.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/daf7c0.wgsl.expected.hlsl
index 9f62901..d6ff20a 100644
--- a/test/intrinsics/gen/textureDimensions/daf7c0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/daf7c0.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<int4> arg_0 : register(t0, space1);
void textureDimensions_daf7c0() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_daf7c0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_daf7c0();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/dba47c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/dba47c.wgsl.expected.hlsl
index 18b7207..355217c 100644
--- a/test/intrinsics/gen/textureDimensions/dba47c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/dba47c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureDimensions_dba47c() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_dba47c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_dba47c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.hlsl
index b85d0a4..91f067a 100644
--- a/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/dc2dd0.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureDimensions_dc2dd0() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_dc2dd0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_dc2dd0();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/e10157.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/e10157.wgsl.expected.hlsl
index ba15033..be41536 100644
--- a/test/intrinsics/gen/textureDimensions/e10157.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/e10157.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureDimensions_e10157() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_e10157();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_e10157();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/e22247.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/e22247.wgsl.expected.hlsl
index b8173a6..77a7186 100644
--- a/test/intrinsics/gen/textureDimensions/e22247.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/e22247.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<int4> arg_0 : register(t0, space1);
void textureDimensions_e22247() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_e22247();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_e22247();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/e93464.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/e93464.wgsl.expected.hlsl
index ce99f9c..24c42c2 100644
--- a/test/intrinsics/gen/textureDimensions/e93464.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/e93464.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureDimensions_e93464() {
@@ -10,6 +6,10 @@
int res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_e93464();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_e93464();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/e9628c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/e9628c.wgsl.expected.hlsl
index ffafc1f..c34ecd5 100644
--- a/test/intrinsics/gen/textureDimensions/e9628c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/e9628c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureDimensions_e9628c() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_e9628c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_e9628c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.hlsl
index b2c594b..596da6d 100644
--- a/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/e9e96c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureDimensions_e9e96c() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_e9e96c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_e9e96c();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/e9fe54.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/e9fe54.wgsl.expected.hlsl
index 562ae94..dedba84 100644
--- a/test/intrinsics/gen/textureDimensions/e9fe54.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/e9fe54.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureDimensions_e9fe54() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_e9fe54();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_e9fe54();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/e9fe58.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/e9fe58.wgsl.expected.hlsl
index ff7df2f..6d7b1fa 100644
--- a/test/intrinsics/gen/textureDimensions/e9fe58.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/e9fe58.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_e9fe58() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_e9fe58();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_e9fe58();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/eda4e3.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/eda4e3.wgsl.expected.hlsl
index 50bf525..fe2d9a2 100644
--- a/test/intrinsics/gen/textureDimensions/eda4e3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/eda4e3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<float4> arg_0 : register(t0, space1);
void textureDimensions_eda4e3() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_eda4e3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_eda4e3();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/ef5b89.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/ef5b89.wgsl.expected.hlsl
index cc597c8..c02956c 100644
--- a/test/intrinsics/gen/textureDimensions/ef5b89.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/ef5b89.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<float4> arg_0 : register(t0, space1);
void textureDimensions_ef5b89() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_ef5b89();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_ef5b89();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.hlsl
index a461b2c..9467dd0 100644
--- a/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/efc8a4.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureDimensions_efc8a4() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyz;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_efc8a4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_efc8a4();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/f1b72b.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/f1b72b.wgsl.expected.hlsl
index 618544b..5063af5 100644
--- a/test/intrinsics/gen/textureDimensions/f1b72b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/f1b72b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_f1b72b() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_f1b72b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_f1b72b();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/f507c9.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/f507c9.wgsl.expected.hlsl
index df608e5..9df6af6 100644
--- a/test/intrinsics/gen/textureDimensions/f507c9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/f507c9.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<float4> arg_0 : register(t0, space1);
void textureDimensions_f507c9() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_f507c9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_f507c9();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/f70326.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/f70326.wgsl.expected.hlsl
index 2a2bd88..3c8fd06 100644
--- a/test/intrinsics/gen/textureDimensions/f70326.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/f70326.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<int4> arg_0 : register(t0, space1);
void textureDimensions_f70326() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp.xyy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_f70326();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_f70326();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.hlsl
index 3d13419..cd43d4d 100644
--- a/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/f7145b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureDimensions_f7145b() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_f7145b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_f7145b();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/f7aa9e.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/f7aa9e.wgsl.expected.hlsl
index 3f90585..de9eff7 100644
--- a/test/intrinsics/gen/textureDimensions/f7aa9e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/f7aa9e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureDimensions_f7aa9e() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_f7aa9e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_f7aa9e();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/f7e436.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/f7e436.wgsl.expected.hlsl
index 0d1a0f3..3023327 100644
--- a/test/intrinsics/gen/textureDimensions/f7e436.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/f7e436.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureDimensions_f7e436() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_f7e436();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_f7e436();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.hlsl
index 2cef0e7..3bcdf4c 100644
--- a/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/f931c7.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureDimensions_f931c7() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_f931c7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_f931c7();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/fa90e1.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/fa90e1.wgsl.expected.hlsl
index d91cb26..43199e2 100644
--- a/test/intrinsics/gen/textureDimensions/fa90e1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/fa90e1.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureDimensions_fa90e1() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_fa90e1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_fa90e1();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.hlsl
index 032a856..f78ea0d 100644
--- a/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/fa9859.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureDimensions_fa9859() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_fa9859();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_fa9859();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.hlsl
index 371a86f..bcd3def 100644
--- a/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/fb5670.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureDimensions_fb5670() {
@@ -10,6 +6,10 @@
int2 res = tint_tmp.xy;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_fb5670();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_fb5670();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/fbbe4d.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/fbbe4d.wgsl.expected.hlsl
index e65ba3e..809ff2a 100644
--- a/test/intrinsics/gen/textureDimensions/fbbe4d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/fbbe4d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureDimensions_fbbe4d() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_fbbe4d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_fbbe4d();
return;
}
-
diff --git a/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.hlsl b/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.hlsl
index e4f8e2d..a10f001 100644
--- a/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureDimensions/fcac78.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureDimensions_fcac78() {
@@ -10,6 +6,10 @@
int3 res = tint_tmp;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureDimensions_fcac78();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureDimensions_fcac78();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/050c33.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/050c33.wgsl.expected.hlsl
index e286d63..7b54b87 100644
--- a/test/intrinsics/gen/textureLoad/050c33.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/050c33.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureLoad_050c33() {
uint4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_050c33();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_050c33();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/072e26.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/072e26.wgsl.expected.hlsl
index 808d51c..815aa93 100644
--- a/test/intrinsics/gen/textureLoad/072e26.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/072e26.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureLoad_072e26() {
float4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_072e26();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_072e26();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/078bc4.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/078bc4.wgsl.expected.hlsl
index 75a3b4e..ef706e2 100644
--- a/test/intrinsics/gen/textureLoad/078bc4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/078bc4.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureLoad_078bc4() {
float4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_078bc4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_078bc4();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/127e12.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/127e12.wgsl.expected.hlsl
index b1efa7f..ddc89cd 100644
--- a/test/intrinsics/gen/textureLoad/127e12.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/127e12.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureLoad_127e12() {
uint4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_127e12();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_127e12();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/1561a7.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/1561a7.wgsl.expected.hlsl
index 74ea856..5cf024c 100644
--- a/test/intrinsics/gen/textureLoad/1561a7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/1561a7.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureLoad_1561a7() {
uint4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_1561a7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_1561a7();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.hlsl
index 5f11c6a..2f11c73 100644
--- a/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/19cf87.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
void textureLoad_19cf87() {
float res = arg_0.Load(int3(0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_19cf87();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_19cf87();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/1a062f.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/1a062f.wgsl.expected.hlsl
index dcdfed8..d5e20cc 100644
--- a/test/intrinsics/gen/textureLoad/1a062f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/1a062f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureLoad_1a062f() {
float4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_1a062f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_1a062f();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/1a8452.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/1a8452.wgsl.expected.hlsl
index 3df19c6..b07f61e 100644
--- a/test/intrinsics/gen/textureLoad/1a8452.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/1a8452.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureLoad_1a8452() {
uint4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_1a8452();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_1a8452();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.hlsl
index 3e094b8..be00fcf 100644
--- a/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/1b8588.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureLoad_1b8588() {
uint4 res = arg_0.Load(int2(1, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_1b8588();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_1b8588();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.hlsl
index d4d2513..84a611d 100644
--- a/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/1f2016.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureLoad_1f2016() {
float4 res = arg_0.Load(int4(0, 0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_1f2016();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_1f2016();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/20fa2f.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/20fa2f.wgsl.expected.hlsl
index addc787..c59ad15 100644
--- a/test/intrinsics/gen/textureLoad/20fa2f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/20fa2f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureLoad_20fa2f() {
float4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_20fa2f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_20fa2f();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/276a2c.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/276a2c.wgsl.expected.hlsl
index aa337f1..aaef20e 100644
--- a/test/intrinsics/gen/textureLoad/276a2c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/276a2c.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureLoad_276a2c() {
uint4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_276a2c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_276a2c();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/2887d7.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/2887d7.wgsl.expected.hlsl
index 9e78927..1b78b0d 100644
--- a/test/intrinsics/gen/textureLoad/2887d7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/2887d7.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureLoad_2887d7() {
float4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_2887d7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_2887d7();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/2ae485.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/2ae485.wgsl.expected.hlsl
index 11ca6c7..2394aa1 100644
--- a/test/intrinsics/gen/textureLoad/2ae485.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/2ae485.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureLoad_2ae485() {
int4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_2ae485();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_2ae485();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/2d6cf7.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/2d6cf7.wgsl.expected.hlsl
index ac1b9b7..d768d39 100644
--- a/test/intrinsics/gen/textureLoad/2d6cf7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/2d6cf7.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureLoad_2d6cf7() {
int4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_2d6cf7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_2d6cf7();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/3c0d9e.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/3c0d9e.wgsl.expected.hlsl
index 74eb0ee..84a3d9a 100644
--- a/test/intrinsics/gen/textureLoad/3c0d9e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/3c0d9e.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureLoad_3c0d9e() {
uint4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_3c0d9e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_3c0d9e();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/3c9587.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/3c9587.wgsl.expected.hlsl
index 3cc65d9..1a674f9 100644
--- a/test/intrinsics/gen/textureLoad/3c9587.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/3c9587.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureLoad_3c9587() {
float4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_3c9587();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_3c9587();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/3d001b.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/3d001b.wgsl.expected.hlsl
index 0919175..530bcb4 100644
--- a/test/intrinsics/gen/textureLoad/3d001b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/3d001b.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureLoad_3d001b() {
int4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_3d001b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_3d001b();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/3d9c90.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/3d9c90.wgsl.expected.hlsl
index e991854..b418f46 100644
--- a/test/intrinsics/gen/textureLoad/3d9c90.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/3d9c90.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureLoad_3d9c90() {
float4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_3d9c90();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_3d9c90();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/484344.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/484344.wgsl.expected.hlsl
index 69a42db..7afc56a 100644
--- a/test/intrinsics/gen/textureLoad/484344.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/484344.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureLoad_484344() {
float4 res = arg_0.Load(int3(0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_484344();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_484344();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.hlsl
index e2cb13e..d686909 100644
--- a/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/4fd803.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureLoad_4fd803() {
int4 res = arg_0.Load(int4(0, 0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_4fd803();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_4fd803();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/505aa2.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/505aa2.wgsl.expected.hlsl
index 587912c..37f4ffc 100644
--- a/test/intrinsics/gen/textureLoad/505aa2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/505aa2.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureLoad_505aa2() {
int4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_505aa2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_505aa2();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/519ab5.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/519ab5.wgsl.expected.hlsl
index 2dbc3ca..32fb575 100644
--- a/test/intrinsics/gen/textureLoad/519ab5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/519ab5.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureLoad_519ab5() {
float4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_519ab5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_519ab5();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/53378a.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/53378a.wgsl.expected.hlsl
index 784f6e4..1907112 100644
--- a/test/intrinsics/gen/textureLoad/53378a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/53378a.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureLoad_53378a() {
int4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_53378a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_53378a();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/560573.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/560573.wgsl.expected.hlsl
index f5ac476..a7904e9 100644
--- a/test/intrinsics/gen/textureLoad/560573.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/560573.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureLoad_560573() {
int4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_560573();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_560573();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/582015.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/582015.wgsl.expected.hlsl
index 42e6c5b..411b526 100644
--- a/test/intrinsics/gen/textureLoad/582015.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/582015.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureLoad_582015() {
int4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_582015();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_582015();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.hlsl
index 26e3af2..c26d43f 100644
--- a/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/5a2f9d.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureLoad_5a2f9d() {
int4 res = arg_0.Load(int2(1, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_5a2f9d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_5a2f9d();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/5bb7fb.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/5bb7fb.wgsl.expected.hlsl
index 3ea73c1..a8ef118 100644
--- a/test/intrinsics/gen/textureLoad/5bb7fb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/5bb7fb.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureLoad_5bb7fb() {
uint4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_5bb7fb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_5bb7fb();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/5d0a2f.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/5d0a2f.wgsl.expected.hlsl
index 5bc1492..af6c9cc 100644
--- a/test/intrinsics/gen/textureLoad/5d0a2f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/5d0a2f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureLoad_5d0a2f() {
uint4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_5d0a2f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_5d0a2f();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.hlsl
index 505dd5b..9cba1a7 100644
--- a/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/6154d4.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureLoad_6154d4() {
uint4 res = arg_0.Load(int3(0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_6154d4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_6154d4();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/62d125.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/62d125.wgsl.expected.hlsl
index a00da07..a6edb57 100644
--- a/test/intrinsics/gen/textureLoad/62d125.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/62d125.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureLoad_62d125() {
float4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_62d125();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_62d125();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/6678b6.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/6678b6.wgsl.expected.hlsl
index 299001d..6ee454e 100644
--- a/test/intrinsics/gen/textureLoad/6678b6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/6678b6.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureLoad_6678b6() {
int4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_6678b6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_6678b6();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/67edca.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/67edca.wgsl.expected.hlsl
index b84fd9e..c4ecf32 100644
--- a/test/intrinsics/gen/textureLoad/67edca.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/67edca.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureLoad_67edca() {
uint4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_67edca();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_67edca();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/749704.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/749704.wgsl.expected.hlsl
index 6e53408..e41d6ef 100644
--- a/test/intrinsics/gen/textureLoad/749704.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/749704.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureLoad_749704() {
uint4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_749704();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_749704();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.hlsl
index de1d8ac..041fa85 100644
--- a/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/79e697.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureLoad_79e697() {
int4 res = arg_0.Load(int4(0, 0, 1, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_79e697();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_79e697();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.hlsl
index bfa8878..262be49 100644
--- a/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/7c90e5.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureLoad_7c90e5() {
uint4 res = arg_0.Load(int4(0, 0, 1, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_7c90e5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_7c90e5();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.hlsl
index a998818..577804d 100644
--- a/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/81c381.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureLoad_81c381() {
float4 res = arg_0.Load(int2(1, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_81c381();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_81c381();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/83cea4.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/83cea4.wgsl.expected.hlsl
index 57b1ada..72b87f2 100644
--- a/test/intrinsics/gen/textureLoad/83cea4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/83cea4.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<uint4> arg_0 : register(t0, space1);
void textureLoad_83cea4() {
uint4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_83cea4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_83cea4();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.hlsl
index 80ebe74..5a67763 100644
--- a/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/87be85.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureLoad_87be85() {
float4 res = arg_0.Load(int4(0, 0, 1, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_87be85();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_87be85();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.hlsl
index 66a7786..f11e717 100644
--- a/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/8acf41.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureLoad_8acf41() {
float4 res = arg_0.Load(int3(0, 0, 0), 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_8acf41();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_8acf41();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/8e5032.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/8e5032.wgsl.expected.hlsl
index 835ba46..4144de5 100644
--- a/test/intrinsics/gen/textureLoad/8e5032.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/8e5032.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureLoad_8e5032() {
uint4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_8e5032();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_8e5032();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/936952.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/936952.wgsl.expected.hlsl
index 6d6f30e..c012aee 100644
--- a/test/intrinsics/gen/textureLoad/936952.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/936952.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureLoad_936952() {
float4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_936952();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_936952();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/9a7c90.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/9a7c90.wgsl.expected.hlsl
index 827f787..3a0312e 100644
--- a/test/intrinsics/gen/textureLoad/9a7c90.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/9a7c90.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureLoad_9a7c90() {
uint4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_9a7c90();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_9a7c90();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.hlsl
index 2152818..d41bf8b 100644
--- a/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/9b2667.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
void textureLoad_9b2667() {
float res = arg_0.Load(int4(0, 0, 1, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_9b2667();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_9b2667();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/9c2a14.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/9c2a14.wgsl.expected.hlsl
index 276225f..6ef7b72 100644
--- a/test/intrinsics/gen/textureLoad/9c2a14.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/9c2a14.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureLoad_9c2a14() {
float4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_9c2a14();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_9c2a14();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/a583c9.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/a583c9.wgsl.expected.hlsl
index eb15d89..df3f8ed 100644
--- a/test/intrinsics/gen/textureLoad/a583c9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/a583c9.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<float4> arg_0 : register(t0, space1);
void textureLoad_a583c9() {
float4 res = arg_0.Load(int3(0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_a583c9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_a583c9();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/a6a85a.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/a6a85a.wgsl.expected.hlsl
index 7d1daa3..2ea779c 100644
--- a/test/intrinsics/gen/textureLoad/a6a85a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/a6a85a.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureLoad_a6a85a() {
float4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_a6a85a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_a6a85a();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/a6b61d.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/a6b61d.wgsl.expected.hlsl
index 2b2be1c..5e38ddd 100644
--- a/test/intrinsics/gen/textureLoad/a6b61d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/a6b61d.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureLoad_a6b61d() {
int4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_a6b61d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_a6b61d();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/a7a3c3.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/a7a3c3.wgsl.expected.hlsl
index e4dc952..1a89628 100644
--- a/test/intrinsics/gen/textureLoad/a7a3c3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/a7a3c3.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureLoad_a7a3c3() {
int4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_a7a3c3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_a7a3c3();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.hlsl
index 197e741..31ea021 100644
--- a/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/a9a9f5.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureLoad_a9a9f5() {
uint4 res = arg_0.Load(int4(0, 0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_a9a9f5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_a9a9f5();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/b1bf79.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/b1bf79.wgsl.expected.hlsl
index 259d694..81827aa 100644
--- a/test/intrinsics/gen/textureLoad/b1bf79.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/b1bf79.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureLoad_b1bf79() {
int4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_b1bf79();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_b1bf79();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/b58c6d.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/b58c6d.wgsl.expected.hlsl
index 082b239..4ef30fc 100644
--- a/test/intrinsics/gen/textureLoad/b58c6d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/b58c6d.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureLoad_b58c6d() {
float4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_b58c6d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_b58c6d();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/b6c458.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/b6c458.wgsl.expected.hlsl
index de41bd5..28066d5 100644
--- a/test/intrinsics/gen/textureLoad/b6c458.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/b6c458.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureLoad_b6c458() {
uint4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_b6c458();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_b6c458();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/bfd154.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/bfd154.wgsl.expected.hlsl
index 829545d..1756011 100644
--- a/test/intrinsics/gen/textureLoad/bfd154.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/bfd154.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureLoad_bfd154() {
uint4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_bfd154();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_bfd154();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/c02b74.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/c02b74.wgsl.expected.hlsl
index 4ae0129..43e2dd7 100644
--- a/test/intrinsics/gen/textureLoad/c02b74.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/c02b74.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureLoad_c02b74() {
float4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_c02b74();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_c02b74();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/c07013.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/c07013.wgsl.expected.hlsl
index e68f692..80a7671 100644
--- a/test/intrinsics/gen/textureLoad/c07013.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/c07013.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureLoad_c07013() {
float4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_c07013();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_c07013();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.hlsl
index 272864f..cc25969 100644
--- a/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/c2a480.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureLoad_c2a480() {
int4 res = arg_0.Load(int3(0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_c2a480();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_c2a480();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/c378ee.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/c378ee.wgsl.expected.hlsl
index 72633ce..f866c1d 100644
--- a/test/intrinsics/gen/textureLoad/c378ee.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/c378ee.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<uint4> arg_0 : register(t0, space1);
void textureLoad_c378ee() {
uint4 res = arg_0.Load(int3(0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_c378ee();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_c378ee();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/c40dcb.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/c40dcb.wgsl.expected.hlsl
index 65968e3..58cc6ef 100644
--- a/test/intrinsics/gen/textureLoad/c40dcb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/c40dcb.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureLoad_c40dcb() {
uint4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_c40dcb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_c40dcb();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/c456bc.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/c456bc.wgsl.expected.hlsl
index f844a2d..65b8427 100644
--- a/test/intrinsics/gen/textureLoad/c456bc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/c456bc.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureLoad_c456bc() {
float4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_c456bc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_c456bc();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/c7cbed.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/c7cbed.wgsl.expected.hlsl
index 1aa1c65..dcc3969 100644
--- a/test/intrinsics/gen/textureLoad/c7cbed.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/c7cbed.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureLoad_c7cbed() {
float4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_c7cbed();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_c7cbed();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/c9cc40.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/c9cc40.wgsl.expected.hlsl
index 0b7eed0..f3796e5 100644
--- a/test/intrinsics/gen/textureLoad/c9cc40.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/c9cc40.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureLoad_c9cc40() {
int4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_c9cc40();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_c9cc40();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/d5c48d.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/d5c48d.wgsl.expected.hlsl
index 980b696..44eb74b 100644
--- a/test/intrinsics/gen/textureLoad/d5c48d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/d5c48d.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureLoad_d5c48d() {
float4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_d5c48d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_d5c48d();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/d81c57.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/d81c57.wgsl.expected.hlsl
index 0e463d6..91b9ef4 100644
--- a/test/intrinsics/gen/textureLoad/d81c57.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/d81c57.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureLoad_d81c57() {
float4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_d81c57();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_d81c57();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/d8617f.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/d8617f.wgsl.expected.hlsl
index 8dcb976..0d465d2 100644
--- a/test/intrinsics/gen/textureLoad/d8617f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/d8617f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureLoad_d8617f() {
int4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_d8617f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_d8617f();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/dbd554.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/dbd554.wgsl.expected.hlsl
index 9d0223f..e763946 100644
--- a/test/intrinsics/gen/textureLoad/dbd554.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/dbd554.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureLoad_dbd554() {
int4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_dbd554();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_dbd554();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/ddeed3.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/ddeed3.wgsl.expected.hlsl
index d3fb264..1356585 100644
--- a/test/intrinsics/gen/textureLoad/ddeed3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/ddeed3.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureLoad_ddeed3() {
int4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_ddeed3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_ddeed3();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/dee8e7.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/dee8e7.wgsl.expected.hlsl
index aa4d787..57d79a3 100644
--- a/test/intrinsics/gen/textureLoad/dee8e7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/dee8e7.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureLoad_dee8e7() {
int4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_dee8e7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_dee8e7();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/e3d2cc.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/e3d2cc.wgsl.expected.hlsl
index 3861e2e..512b7a9 100644
--- a/test/intrinsics/gen/textureLoad/e3d2cc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/e3d2cc.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<int4> arg_0 : register(t0, space1);
void textureLoad_e3d2cc() {
int4 res = arg_0.Load(int3(0, 0, 0), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_e3d2cc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_e3d2cc();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/e65916.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/e65916.wgsl.expected.hlsl
index 9cd3006..93804e0 100644
--- a/test/intrinsics/gen/textureLoad/e65916.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/e65916.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureLoad_e65916() {
int4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_e65916();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_e65916();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/e893d7.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/e893d7.wgsl.expected.hlsl
index c14dc82..5d28023 100644
--- a/test/intrinsics/gen/textureLoad/e893d7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/e893d7.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureLoad_e893d7() {
float4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_e893d7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_e893d7();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/eb573b.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/eb573b.wgsl.expected.hlsl
index c1468f7..6f0fdc3 100644
--- a/test/intrinsics/gen/textureLoad/eb573b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/eb573b.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureLoad_eb573b() {
int4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_eb573b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_eb573b();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/ecc823.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/ecc823.wgsl.expected.hlsl
index b43c88d..ad759ef 100644
--- a/test/intrinsics/gen/textureLoad/ecc823.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/ecc823.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureLoad_ecc823() {
uint4 res = arg_0.Load(int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_ecc823();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_ecc823();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/ef5405.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/ef5405.wgsl.expected.hlsl
index 865105e..03ab350 100644
--- a/test/intrinsics/gen/textureLoad/ef5405.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/ef5405.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureLoad_ef5405() {
uint4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_ef5405();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_ef5405();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/f06b69.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/f06b69.wgsl.expected.hlsl
index a74f63d..d502768 100644
--- a/test/intrinsics/gen/textureLoad/f06b69.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/f06b69.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<int4> arg_0 : register(t0, space1);
void textureLoad_f06b69() {
int4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_f06b69();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_f06b69();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/f379e2.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/f379e2.wgsl.expected.hlsl
index b9cef99..3356012 100644
--- a/test/intrinsics/gen/textureLoad/f379e2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/f379e2.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureLoad_f379e2() {
float4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_f379e2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_f379e2();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/f56e6f.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/f56e6f.wgsl.expected.hlsl
index 4824067..c9b5737 100644
--- a/test/intrinsics/gen/textureLoad/f56e6f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/f56e6f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureLoad_f56e6f() {
uint4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_f56e6f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_f56e6f();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/f74bd8.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/f74bd8.wgsl.expected.hlsl
index 786fc1a..e1e744b 100644
--- a/test/intrinsics/gen/textureLoad/f74bd8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/f74bd8.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureLoad_f74bd8() {
float4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_f74bd8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_f74bd8();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/fc6d36.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/fc6d36.wgsl.expected.hlsl
index a25f805..dcc7e9d 100644
--- a/test/intrinsics/gen/textureLoad/fc6d36.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/fc6d36.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureLoad_fc6d36() {
int4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_fc6d36();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_fc6d36();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/fdebd0.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/fdebd0.wgsl.expected.hlsl
index 827c69a..9272bd5 100644
--- a/test/intrinsics/gen/textureLoad/fdebd0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/fdebd0.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureLoad_fdebd0() {
uint4 res = arg_0.Load(int4(0, 0, 1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_fdebd0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_fdebd0();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/fe222a.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/fe222a.wgsl.expected.hlsl
index 79bb239..816c957 100644
--- a/test/intrinsics/gen/textureLoad/fe222a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/fe222a.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture1D<float4> arg_0 : register(t0, space1);
void textureLoad_fe222a() {
float4 res = arg_0.Load(int2(1, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_fe222a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_fe222a();
return;
}
-
diff --git a/test/intrinsics/gen/textureLoad/feab99.wgsl.expected.hlsl b/test/intrinsics/gen/textureLoad/feab99.wgsl.expected.hlsl
index faa6202..63cbe47 100644
--- a/test/intrinsics/gen/textureLoad/feab99.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureLoad/feab99.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureLoad_feab99() {
float4 res = arg_0.Load(int4(0, 0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureLoad_feab99();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureLoad_feab99();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/024820.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/024820.wgsl.expected.hlsl
index f6361b40..5408012 100644
--- a/test/intrinsics/gen/textureNumLayers/024820.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/024820.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureNumLayers_024820() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_024820();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_024820();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/053df7.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/053df7.wgsl.expected.hlsl
index 22ac339..121eedc 100644
--- a/test/intrinsics/gen/textureNumLayers/053df7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/053df7.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<uint4> arg_0 : register(t0, space1);
void textureNumLayers_053df7() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_053df7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_053df7();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.hlsl
index 5f55531..88b65e0 100644
--- a/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/058cc3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureNumLayers_058cc3() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_058cc3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_058cc3();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.hlsl
index 653d721..5a8fd61 100644
--- a/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/09d05d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureNumLayers_09d05d() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_09d05d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_09d05d();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.hlsl
index bd389a5..4220184 100644
--- a/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/13b4ce.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureNumLayers_13b4ce() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_13b4ce();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_13b4ce();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.hlsl
index bf761c3..e22c7fb 100644
--- a/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/22e53b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureNumLayers_22e53b() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_22e53b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_22e53b();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/2f6bb3.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/2f6bb3.wgsl.expected.hlsl
index 4ca6059..d8605ff 100644
--- a/test/intrinsics/gen/textureNumLayers/2f6bb3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/2f6bb3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureNumLayers_2f6bb3() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_2f6bb3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_2f6bb3();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/315298.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/315298.wgsl.expected.hlsl
index effba23..c89092b 100644
--- a/test/intrinsics/gen/textureNumLayers/315298.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/315298.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureNumLayers_315298() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_315298();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_315298();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/3615e3.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/3615e3.wgsl.expected.hlsl
index 22456f5..32293ec 100644
--- a/test/intrinsics/gen/textureNumLayers/3615e3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/3615e3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureNumLayers_3615e3() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_3615e3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_3615e3();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/390fd5.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/390fd5.wgsl.expected.hlsl
index ea1bd83..eb91acc 100644
--- a/test/intrinsics/gen/textureNumLayers/390fd5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/390fd5.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureNumLayers_390fd5() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_390fd5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_390fd5();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/45155d.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/45155d.wgsl.expected.hlsl
index 48a7c25..da3140f 100644
--- a/test/intrinsics/gen/textureNumLayers/45155d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/45155d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureNumLayers_45155d() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_45155d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_45155d();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/4bf67b.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/4bf67b.wgsl.expected.hlsl
index 40be9f8..9ab86fd 100644
--- a/test/intrinsics/gen/textureNumLayers/4bf67b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/4bf67b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureNumLayers_4bf67b() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_4bf67b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_4bf67b();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.hlsl
index beecae2..7aa3f96 100644
--- a/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/562013.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureNumLayers_562013() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_562013();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_562013();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/57092f.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/57092f.wgsl.expected.hlsl
index fa6c025..beb7478 100644
--- a/test/intrinsics/gen/textureNumLayers/57092f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/57092f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureNumLayers_57092f() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_57092f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_57092f();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/5d59cd.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/5d59cd.wgsl.expected.hlsl
index ee91b15..23b9859 100644
--- a/test/intrinsics/gen/textureNumLayers/5d59cd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/5d59cd.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<float4> arg_0 : register(t0, space1);
void textureNumLayers_5d59cd() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_5d59cd();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_5d59cd();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.hlsl
index b685542..b894728 100644
--- a/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/68a65b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureNumLayers_68a65b() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_68a65b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_68a65b();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/778bd1.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/778bd1.wgsl.expected.hlsl
index e93accf..9a29d96 100644
--- a/test/intrinsics/gen/textureNumLayers/778bd1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/778bd1.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray arg_0 : register(t0, space1);
void textureNumLayers_778bd1() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_778bd1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_778bd1();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.hlsl
index 537a9c6..3183a27 100644
--- a/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/7f1937.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureNumLayers_7f1937() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_7f1937();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_7f1937();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/85f980.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/85f980.wgsl.expected.hlsl
index 32e8d54..0799841 100644
--- a/test/intrinsics/gen/textureNumLayers/85f980.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/85f980.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<int4> arg_0 : register(t0, space1);
void textureNumLayers_85f980() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_85f980();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_85f980();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/87953e.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/87953e.wgsl.expected.hlsl
index 585cae7..6209dc5 100644
--- a/test/intrinsics/gen/textureNumLayers/87953e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/87953e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureNumLayers_87953e() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_87953e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_87953e();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/893e7c.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/893e7c.wgsl.expected.hlsl
index 09cee4c..0603e1f 100644
--- a/test/intrinsics/gen/textureNumLayers/893e7c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/893e7c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureNumLayers_893e7c() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_893e7c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_893e7c();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/938763.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/938763.wgsl.expected.hlsl
index 1e411b3..e12beac 100644
--- a/test/intrinsics/gen/textureNumLayers/938763.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/938763.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureNumLayers_938763() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_938763();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_938763();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.hlsl
index 9c34748..15aea2d 100644
--- a/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/9700fb.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureNumLayers_9700fb() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_9700fb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_9700fb();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.hlsl
index 0d1373e..339019e 100644
--- a/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/a216d2.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureNumLayers_a216d2() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_a216d2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_a216d2();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/aa08a7.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/aa08a7.wgsl.expected.hlsl
index 8290a5f..0f18614 100644
--- a/test/intrinsics/gen/textureNumLayers/aa08a7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/aa08a7.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureNumLayers_aa08a7() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_aa08a7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_aa08a7();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/ab0c9b.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/ab0c9b.wgsl.expected.hlsl
index a2d0741..b983ecf 100644
--- a/test/intrinsics/gen/textureNumLayers/ab0c9b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/ab0c9b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureNumLayers_ab0c9b() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_ab0c9b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_ab0c9b();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/b8cd76.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/b8cd76.wgsl.expected.hlsl
index 5536f90..afe52d3 100644
--- a/test/intrinsics/gen/textureNumLayers/b8cd76.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/b8cd76.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureNumLayers_b8cd76() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_b8cd76();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_b8cd76();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/be1d70.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/be1d70.wgsl.expected.hlsl
index d46a506..58ed81d 100644
--- a/test/intrinsics/gen/textureNumLayers/be1d70.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/be1d70.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureNumLayers_be1d70() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_be1d70();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_be1d70();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/be3acb.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/be3acb.wgsl.expected.hlsl
index b4c71f9..61b1d84 100644
--- a/test/intrinsics/gen/textureNumLayers/be3acb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/be3acb.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureNumLayers_be3acb() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_be3acb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_be3acb();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/c09917.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/c09917.wgsl.expected.hlsl
index 3f110af..d4e9f79 100644
--- a/test/intrinsics/gen/textureNumLayers/c09917.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/c09917.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureNumLayers_c09917() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_c09917();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_c09917();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/c7c7f2.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/c7c7f2.wgsl.expected.hlsl
index 2043efa..71a9624 100644
--- a/test/intrinsics/gen/textureNumLayers/c7c7f2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/c7c7f2.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureNumLayers_c7c7f2() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_c7c7f2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_c7c7f2();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.hlsl
index 07fc309..026390a 100644
--- a/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/cd5dc8.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureNumLayers_cd5dc8() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_cd5dc8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_cd5dc8();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.hlsl
index ff73afa..95ffefc 100644
--- a/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/d5b228.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureNumLayers_d5b228() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_d5b228();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_d5b228();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/e15642.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/e15642.wgsl.expected.hlsl
index 961f796..a209e24 100644
--- a/test/intrinsics/gen/textureNumLayers/e15642.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/e15642.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureNumLayers_e15642() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_e15642();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_e15642();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.hlsl
index f430c71..a7cfc8a 100644
--- a/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/e31be1.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureNumLayers_e31be1() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_e31be1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_e31be1();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/e653c0.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/e653c0.wgsl.expected.hlsl
index 365d3f7..cfed873 100644
--- a/test/intrinsics/gen/textureNumLayers/e653c0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/e653c0.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
void textureNumLayers_e653c0() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_e653c0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_e653c0();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.hlsl
index 5a05122..b06ea98 100644
--- a/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/ee942f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureNumLayers_ee942f() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_ee942f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_ee942f();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.hlsl
index 2c03b1b..9b6e7a4 100644
--- a/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/f33005.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureNumLayers_f33005() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_f33005();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_f33005();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.hlsl
index 09ec6a4..234f8a0 100644
--- a/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/fcec98.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureNumLayers_fcec98() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_fcec98();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_fcec98();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.hlsl
index 677e9f7..6689c51 100644
--- a/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLayers/ff5e89.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureNumLayers_ff5e89() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLayers_ff5e89();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLayers_ff5e89();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/076cb5.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/076cb5.wgsl.expected.hlsl
index c70ebf9..4014d82 100644
--- a/test/intrinsics/gen/textureNumLevels/076cb5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/076cb5.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube arg_0 : register(t0, space1);
void textureNumLevels_076cb5() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_076cb5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_076cb5();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/080d95.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/080d95.wgsl.expected.hlsl
index 8faf945..15ca251 100644
--- a/test/intrinsics/gen/textureNumLevels/080d95.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/080d95.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<int4> arg_0 : register(t0, space1);
void textureNumLevels_080d95() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_080d95();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_080d95();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/09ddd0.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/09ddd0.wgsl.expected.hlsl
index bc09a54..09cdf3a 100644
--- a/test/intrinsics/gen/textureNumLevels/09ddd0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/09ddd0.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<uint4> arg_0 : register(t0, space1);
void textureNumLevels_09ddd0() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_09ddd0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_09ddd0();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/105988.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/105988.wgsl.expected.hlsl
index 6e9874f..4e0e12d 100644
--- a/test/intrinsics/gen/textureNumLevels/105988.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/105988.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
void textureNumLevels_105988() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_105988();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_105988();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/23f750.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/23f750.wgsl.expected.hlsl
index 0787fa2..e619001 100644
--- a/test/intrinsics/gen/textureNumLevels/23f750.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/23f750.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<int4> arg_0 : register(t0, space1);
void textureNumLevels_23f750() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_23f750();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_23f750();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/2c3575.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/2c3575.wgsl.expected.hlsl
index c6e6088..ef2d08b 100644
--- a/test/intrinsics/gen/textureNumLevels/2c3575.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/2c3575.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray arg_0 : register(t0, space1);
void textureNumLevels_2c3575() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_2c3575();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_2c3575();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/5101cf.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/5101cf.wgsl.expected.hlsl
index 015129b..c8a722c 100644
--- a/test/intrinsics/gen/textureNumLevels/5101cf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/5101cf.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<uint4> arg_0 : register(t0, space1);
void textureNumLevels_5101cf() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_5101cf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_5101cf();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/897aaf.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/897aaf.wgsl.expected.hlsl
index 27dff52..771f219 100644
--- a/test/intrinsics/gen/textureNumLevels/897aaf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/897aaf.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<float4> arg_0 : register(t0, space1);
void textureNumLevels_897aaf() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_897aaf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_897aaf();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/9da7a5.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/9da7a5.wgsl.expected.hlsl
index 357c8f1..e12ce59 100644
--- a/test/intrinsics/gen/textureNumLevels/9da7a5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/9da7a5.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<int4> arg_0 : register(t0, space1);
void textureNumLevels_9da7a5() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_9da7a5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_9da7a5();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/a91c03.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/a91c03.wgsl.expected.hlsl
index 040d13f..6a2f7d2 100644
--- a/test/intrinsics/gen/textureNumLevels/a91c03.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/a91c03.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<int4> arg_0 : register(t0, space1);
void textureNumLevels_a91c03() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_a91c03();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_a91c03();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/aee7c8.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/aee7c8.wgsl.expected.hlsl
index d57d775..9f46f5b 100644
--- a/test/intrinsics/gen/textureNumLevels/aee7c8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/aee7c8.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<float4> arg_0 : register(t0, space1);
void textureNumLevels_aee7c8() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_aee7c8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_aee7c8();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/b1b12b.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/b1b12b.wgsl.expected.hlsl
index 20efec7..d3c0ca9 100644
--- a/test/intrinsics/gen/textureNumLevels/b1b12b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/b1b12b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
void textureNumLevels_b1b12b() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_b1b12b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_b1b12b();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/b4f5ea.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/b4f5ea.wgsl.expected.hlsl
index 68f7697..1baa2e0 100644
--- a/test/intrinsics/gen/textureNumLevels/b4f5ea.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/b4f5ea.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<uint4> arg_0 : register(t0, space1);
void textureNumLevels_b4f5ea() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_b4f5ea();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_b4f5ea();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/d004a9.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/d004a9.wgsl.expected.hlsl
index 4266415..ccd62a4 100644
--- a/test/intrinsics/gen/textureNumLevels/d004a9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/d004a9.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<int4> arg_0 : register(t0, space1);
void textureNumLevels_d004a9() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_d004a9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_d004a9();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/dca09e.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/dca09e.wgsl.expected.hlsl
index a06ee63..aaa711a 100644
--- a/test/intrinsics/gen/textureNumLevels/dca09e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/dca09e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
void textureNumLevels_dca09e() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_dca09e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_dca09e();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/e67231.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/e67231.wgsl.expected.hlsl
index e0c8b84..9313856 100644
--- a/test/intrinsics/gen/textureNumLevels/e67231.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/e67231.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
void textureNumLevels_e67231() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_e67231();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_e67231();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/ed078b.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/ed078b.wgsl.expected.hlsl
index 72fdf4c..80bbd45 100644
--- a/test/intrinsics/gen/textureNumLevels/ed078b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/ed078b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<uint4> arg_0 : register(t0, space1);
void textureNumLevels_ed078b() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_ed078b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_ed078b();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/f46ec6.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/f46ec6.wgsl.expected.hlsl
index cb9af05..a7bbe79 100644
--- a/test/intrinsics/gen/textureNumLevels/f46ec6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/f46ec6.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<uint4> arg_0 : register(t0, space1);
void textureNumLevels_f46ec6() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_f46ec6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_f46ec6();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumLevels/f5828d.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumLevels/f5828d.wgsl.expected.hlsl
index bd9da4c..80a3ebb 100644
--- a/test/intrinsics/gen/textureNumLevels/f5828d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumLevels/f5828d.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
void textureNumLevels_f5828d() {
@@ -10,6 +6,10 @@
int res = tint_tmp.w;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumLevels_f5828d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumLevels_f5828d();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumSamples/2c6f14.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumSamples/2c6f14.wgsl.expected.hlsl
index 5349dfa..520b0de 100644
--- a/test/intrinsics/gen/textureNumSamples/2c6f14.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumSamples/2c6f14.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<float4> arg_0 : register(t0, space1);
void textureNumSamples_2c6f14() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumSamples_2c6f14();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumSamples_2c6f14();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumSamples/42f8bb.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumSamples/42f8bb.wgsl.expected.hlsl
index 1243e4d..0e7092e 100644
--- a/test/intrinsics/gen/textureNumSamples/42f8bb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumSamples/42f8bb.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<uint4> arg_0 : register(t0, space1);
void textureNumSamples_42f8bb() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumSamples_42f8bb();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumSamples_42f8bb();
return;
}
-
diff --git a/test/intrinsics/gen/textureNumSamples/449d23.wgsl.expected.hlsl b/test/intrinsics/gen/textureNumSamples/449d23.wgsl.expected.hlsl
index 040f168..1ff9771 100644
--- a/test/intrinsics/gen/textureNumSamples/449d23.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureNumSamples/449d23.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DMS<int4> arg_0 : register(t0, space1);
void textureNumSamples_449d23() {
@@ -10,6 +6,10 @@
int res = tint_tmp.z;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureNumSamples_449d23();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -26,4 +26,3 @@
textureNumSamples_449d23();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/02aa9b.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/02aa9b.wgsl.expected.hlsl
index c6ce598..1e21709 100644
--- a/test/intrinsics/gen/textureSample/02aa9b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/02aa9b.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_02aa9b();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/100dc0.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/100dc0.wgsl.expected.hlsl
index 9f8134c..0e60a50 100644
--- a/test/intrinsics/gen/textureSample/100dc0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/100dc0.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_100dc0();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/38bbb9.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/38bbb9.wgsl.expected.hlsl
index 3cedaf2..1804b92 100644
--- a/test/intrinsics/gen/textureSample/38bbb9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/38bbb9.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_38bbb9();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/3b50bd.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/3b50bd.wgsl.expected.hlsl
index b14b6e5..b52b901 100644
--- a/test/intrinsics/gen/textureSample/3b50bd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/3b50bd.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_3b50bd();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/4dd1bf.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/4dd1bf.wgsl.expected.hlsl
index e84cf19..47013d2 100644
--- a/test/intrinsics/gen/textureSample/4dd1bf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/4dd1bf.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_4dd1bf();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/51b514.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/51b514.wgsl.expected.hlsl
index a82f95f..a608c75 100644
--- a/test/intrinsics/gen/textureSample/51b514.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/51b514.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_51b514();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/667d76.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/667d76.wgsl.expected.hlsl
index b006a77..b47fa1a 100644
--- a/test/intrinsics/gen/textureSample/667d76.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/667d76.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_667d76();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/6717ca.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/6717ca.wgsl.expected.hlsl
index 571b1df..7b1e6e4 100644
--- a/test/intrinsics/gen/textureSample/6717ca.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/6717ca.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_6717ca();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/6e64fb.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/6e64fb.wgsl.expected.hlsl
index 3956953..40f4e00 100644
--- a/test/intrinsics/gen/textureSample/6e64fb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/6e64fb.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_6e64fb();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/7c3baa.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/7c3baa.wgsl.expected.hlsl
index b3fbf88..fb6be7b 100644
--- a/test/intrinsics/gen/textureSample/7c3baa.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/7c3baa.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_7c3baa();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/7e9ffd.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/7e9ffd.wgsl.expected.hlsl
index e49e0e2..4a3fcf2 100644
--- a/test/intrinsics/gen/textureSample/7e9ffd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/7e9ffd.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_7e9ffd();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/8522e7.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/8522e7.wgsl.expected.hlsl
index c52349d..2e1b623 100644
--- a/test/intrinsics/gen/textureSample/8522e7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/8522e7.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_8522e7();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/bb81ce.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/bb81ce.wgsl.expected.hlsl
index 97de448..7be3084 100644
--- a/test/intrinsics/gen/textureSample/bb81ce.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/bb81ce.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_bb81ce();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/c2f4e8.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/c2f4e8.wgsl.expected.hlsl
index b8d0d33..d201d1f 100644
--- a/test/intrinsics/gen/textureSample/c2f4e8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/c2f4e8.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_c2f4e8();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/e53267.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/e53267.wgsl.expected.hlsl
index 0c94164..bd51660 100644
--- a/test/intrinsics/gen/textureSample/e53267.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/e53267.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_e53267();
return;
}
-
diff --git a/test/intrinsics/gen/textureSample/ea7030.wgsl.expected.hlsl b/test/intrinsics/gen/textureSample/ea7030.wgsl.expected.hlsl
index e77f8f2..730837f 100644
--- a/test/intrinsics/gen/textureSample/ea7030.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSample/ea7030.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSample_ea7030();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleBias/53b9f7.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleBias/53b9f7.wgsl.expected.hlsl
index f5efca2..f5fecb4 100644
--- a/test/intrinsics/gen/textureSampleBias/53b9f7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleBias/53b9f7.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleBias_53b9f7();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleBias/65ac50.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleBias/65ac50.wgsl.expected.hlsl
index 959d7ae..f2e3c1d 100644
--- a/test/intrinsics/gen/textureSampleBias/65ac50.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleBias/65ac50.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleBias_65ac50();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleBias/6a9113.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleBias/6a9113.wgsl.expected.hlsl
index 62d816a..39fe8c0 100644
--- a/test/intrinsics/gen/textureSampleBias/6a9113.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleBias/6a9113.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleBias_6a9113();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleBias/80e579.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleBias/80e579.wgsl.expected.hlsl
index 52b30f6..5e8a9d2 100644
--- a/test/intrinsics/gen/textureSampleBias/80e579.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleBias/80e579.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleBias_80e579();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleBias/81c19a.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleBias/81c19a.wgsl.expected.hlsl
index 6377b97..4c7b4df 100644
--- a/test/intrinsics/gen/textureSampleBias/81c19a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleBias/81c19a.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleBias_81c19a();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleBias/d3fa1b.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleBias/d3fa1b.wgsl.expected.hlsl
index 0702497..5d08b9d 100644
--- a/test/intrinsics/gen/textureSampleBias/d3fa1b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleBias/d3fa1b.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleBias_d3fa1b();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleBias/df91bb.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleBias/df91bb.wgsl.expected.hlsl
index f6e85fc..c1ea919 100644
--- a/test/intrinsics/gen/textureSampleBias/df91bb.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleBias/df91bb.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleBias_df91bb();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleBias/eed7c4.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleBias/eed7c4.wgsl.expected.hlsl
index 96b3de6..c9c75d9 100644
--- a/test/intrinsics/gen/textureSampleBias/eed7c4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleBias/eed7c4.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleBias_eed7c4();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompare/25fcd1.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompare/25fcd1.wgsl.expected.hlsl
index 0750ef6..98685b6 100644
--- a/test/intrinsics/gen/textureSampleCompare/25fcd1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompare/25fcd1.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleCompare_25fcd1();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompare/3a5923.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompare/3a5923.wgsl.expected.hlsl
index c9e06ea..f34e7be 100644
--- a/test/intrinsics/gen/textureSampleCompare/3a5923.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompare/3a5923.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleCompare_3a5923();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompare/63fb83.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompare/63fb83.wgsl.expected.hlsl
index f82fcef..4df9a68 100644
--- a/test/intrinsics/gen/textureSampleCompare/63fb83.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompare/63fb83.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleCompare_63fb83();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompare/98b85c.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompare/98b85c.wgsl.expected.hlsl
index 4a380ad..51f701e 100644
--- a/test/intrinsics/gen/textureSampleCompare/98b85c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompare/98b85c.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleCompare_98b85c();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompare/a3ca7e.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompare/a3ca7e.wgsl.expected.hlsl
index d397cbd..0eaad4f 100644
--- a/test/intrinsics/gen/textureSampleCompare/a3ca7e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompare/a3ca7e.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleCompare_a3ca7e();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompare/dd431d.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompare/dd431d.wgsl.expected.hlsl
index 3d36cd1..0c8a7fb 100644
--- a/test/intrinsics/gen/textureSampleCompare/dd431d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompare/dd431d.wgsl.expected.hlsl
@@ -9,4 +9,3 @@
textureSampleCompare_dd431d();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompareLevel/011a8f.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompareLevel/011a8f.wgsl.expected.hlsl
index bca0048..6fb7e54 100644
--- a/test/intrinsics/gen/textureSampleCompareLevel/011a8f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompareLevel/011a8f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
SamplerComparisonState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleCmpLevelZero(arg_1, float3(0.0f, 0.0f, float(1)), 1.0f, int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleCompareLevel_011a8f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleCompareLevel_011a8f();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompareLevel/1116ed.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompareLevel/1116ed.wgsl.expected.hlsl
index 775f29a..32135fe 100644
--- a/test/intrinsics/gen/textureSampleCompareLevel/1116ed.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompareLevel/1116ed.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
SamplerComparisonState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleCmpLevelZero(arg_1, float3(0.0f, 0.0f, float(1)), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleCompareLevel_1116ed();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleCompareLevel_1116ed();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompareLevel/1568e3.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompareLevel/1568e3.wgsl.expected.hlsl
index 9234f96..4d3c9a9 100644
--- a/test/intrinsics/gen/textureSampleCompareLevel/1568e3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompareLevel/1568e3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube arg_0 : register(t0, space1);
SamplerComparisonState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleCmpLevelZero(arg_1, float3(0.0f, 0.0f, 0.0f), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleCompareLevel_1568e3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleCompareLevel_1568e3();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompareLevel/2ad2b1.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompareLevel/2ad2b1.wgsl.expected.hlsl
index c04f0b1..52d0476 100644
--- a/test/intrinsics/gen/textureSampleCompareLevel/2ad2b1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompareLevel/2ad2b1.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
SamplerComparisonState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleCmpLevelZero(arg_1, float2(0.0f, 0.0f), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleCompareLevel_2ad2b1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleCompareLevel_2ad2b1();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompareLevel/4cf3a2.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompareLevel/4cf3a2.wgsl.expected.hlsl
index b7f2e58..7438832 100644
--- a/test/intrinsics/gen/textureSampleCompareLevel/4cf3a2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompareLevel/4cf3a2.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray arg_0 : register(t0, space1);
SamplerComparisonState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleCmpLevelZero(arg_1, float4(0.0f, 0.0f, 0.0f, float(1)), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleCompareLevel_4cf3a2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleCompareLevel_4cf3a2();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleCompareLevel/f8121c.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleCompareLevel/f8121c.wgsl.expected.hlsl
index 4a0b11b..6013b19 100644
--- a/test/intrinsics/gen/textureSampleCompareLevel/f8121c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleCompareLevel/f8121c.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
SamplerComparisonState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleCmpLevelZero(arg_1, float2(0.0f, 0.0f), 1.0f, int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleCompareLevel_f8121c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleCompareLevel_f8121c();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleGrad/21402b.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleGrad/21402b.wgsl.expected.hlsl
index 5387f2e..cf45e6d 100644
--- a/test/intrinsics/gen/textureSampleGrad/21402b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleGrad/21402b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleGrad(arg_1, float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleGrad_21402b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleGrad_21402b();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.hlsl
index eac63da..19eae0d 100644
--- a/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleGrad/2ecd8f.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleGrad(arg_1, float3(0.0f, 0.0f, float(1)), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleGrad_2ecd8f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleGrad_2ecd8f();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleGrad/468f88.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleGrad/468f88.wgsl.expected.hlsl
index f61c326..879825a 100644
--- a/test/intrinsics/gen/textureSampleGrad/468f88.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleGrad/468f88.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleGrad(arg_1, float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f), int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleGrad_468f88();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleGrad_468f88();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleGrad/521263.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleGrad/521263.wgsl.expected.hlsl
index ca916b1..1bfe914 100644
--- a/test/intrinsics/gen/textureSampleGrad/521263.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleGrad/521263.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleGrad(arg_1, float2(0.0f, 0.0f), float2(0.0f, 0.0f), float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleGrad_521263();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleGrad_521263();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleGrad/5312f4.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleGrad/5312f4.wgsl.expected.hlsl
index e0eb958..f3bcc92 100644
--- a/test/intrinsics/gen/textureSampleGrad/5312f4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleGrad/5312f4.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleGrad(arg_1, float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleGrad_5312f4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleGrad_5312f4();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleGrad/872f00.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleGrad/872f00.wgsl.expected.hlsl
index 7b4c65f4..61740d2 100644
--- a/test/intrinsics/gen/textureSampleGrad/872f00.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleGrad/872f00.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleGrad(arg_1, float3(0.0f, 0.0f, float(1)), float2(0.0f, 0.0f), float2(0.0f, 0.0f), int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleGrad_872f00();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleGrad_872f00();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleGrad/e383db.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleGrad/e383db.wgsl.expected.hlsl
index 4fd9ec2..122b16a 100644
--- a/test/intrinsics/gen/textureSampleGrad/e383db.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleGrad/e383db.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleGrad(arg_1, float4(0.0f, 0.0f, 0.0f, float(1)), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleGrad_e383db();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleGrad_e383db();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleGrad/e9a2f7.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleGrad/e9a2f7.wgsl.expected.hlsl
index f06b186..f76f445 100644
--- a/test/intrinsics/gen/textureSampleGrad/e9a2f7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleGrad/e9a2f7.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleGrad(arg_1, float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), float3(0.0f, 0.0f, 0.0f), int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleGrad_e9a2f7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleGrad_e9a2f7();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/02be59.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/02be59.wgsl.expected.hlsl
index 35661af..13c3f11 100644
--- a/test/intrinsics/gen/textureSampleLevel/02be59.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/02be59.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleLevel(arg_1, float2(0.0f, 0.0f), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_02be59();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_02be59();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/0bdd9a.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/0bdd9a.wgsl.expected.hlsl
index d0c44fc..ac25ece 100644
--- a/test/intrinsics/gen/textureSampleLevel/0bdd9a.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/0bdd9a.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float4(0.0f, 0.0f, 0.0f, float(1)), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_0bdd9a();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_0bdd9a();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/1b0291.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/1b0291.wgsl.expected.hlsl
index b2aacb4..a2b0752 100644
--- a/test/intrinsics/gen/textureSampleLevel/1b0291.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/1b0291.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleLevel(arg_1, float3(0.0f, 0.0f, 0.0f), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_1b0291();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_1b0291();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/1bf73e.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/1bf73e.wgsl.expected.hlsl
index 1e738d3..7a18e0c 100644
--- a/test/intrinsics/gen/textureSampleLevel/1bf73e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/1bf73e.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleLevel(arg_1, float3(0.0f, 0.0f, float(1)), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_1bf73e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_1bf73e();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/302be4.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/302be4.wgsl.expected.hlsl
index 4fb0a22..f86a1fa 100644
--- a/test/intrinsics/gen/textureSampleLevel/302be4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/302be4.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float3(0.0f, 0.0f, float(1)), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_302be4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_302be4();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/47daa4.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/47daa4.wgsl.expected.hlsl
index 70e06bd..3e841fc 100644
--- a/test/intrinsics/gen/textureSampleLevel/47daa4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/47daa4.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleLevel(arg_1, float2(0.0f, 0.0f), 1, int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_47daa4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_47daa4();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/690d95.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/690d95.wgsl.expected.hlsl
index 2f5f8b1..2afa96b 100644
--- a/test/intrinsics/gen/textureSampleLevel/690d95.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/690d95.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float2(0.0f, 0.0f), 1.0f, int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_690d95();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_690d95();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/979816.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/979816.wgsl.expected.hlsl
index 872c6af..436fd64 100644
--- a/test/intrinsics/gen/textureSampleLevel/979816.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/979816.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float2(0.0f, 0.0f), 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_979816();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_979816();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/9bd37b.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/9bd37b.wgsl.expected.hlsl
index 0db8ec8..62bf3fd 100644
--- a/test/intrinsics/gen/textureSampleLevel/9bd37b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/9bd37b.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float3(0.0f, 0.0f, 0.0f), 1.0f, int3(0, 0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_9bd37b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_9bd37b();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.hlsl
index 4afbbb1..38f0bd1 100644
--- a/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/a4af26.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float3(0.0f, 0.0f, float(1)), 1.0f, int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_a4af26();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_a4af26();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/abfcc0.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/abfcc0.wgsl.expected.hlsl
index 4cfd9c8..8911de5 100644
--- a/test/intrinsics/gen/textureSampleLevel/abfcc0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/abfcc0.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture3D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float3(0.0f, 0.0f, 0.0f), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_abfcc0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_abfcc0();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.hlsl
index 7f7fe7e..6cfb1d5 100644
--- a/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/ae5e39.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCubeArray arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleLevel(arg_1, float4(0.0f, 0.0f, 0.0f, float(1)), 1);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_ae5e39();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_ae5e39();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/ba93b3.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/ba93b3.wgsl.expected.hlsl
index 193e4ab..b48b267 100644
--- a/test/intrinsics/gen/textureSampleLevel/ba93b3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/ba93b3.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2DArray arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float res = arg_0.SampleLevel(arg_1, float3(0.0f, 0.0f, float(1)), 1, int2(0, 0));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_ba93b3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_ba93b3();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/c32df7.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/c32df7.wgsl.expected.hlsl
index 86fcaa0..235499f 100644
--- a/test/intrinsics/gen/textureSampleLevel/c32df7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/c32df7.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
TextureCube<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float3(0.0f, 0.0f, 0.0f), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_c32df7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_c32df7();
return;
}
-
diff --git a/test/intrinsics/gen/textureSampleLevel/c6aca6.wgsl.expected.hlsl b/test/intrinsics/gen/textureSampleLevel/c6aca6.wgsl.expected.hlsl
index 5987ae8..a0ea4e6 100644
--- a/test/intrinsics/gen/textureSampleLevel/c6aca6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureSampleLevel/c6aca6.wgsl.expected.hlsl
@@ -1,7 +1,3 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
Texture2D<float4> arg_0 : register(t0, space1);
SamplerState arg_1 : register(s1, space1);
@@ -9,6 +5,10 @@
float4 res = arg_0.SampleLevel(arg_1, float2(0.0f, 0.0f), 1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureSampleLevel_c6aca6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -25,4 +25,3 @@
textureSampleLevel_c6aca6();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.hlsl
index ca8dc95..6a0b802 100644
--- a/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/05ce15.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureStore_05ce15() {
arg_0[int2(0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_05ce15();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_05ce15();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.hlsl
index f627b4d..00c6038 100644
--- a/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/064c7f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureStore_064c7f() {
arg_0[int2(0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_064c7f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_064c7f();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/068641.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/068641.wgsl.expected.hlsl
index 89951d9..d6c3092 100644
--- a/test/intrinsics/gen/textureStore/068641.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/068641.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureStore_068641() {
arg_0[int3(0, 0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_068641();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_068641();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.hlsl
index 45c7624..86fef18 100644
--- a/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/0af6b5.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureStore_0af6b5() {
arg_0[int2(0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_0af6b5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_0af6b5();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.hlsl
index 2212b86..0718849 100644
--- a/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/0c3dff.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureStore_0c3dff() {
arg_0[int2(0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_0c3dff();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_0c3dff();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/102722.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/102722.wgsl.expected.hlsl
index b6604d9..6b2b0d7 100644
--- a/test/intrinsics/gen/textureStore/102722.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/102722.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureStore_102722() {
arg_0[1] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_102722();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_102722();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.hlsl
index 870bbe9..f16d991 100644
--- a/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/1bbd08.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureStore_1bbd08() {
arg_0[int3(0, 0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_1bbd08();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_1bbd08();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.hlsl
index e0d0308..4e59992 100644
--- a/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/1c02e7.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureStore_1c02e7() {
arg_0[int3(0, 0, 1)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_1c02e7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_1c02e7();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/22d955.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/22d955.wgsl.expected.hlsl
index 0d9852c..354610a 100644
--- a/test/intrinsics/gen/textureStore/22d955.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/22d955.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureStore_22d955() {
arg_0[int3(0, 0, 1)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_22d955();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_22d955();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.hlsl
index 323424c..0f4f218 100644
--- a/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/26bf70.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureStore_26bf70() {
arg_0[int2(0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_26bf70();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_26bf70();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.hlsl
index ead20b9..e97dd7a 100644
--- a/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/2796b4.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureStore_2796b4() {
arg_0[int3(0, 0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_2796b4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_2796b4();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.hlsl
index 0427db5..bdef603 100644
--- a/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/2ac6c7.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureStore_2ac6c7() {
arg_0[1] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_2ac6c7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_2ac6c7();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.hlsl
index b44f1ad..dd4d347 100644
--- a/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/2eb2a4.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureStore_2eb2a4() {
arg_0[1] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_2eb2a4();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_2eb2a4();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.hlsl
index cf0bd1e..891d155 100644
--- a/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/2ed2a3.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureStore_2ed2a3() {
arg_0[1] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_2ed2a3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_2ed2a3();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/31745b.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/31745b.wgsl.expected.hlsl
index 6978776..5fa3d20 100644
--- a/test/intrinsics/gen/textureStore/31745b.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/31745b.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureStore_31745b() {
arg_0[int2(0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_31745b();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_31745b();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/32f368.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/32f368.wgsl.expected.hlsl
index f8e9148..fa61fc3 100644
--- a/test/intrinsics/gen/textureStore/32f368.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/32f368.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureStore_32f368() {
arg_0[int3(0, 0, 1)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_32f368();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_32f368();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/331aee.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/331aee.wgsl.expected.hlsl
index acb18d1..7429918 100644
--- a/test/intrinsics/gen/textureStore/331aee.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/331aee.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureStore_331aee() {
arg_0[int3(0, 0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_331aee();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_331aee();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.hlsl
index 10ad900..dca4cfd 100644
--- a/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/38e8d7.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureStore_38e8d7() {
arg_0[int3(0, 0, 1)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_38e8d7();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_38e8d7();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.hlsl
index fa6c84b..27f3a36 100644
--- a/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/3a52ac.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureStore_3a52ac() {
arg_0[int3(0, 0, 1)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_3a52ac();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_3a52ac();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.hlsl
index 1d0803d..ebae98e 100644
--- a/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/3bb7a1.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureStore_3bb7a1() {
arg_0[int3(0, 0, 1)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_3bb7a1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_3bb7a1();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.hlsl
index 9dc0ea8..080d475 100644
--- a/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/3bec15.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureStore_3bec15() {
arg_0[1] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_3bec15();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_3bec15();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.hlsl
index 9065ca8..a79520f 100644
--- a/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/441ba8.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureStore_441ba8() {
arg_0[int3(0, 0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_441ba8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_441ba8();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.hlsl
index d8ecd13..a899c7e 100644
--- a/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/4fc057.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureStore_4fc057() {
arg_0[int3(0, 0, 1)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_4fc057();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_4fc057();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.hlsl
index 498961a..db02757 100644
--- a/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/5a2f8f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureStore_5a2f8f() {
arg_0[1] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_5a2f8f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_5a2f8f();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/60975f.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/60975f.wgsl.expected.hlsl
index 0dcc532..968507f 100644
--- a/test/intrinsics/gen/textureStore/60975f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/60975f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureStore_60975f() {
arg_0[int3(0, 0, 1)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_60975f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_60975f();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.hlsl
index 0dced90..a1b0987 100644
--- a/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/682fd6.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureStore_682fd6() {
arg_0[int2(0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_682fd6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_682fd6();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.hlsl
index c561e4c..1f0ded5 100644
--- a/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/6b75c3.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureStore_6b75c3() {
arg_0[1] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_6b75c3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_6b75c3();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.hlsl
index 57de36d..1b1cbed 100644
--- a/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/6b80d2.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureStore_6b80d2() {
arg_0[1] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_6b80d2();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_6b80d2();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.hlsl
index 90f7d83..1d3d6a6 100644
--- a/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/6cff2e.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureStore_6cff2e() {
arg_0[int2(0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_6cff2e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_6cff2e();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/6da692.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/6da692.wgsl.expected.hlsl
index 19a1b5f..10a2b76 100644
--- a/test/intrinsics/gen/textureStore/6da692.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/6da692.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureStore_6da692() {
arg_0[int3(0, 0, 1)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_6da692();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_6da692();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/731349.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/731349.wgsl.expected.hlsl
index 3a80494..4d587bb 100644
--- a/test/intrinsics/gen/textureStore/731349.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/731349.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureStore_731349() {
arg_0[int2(0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_731349();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_731349();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/752da6.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/752da6.wgsl.expected.hlsl
index 3ab3bcc..68edf8a 100644
--- a/test/intrinsics/gen/textureStore/752da6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/752da6.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureStore_752da6() {
arg_0[int2(0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_752da6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_752da6();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.hlsl
index 29ed738..442a105 100644
--- a/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/77c0ae.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<uint4> arg_0 : register(u0, space1);
void textureStore_77c0ae() {
arg_0[int2(0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_77c0ae();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_77c0ae();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.hlsl
index 51ffaac..f0207bc 100644
--- a/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/7cec8d.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureStore_7cec8d() {
arg_0[int3(0, 0, 1)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_7cec8d();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_7cec8d();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.hlsl
index 1da528f..51e509c 100644
--- a/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/7f7fae.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureStore_7f7fae() {
arg_0[1] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_7f7fae();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_7f7fae();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/804942.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/804942.wgsl.expected.hlsl
index b835e33..1373d28 100644
--- a/test/intrinsics/gen/textureStore/804942.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/804942.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureStore_804942() {
arg_0[int2(0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_804942();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_804942();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/805dae.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/805dae.wgsl.expected.hlsl
index fee8e1b..f31ad09 100644
--- a/test/intrinsics/gen/textureStore/805dae.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/805dae.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureStore_805dae() {
arg_0[int2(0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_805dae();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_805dae();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.hlsl
index bb4b8eb..8adf950 100644
--- a/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/83bcc1.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureStore_83bcc1() {
arg_0[1] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_83bcc1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_83bcc1();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/872747.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/872747.wgsl.expected.hlsl
index e00dfbd..b2d9eaf 100644
--- a/test/intrinsics/gen/textureStore/872747.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/872747.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureStore_872747() {
arg_0[1] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_872747();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_872747();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.hlsl
index ca6ebdc..59f63af 100644
--- a/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/8e0479.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureStore_8e0479() {
arg_0[int3(0, 0, 1)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_8e0479();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_8e0479();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.hlsl
index 614cc38..dd64027 100644
--- a/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/8f71a1.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureStore_8f71a1() {
arg_0[int3(0, 0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_8f71a1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_8f71a1();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/969534.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/969534.wgsl.expected.hlsl
index 9b94d3f..6aa3761 100644
--- a/test/intrinsics/gen/textureStore/969534.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/969534.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureStore_969534() {
arg_0[1] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_969534();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_969534();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.hlsl
index 2d6881c..ead5d45 100644
--- a/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/9a3ecc.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureStore_9a3ecc() {
arg_0[int3(0, 0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_9a3ecc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_9a3ecc();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.hlsl
index 43971ad..3467927 100644
--- a/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/9d9cd5.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureStore_9d9cd5() {
arg_0[int3(0, 0, 1)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_9d9cd5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_9d9cd5();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.hlsl
index 310f67b..eb90843 100644
--- a/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/9e3ec5.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureStore_9e3ec5() {
arg_0[int2(0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_9e3ec5();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_9e3ec5();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.hlsl
index 7185f53..a71ff12 100644
--- a/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/ac67aa.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureStore_ac67aa() {
arg_0[int3(0, 0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_ac67aa();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_ac67aa();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.hlsl
index 5ec0692..1d77639 100644
--- a/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/b706b1.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureStore_b706b1() {
arg_0[int3(0, 0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_b706b1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_b706b1();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.hlsl
index 95ca423..bf654d6 100644
--- a/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/bbcb7f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<int4> arg_0 : register(u0, space1);
void textureStore_bbcb7f() {
arg_0[int2(0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_bbcb7f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_bbcb7f();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.hlsl
index 33fc182..8299ac7 100644
--- a/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/be6e30.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2D<float4> arg_0 : register(u0, space1);
void textureStore_be6e30() {
arg_0[int2(0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_be6e30();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_be6e30();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.hlsl
index 5714afa..03ef5bc 100644
--- a/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/bf775c.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureStore_bf775c() {
arg_0[1] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_bf775c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_bf775c();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.hlsl
index 2f08e13..5bf8ada 100644
--- a/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/c5af1e.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureStore_c5af1e() {
arg_0[int3(0, 0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_c5af1e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_c5af1e();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/c863be.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/c863be.wgsl.expected.hlsl
index e330dce..4912eac 100644
--- a/test/intrinsics/gen/textureStore/c863be.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/c863be.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<float4> arg_0 : register(u0, space1);
void textureStore_c863be() {
arg_0[int3(0, 0, 1)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_c863be();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_c863be();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.hlsl
index bddb309..82ab661 100644
--- a/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/d73b5c.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<int4> arg_0 : register(u0, space1);
void textureStore_d73b5c() {
arg_0[1] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_d73b5c();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_d73b5c();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.hlsl
index bb35e13..383d958 100644
--- a/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/dd7d81.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureStore_dd7d81() {
arg_0[int3(0, 0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_dd7d81();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_dd7d81();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/dde364.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/dde364.wgsl.expected.hlsl
index 6f41e23..6775d47 100644
--- a/test/intrinsics/gen/textureStore/dde364.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/dde364.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<uint4> arg_0 : register(u0, space1);
void textureStore_dde364() {
arg_0[int3(0, 0, 1)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_dde364();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_dde364();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.hlsl
index 8aa9d4c..2766a15 100644
--- a/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/e885e8.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<float4> arg_0 : register(u0, space1);
void textureStore_e885e8() {
arg_0[1] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_e885e8();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_e885e8();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.hlsl
index a65d22b..90d8682 100644
--- a/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/eb702f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureStore_eb702f() {
arg_0[int3(0, 0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_eb702f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_eb702f();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.hlsl
index 859588a..b89b62b 100644
--- a/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/eb78b9.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<int4> arg_0 : register(u0, space1);
void textureStore_eb78b9() {
arg_0[int3(0, 0, 0)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_eb78b9();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_eb78b9();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.hlsl
index 2560aac..c432941 100644
--- a/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/ee6acc.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<float4> arg_0 : register(u0, space1);
void textureStore_ee6acc() {
arg_0[int3(0, 0, 0)] = float4(0.0f, 0.0f, 0.0f, 0.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_ee6acc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_ee6acc();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.hlsl
index 68cadd9..83c0963 100644
--- a/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/ef9f2f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureStore_ef9f2f() {
arg_0[int3(0, 0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_ef9f2f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_ef9f2f();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.hlsl
index dc3b5d8..d2b20cb 100644
--- a/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/f8dead.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture3D<uint4> arg_0 : register(u0, space1);
void textureStore_f8dead() {
arg_0[int3(0, 0, 0)] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_f8dead();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_f8dead();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.hlsl
index b671f34..042fbff 100644
--- a/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/f9be83.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureStore_f9be83() {
arg_0[int3(0, 0, 1)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_f9be83();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_f9be83();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.hlsl
index b2a2834..7edd42c 100644
--- a/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/fb9a8f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture1D<uint4> arg_0 : register(u0, space1);
void textureStore_fb9a8f() {
arg_0[1] = uint4(0u, 0u, 0u, 0u);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_fb9a8f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_fb9a8f();
return;
}
-
diff --git a/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.hlsl b/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.hlsl
index 32afd0d..511cf65 100644
--- a/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/textureStore/fbf53f.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
RWTexture2DArray<int4> arg_0 : register(u0, space1);
void textureStore_fbf53f() {
arg_0[int3(0, 0, 1)] = int4(0, 0, 0, 0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
textureStore_fbf53f();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
textureStore_fbf53f();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/2585cd.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/2585cd.wgsl.expected.hlsl
index 37af464..2a84d71 100644
--- a/test/intrinsics/gen/transpose/2585cd.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/2585cd.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_2585cd() {
float3x4 res = transpose(float4x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_2585cd();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_2585cd();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/31d679.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/31d679.wgsl.expected.hlsl
index 6f95b31..17e4940 100644
--- a/test/intrinsics/gen/transpose/31d679.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/31d679.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_31d679() {
float2x2 res = transpose(float2x2(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_31d679();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_31d679();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/31e37e.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/31e37e.wgsl.expected.hlsl
index 0114d66..a24ce44 100644
--- a/test/intrinsics/gen/transpose/31e37e.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/31e37e.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_31e37e() {
float2x4 res = transpose(float4x2(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_31e37e();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_31e37e();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/4ce359.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/4ce359.wgsl.expected.hlsl
index 2abf16c..26f5d08 100644
--- a/test/intrinsics/gen/transpose/4ce359.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/4ce359.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_4ce359() {
float4x2 res = transpose(float2x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_4ce359();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_4ce359();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/4dc9a1.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/4dc9a1.wgsl.expected.hlsl
index b8326b9..4ad47cf 100644
--- a/test/intrinsics/gen/transpose/4dc9a1.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/4dc9a1.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_4dc9a1() {
float3x2 res = transpose(float2x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_4dc9a1();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_4dc9a1();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/854336.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/854336.wgsl.expected.hlsl
index 39df096..c6b76f1 100644
--- a/test/intrinsics/gen/transpose/854336.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/854336.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_854336() {
float3x3 res = transpose(float3x3(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_854336();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_854336();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/c1b600.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/c1b600.wgsl.expected.hlsl
index 688a4fa..ee2635b 100644
--- a/test/intrinsics/gen/transpose/c1b600.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/c1b600.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_c1b600() {
float4x4 res = transpose(float4x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_c1b600();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_c1b600();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/d8f8ba.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/d8f8ba.wgsl.expected.hlsl
index 35616ac..aba7571 100644
--- a/test/intrinsics/gen/transpose/d8f8ba.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/d8f8ba.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_d8f8ba() {
float4x3 res = transpose(float3x4(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_d8f8ba();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_d8f8ba();
return;
}
-
diff --git a/test/intrinsics/gen/transpose/ed4bdc.wgsl.expected.hlsl b/test/intrinsics/gen/transpose/ed4bdc.wgsl.expected.hlsl
index a7fa020..49a9f84 100644
--- a/test/intrinsics/gen/transpose/ed4bdc.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/transpose/ed4bdc.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void transpose_ed4bdc() {
float2x3 res = transpose(float3x2(0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
transpose_ed4bdc();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
transpose_ed4bdc();
return;
}
-
diff --git a/test/intrinsics/gen/trunc/562d05.wgsl.expected.hlsl b/test/intrinsics/gen/trunc/562d05.wgsl.expected.hlsl
index f96d4c8..ab059b2 100644
--- a/test/intrinsics/gen/trunc/562d05.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/trunc/562d05.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void trunc_562d05() {
float3 res = trunc(float3(0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
trunc_562d05();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
trunc_562d05();
return;
}
-
diff --git a/test/intrinsics/gen/trunc/e183aa.wgsl.expected.hlsl b/test/intrinsics/gen/trunc/e183aa.wgsl.expected.hlsl
index c8f3256..9e2b9e1 100644
--- a/test/intrinsics/gen/trunc/e183aa.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/trunc/e183aa.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void trunc_e183aa() {
float4 res = trunc(float4(0.0f, 0.0f, 0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
trunc_e183aa();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
trunc_e183aa();
return;
}
-
diff --git a/test/intrinsics/gen/trunc/eb83df.wgsl.expected.hlsl b/test/intrinsics/gen/trunc/eb83df.wgsl.expected.hlsl
index d778329..1526f70 100644
--- a/test/intrinsics/gen/trunc/eb83df.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/trunc/eb83df.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void trunc_eb83df() {
float res = trunc(1.0f);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
trunc_eb83df();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
trunc_eb83df();
return;
}
-
diff --git a/test/intrinsics/gen/trunc/f370d3.wgsl.expected.hlsl b/test/intrinsics/gen/trunc/f370d3.wgsl.expected.hlsl
index 7e1e532..679f416 100644
--- a/test/intrinsics/gen/trunc/f370d3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/trunc/f370d3.wgsl.expected.hlsl
@@ -1,11 +1,11 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void trunc_f370d3() {
float2 res = trunc(float2(0.0f, 0.0f));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
trunc_f370d3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -22,4 +22,3 @@
trunc_f370d3();
return;
}
-
diff --git a/test/intrinsics/gen/unpack2x16float/32a5cf.wgsl.expected.hlsl b/test/intrinsics/gen/unpack2x16float/32a5cf.wgsl.expected.hlsl
index ab62075..6dc4bda 100644
--- a/test/intrinsics/gen/unpack2x16float/32a5cf.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/unpack2x16float/32a5cf.wgsl.expected.hlsl
@@ -1,12 +1,12 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void unpack2x16float_32a5cf() {
uint tint_tmp = 1u;
float2 res = f16tof32(uint2(tint_tmp & 0xffff, tint_tmp >> 16));
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
unpack2x16float_32a5cf();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -23,4 +23,3 @@
unpack2x16float_32a5cf();
return;
}
-
diff --git a/test/intrinsics/gen/unpack2x16snorm/b4aea6.wgsl.expected.hlsl b/test/intrinsics/gen/unpack2x16snorm/b4aea6.wgsl.expected.hlsl
index 1eb6221..d5314f5 100644
--- a/test/intrinsics/gen/unpack2x16snorm/b4aea6.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/unpack2x16snorm/b4aea6.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void unpack2x16snorm_b4aea6() {
int tint_tmp_1 = int(1u);
int2 tint_tmp = int2(tint_tmp_1 << 16, tint_tmp_1) >> 16;
float2 res = clamp(float2(tint_tmp) / 32767.0, -1.0, 1.0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
unpack2x16snorm_b4aea6();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
unpack2x16snorm_b4aea6();
return;
}
-
diff --git a/test/intrinsics/gen/unpack2x16unorm/7699c0.wgsl.expected.hlsl b/test/intrinsics/gen/unpack2x16unorm/7699c0.wgsl.expected.hlsl
index 75366ad..3fdceee 100644
--- a/test/intrinsics/gen/unpack2x16unorm/7699c0.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/unpack2x16unorm/7699c0.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void unpack2x16unorm_7699c0() {
uint tint_tmp_1 = 1u;
uint2 tint_tmp = uint2(tint_tmp_1 & 0xffff, tint_tmp_1 >> 16);
float2 res = float2(tint_tmp) / 65535.0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
unpack2x16unorm_7699c0();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
unpack2x16unorm_7699c0();
return;
}
-
diff --git a/test/intrinsics/gen/unpack4x8snorm/523fb3.wgsl.expected.hlsl b/test/intrinsics/gen/unpack4x8snorm/523fb3.wgsl.expected.hlsl
index 06b04ef..e02cf52 100644
--- a/test/intrinsics/gen/unpack4x8snorm/523fb3.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/unpack4x8snorm/523fb3.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void unpack4x8snorm_523fb3() {
int tint_tmp_1 = int(1u);
int4 tint_tmp = int4(tint_tmp_1 << 24, tint_tmp_1 << 16, tint_tmp_1 << 8, tint_tmp_1) >> 24;
float4 res = clamp(float4(tint_tmp) / 127.0, -1.0, 1.0);
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
unpack4x8snorm_523fb3();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
unpack4x8snorm_523fb3();
return;
}
-
diff --git a/test/intrinsics/gen/unpack4x8unorm/750c74.wgsl.expected.hlsl b/test/intrinsics/gen/unpack4x8unorm/750c74.wgsl.expected.hlsl
index 277b247..af35ee2 100644
--- a/test/intrinsics/gen/unpack4x8unorm/750c74.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/unpack4x8unorm/750c74.wgsl.expected.hlsl
@@ -1,13 +1,13 @@
-struct tint_symbol {
- float4 value : SV_Position;
-};
-
void unpack4x8unorm_750c74() {
uint tint_tmp_1 = 1u;
uint4 tint_tmp = uint4(tint_tmp_1 & 0xff, (tint_tmp_1 >> 8) & 0xff, (tint_tmp_1 >> 16) & 0xff, tint_tmp_1 >> 24);
float4 res = float4(tint_tmp) / 255.0;
}
+struct tint_symbol {
+ float4 value : SV_Position;
+};
+
tint_symbol vertex_main() {
unpack4x8unorm_750c74();
const tint_symbol tint_symbol_1 = {float4(0.0f, 0.0f, 0.0f, 0.0f)};
@@ -24,4 +24,3 @@
unpack4x8unorm_750c74();
return;
}
-
diff --git a/test/intrinsics/gen/workgroupBarrier/a17f7f.wgsl.expected.hlsl b/test/intrinsics/gen/workgroupBarrier/a17f7f.wgsl.expected.hlsl
index 6d12710..8879f79 100644
--- a/test/intrinsics/gen/workgroupBarrier/a17f7f.wgsl.expected.hlsl
+++ b/test/intrinsics/gen/workgroupBarrier/a17f7f.wgsl.expected.hlsl
@@ -7,4 +7,3 @@
workgroupBarrier_a17f7f();
return;
}
-
diff --git a/test/intrinsics/ignore.wgsl.expected.hlsl b/test/intrinsics/ignore.wgsl.expected.hlsl
index 26ff008..3d18ac9 100644
--- a/test/intrinsics/ignore.wgsl.expected.hlsl
+++ b/test/intrinsics/ignore.wgsl.expected.hlsl
@@ -7,4 +7,3 @@
f(1, 2, 3);
return;
}
-
diff --git a/test/intrinsics/modf.wgsl.expected.hlsl b/test/intrinsics/modf.wgsl.expected.hlsl
index 8d67e8a..200d084 100644
--- a/test/intrinsics/modf.wgsl.expected.hlsl
+++ b/test/intrinsics/modf.wgsl.expected.hlsl
@@ -4,4 +4,3 @@
const float tint_symbol = modf(1.230000019f, whole);
return;
}
-