2021-11-05 18:37:16 +00:00
|
|
|
fn dot_f1312c() {
|
2022-07-26 14:27:25 +00:00
|
|
|
var res : i32 = dot(vec3<i32>(1), vec3<i32>(1));
|
2021-11-05 18:37:16 +00:00
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@vertex
|
2022-01-19 22:46:57 +00:00
|
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
2021-11-05 18:37:16 +00:00
|
|
|
dot_f1312c();
|
|
|
|
return vec4<f32>();
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@fragment
|
2021-11-05 18:37:16 +00:00
|
|
|
fn fragment_main() {
|
|
|
|
dot_f1312c();
|
|
|
|
}
|
|
|
|
|
2022-06-07 13:55:34 +00:00
|
|
|
@compute @workgroup_size(1)
|
2021-11-05 18:37:16 +00:00
|
|
|
fn compute_main() {
|
|
|
|
dot_f1312c();
|
|
|
|
}
|