SPV: Implement all matrix operators {+,-,*,/} for {matrix,scalar,vector}.
This commit is contained in:
parent
494a02a2b0
commit
04bb8a01d6
9 changed files with 1140 additions and 76 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue