Implement GL_NV_cooperative_matrix
This commit is contained in:
parent
ec484527b6
commit
4605e2ed2b
37 changed files with 5630 additions and 4211 deletions
4
glslang/MachineIndependent/Constant.cpp
Executable file → Normal file
4
glslang/MachineIndependent/Constant.cpp
Executable file → Normal file
|
|
@ -1354,7 +1354,9 @@ TIntermTyped* TIntermediate::foldDereference(TIntermTyped* node, int index, cons
|
|||
// arrays, vectors, matrices, all use simple multiplicative math
|
||||
// while structures need to add up heterogeneous members
|
||||
int start;
|
||||
if (node->isArray() || ! node->isStruct())
|
||||
if (node->getType().isCoopMat())
|
||||
start = 0;
|
||||
else if (node->isArray() || ! node->isStruct())
|
||||
start = size * index;
|
||||
else {
|
||||
// it is a structure
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue