19 lines
251 B
WebGPU Shading Language
19 lines
251 B
WebGPU Shading Language
|
fn fwidth_5d1b39() {
|
||
|
var res : vec3<f32> = fwidth(vec3<f32>());
|
||
|
}
|
||
|
|
||
|
[[stage(vertex)]]
|
||
|
fn vertex_main() {
|
||
|
fwidth_5d1b39();
|
||
|
}
|
||
|
|
||
|
[[stage(fragment)]]
|
||
|
fn fragment_main() {
|
||
|
fwidth_5d1b39();
|
||
|
}
|
||
|
|
||
|
[[stage(compute)]]
|
||
|
fn compute_main() {
|
||
|
fwidth_5d1b39();
|
||
|
}
|