SPV: Implement all matrix operators {+,-,*,/} for {matrix,scalar,vector}.

This commit is contained in:
John Kessenich
2015-12-12 12:28:14 -07:00
parent 494a02a2b0
commit 04bb8a01d6
9 changed files with 1140 additions and 76 deletions

View File

@@ -7,7 +7,7 @@ out vec4 pos;
out vec3 color;
flat out int iout;
layout(shared, column_major, row_major) uniform; // default is now shared and row_major
layout(row_major) uniform; // default is now row_major
layout(std140) uniform Transform { // layout of this block is std140
mat4 M1; // row_major