Home
last modified time | relevance | path

Searched refs:structVar (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.h89 size_t getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor);
92 virtual void enterAggregateType(const ShaderVariable &structVar) = 0;
93 virtual void exitAggregateType(const ShaderVariable &structVar) = 0;
124 void enterAggregateType(const ShaderVariable &structVar) override {} in enterAggregateType() argument
125 void exitAggregateType(const ShaderVariable &structVar) override {} in exitAggregateType() argument
150 void enterAggregateType(const ShaderVariable &structVar) override;
151 void exitAggregateType(const ShaderVariable &structVar) override;
197 virtual void enterStruct(const ShaderVariable &structVar) {} in enterStruct() argument
198 virtual void exitStruct(const ShaderVariable &structVar) {} in exitStruct() argument
200 virtual void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) {} in enterStructAccess() argument
[all …]
Dblocklayout.cpp231 size_t BlockLayoutEncoder::getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor) in getShaderVariableSize() argument
236 enterAggregateType(structVar); in getShaderVariableSize()
237 TraverseShaderVariables(structVar.fields, isRowMajor, &visitor); in getShaderVariableSize()
238 exitAggregateType(structVar); in getShaderVariableSize()
281 void Std140BlockEncoder::enterAggregateType(const ShaderVariable &structVar) in enterAggregateType() argument
283 align(getBaseAlignment(structVar)); in enterAggregateType()
286 void Std140BlockEncoder::exitAggregateType(const ShaderVariable &structVar) in exitAggregateType() argument
288 align(getBaseAlignment(structVar)); in exitAggregateType()
430 void VariableNameVisitor::enterStruct(const ShaderVariable &structVar) in enterStruct() argument
432 mNameStack.push_back(structVar.name); in enterStruct()
[all …]
DblocklayoutHLSL.h38 void enterAggregateType(const ShaderVariable &structVar) override;
39 void exitAggregateType(const ShaderVariable &structVar) override;
DblocklayoutHLSL.cpp22 void HLSLBlockEncoder::enterAggregateType(const ShaderVariable &structVar) in enterAggregateType() argument
27 void HLSLBlockEncoder::exitAggregateType(const ShaderVariable &structVar) {} in exitAggregateType() argument
DShaderStorageBlockOutputHLSL.cpp218 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override in enterStructAccess() argument
220 BlockEncoderVisitor::enterStructAccess(structVar, isRowMajor); in enterStructAccess()
228 childVisitor.getEncoder(mStorage)->enterAggregateType(structVar); in enterStructAccess()
229 TraverseShaderVariables(structVar.fields, isRowMajor, &childVisitor); in enterStructAccess()
230 childVisitor.getEncoder(mStorage)->exitAggregateType(structVar); in enterStructAccess()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DSeparateCompoundStructDeclarations.cpp40 TVariable *structVar = nullptr; in visitDeclaration() local
48 structVar = new TVariable(mSymbolTable, ImmutableString(""), in visitDeclaration()
54 structVar = new TVariable(mSymbolTable, ImmutableString(""), in visitDeclaration()
67 replacements.push_back(new TIntermDeclaration({structVar})); in visitDeclaration()
DReduceInterfaceBlocks.cpp53 auto &structVar = CreateStructTypeVariable(mSymbolTable, structure); in visitDeclarationPre() local
61 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre()
72 auto &structVar = CreateStructTypeVariable(mSymbolTable, structure); in visitDeclarationPre() local
80 new TIntermDeclaration{new TIntermSymbol(&structVar)}, in visitDeclarationPre()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramLinkedResources.cpp531 void enterStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override in enterStructAccess() argument
534 sh::VariableNameVisitor::enterStructAccess(structVar, isRowMajor); in enterStructAccess()
537 void exitStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override in exitStructAccess() argument
540 sh::VariableNameVisitor::exitStructAccess(structVar, isRowMajor); in exitStructAccess()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp3802 TVariable* structVar = makeInternalVariable("@sampleStructTemp", retType); in decomposeSampleMethods() local
3829 … intermediate.addSymbol(*structVar, loc), in decomposeSampleMethods()
3861 conversionAggregate->getSequence().push_back(intermediate.addSymbol(*structVar, loc)); in decomposeSampleMethods()