wgsl: Replace [[decoration]] with @decoration

Deprecate the old syntax. Migrate everything to the new syntax.

Bug: tint:1382
Change-Id: Ide12b2e927b17dc93b9714c7049090864cc568d3
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77260
Reviewed-by: James Price <jrprice@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Commit-Queue: David Neto <dneto@google.com>
This commit is contained in:
Ben Clayton
2022-01-19 22:46:57 +00:00
committed by Tint LUCI CQ
parent 8f1d5224ee
commit 01e4b6fc18
3200 changed files with 15906 additions and 15215 deletions

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
};
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &G;
let p2 = &((*p).a);

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
}
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &(G);
let p2 = &((*(p)).a);

View File

@@ -1,6 +1,6 @@
[[group(0), binding(0)]] var<storage, read> G : array<i32>;
@group(0) @binding(0) var<storage, read> G : array<i32>;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &G;
let p2 = &(*p);

View File

@@ -1,6 +1,6 @@
[[group(0), binding(0)]] var<storage, read> G : array<i32>;
@group(0) @binding(0) var<storage, read> G : array<i32>;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &(G);
let p2 = &(*(p));

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
};
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let l1 : u32 = arrayLength(&G.a);

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
}
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let l1 : u32 = arrayLength(&(G.a));
let p = &(G.a);

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
};
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let l1 : u32 = arrayLength(&G.a);
}

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
}
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let l1 : u32 = arrayLength(&(G.a));
}

View File

@@ -1,6 +1,6 @@
[[group(0), binding(0)]] var<storage, read> G : array<i32>;
@group(0) @binding(0) var<storage, read> G : array<i32>;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let l1 : u32 = arrayLength(&G);
}

View File

@@ -1,6 +1,6 @@
[[group(0), binding(0)]] var<storage, read> G : array<i32>;
@group(0) @binding(0) var<storage, read> G : array<i32>;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let l1 : u32 = arrayLength(&(G));
}

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
};
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &G.a;
let p2 = p;

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
}
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &(G.a);
let p2 = p;

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
};
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &*&G;
let p2 = &*p;

View File

@@ -2,9 +2,9 @@ struct S {
a : array<i32>;
}
[[group(0), binding(0)]] var<storage, read> G : S;
@group(0) @binding(0) var<storage, read> G : S;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &(*(&(G)));
let p2 = &(*(p));

View File

@@ -1,6 +1,6 @@
[[group(0), binding(0)]] var<storage, read> G : array<i32>;
@group(0) @binding(0) var<storage, read> G : array<i32>;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &*&G;
let p2 = &*p;

View File

@@ -1,6 +1,6 @@
[[group(0), binding(0)]] var<storage, read> G : array<i32>;
@group(0) @binding(0) var<storage, read> G : array<i32>;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &(*(&(G)));
let p2 = &(*(p));

View File

@@ -1,6 +1,6 @@
[[group(0), binding(0)]] var<storage, read> G : array<i32>;
@group(0) @binding(0) var<storage, read> G : array<i32>;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &G;
let p2 = p;

View File

@@ -1,6 +1,6 @@
[[group(0), binding(0)]] var<storage, read> G : array<i32>;
@group(0) @binding(0) var<storage, read> G : array<i32>;
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let p = &(G);
let p2 = p;

View File

@@ -7,7 +7,7 @@ fn main_1() {
return;
}
[[stage(compute), workgroup_size(1, 1, 1)]]
@stage(compute) @workgroup_size(1, 1, 1)
fn main() {
main_1();
}

View File

@@ -1,4 +1,4 @@
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let res = frexp(1.23);
let exp : i32 = res.exp;

View File

