SPIRV-Cross/shaders-hlsl/frag/matrix-input.frag

10 lines
144 B
GLSL
Raw Normal View History

#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];
}