dawn-cmake/test/tint/ptr_ref/access/matrix.spvasm.expected.wgsl

12 lines
236 B
WebGPU Shading Language

fn main_1() {
var m = mat3x3f();
m = mat3x3f(vec3f(1.0f, 2.0f, 3.0f), vec3f(4.0f, 5.0f, 6.0f), vec3f(7.0f, 8.0f, 9.0f));
m[1i] = vec3f(5.0f, 5.0f, 5.0f);
return;
}
@compute @workgroup_size(1i, 1i, 1i)
fn main() {
main_1();
}