dawn-cmake/test/unittest/reader/spirv/SpvUnaryArithTest_Transpose...

11 lines
223 B
WebGPU Shading Language

fn main_1() {
let x_1 : mat3x2<f32> = mat3x2<f32>(vec2<f32>(50.0, 60.0), vec2<f32>(60.0, 50.0), vec2<f32>(50.0, 60.0));
let x_2 : mat2x3<f32> = transpose(x_1);
return;
}
[[stage(fragment)]]
fn main() {
main_1();
}