/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | localintermediate.h | 35 TIntermTyped* addBinaryMath(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 36 TIntermTyped* addAssign(TOperator op, TIntermTyped* left, TIntermTyped* right, const TSourceLoc&); 37 TIntermTyped* addIndex(TOperator op, TIntermTyped* base, TIntermTyped* index, const TSourceLoc&); 38 TIntermTyped* addUnaryMat [all...] |
H A D | ParseHelper.h | 123 bool lValueErrorCheck(const TSourceLoc &line, const char* op, TIntermTyped*); 124 bool constErrorCheck(TIntermTyped* node); 125 bool integerErrorCheck(TIntermTyped* node, const char* token); 128 bool arraySizeErrorCheck(const TSourceLoc &line, TIntermTyped* expr, int& size); 132 bool boolErrorCheck(const TSourceLoc&, const TIntermTyped*); 158 TIntermTyped *initializer, TIntermNode **intermNode); 165 const TSourceLoc &indexLocation, TIntermTyped *indexExpression); 167 const TSourceLoc &initLocation, TIntermTyped *initializer); 172 const TSourceLoc &indexLocation, TIntermTyped *indexExpression, 173 const TSourceLoc &initLocation, TIntermTyped *initialize [all...] |
H A D | OutputASM.h | 203 Function(int label, const char *name, TIntermSequence *arg, TIntermTyped *ret) : label(label), name(name), arg(arg), ret(ret) in Function() 207 Function(int label, const TString &name, TIntermSequence *arg, TIntermTyped *ret) : label(label), name(name), arg(arg), ret(ret) in Function() 214 TIntermTyped *ret; 268 sw::Shader::Opcode getOpcode(sw::Shader::Opcode op, TIntermTyped *in) const; 269 Instruction *emit(sw::Shader::Opcode op, TIntermTyped *dst = 0, TIntermNode *src0 = 0, TIntermNode *src1 = 0, TIntermNode *src2 = 0, TIntermNode *src3 = 0, TIntermNode *src4 = 0); 270 Instruction *emit(sw::Shader::Opcode op, TIntermTyped *dst, int dstIndex, TIntermNode *src0 = 0, int index0 = 0, TIntermNode *src1 = 0, int index1 = 0, 272 Instruction *emitCast(TIntermTyped *dst, TIntermTyped *src); 273 Instruction *emitCast(TIntermTyped *dst, int dstIndex, TIntermTyped *sr [all...] |
H A D | intermediate.h | 250 class TIntermTyped; 277 virtual TIntermTyped* getAsTyped() { return 0; } in getAsTyped() 305 class TIntermTyped : public TIntermNode { class 307 TIntermTyped(const TType& t) : type(t) { } in TIntermTyped() function in TIntermTyped 308 virtual TIntermTyped* getAsTyped() { return this; } in getAsTyped() 338 static TIntermTyped *CreateIndexNode(int index); 355 TIntermNode *aInit, TIntermTyped* aCond, TIntermTyped* aExpr, in TIntermLoop() 369 TIntermTyped* getCondition() { return cond; } in getCondition() 370 TIntermTyped* getExpressio in getCondition() [all...] |
/third_party/glslang/glslang/HLSL/ |
H A D | hlslParseHelper.h | 73 TIntermTyped* handleVariable(const TSourceLoc&, const TString* string); 74 TIntermTyped* handleBracketDereference(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index); 75 TIntermTyped* handleBracketOperator(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index); 77 TIntermTyped* handleBinaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* left, TIntermTyped* righ [all...] |
H A D | hlslGrammar.h | 104 bool acceptParenExpression(TIntermTyped*&); 105 bool acceptExpression(TIntermTyped*&); 106 bool acceptInitializer(TIntermTyped*&); 107 bool acceptAssignmentExpression(TIntermTyped*&); 108 bool acceptConditionalExpression(TIntermTyped*&); 109 bool acceptBinaryExpression(TIntermTyped*&, PrecedenceLevel); 110 bool acceptUnaryExpression(TIntermTyped*&); 111 bool acceptPostfixExpression(TIntermTyped*&); 112 bool acceptConstructor(TIntermTyped*&); 113 bool acceptFunctionCall(const TSourceLoc&, TString& name, TIntermTyped* [all...] |
H A D | hlslParseHelper.cpp | 222 bool HlslParseContext::lValueErrorCheck(const TSourceLoc& loc, const char* op, TIntermTyped* node) in lValueErrorCheck() 228 TIntermTyped* object = lhsAsAggregate->getSequence()[0]->getAsTyped(); in lValueErrorCheck() 255 TIntermTyped* HlslParseContext::handleLvalue(const TSourceLoc& loc, const char* op, TIntermTyped*& node) in handleLvalue() 264 TIntermTyped* lhs = nodeAsUnary ? nodeAsUnary->getOperand() : in handleLvalue() 279 const auto makeLoad = [&](TIntermSymbol* rhsTmp, TIntermTyped* object, TIntermTyped* coord, const TType& derefType) { in handleLvalue() 292 const auto makeStore = [&](TIntermTyped* object, TIntermTyped* coord, TIntermSymbol* rhsTmp) { in handleLvalue() 304 const auto makeBinary = [&](TOperator op, TIntermTyped* lh in handleLvalue() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
H A D | RewriteCubeMapSamplersAs2DArray.cpp | 30 TIntermTyped *DerivativeQuotient(TIntermTyped *u, in DerivativeQuotient() 31 TIntermTyped *du, in DerivativeQuotient() 32 TIntermTyped *v, in DerivativeQuotient() 33 TIntermTyped *dv, in DerivativeQuotient() 34 TIntermTyped *vRecip) in DerivativeQuotient() 44 TIntermTyped *Swizzle1(TIntermTyped *array, int i) in Swizzle1() 49 TIntermTyped *IndexDirect(TIntermTyped *arra [all...] |
H A D | RewriteAtomicCounters.cpp | 55 TIntermTyped *CreateUniformBufferOffset(const TIntermTyped *uniformBufferOffsets, int binding) in CreateUniformBufferOffset() 78 TIntermBinary *CreateAtomicCounterRef(TIntermTyped *atomicCounterExpression, in CreateAtomicCounterRef() 80 const TIntermTyped *uniformBufferOffsets) in CreateAtomicCounterRef() 113 TIntermTyped *atomicCounterIndex = nullptr; in CreateAtomicCounterRef() 149 TIntermTyped *index = CreateUniformBufferOffset(uniformBufferOffsets, binding); in CreateAtomicCounterRef() 185 const TIntermTyped *acbBufferOffsets) in RewriteAtomicCountersTraverser() 200 TIntermTyped *variable = sequence.front()->getAsTyped(); 255 TIntermTyped *substituteCall = CreateBuiltInFunctionCallNode( in convertBuiltinFunction() 290 TIntermTyped *para in convertBuiltinFunction() [all...] |
H A D | InitializeVariables.cpp | 25 void AddArrayZeroInitSequence(const TIntermTyped *initializedNode, 31 void AddStructZeroInitSequence(const TIntermTyped *initializedNode, 37 TIntermBinary *CreateZeroInitAssignment(const TIntermTyped *initializedNode) in CreateZeroInitAssignment() 39 TIntermTyped *zero = CreateZeroNode(initializedNode->getType()); in CreateZeroInitAssignment() 43 void AddZeroInitSequence(const TIntermTyped *initializedNode, in AddZeroInitSequence() 68 TIntermTyped *fieldIndexRef = CreateIndexNode(static_cast<int>(fieldIndex)); in AddZeroInitSequence() 69 TIntermTyped *fieldReference = in AddZeroInitSequence() 72 TIntermTyped *fieldZero = CreateZeroNode(*field.type()); in AddZeroInitSequence() 73 TIntermTyped *assignment = in AddZeroInitSequence() 84 void AddStructZeroInitSequence(const TIntermTyped *initializedNod [all...] |
H A D | RewriteDfdy.cpp | 118 TIntermTyped *multiplierX; in visitAggregateWithRotation() 119 TIntermTyped *multiplierY; in visitAggregateWithRotation() 134 TIntermTyped *flipXY = mDriverUniforms->getFlipXYRef(); in visitAggregateWithRotation() 135 TIntermTyped *fragRotation = mDriverUniforms->getFragRotationMatrixRef(); in visitAggregateWithRotation() 164 TIntermTyped *operand = node->getChildNode(0)->getAsTyped(); in visitAggregateWithRotation() 166 TIntermTyped *dFdx = in visitAggregateWithRotation() 168 TIntermTyped *dFdy = in visitAggregateWithRotation() 200 TIntermTyped *flipY = mRotationSpecConst->getFlipY(); in visitAggregateWithoutRotation() 203 TIntermTyped *flipXY = mDriverUniforms->getFlipXYRef(); in visitAggregateWithoutRotation()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | SpecializationConstant.h | 17 class TIntermTyped; 34 TIntermTyped *getMultiplierXForDFdx(); 35 TIntermTyped *getMultiplierYForDFdx(); 36 TIntermTyped *getMultiplierXForDFdy(); 37 TIntermTyped *getMultiplierYForDFdy(); 38 TIntermTyped *getPreRotationMatrix(); 39 TIntermTyped *getFragRotationMatrix(); 40 TIntermTyped *getFlipXY(); 41 TIntermTyped *getNegFlipXY(); 42 TIntermTyped *getFlip [all...] |
H A D | IntermNode_util.h | 25 TIntermTyped *CreateZeroNode(const TType &type); 37 TIntermTyped *initializer); 38 TIntermBinary *CreateTempAssignmentNode(const TVariable *tempVariable, TIntermTyped *rightNode); 45 TIntermTyped *initializer, 82 TIntermTyped *CreateBuiltInFunctionCallNode(const char *name, 86 TIntermTyped *CreateBuiltInUnaryFunctionCallNode(const char *name, 87 TIntermTyped *argument, 101 TIntermSwizzle *CreateSwizzle(TIntermTyped *reference, ArgsT... args) in CreateSwizzle()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | SeparateCompoundExpressions.cpp | 36 bool IsIndex(TIntermTyped &expr) in IsIndex() 45 bool ViewBinaryChain(TOperator op, TIntermTyped &node, std::vector<TIntermTyped *> &out) in ViewBinaryChain() 53 TIntermTyped *left = binary->getLeft(); in ViewBinaryChain() 54 TIntermTyped *right = binary->getRight(); in ViewBinaryChain() 69 std::vector<TIntermTyped *> ViewBinaryChain(TIntermBinary &node) in ViewBinaryChain() 71 std::vector<TIntermTyped *> chain; in ViewBinaryChain() 88 TIntermTyped &reassociateRight(TIntermBinary &node) in reassociateRight() 91 std::vector<TIntermTyped *> chain = ViewBinaryChain(node); in reassociateRight() 93 TIntermTyped *resul in reassociateRight() [all...] |
H A D | AstHelpers.h | 25 TIntermTyped *initExpr; // Non-null iff declaration is initialized. 72 TIntermTyped &GetArg(const TIntermAggregate &call, size_t index); 75 void SetArg(TIntermAggregate &call, size_t index, TIntermTyped &arg); 87 TIntermBinary &AccessField(TIntermTyped &object, const ImmutableString &fieldName); 91 TIntermBinary &AccessFieldByIndex(TIntermTyped &object, int index); 95 TIntermBinary &AccessIndex(TIntermTyped &indexableNode, int index); 100 TIntermTyped &AccessIndex(TIntermTyped &node, const int *index); 104 TIntermTyped &SubVector(TIntermTyped [all...] |
H A D | AstHelpers.cpp | 181 TIntermTyped &sh::GetArg(const TIntermAggregate &call, size_t index) in GetArg() 186 TIntermTyped *targ = arg->getAsTyped(); in GetArg() 191 void sh::SetArg(TIntermAggregate &call, size_t index, TIntermTyped &arg) in SetArg() 219 TIntermBinary &sh::AccessField(TIntermTyped &object, const ImmutableString &fieldName) 229 TIntermBinary &sh::AccessFieldByIndex(TIntermTyped &object, int index) 245 TIntermBinary &sh::AccessIndex(TIntermTyped &indexableNode, int index) 258 TIntermTyped &sh::AccessIndex(TIntermTyped &node, const int *index) 267 TIntermTyped &sh::SubVector(TIntermTyped [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | IntermNode.h | 53 class TIntermTyped; 87 virtual TIntermTyped *getAsTyped() { return nullptr; } in getAsTyped() 134 class TIntermTyped : public TIntermNode class 137 TIntermTyped(); 139 virtual TIntermTyped *deepCopy() const override = 0; 141 TIntermTyped *getAsTyped() override { return this; } 143 virtual TIntermTyped *fold(TDiagnostics *diagnostics) { return this; } in fold() 195 TIntermTyped(const TIntermTyped &node); 215 TIntermTyped *con [all...] |
H A D | ParseContext.h | 106 TIntermTyped *parseVariableIdentifier(const TSourceLoc &location, 127 bool checkCanBeLValue(const TSourceLoc &line, const char *op, TIntermTyped *node); 128 void checkIsConst(TIntermTyped *node); 129 void checkIsScalarInteger(TIntermTyped *node, const char *token); 136 unsigned int checkIsValidArraySize(const TSourceLoc &line, TIntermTyped *expr); 145 bool checkIsScalarBool(const TSourceLoc &line, const TIntermTyped *type); 217 TIntermTyped *initializer, 221 TIntermTyped *initializer, 226 TIntermTyped *expr, 232 TIntermNode *addIfElse(TIntermTyped *con [all...] |
H A D | ShaderStorageBlockOutputHLSL.h | 51 void outputStoreFunctionCallPrefix(TIntermTyped *node); 53 void outputLoadFunctionCall(TIntermTyped *node); 55 void outputLengthFunctionCall(TIntermTyped *node); 57 void outputAtomicMemoryFunctionCallPrefix(TIntermTyped *node, TOperator op); 62 void traverseSSBOAccess(TIntermTyped *node, SSBOMethod method); 63 TIntermTyped *traverseNode(TInfoSinkBase &out, 64 TIntermTyped *node, 66 int getMatrixStride(TIntermTyped *node, 70 TIntermTyped *writeEOpIndexDirectOrIndirectOutput(TInfoSinkBase &out, 74 TIntermTyped *createFieldOffse [all...] |
H A D | ShaderStorageBlockOutputHLSL.cpp | 39 void GetBlockLayoutInfo(TIntermTyped *node, in GetBlockLayoutInfo() 292 TIntermTyped *Mul(TIntermTyped *left, TIntermTyped *right) in Mul() 297 TIntermTyped *Add(TIntermTyped *left, TIntermTyped *right) in Add() 320 void ShaderStorageBlockOutputHLSL::outputStoreFunctionCallPrefix(TIntermTyped *node) in outputStoreFunctionCallPrefix() 325 void ShaderStorageBlockOutputHLSL::outputLoadFunctionCall(TIntermTyped *node) in outputLoadFunctionCall() 331 void ShaderStorageBlockOutputHLSL::outputLengthFunctionCall(TIntermTyped *nod [all...] |
/third_party/glslang/glslang/MachineIndependent/ |
H A D | ParseHelper.h | 175 virtual bool lValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*); 176 virtual void rValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*); 330 TIntermTyped* handleVariable(const TSourceLoc&, TSymbol* symbol, const TString* string); 331 TIntermTyped* handleBracketDereference(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index); 332 void handleIndexLimits(const TSourceLoc&, TIntermTyped* base, TIntermTyped* index); 338 void handleIoResizeArrayAccess(const TSourceLoc&, TIntermTyped* base); 343 TIntermTyped* handleBinaryMat [all...] |
H A D | localintermediate.h | 511 TIntermTyped* addConversion(TOperator, const TType&, TIntermTyped*); 512 std::tuple<TIntermTyped*, TIntermTyped*> addPairConversion(TOperator op, TIntermTyped* node0, TIntermTyped* node1); 513 TIntermTyped* addUniShapeConversion(TOperator, const TType&, TIntermTyped*); 514 TIntermTyped* addConversion(TBasicType convertTo, TIntermTyped* nod [all...] |
/third_party/glslang/glslang/Include/ |
H A D | intermediate.h | 1122 class TIntermTyped; 1142 virtual glslang::TIntermTyped* getAsTyped() { return nullptr; } in getAsTyped() 1155 virtual const glslang::TIntermTyped* getAsTyped() const { return nullptr; } in getAsTyped() 1188 class TIntermTyped : public TIntermNode { class 1190 TIntermTyped(const TType& t) { type.shallowCopy(t); } in TIntermTyped() function in glslang::TIntermTyped 1191 TIntermTyped(TBasicType basicType) { TType bt(basicType); type.shallowCopy(bt); } in TIntermTyped() function in glslang::TIntermTyped 1192 virtual TIntermTyped* getAsTyped() { return this; } in getAsTyped() 1193 virtual const TIntermTyped* getAsTyped() const { return this; } in getAsTyped() 1219 TIntermTyped& operator=(const TIntermTyped [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/ |
H A D | RewriteRowMajorMatrices.cpp | 107 TIntermTyped *node, in CopyToTempVariable() 117 TIntermAggregate *CreateStructCopyCall(const TFunction *copyFunc, TIntermTyped *expression) in CreateStructCopyCall() 123 TIntermTyped *CreateTransposeCall(TSymbolTable *symbolTable, TIntermTyped *expression) in CreateTransposeCall() 153 TIntermTyped *rhs = binaryNode->getRight()->deepCopy(); in GetIndex() 163 TIntermTyped *ReplicateIndexNode(TSymbolTable *symbolTable, in ReplicateIndexNode() 165 TIntermTyped *lhs, in ReplicateIndexNode() 178 TIntermTyped *rhs = indices->front()->getAsTyped(); in ReplicateIndexNode() 188 bool IsConvertedField(TIntermTyped *indexNode, in IsConvertedField() 220 TransformArrayHelper(TIntermTyped *baseExpressio [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
H A D | RewriteR32fImages.cpp | 31 TIntermTyped *RewriteBuiltinFunctionCall(TCompiler *compiler, 53 TIntermTyped *rewritten = 74 TIntermTyped *RewriteExpression(TCompiler *compiler, in RewriteExpression() 76 TIntermTyped *expression, in RewriteExpression() 89 TIntermTyped *rewritten = block.getChildNode(0)->getAsTyped(); in RewriteExpression() 113 TIntermTyped *RewriteBuiltinFunctionCall(TCompiler *compiler, in RewriteBuiltinFunctionCall() 134 TIntermTyped *imageExpression = (*arguments)[0]->getAsTyped(); in RewriteBuiltinFunctionCall() 158 TIntermTyped *replacementExpression = new TIntermSymbol(replacementImage); in RewriteBuiltinFunctionCall() 163 TIntermTyped *index = asBinary->getRight(); in RewriteBuiltinFunctionCall() 190 TIntermTyped *ar in RewriteBuiltinFunctionCall() [all...] |