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