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

12 lines
245 B
WebGPU Shading Language

fn main_1() {
var m : mat3x3<f32> = mat3x3<f32>(vec3<f32>(0.0, 0.0, 0.0), vec3<f32>(0.0, 0.0, 0.0), vec3<f32>(0.0, 0.0, 0.0));
let x_15 : vec3<f32> = m[1];
let x_16 : f32 = x_15.y;
return;
}
[[stage(compute)]]
fn main() {
main_1();
}