/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | parseConst.cpp | 48 …nstructorType(constructType), singleConstantParam(singleConstParam), error(false), isMatrix(false), in TConstTraverser() 62 bool isMatrix; member in glslang::TConstTraverser 85 if (node->getType().isMatrix()) { in visitAggregate() 86 isMatrix = true; in visitAggregate() 105 isMatrix = false; in visitAggregate() 135 if (! isMatrix) { in visitConstantUnion() 151 if (node->isMatrix()) { in visitConstantUnion()
|
D | Intermediate.cpp | 290 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath() 1136 if (lhsNode->isMatrix() && rhsNode->isMatrix()) in addBiShapeConversion() 1224 if (sourceType.isScalarOrVec1() && type.isMatrix()) { in addShapeConversion() 1252 if (sourceType.isMatrix()) { in addShapeConversion() 1254 if (type.isMatrix()) { in addShapeConversion() 1273 } else if (type.isMatrix()) { in addShapeConversion() 1859 if (type.isMatrix()) { in mapTypeToConstructorOp() 3219 if (left->getBasicType() != EbtBool || left->isMatrix()) in promoteBinary() 3251 if (left->isMatrix() || right->isMatrix()) in promoteBinary() 3338 if (!left->isMatrix() && right->isMatrix()) { in promoteBinary() [all …]
|
D | linkValidate.cpp | 1211 if (type.isMatrix()) { in computeTypeLocationSize() 1329 else if (type.isMatrix()) in computeTypeXfbSize() 1501 if (type.isMatrix()) { in getBaseAlignment() 1580 if (type.isMatrix()) { in getScalarAlignment()
|
D | reflection.cpp | 279 if ((leftType.isVector() || leftType.isMatrix()) && ! leftType.isArray()) in addDereferencedUniform() 607 if (type.isMatrix()) { in mapToGlType()
|
D | SymbolTable.cpp | 57 if (isMatrix()) in buildMangledName()
|
D | ParseContextBase.cpp | 266 } else if (type.isMatrix()) { in checkIndex()
|
/external/swiftshader/src/OpenGL/compiler/ |
D | Types.h | 328 else if(isMatrix()) in getElementSize() 370 else if(isMatrix()) in elementRegisterCount() 424 return isMatrix() ? secondarySize : primarySize; in registerSize() 427 bool isMatrix() const { return secondarySize > 1; } in isMatrix() function 446 bool isVector() const { return primarySize > 1 && !isMatrix(); } in isVector() 447 …bool isScalar() const { return primarySize == 1 && !isMatrix() && !structure && !isInterfaceBlock(… in isScalar() 448 …bool isRegister() const { return !isMatrix() && !structure && !array && !isInterfaceBlock(); } /… in isRegister() 640 bool isMatrix() const in isMatrix() function 652 ASSERT(isMatrix()); in getCols() 658 ASSERT(isMatrix()); in getRows() [all …]
|
D | parseConst.cpp | 32 isMatrix(false), in TConstTraverser() 55 bool isMatrix; member in TConstTraverser 125 if (node->getType().isMatrix()) { in visitAggregate() 126 isMatrix = true; in visitAggregate() 144 isMatrix = false; in visitAggregate() 187 if (!isMatrix) { in visitConstantUnion()
|
D | Intermediate.cpp | 70 if(type.isMatrix()) in TypeToConstructorOperator() 343 …if (left->isMatrix() || left->isArray() || left->isVector() || left->getBasicType() == EbtStruct) { in addBinaryMath() 350 if (left->getBasicType() != EbtBool || left->isMatrix() || left->isArray() || left->isVector()) { in addBinaryMath() 357 if (!IsInteger(left->getBasicType()) || left->isMatrix() || left->isArray()) { in addBinaryMath() 484 …if (!IsInteger(child->getType().getBasicType()) || child->getType().isMatrix() || child->getType()… in addUnaryMath() 490 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath() 1017 if (!left->isMatrix() && right->isMatrix()) { in promote() 1029 } else if (left->isMatrix() && !right->isMatrix()) { in promote() 1037 } else if (left->isMatrix() && right->isMatrix()) { in promote() 1041 } else if (!left->isMatrix() && !right->isMatrix()) { in promote() [all …]
|
D | SymbolTable.cpp | 52 if (isMatrix()) in buildMangledName() 86 if(isMatrix()) { in buildMangledName()
|
D | ParseHelper.cpp | 533 if (constructingMatrix && param.type->isMatrix()) in constructorErrorCheck() 574 if (!type->isMatrix() || !matrixInMatrix) { in constructorErrorCheck() 619 if (type->getBasicType() != EbtBool || type->isArray() || type->isMatrix() || type->isVector()) { in boolErrorCheck() 1394 if(type.isMatrix()) in checkInputOutputTypeIsValidES3() 2405 else if(!fieldType->isMatrix() && (fieldType->getBasicType() != EbtStruct)) in addInterfaceBlock() 2481 if(!baseExpression->isArray() && !baseExpression->isMatrix() && !baseExpression->isVector()) in addIndexExpression() 2524 else if(baseExpression->isMatrix()) in addIndexExpression() 2546 else if((baseExpression->isVector() || baseExpression->isMatrix()) && in addIndexExpression() 2617 else if(baseExpression->isMatrix()) in addIndexExpression() 3075 child->isMatrix() || in createUnaryMath() [all …]
|
D | OutputASM.cpp | 52 else if(type.isMatrix()) in glVariableType() 350 if(type.isMatrix()) in getBlockLayoutInfo() 384 else if(type.isMatrix()) in advanceOffset() 881 if(left->isMatrix()) in visitBinary() 888 else if(right->isMatrix()) in visitBinary() 1510 if(!argi->isMatrix()) in visitAggregate() 1518 else if(!result->isMatrix()) // Construct a non matrix from a matrix in visitAggregate() 1587 else if(arg0->isMatrix()) in visitAggregate() 2237 else if(type.isMatrix()) in componentCount() 2289 else if(type.isMatrix()) in registerSize() [all …]
|
D | intermediate.h | 321 bool isMatrix() const { return type.isMatrix(); } in isMatrix() function
|
D | intermOut.cpp | 55 if (isMatrix()) in getCompleteString()
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 739 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() local 740 …const int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) :… in generateValue() 758 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue() 1157 const bool isMatrix = glu::isDataTypeMatrix(basicType); in generateCompareSrc() local 1163 if (isMatrix) in generateCompareSrc() 1241 const bool isMatrix = glu::isDataTypeMatrix(basicType); in generateWriteSrc() local 1246 if (isMatrix) in generateWriteSrc() 1494 const bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyBufferVarData() local 1518 if (isMatrix) in copyBufferVarData() 1701 const bool isMatrix = glu::isDataTypeMatrix(resEntry.type); in compareBufferVarData() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 777 const bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() local 778 …const int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) :… in generateValue() 796 deUint8* const vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue() 1347 const bool isMatrix = glu::isDataTypeMatrix(basicType); in generateCompareSrc() local 1352 if (isMatrix) in generateCompareSrc() 1446 const bool isMatrix = glu::isDataTypeMatrix(basicType); in generateWriteSrc() local 1456 if (isMatrix) in generateWriteSrc() 1560 const bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyBufferVarData() local 1585 if (isMatrix) in copyBufferVarData() 1769 const bool isMatrix = glu::isDataTypeMatrix(resEntry.type); in compareBufferVarData() local [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 605 bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() local 606 int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : in generateValue() 621 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx * entry.matrixStride : 0); in generateValue() 1226 bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyUniformData() local 1234 if (isMatrix) in copyUniformData() 1801 bool isMatrix = glu::isDataTypeMatrix(uniform.type); in checkLayoutBounds() local 1802 int numVecs = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumRows(uniform.type) : in checkLayoutBounds() 1805 int numComps = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumColumns(uniform.type) : in checkLayoutBounds()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 628 bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() local 629 …int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : glu:… in generateValue() 642 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue() 1275 bool isMatrix = glu::isDataTypeMatrix(dstEntry.type); in copyUniformData() local 1283 if (isMatrix) in copyUniformData() 1836 bool isMatrix = glu::isDataTypeMatrix(uniform.type); in checkLayoutBounds() local 1837 …int numVecs = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumRows(uniform.type)… in checkLayoutBounds() 1838 …int numComps = isMatrix ? (uniform.isRowMajor ? glu::getDataTypeMatrixNumColumns(uniform.ty… in checkLayoutBounds()
|
D | glsShaderExecUtil.cpp | 973 const bool isMatrix = glu::isDataTypeMatrix(basicType); in copyToBuffer() local 975 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyToBuffer() 983 …const int dstOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*ve… in copyToBuffer() 1000 const bool isMatrix = glu::isDataTypeMatrix(basicType); in copyFromBuffer() local 1002 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyFromBuffer() 1009 …const int srcOffset = layout.offset + layout.stride*elemNdx + (isMatrix ? layout.matrixStride*ve… in copyFromBuffer()
|
/external/deqp-deps/glslang/glslang/Include/ |
D | Types.h | 1297 … assert(!(isMatrix() && vectorSize != 0)); // prevent vectorSize != 0 on matrices in POOL_ALLOCATOR_NEW_DELETE() 1310 … assert(!(isMatrix() && vectorSize != 0)); // prevent vectorSize != 0 on matrices in basicType() 1495 …virtual bool isScalar() const { return ! isVector() && ! isMatrix() && ! isStruct() && ! isArray()… in isScalar() 1498 virtual bool isMatrix() const { return matrixCols ? true : false; } in isMatrix() function 1915 if (isMatrix()) { in getCompleteString()
|
D | intermediate.h | 1086 virtual bool isMatrix() const { return type.isMatrix(); } in isMatrix() function
|
/external/deqp-deps/glslang/SPIRV/ |
D | GlslangToSpv.cpp | 386 if (type.isMatrix()) { in TranslateLayoutDecoration() 2028 bool isMatrix = false; in visitAggregate() local 2172 isMatrix = true; in visitAggregate() 2237 } else if (isMatrix) in visitAggregate() 3085 if (type.isMatrix()) in convertGlslangToSpvType() 3324 if (glslangMember.isMatrix() && explicitLayout != glslang::ElpNone) in decorateStructType() 4850 if (builder.isMatrix(left) || builder.isMatrix(right)) 4869 … && (builder.isVector(left) || builder.isMatrix(left) || builder.isAggregate(left))) { 4962 if (builder.isMatrix(left) && builder.isScalar(right)) { 4971 if (builder.isMatrix(right)) [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 626 const bool isMatrix = isDataTypeMatrix(basicType); in computeStd140Layout() local 627 const int numVecs = isMatrix ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd140Layout() 628 …const DataType vecType = isMatrix ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType))… in computeStd140Layout() 630 const int alignment = ((isMatrix || vecSize == 3) ? 4 : vecSize)*int(sizeof(deUint32)); in computeStd140Layout()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 747 bool isMatrix = glu::isDataTypeMatrix(entry.type); in generateValue() local 748 …int numVecs = isMatrix ? (entry.isRowMajor ? glu::getDataTypeMatrixNumRows(entry.type) : glu:… in generateValue() 761 deUint8* vecPtr = elemPtr + (isMatrix ? vecNdx*entry.matrixStride : 0); in generateValue() 1294 bool isMatrix (glu::DataType elementType) in isMatrix() function 1477 if (isMatrix(elementType)) in generateSingleCompare()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 1742 const bool isMatrix = glu::isDataTypeMatrix(basicType); in copyToBuffer() local 1744 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyToBuffer() 1753 …const int dstOffset = layout.offset + layout.stride * elemNdx + (isMatrix ? layout.matrixStride … in copyToBuffer() 1770 const bool isMatrix = glu::isDataTypeMatrix(basicType); in copyFromBuffer() local 1772 const int numVecs = isMatrix ? glu::getDataTypeMatrixNumColumns(basicType) : 1; in copyFromBuffer() 1780 …const int srcOffset = layout.offset + layout.stride * elemNdx + (isMatrix ? layout.matrixStride … in copyFromBuffer()
|