SPIRV-Cross/reference/opt/shaders/legacy/vert/transpose.legacy.vert

19 lines
339 B
GLSL
Raw Normal View History

2017-11-22 11:08:06 +00:00
#version 100
struct Buffer
{
mat4 MVPRowMajor;
mat4 MVPColMajor;
mat4 M;
};
uniform Buffer _13;
attribute vec4 Position;
void main()
{
gl_Position = (((_13.M * (Position * _13.MVPRowMajor)) + (_13.M * (_13.MVPColMajor * Position))) + (_13.M * (_13.MVPRowMajor * Position))) + (_13.M * (Position * _13.MVPColMajor));
}