dawn-cmake/test/expressions/binary/mul/mat4x2-mat2x4/f32.wgsl.expected.glsl

16 lines
357 B
Plaintext
Raw Normal View History

#version 310 es
precision mediump float;
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void f() {
mat4x2 a = mat4x2(vec2(-1.0f, -2.0f), vec2(-3.0f, -4.0f), vec2(-5.0f, -6.0f), vec2(-7.0f, -8.0f));
mat2x4 b = mat2x4(vec4(1.0f, 2.0f, 3.0f, 4.0f), vec4(5.0f, 6.0f, 7.0f, 8.0f));
mat2 r = (a * b);
return;
}
void main() {
f();
}