Add ES 300 matrix operations: outerProduct, determinant, inverse, and transpose, and missing ES 300 limit gl_MaxFragmentInputVectors.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@20643 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
bd0747d6f0
commit
1f2a36bd6b
8 changed files with 122 additions and 24 deletions
|
|
@ -1202,6 +1202,18 @@ TIntermTyped* TIntermConstantUnion::fold(TOperator op, TIntermTyped* constantNod
|
|||
}
|
||||
returnType = TType(getType().getBasicType(), EvqConst, 0, getMatrixRows(), node->getMatrixCols());
|
||||
break;
|
||||
case EOpOuterProduct:
|
||||
// TODO: functionality >= 120
|
||||
break;
|
||||
case EOpDeterminant:
|
||||
// TODO: functionality >= 150
|
||||
break;
|
||||
case EOpMatrixInverse:
|
||||
// TODO: functionality >= 150
|
||||
break;
|
||||
case EOpTranspose:
|
||||
// TODO: functionality >= 120
|
||||
break;
|
||||
case EOpDiv:
|
||||
tempConstArray = new constUnion[objectSize];
|
||||
for (int i = 0; i < objectSize; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue