dawn-cmake/test/tint/builtins/gen/literal/transpose/8c06ce.wgsl.expected.wgsl

22 lines
408 B
WebGPU Shading Language

enable f16;
fn transpose_8c06ce() {
var res : mat4x3<f16> = transpose(mat3x4<f16>(f16(), f16(), f16(), f16(), f16(), f16(), f16(), f16(), f16(), f16(), f16(), f16()));
}
@vertex
fn vertex_main() -> @builtin(position) vec4<f32> {
transpose_8c06ce();
return vec4<f32>();
}
@fragment
fn fragment_main() {
transpose_8c06ce();
}
@compute @workgroup_size(1)
fn compute_main() {
transpose_8c06ce();
}