@@ -1,4 +1,4 @@
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn main() {
let res = frexp(1.230000019);
let exp : i32 = res.exp;

View File

@@ -28,18 +28,18 @@ fn abs_002533() {
var res: vec4<f32> = abs(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_002533();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_002533();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_002533();
}

View File

@@ -2,18 +2,18 @@ fn abs_002533() {
var res : vec4<f32> = abs(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_002533();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_002533();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_002533();
}

View File

@@ -28,18 +28,18 @@ fn abs_005174() {
var res: vec3<f32> = abs(vec3<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_005174();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_005174();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_005174();
}

View File

@@ -2,18 +2,18 @@ fn abs_005174() {
var res : vec3<f32> = abs(vec3<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_005174();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_005174();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_005174();
}

View File

@@ -28,18 +28,18 @@ fn abs_1ce782() {
var res: vec4<u32> = abs(vec4<u32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_1ce782();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_1ce782();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_1ce782();
}

View File

@@ -2,18 +2,18 @@ fn abs_1ce782() {
var res : vec4<u32> = abs(vec4<u32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_1ce782();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_1ce782();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_1ce782();
}

View File

@@ -28,18 +28,18 @@ fn abs_1e9d53() {
var res: vec2<f32> = abs(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_1e9d53();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_1e9d53();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_1e9d53();
}

View File

@@ -2,18 +2,18 @@ fn abs_1e9d53() {
var res : vec2<f32> = abs(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_1e9d53();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_1e9d53();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_1e9d53();
}

View File

@@ -28,18 +28,18 @@ fn abs_467cd1() {
var res: u32 = abs(1u);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_467cd1();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_467cd1();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_467cd1();
}

View File

@@ -2,18 +2,18 @@ fn abs_467cd1() {
var res : u32 = abs(1u);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_467cd1();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_467cd1();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_467cd1();
}

View File

@@ -28,18 +28,18 @@ fn abs_4ad288() {
var res: i32 = abs(1);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_4ad288();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_4ad288();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_4ad288();
}

View File

@@ -2,18 +2,18 @@ fn abs_4ad288() {
var res : i32 = abs(1);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_4ad288();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_4ad288();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_4ad288();
}

View File

@@ -28,18 +28,18 @@ fn abs_5ad50a() {
var res: vec3<i32> = abs(vec3<i32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_5ad50a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_5ad50a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_5ad50a();
}

View File

@@ -2,18 +2,18 @@ fn abs_5ad50a() {
var res : vec3<i32> = abs(vec3<i32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_5ad50a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_5ad50a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_5ad50a();
}

View File

@@ -28,18 +28,18 @@ fn abs_7326de() {
var res: vec3<u32> = abs(vec3<u32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_7326de();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_7326de();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_7326de();
}

View File

@@ -2,18 +2,18 @@ fn abs_7326de() {
var res : vec3<u32> = abs(vec3<u32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_7326de();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_7326de();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_7326de();
}

View File

@@ -28,18 +28,18 @@ fn abs_7f28e6() {
var res: vec2<u32> = abs(vec2<u32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_7f28e6();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_7f28e6();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_7f28e6();
}

View File

@@ -2,18 +2,18 @@ fn abs_7f28e6() {
var res : vec2<u32> = abs(vec2<u32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_7f28e6();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_7f28e6();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_7f28e6();
}

View File

@@ -28,18 +28,18 @@ fn abs_7faa9e() {
var res: vec2<i32> = abs(vec2<i32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_7faa9e();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_7faa9e();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_7faa9e();
}

View File

@@ -2,18 +2,18 @@ fn abs_7faa9e() {
var res : vec2<i32> = abs(vec2<i32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_7faa9e();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_7faa9e();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_7faa9e();
}

View File

@@ -28,18 +28,18 @@ fn abs_9c80a6() {
var res: vec4<i32> = abs(vec4<i32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_9c80a6();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_9c80a6();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_9c80a6();
}

View File

@@ -2,18 +2,18 @@ fn abs_9c80a6() {
var res : vec4<i32> = abs(vec4<i32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_9c80a6();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_9c80a6();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_9c80a6();
}

View File

@@ -28,18 +28,18 @@ fn abs_b96037() {
var res: f32 = abs(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_b96037();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_b96037();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_b96037();
}

View File

@@ -2,18 +2,18 @@ fn abs_b96037() {
var res : f32 = abs(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
abs_b96037();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
abs_b96037();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
abs_b96037();
}

View File

@@ -28,18 +28,18 @@ fn acos_489247() {
var res: f32 = acos(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_489247();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
acos_489247();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
acos_489247();
}

View File

@@ -2,18 +2,18 @@ fn acos_489247() {
var res : f32 = acos(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_489247();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
acos_489247();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
acos_489247();
}

View File

@@ -28,18 +28,18 @@ fn acos_8e2acf() {
var res: vec4<f32> = acos(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_8e2acf();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
acos_8e2acf();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
acos_8e2acf();
}

View File

@@ -2,18 +2,18 @@ fn acos_8e2acf() {
var res : vec4<f32> = acos(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_8e2acf();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
acos_8e2acf();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
acos_8e2acf();
}

View File

@@ -28,18 +28,18 @@ fn acos_a610c4() {
var res: vec3<f32> = acos(vec3<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_a610c4();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
acos_a610c4();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
acos_a610c4();
}

View File

@@ -2,18 +2,18 @@ fn acos_a610c4() {
var res : vec3<f32> = acos(vec3<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_a610c4();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
acos_a610c4();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
acos_a610c4();
}

View File

@@ -28,18 +28,18 @@ fn acos_dfc915() {
var res: vec2<f32> = acos(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_dfc915();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
acos_dfc915();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
acos_dfc915();
}

View File

@@ -2,18 +2,18 @@ fn acos_dfc915() {
var res : vec2<f32> = acos(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
acos_dfc915();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
acos_dfc915();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
acos_dfc915();
}

View File

@@ -28,18 +28,18 @@ fn all_353d6a() {
var res: bool = all(bool());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
all_353d6a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
all_353d6a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
all_353d6a();
}

View File

@@ -2,18 +2,18 @@ fn all_353d6a() {
var res : bool = all(bool());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
all_353d6a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
all_353d6a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
all_353d6a();
}

View File

@@ -28,18 +28,18 @@ fn all_986c7b() {
var res: bool = all(vec4<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
all_986c7b();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
all_986c7b();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
all_986c7b();
}

View File

@@ -2,18 +2,18 @@ fn all_986c7b() {
var res : bool = all(vec4<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
all_986c7b();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
all_986c7b();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
all_986c7b();
}

View File

@@ -28,18 +28,18 @@ fn all_bd2dba() {
var res: bool = all(vec3<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
all_bd2dba();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
all_bd2dba();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
all_bd2dba();
}

View File

@@ -2,18 +2,18 @@ fn all_bd2dba() {
var res : bool = all(vec3<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
all_bd2dba();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
all_bd2dba();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
all_bd2dba();
}

View File

@@ -28,18 +28,18 @@ fn all_f46790() {
var res: bool = all(vec2<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
all_f46790();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
all_f46790();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
all_f46790();
}

View File

@@ -2,18 +2,18 @@ fn all_f46790() {
var res : bool = all(vec2<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
all_f46790();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
all_f46790();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
all_f46790();
}

View File

@@ -28,18 +28,18 @@ fn any_083428() {
var res: bool = any(vec4<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_083428();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
any_083428();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_083428();
}

View File

@@ -2,18 +2,18 @@ fn any_083428() {
var res : bool = any(vec4<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_083428();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
any_083428();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_083428();
}

View File

@@ -28,18 +28,18 @@ fn any_0e3e58() {
var res: bool = any(vec2<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_0e3e58();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
any_0e3e58();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_0e3e58();
}

View File

@@ -2,18 +2,18 @@ fn any_0e3e58() {
var res : bool = any(vec2<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_0e3e58();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
any_0e3e58();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_0e3e58();
}

View File

@@ -28,18 +28,18 @@ fn any_2ab91a() {
var res: bool = any(bool());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_2ab91a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
any_2ab91a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_2ab91a();
}

View File

@@ -2,18 +2,18 @@ fn any_2ab91a() {
var res : bool = any(bool());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_2ab91a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
any_2ab91a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_2ab91a();
}

View File

@@ -28,18 +28,18 @@ fn any_e755c1() {
var res: bool = any(vec3<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_e755c1();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
any_e755c1();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_e755c1();
}

View File

@@ -2,18 +2,18 @@ fn any_e755c1() {
var res : bool = any(vec3<bool>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
any_e755c1();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
any_e755c1();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
any_e755c1();
}

View File

@@ -25,25 +25,25 @@
struct SB_RO {
arg_0: array<i32>;
};
[[group(0), binding(1)]] var<storage, read> sb_ro : SB_RO;
@group(0) @binding(1) var<storage, read> sb_ro : SB_RO;
// fn arrayLength(ptr<storage, array<i32>, read>) -> u32
fn arrayLength_1588cd() {
var res: u32 = arrayLength(&sb_ro.arg_0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_1588cd();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_1588cd();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_1588cd();
}

View File

@@ -2,24 +2,24 @@ struct SB_RO {
arg_0 : array<i32>;
}
[[group(0), binding(1)]] var<storage, read> sb_ro : SB_RO;
@group(0) @binding(1) var<storage, read> sb_ro : SB_RO;
fn arrayLength_1588cd() {
var res : u32 = arrayLength(&(sb_ro.arg_0));
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_1588cd();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_1588cd();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_1588cd();
}

View File

@@ -25,25 +25,25 @@
struct SB_RW {
arg_0: array<i32>;
};
[[group(0), binding(0)]] var<storage, read_write> sb_rw : SB_RW;
@group(0) @binding(0) var<storage, read_write> sb_rw : SB_RW;
// fn arrayLength(ptr<storage, array<i32>, read_write>) -> u32
fn arrayLength_61b1c7() {
var res: u32 = arrayLength(&sb_rw.arg_0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_61b1c7();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_61b1c7();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_61b1c7();
}

View File

@@ -2,24 +2,24 @@ struct SB_RW {
arg_0 : array<i32>;
}
[[group(0), binding(0)]] var<storage, read_write> sb_rw : SB_RW;
@group(0) @binding(0) var<storage, read_write> sb_rw : SB_RW;
fn arrayLength_61b1c7() {
var res : u32 = arrayLength(&(sb_rw.arg_0));
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_61b1c7();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_61b1c7();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_61b1c7();
}

View File

@@ -25,25 +25,25 @@
struct SB_RO {
arg_0: array<f32>;
};
[[group(0), binding(1)]] var<storage, read> sb_ro : SB_RO;
@group(0) @binding(1) var<storage, read> sb_ro : SB_RO;
// fn arrayLength(ptr<storage, array<f32>, read>) -> u32
fn arrayLength_a0f5ca() {
var res: u32 = arrayLength(&sb_ro.arg_0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_a0f5ca();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_a0f5ca();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_a0f5ca();
}

View File

@@ -2,24 +2,24 @@ struct SB_RO {
arg_0 : array<f32>;
}
[[group(0), binding(1)]] var<storage, read> sb_ro : SB_RO;
@group(0) @binding(1) var<storage, read> sb_ro : SB_RO;
fn arrayLength_a0f5ca() {
var res : u32 = arrayLength(&(sb_ro.arg_0));
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_a0f5ca();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_a0f5ca();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_a0f5ca();
}

View File

@@ -25,25 +25,25 @@
struct SB_RW {
arg_0: array<f32>;
};
[[group(0), binding(0)]] var<storage, read_write> sb_rw : SB_RW;
@group(0) @binding(0) var<storage, read_write> sb_rw : SB_RW;
// fn arrayLength(ptr<storage, array<f32>, read_write>) -> u32
fn arrayLength_cdd123() {
var res: u32 = arrayLength(&sb_rw.arg_0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_cdd123();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_cdd123();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_cdd123();
}

View File

@@ -2,24 +2,24 @@ struct SB_RW {
arg_0 : array<f32>;
}
[[group(0), binding(0)]] var<storage, read_write> sb_rw : SB_RW;
@group(0) @binding(0) var<storage, read_write> sb_rw : SB_RW;
fn arrayLength_cdd123() {
var res : u32 = arrayLength(&(sb_rw.arg_0));
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_cdd123();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_cdd123();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_cdd123();
}

View File

@@ -25,25 +25,25 @@
struct SB_RO {
arg_0: array<u32>;
};
[[group(0), binding(1)]] var<storage, read> sb_ro : SB_RO;
@group(0) @binding(1) var<storage, read> sb_ro : SB_RO;
// fn arrayLength(ptr<storage, array<u32>, read>) -> u32
fn arrayLength_cfca0a() {
var res: u32 = arrayLength(&sb_ro.arg_0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_cfca0a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_cfca0a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_cfca0a();
}

View File

@@ -2,24 +2,24 @@ struct SB_RO {
arg_0 : array<u32>;
}
[[group(0), binding(1)]] var<storage, read> sb_ro : SB_RO;
@group(0) @binding(1) var<storage, read> sb_ro : SB_RO;
fn arrayLength_cfca0a() {
var res : u32 = arrayLength(&(sb_ro.arg_0));
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_cfca0a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_cfca0a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_cfca0a();
}

View File

@@ -25,25 +25,25 @@
struct SB_RW {
arg_0: array<u32>;
};
[[group(0), binding(0)]] var<storage, read_write> sb_rw : SB_RW;
@group(0) @binding(0) var<storage, read_write> sb_rw : SB_RW;
// fn arrayLength(ptr<storage, array<u32>, read_write>) -> u32
fn arrayLength_eb510f() {
var res: u32 = arrayLength(&sb_rw.arg_0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_eb510f();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_eb510f();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_eb510f();
}

View File

@@ -2,24 +2,24 @@ struct SB_RW {
arg_0 : array<u32>;
}
[[group(0), binding(0)]] var<storage, read_write> sb_rw : SB_RW;
@group(0) @binding(0) var<storage, read_write> sb_rw : SB_RW;
fn arrayLength_eb510f() {
var res : u32 = arrayLength(&(sb_rw.arg_0));
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
arrayLength_eb510f();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
arrayLength_eb510f();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
arrayLength_eb510f();
}

View File

@@ -28,18 +28,18 @@ fn asin_064953() {
var res: vec4<f32> = asin(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_064953();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
asin_064953();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
asin_064953();
}

View File

@@ -2,18 +2,18 @@ fn asin_064953() {
var res : vec4<f32> = asin(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_064953();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
asin_064953();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
asin_064953();
}

View File

@@ -28,18 +28,18 @@ fn asin_7b6a44() {
var res: vec2<f32> = asin(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_7b6a44();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
asin_7b6a44();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
asin_7b6a44();
}

View File

@@ -2,18 +2,18 @@ fn asin_7b6a44() {
var res : vec2<f32> = asin(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_7b6a44();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
asin_7b6a44();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
asin_7b6a44();
}

View File

@@ -28,18 +28,18 @@ fn asin_8cd9c9() {
var res: vec3<f32> = asin(vec3<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_8cd9c9();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
asin_8cd9c9();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
asin_8cd9c9();
}

View File

@@ -2,18 +2,18 @@ fn asin_8cd9c9() {
var res : vec3<f32> = asin(vec3<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_8cd9c9();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
asin_8cd9c9();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
asin_8cd9c9();
}

View File

@@ -28,18 +28,18 @@ fn asin_c0c272() {
var res: f32 = asin(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_c0c272();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
asin_c0c272();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
asin_c0c272();
}

View File

@@ -2,18 +2,18 @@ fn asin_c0c272() {
var res : f32 = asin(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
asin_c0c272();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
asin_c0c272();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
asin_c0c272();
}

View File

@@ -28,18 +28,18 @@ fn atan_02979a() {
var res: f32 = atan(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_02979a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan_02979a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan_02979a();
}

View File

@@ -2,18 +2,18 @@ fn atan_02979a() {
var res : f32 = atan(1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_02979a();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan_02979a();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan_02979a();
}

View File

@@ -28,18 +28,18 @@ fn atan_331e6d() {
var res: vec3<f32> = atan(vec3<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_331e6d();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan_331e6d();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan_331e6d();
}

View File

@@ -2,18 +2,18 @@ fn atan_331e6d() {
var res : vec3<f32> = atan(vec3<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_331e6d();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan_331e6d();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan_331e6d();
}

View File

@@ -28,18 +28,18 @@ fn atan_a8b696() {
var res: vec4<f32> = atan(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_a8b696();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan_a8b696();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan_a8b696();
}

View File

@@ -2,18 +2,18 @@ fn atan_a8b696() {
var res : vec4<f32> = atan(vec4<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_a8b696();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan_a8b696();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan_a8b696();
}

View File

@@ -28,18 +28,18 @@ fn atan_ad96e4() {
var res: vec2<f32> = atan(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_ad96e4();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan_ad96e4();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan_ad96e4();
}

View File

@@ -2,18 +2,18 @@ fn atan_ad96e4() {
var res : vec2<f32> = atan(vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan_ad96e4();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan_ad96e4();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan_ad96e4();
}

View File

@@ -28,18 +28,18 @@ fn atan2_57fb13() {
var res: vec2<f32> = atan2(vec2<f32>(), vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan2_57fb13();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan2_57fb13();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan2_57fb13();
}

View File

@@ -2,18 +2,18 @@ fn atan2_57fb13() {
var res : vec2<f32> = atan2(vec2<f32>(), vec2<f32>());
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan2_57fb13();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan2_57fb13();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan2_57fb13();
}

View File

@@ -28,18 +28,18 @@ fn atan2_96057c() {
var res: f32 = atan2(1.0, 1.0);
}
[[stage(vertex)]]
fn vertex_main() -> [[builtin(position)]] vec4<f32> {
@stage(vertex)
fn vertex_main() -> @builtin(position) vec4<f32> {
atan2_96057c();
return vec4<f32>();
}
[[stage(fragment)]]
@stage(fragment)
fn fragment_main() {
atan2_96057c();
}
[[stage(compute), workgroup_size(1)]]
@stage(compute) @workgroup_size(1)
fn compute_main() {
atan2_96057c();
}

Some files were not shown because too many files have changed in this diff Show More