dawn-cmake/test/access/var/matrix.wgsl

7 lines
106 B
WebGPU Shading Language

[[stage(compute)]]
fn main() {
var m : mat3x3<f32>;
let v : vec3<f32> = m[1];
let f : f32 = v[1];
}