6 lines
127 B
WebGPU Shading Language
6 lines
127 B
WebGPU Shading Language
|
#import "simple.wgsl"
|
||
|
|
||
|
fn main() -> vec4<f32> {
|
||
|
let a = do_something_cool(10.0);
|
||
|
return vec4<f32>(vec3<f32>(a), 1.0);
|
||
|
}
|