Home | History | Annotate | Download | only in hlsl

Lines Matching refs:TSourceLoc

67     void reservedPpErrorCheck(const TSourceLoc&, const char* /*name*/, const char* /*op*/) override { }
68 bool lineContinuationCheck(const TSourceLoc&, bool /*endOfComment*/) override { return true; }
72 void handlePragma(const TSourceLoc&, const TVector<TString>&) override;
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* right);
78 TIntermTyped* handleUnaryMath(const TSourceLoc&, const char* str, TOperator op, TIntermTyped* childNode);
79 TIntermTyped* handleDotDereference(const TSourceLoc&, TIntermTyped* base, const TString& field);
80 bool isBuiltInMethod(const TSourceLoc&, TIntermTyped* base, const TString& field);
82 void handleFunctionDeclarator(const TSourceLoc&, TFunction& function, bool prototype);
83 TIntermAggregate* handleFunctionDefinition(const TSourceLoc&, TFunction&, const TAttributes&, TIntermNode*& entryPointTree);
84 TIntermNode* transformEntryPoint(const TSourceLoc&, TFunction&, const TAttributes&);
85 void handleEntryPointAttributes(const TSourceLoc&, const TAttributes&);
86 void transferTypeAttributes(const TSourceLoc&, const TAttributes&, TType&, bool allowEntry = false);
87 void handleFunctionBody(const TSourceLoc&, TFunction&, TIntermNode* functionBody, TIntermNode*& node);
90 TIntermNode* handleReturnValue(const TSourceLoc&, TIntermTyped*);
92 TIntermTyped* handleAssign(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
93 TIntermTyped* handleAssignToMatrixSwizzle(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
94 TIntermTyped* handleFunctionCall(const TSourceLoc&, TFunction*, TIntermTyped*);
95 TIntermAggregate* assignClipCullDistance(const TSourceLoc&, TOperator, int semanticId, TIntermTyped* left, TIntermTyped* right);
96 TIntermTyped* assignPosition(const TSourceLoc&, TOperator, TIntermTyped* left, TIntermTyped* right);
97 void decomposeIntrinsic(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments);
98 void decomposeSampleMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments);
99 void decomposeStructBufferMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments);
100 void decomposeGeometryMethods(const TSourceLoc&, TIntermTyped*& node, TIntermNode* arguments);
103 void expandArguments(const TSourceLoc&, const TFunction&, TIntermTyped*&);
105 void builtInOpCheck(const TSourceLoc&, const TFunction&, TIntermOperator&);
106 TFunction* makeConstructorCall(const TSourceLoc&, const TType&);
107 void handleSemantic(TSourceLoc, TQualifier&, TBuiltInVariable, const TString& upperCase);
108 void handlePackOffset(const TSourceLoc&, TQualifier&, const glslang::TString& location,
110 void handleRegister(const TSourceLoc&, TQualifier&, const glslang::TString* profile, const glslang::TString& desc,
112 TIntermTyped* convertConditionalExpression(const TSourceLoc&, TIntermTyped*, bool mustBeScalar = true);
113 TIntermAggregate* handleSamplerTextureCombine(const TSourceLoc& loc, TIntermTyped* argTex, TIntermTyped* argSampler);
115 bool parseMatrixSwizzleSelector(const TSourceLoc&, const TString&, int cols, int rows, TSwizzleSelectors<TMatrixSelector>&);
117 void assignError(const TSourceLoc&, const char* op, TString left, TString right);
118 void unaryOpError(const TSourceLoc&, const char* op, TString operand);
119 void binaryOpError(const TSourceLoc&, const char* op, TString left, TString right);
123 void globalCheck(const TSourceLoc&, const char* token);
124 bool constructorError(const TSourceLoc&, TIntermNode*, TFunction&, TOperator, TType&);
125 void arraySizeCheck(const TSourceLoc&, TIntermTyped* expr, TArraySize&);
126 void arraySizeRequiredCheck(const TSourceLoc&, const TArraySizes&);
127 void structArrayCheck(const TSourceLoc&, const TType& structure);
128 bool voidErrorCheck(const TSourceLoc&, const TString&, TBasicType);
129 void globalQualifierFix(const TSourceLoc&, TQualifier&);
130 bool structQualifierErrorCheck(const TSourceLoc&, const TPublicType& pType);
133 TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TShaderQualifiers&);
135 void specializationCheck(const TSourceLoc&, const TType&, const char* op);
137 void setLayoutQualifier(const TSourceLoc&, TQualifier&, TString&);
138 void setLayoutQualifier(const TSourceLoc&, TQualifier&, TString&, const TIntermTyped*);
139 void setSpecConstantId(const TSourceLoc&, TQualifier&, int value);
141 void checkNoShaderLayouts(const TSourceLoc&, const TShaderQualifiers&);
143 const TFunction* findFunction(const TSourceLoc& loc, TFunction& call, bool& builtIn, int& thisDepth, TIntermTyped*& args);
144 void addGenMulArgumentConversion(const TSourceLoc& loc, TFunction& call, TIntermTyped*& args);
145 void declareTypedef(const TSourceLoc&, const TString& identifier, const TType&);
146 void declareStruct(const TSourceLoc&, TString& structName, TType&);
148 TIntermNode* declareVariable(const TSourceLoc&, const TString& identifier, TType&, TIntermTyped* initializer = 0);
149 void lengthenList(const TSourceLoc&, TIntermSequence& list, int size, TIntermTyped* scalarInit);
150 TIntermTyped* handleConstructor(const TSourceLoc&, TIntermTyped*, const TType&);
151 TIntermTyped* addConstructor(const TSourceLoc&, TIntermTyped*, const TType&);
153 TIntermTyped* constructAggregate(TIntermNode*, const TType&, int, const TSourceLoc&);
154 TIntermTyped* constructBuiltIn(const TType&, TOperator, TIntermTyped*, const TSourceLoc&, bool subset);
155 void declareBlock(const TSourceLoc&, TType&, const TString* instanceName = 0);
156 void declareStructBufferCounter(const TSourceLoc& loc, const TType& bufferType, const TString& name);
157 void fixBlockLocations(const TSourceLoc&, TQualifier&, TTypeList&, bool memberWithLocation, bool memberWithoutLocation);
160 void addQualifierToExisting(const TSourceLoc&, TQualifier, const TString& identifier);
161 void addQualifierToExisting(const TSourceLoc&, TQualifier, TIdentifierList&);
162 void updateStandaloneQualifierDefaults(const TSourceLoc&, const TPublicType&);
164 TIntermNode* addSwitch(const TSourceLoc&, TIntermTyped* expression, TIntermAggregate* body, const TAttributes&);
189 virtual void growGlobalUniformBlock(const TSourceLoc&, TType&, const TString& memberName,
193 TIntermTyped* handleLvalue(const TSourceLoc&, const char* op, TIntermTyped*& node);
194 bool lValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*) override;
196 TLayoutFormat getLayoutFromTxType(const TSourceLoc&, const TType&);
198 bool handleOutputGeometry(const TSourceLoc&, const TLayoutGeometry& geometry);
199 bool handleInputGeometry(const TSourceLoc&, const TLayoutGeometry& geometry);
202 void handleSelectionAttributes(const TSourceLoc& loc, TIntermSelection*, const TAttributes& attributes);
203 void handleSwitchAttributes(const TSourceLoc& loc, TIntermSwitch*, const TAttributes& attributes);
206 void handleLoopAttributes(const TSourceLoc& loc, TIntermLoop*, const TAttributes& attributes);
212 bool setTextureReturnType(TSampler& sampler, const TType& retType, const TSourceLoc& loc);
231 void fixConstInit(const TSourceLoc&, const TString& identifier, TType& type, TIntermTyped*& initializer);
237 TIntermSymbol* makeInternalVariableNode(const TSourceLoc&, const char* name, const TType&) const;
238 TVariable* declareNonArray(const TSourceLoc&, const TString& identifier, const TType&, bool track);
239 void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&, bool track);
240 TIntermNode* executeInitializer(const TSourceLoc&, TIntermTyped* initializer, TVariable* variable);
241 TIntermTyped* convertInitializerList(const TSourceLoc&, const TType&, TIntermTyped* initializer, TIntermTyped* scalarInit);
243 TOperator mapAtomicOp(const TSourceLoc& loc, TOperator op, bool isImage);
294 void counterBufferType(const TSourceLoc& loc, TType& type);
301 TIntermTyped* indexStructBufferContent(const TSourceLoc& loc, TIntermTyped* buffer) const;
302 TIntermTyped* getStructBufferCounter(const TSourceLoc& loc, TIntermTyped* buffer);
304 void addStructBuffArguments(const TSourceLoc& loc, TIntermAggregate*&);
305 void addStructBufferHiddenCounterParam(const TSourceLoc& loc, TParameter&, TIntermAggregate*&);
323 const TFunction* findPatchConstantFunction(const TSourceLoc& loc);
453 // in tx.mips[tx.mips[0][1].x][2], we need a stack. We also track the TSourceLoc for error reporting
456 tMipsOperatorData(TSourceLoc l, TIntermTyped* m) : loc(l), mipLevel(m) { }
457 TSourceLoc loc;
469 TSourceLoc loc;