SPIRV-Cross/shaders-hlsl/frag/matrix-input.frag
Hans-Kristian Arntzen eb58f67727 Only unroll matrices for vertex input.
Bandaid, might have to revisit this later.
2017-10-05 16:31:52 +02:00

10 lines
144 B
GLSL

#version 450
layout(location = 0) out vec4 FragColor;
layout(location = 1) in mat4 m;
void main()
{
FragColor = m[0] + m[1] + m[2] + m[3];
}