mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 07:21:04 +01: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.));
|
|
}
|