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

7 lines
115 B
WebGPU Shading Language

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