mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
5 lines
188 B
WebGPU Shading Language
5 lines
188 B
WebGPU Shading Language
// NOTE: invalid combinations are tested in the `validation::bad_cross_builtin_args` test.
|
|
@compute @workgroup_size(1) fn main() {
|
|
let a = cross(vec3(0., 1., 2.), vec3(0., 1., 2.));
|
|
}
|