21 lines
298 B
WebGPU Shading Language
21 lines
298 B
WebGPU Shading Language
fn round_184d5a() {
|
|
const arg_0 = vec4(3.5);
|
|
var res = round(arg_0);
|
|
}
|
|
|
|
@vertex
|
|
fn vertex_main() -> @builtin(position) vec4<f32> {
|
|
round_184d5a();
|
|
return vec4<f32>();
|
|
}
|
|
|
|
@fragment
|
|
fn fragment_main() {
|
|
round_184d5a();
|
|
}
|
|
|
|
@compute @workgroup_size(1)
|
|
fn compute_main() {
|
|
round_184d5a();
|
|
}
|