/external/angle/src/compiler/translator/ |
D | ConstantUnion.h | 18 class TConstantUnion 22 TConstantUnion(); 23 TConstantUnion(int i); 24 TConstantUnion(unsigned int u); 25 TConstantUnion(float f); 26 TConstantUnion(bool b); 28 bool cast(TBasicType newType, const TConstantUnion &constant); 69 bool operator==(const TConstantUnion &constant) const; 75 bool operator!=(const TConstantUnion &constant) const; 76 bool operator>(const TConstantUnion &constant) const; [all …]
|
D | ConstantUnion.cpp | 62 bool IsValidShiftOffset(const TConstantUnion &rhs) in IsValidShiftOffset() 70 TConstantUnion::TConstantUnion() : iConst(0), type(EbtVoid) {} in TConstantUnion() function in sh::TConstantUnion 72 TConstantUnion::TConstantUnion(int i) : iConst(i), type(EbtInt) {} in TConstantUnion() function in sh::TConstantUnion 74 TConstantUnion::TConstantUnion(unsigned int u) : uConst(u), type(EbtUInt) {} in TConstantUnion() function in sh::TConstantUnion 76 TConstantUnion::TConstantUnion(float f) : fConst(f), type(EbtFloat) {} in TConstantUnion() function in sh::TConstantUnion 78 TConstantUnion::TConstantUnion(bool b) : bConst(b), type(EbtBool) {} in TConstantUnion() function in sh::TConstantUnion 80 int TConstantUnion::getIConst() const in getIConst() 86 unsigned int TConstantUnion::getUConst() const in getUConst() 92 float TConstantUnion::getFConst() const in getFConst() 106 bool TConstantUnion::getBConst() const in getBConst() [all …]
|
D | IntermNode.cpp | 41 TConstantUnion *Vectorize(const TConstantUnion &constant, size_t size) in Vectorize() 43 TConstantUnion *constUnion = new TConstantUnion[size]; in Vectorize() 54 TConstantUnion *result) in UndefinedConstantFoldingError() 78 float VectorLength(const TConstantUnion *paramArray, size_t paramArraySize) in VectorLength() 89 float VectorDotProduct(const TConstantUnion *paramArray1, in VectorDotProduct() 90 const TConstantUnion *paramArray2, in VectorDotProduct() 99 TIntermTyped *CreateFoldedNode(const TConstantUnion *constArray, const TIntermTyped *originalNode) in CreateFoldedNode() 109 angle::Matrix<float> GetMatrix(const TConstantUnion *paramArray, in GetMatrix() 122 angle::Matrix<float> GetMatrix(const TConstantUnion *paramArray, const unsigned int size) in GetMatrix() 132 void SetUnionArrayFromMatrix(const angle::Matrix<float> &m, TConstantUnion *resultArray) in SetUnionArrayFromMatrix() [all …]
|
D | IntermNode.h | 150 virtual const TConstantUnion *getConstantValue() const; 273 const TConstantUnion *getConstantValue() const override; 323 TIntermConstantUnion(const TConstantUnion *unionPointer, const TType &type) in TIntermConstantUnion() 333 const TConstantUnion *getConstantValue() const override; 366 TConstantUnion *foldUnaryNonComponentWise(TOperator op); 367 TConstantUnion *foldUnaryComponentWise(TOperator op, 371 static const TConstantUnion *FoldBinary(TOperator op, 372 const TConstantUnion *leftArray, 374 const TConstantUnion *rightArray, 379 static const TConstantUnion *FoldIndexing(const TType &type, [all …]
|
D | OutputHLSL.h | 86 void writeSingleConstant(TInfoSinkBase &out, const TConstantUnion *const constUnion); 87 const TConstantUnion *writeConstantUnionArray(TInfoSinkBase &out, 88 const TConstantUnion *const constUnion, 124 const TConstantUnion *writeConstantUnion(TInfoSinkBase &out, 126 const TConstantUnion *constUnion);
|
D | glslang.y | 272 TConstantUnion *unionArray = new TConstantUnion[1]; 277 TConstantUnion *unionArray = new TConstantUnion[1]; 282 TConstantUnion *unionArray = new TConstantUnion[1]; 287 TConstantUnion *unionArray = new TConstantUnion[1]; 296 TConstantUnion *unionArray = new TConstantUnion[1];
|
D | OutputGLSLBase.h | 55 const TConstantUnion *writeConstantUnion(const TType &type, const TConstantUnion *pConstUnion);
|
D | Symbol.h | 127 const TConstantUnion *getConstPointer() const { return unionArray; } in getConstPointer() 129 void shareConstPointer(const TConstantUnion *constArray) { unionArray = constArray; } in shareConstPointer() 159 const TConstantUnion *unionArray;
|
D | SymbolTable_ESSL_autogen.cpp | 25476 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25485 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25494 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25503 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25512 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25521 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25530 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25539 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25548 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() 25557 TConstantUnion *unionArray = new TConstantUnion[1]; in initializeBuiltInVariables() [all …]
|
D | ValidateClipCullDistance.cpp | 107 const TConstantUnion *constIdx = node->getRight()->getConstantValue(); in visitBinary()
|
D | glslang_tab_autogen.cpp | 2389 TConstantUnion *unionArray = new TConstantUnion[1]; in yyparse() 2399 TConstantUnion *unionArray = new TConstantUnion[1]; in yyparse() 2409 TConstantUnion *unionArray = new TConstantUnion[1]; in yyparse() 2419 TConstantUnion *unionArray = new TConstantUnion[1]; in yyparse() 2434 TConstantUnion *unionArray = new TConstantUnion[1]; in yyparse()
|
/external/angle/src/compiler/translator/tree_util/ |
D | IntermNode_util.cpp | 56 TConstantUnion *u = new TConstantUnion[size]; in CreateZeroNode() 118 TConstantUnion *u = new TConstantUnion[1]; in CreateFloatNode() 127 TConstantUnion *u = new TConstantUnion[1]; in CreateIndexNode() 136 TConstantUnion *u = new TConstantUnion[1]; in CreateUIntNode() 145 TConstantUnion *u = new TConstantUnion[1]; in CreateBoolNode()
|
D | DriverUniform.cpp | 202 TConstantUnion *uniformIndex = new TConstantUnion; in createDriverUniformRef()
|
D | RewriteSampleMaskVariable.cpp | 81 const TConstantUnion *constIdx = node->getRight()->getConstantValue(); in visitBinary()
|
/external/angle/src/tests/test_utils/ |
D | ConstantFoldingTest.h | 73 bool isEqual(const TConstantUnion &node, const float &value) const in isEqual() 95 bool isEqual(const TConstantUnion &node, const int &value) const in isEqual() 108 bool isEqual(const TConstantUnion &node, const unsigned int &value) const in isEqual() 120 bool isEqual(const TConstantUnion &node, const bool &value) const in isEqual()
|
/external/angle/src/compiler/translator/tree_ops/ |
D | ClampPointSize.cpp | 33 TConstantUnion *maxPointSizeConstant = new TConstantUnion(); in ClampPointSize()
|
D | RemoveArrayLengthMethod.cpp | 57 TConstantUnion *constArray = new TConstantUnion[1]; in visitUnary()
|
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 42 TConstantUnion *numberOfViewsUnsignedConstant = new TConstantUnion(); in InitializeViewIDAndInstanceID()
|
D | RemoveDynamicIndexing.cpp | 75 TConstantUnion *constant = new TConstantUnion(); in CreateIntConstantNode()
|
/external/angle/src/compiler/translator/tree_ops/gl/ |
D | ClampFragDepth.cpp | 35 TConstantUnion *maxFragDepthConstant = new TConstantUnion(); in ClampFragDepth()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | RewriteUnaryMinusOperatorInt.cpp | 85 TConstantUnion *one = new TConstantUnion(); in visitUnary()
|
D | ExpandIntegerPowExpressions.cpp | 133 TConstantUnion *oneVal = new TConstantUnion(); in visitAggregate()
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | EmitMetal.cpp | 171 const TConstantUnion &index); 174 const TConstantUnion *emitConstantUnionArray(const TConstantUnion *const constUnion, 177 const TConstantUnion *emitConstantUnion(const TType &type, const TConstantUnion *constUnion); 179 void emitSingleConstant(const TConstantUnion *const constUnion); 1327 void GenMetalTraverser::emitSingleConstant(const TConstantUnion *const constUnion) in emitSingleConstant() 1362 const TConstantUnion *GenMetalTraverser::emitConstantUnionArray( in emitConstantUnionArray() 1363 const TConstantUnion *const constUnion, in emitConstantUnionArray() 1366 const TConstantUnion *constUnionIterated = constUnion; in emitConstantUnionArray() 1379 const TConstantUnion *GenMetalTraverser::emitConstantUnion(const TType &type, in emitConstantUnion() 1380 const TConstantUnion *constUnionBegin) in emitConstantUnion() [all …]
|
D | AstHelpers.cpp | 239 new TIntermConstantUnion(new TConstantUnion(index), *new TType(TBasicType::EbtInt))); in AccessFieldByIndex() 251 new TIntermConstantUnion(new TConstantUnion(index), *new TType(TBasicType::EbtInt))); in AccessIndex()
|
/external/angle/src/tests/compiler_tests/ |
D | IntermNode_test.cpp | 161 TConstantUnion *constValue = new TConstantUnion[1]; in TEST_F()
|