wgsl-preprocessor/shaders/inner_include.wgsl

5 lines
98 B
WebGPU Shading Language

#define_module inner::some_include
fn mult_some_nums(a: f32, b: f32) -> f32 {
return a * b;
}