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

7 lines
125 B
WebGPU Shading Language

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