Home
last modified time | relevance | path

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

/external/angle/src/compiler/translator/
Dblocklayout.h131 virtual size_t getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor);
134 virtual void enterAggregateType(const ShaderVariable &structVar) = 0;
135 virtual void exitAggregateType(const ShaderVariable &structVar) = 0;
166 void enterAggregateType(const ShaderVariable &structVar) override {} in enterAggregateType() argument
167 void exitAggregateType(const ShaderVariable &structVar) override {} in exitAggregateType() argument
192 void enterAggregateType(const ShaderVariable &structVar) override;
193 void exitAggregateType(const ShaderVariable &structVar) override;
239 virtual void enterStruct(const ShaderVariable &structVar) {} in enterStruct() argument
240 virtual void exitStruct(const ShaderVariable &structVar) {} in exitStruct() argument
242 virtual void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) {} in enterStructAccess() argument
[all …]
Dblocklayout.cpp241 size_t BlockLayoutEncoder::getShaderVariableSize(const ShaderVariable &structVar, bool isRowMajor) in getShaderVariableSize() argument
246 enterAggregateType(structVar); in getShaderVariableSize()
247 TraverseShaderVariables(structVar.fields, isRowMajor, &visitor); in getShaderVariableSize()
248 exitAggregateType(structVar); in getShaderVariableSize()
296 void Std140BlockEncoder::enterAggregateType(const ShaderVariable &structVar) in enterAggregateType() argument
298 align(getBaseAlignment(structVar)); in enterAggregateType()
301 void Std140BlockEncoder::exitAggregateType(const ShaderVariable &structVar) in exitAggregateType() argument
303 align(getBaseAlignment(structVar)); in exitAggregateType()
445 void VariableNameVisitor::enterStruct(const ShaderVariable &structVar) in enterStruct() argument
447 mNameStack.push_back(structVar.name); in enterStruct()
[all …]
/external/angle/src/libANGLE/renderer/metal/
DblocklayoutMetal.cpp331 void BlockLayoutEncoderMTL::enterAggregateType(const sh::ShaderVariable &structVar) in enterAggregateType() argument
333 align(getBaseAlignment(structVar)); in enterAggregateType()
336 void BlockLayoutEncoderMTL::exitAggregateType(const sh::ShaderVariable &structVar) in exitAggregateType() argument
338 align(getBaseAlignment(structVar)); in exitAggregateType()
341 size_t BlockLayoutEncoderMTL::getShaderVariableSize(const sh::ShaderVariable &structVar, in getShaderVariableSize() argument
347 enterAggregateType(structVar); in getShaderVariableSize()
348 TraverseShaderVariables(structVar.fields, isRowMajor, &visitor); in getShaderVariableSize()
349 exitAggregateType(structVar); in getShaderVariableSize()
DblocklayoutMetal.h61 size_t getShaderVariableSize(const sh::ShaderVariable &structVar, bool isRowMajor) override;
64 void enterAggregateType(const sh::ShaderVariable &structVar) override;
65 void exitAggregateType(const sh::ShaderVariable &structVar) override;
/external/angle/src/compiler/translator/tree_ops/msl/
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()
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()
/external/angle/src/compiler/translator/hlsl/
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.cpp221 void enterStructAccess(const ShaderVariable &structVar, bool isRowMajor) override in enterStructAccess() argument
223 BlockEncoderVisitor::enterStructAccess(structVar, isRowMajor); in enterStructAccess()
231 childVisitor.getEncoder(mStorage)->enterAggregateType(structVar); in enterStructAccess()
232 TraverseShaderVariables(structVar.fields, isRowMajor, &childVisitor); in enterStructAccess()
233 childVisitor.getEncoder(mStorage)->exitAggregateType(structVar); in enterStructAccess()
/external/angle/src/libANGLE/
DProgramLinkedResources.cpp516 void enterStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override in enterStructAccess() argument
519 sh::VariableNameVisitor::enterStructAccess(structVar, isRowMajor); in enterStructAccess()
522 void exitStructAccess(const sh::ShaderVariable &structVar, bool isRowMajor) override in exitStructAccess() argument
525 sh::VariableNameVisitor::exitStructAccess(structVar, isRowMajor); in exitStructAccess()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp3895 TVariable* structVar = makeInternalVariable("@sampleStructTemp", retType); in decomposeSampleMethods() local
3922 … intermediate.addSymbol(*structVar, loc), in decomposeSampleMethods()
3954 conversionAggregate->getSequence().push_back(intermediate.addSymbol(*structVar, loc)); in decomposeSampleMethods()
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp3895 TVariable* structVar = makeInternalVariable("@sampleStructTemp", retType); in decomposeSampleMethods() local
3922 … intermediate.addSymbol(*structVar, loc), in decomposeSampleMethods()
3954 conversionAggregate->getSequence().push_back(intermediate.addSymbol(*structVar, loc)); in decomposeSampleMethods()