Home
last modified time | relevance | path

Searched refs:appendStatement (Results 1 – 25 of 28) sorted by relevance

12

/external/angle/src/compiler/translator/tree_ops/
DRewriteCubeMapSamplersAs2DArray.cpp73 block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); in TransformXMajor()
74 block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); in TransformXMajor()
95 block->appendStatement(new TIntermBinary(EOpAssign, du->deepCopy(), duValue)); in TransformDerivativeXMajor()
96 block->appendStatement(new TIntermBinary(EOpAssign, dv->deepCopy(), dvValue)); in TransformDerivativeXMajor()
104 block->appendStatement( in TransformImplicitDerivativeXMajor()
106 block->appendStatement( in TransformImplicitDerivativeXMajor()
126 block->appendStatement(new TIntermBinary(EOpAssign, uc->deepCopy(), ucValue)); in TransformYMajor()
127 block->appendStatement(new TIntermBinary(EOpAssign, vc->deepCopy(), vcValue)); in TransformYMajor()
148 block->appendStatement(new TIntermBinary(EOpAssign, du->deepCopy(), duValue)); in TransformDerivativeYMajor()
149 block->appendStatement(new TIntermBinary(EOpAssign, dv->deepCopy(), dvValue)); in TransformDerivativeYMajor()
[all …]
DDeclareAndInitBuiltinsForInstancedMultiview.cpp96 viewportIndexInitializerInBlock->appendStatement( in SelectViewIndexInVertexShader()
108 layerInitializerInBlock->appendStatement( in SelectViewIndexInVertexShader()
DEmulateGLFragColorBroadcast.cpp98 broadcastBlock->appendStatement(constructGLFragDataAssignNode(colorIndex)); in broadcastGLFragColor()
DDeferGlobalInitializers.cpp119 root->appendStatement(initGlobalsFunctionDefinition); in InsertInitCallToMain()
DRewriteRowMajorMatrices.cpp1434 body->appendStatement(new TIntermBinary(EOpAssign, to, rhs)); in addFieldCopy()
1459 body->appendStatement(toDecl); in declareStructCopy()
1501 body->appendStatement(new TIntermBranch(EOpReturn, toSymbol->deepCopy())); in declareStructCopy()
/external/angle/src/compiler/translator/tree_util/
DRunAtTheEndOfShader.cpp94 newMainBody->appendStatement(oldMainCall); in WrapMainAndAppend()
95 newMainBody->appendStatement(codeToRun); in WrapMainAndAppend()
100 root->appendStatement(newMainDefinition); in WrapMainAndAppend()
113 main->getBody()->appendStatement(codeToRun); in RunAtTheEndOfShader()
DReplaceClipCullDistanceVariable.cpp229 trueBlock->appendStatement(assignment); in assignFuncWithEnableFlags()
234 falseBlock->appendStatement(zeroAssignment); in assignFuncWithEnableFlags()
338 readBlock->appendStatement( in assignOriginalValueToANGLEVariableImpl()
365 assignBlock->appendStatement( in assignANGLEValueToOriginalVariableImpl()
378 assignBlock->appendStatement( in assignANGLEValueToOriginalVariableImpl()
388 assignBlock->appendStatement(zeroAssignment); in assignANGLEValueToOriginalVariableImpl()
DRewriteSampleMaskVariable.cpp159 trueBlock->appendStatement(assignment); in RewriteSampleMask()
DReplaceArrayOfMatrixVarying.cpp145 reassignBlock->appendStatement(assignment); in ReplaceArrayOfMatrixVarying()
DIntermNode_util.cpp320 blockNode->appendStatement(node); in EnsureBlock()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DRewritePipelines.cpp712 body.appendStatement(TIntermAggregate::CreateFunctionCall( in visitMain()
724 body.appendStatement(TIntermAggregate::CreateFunctionCall( in visitMain()
736 newBody->appendStatement(new TIntermDeclaration{mPipelineMainLocalVar.internal}); in visitMain()
749 newBody->appendStatement(assignNode); in visitMain()
778 newBody->appendStatement(mkAssign(textureField, textureParam)); in visitMain()
779 newBody->appendStatement(mkAssign(samplerField, samplerParam)); in visitMain()
802 newBody->appendStatement(new TIntermBinary( in visitMain()
810 newBody->appendStatement(new TIntermDeclaration{mPipelineMainLocalVar.external}); in visitMain()
814 newBody->appendStatement(body); in visitMain()
823 newBody->appendStatement(new TIntermBranch( in visitMain()
[all …]
DRewriteCaseDeclarations.cpp44 block.appendStatement(new TIntermDeclaration{var}); in visitSwitchPost()
46 block.appendStatement(&node); in visitSwitchPost()
DWrapMain.cpp67 externalMainBody->appendStatement( in visitMain()
DToposortStructs.cpp199 bodyEquality.appendStatement(new TIntermBranch(TOperator::EOpReturn, outNode)); in CreateStructEqualityFunction()
DModifyStruct.cpp218 body.appendStatement(TIntermAggregate::CreateFunctionCall( in publish()
227 body.appendStatement(new TIntermBinary(TOperator::EOpAssign, &dest, &src)); in publish()
/external/angle/src/compiler/translator/tree_ops/d3d/
DWrapSwitchStatementsInBlocks.cpp105 wrapperBlock->appendStatement(declarationInBlock); in visitSwitch()
108 wrapperBlock->appendStatement(node); in visitSwitch()
DRewriteElseBlocks.cpp91 negatedElse->appendStatement(returnNode); in rewriteIfElse()
/external/angle/src/compiler/translator/
DTranslatorVulkan.cpp358 emulationBlock->appendStatement(ndcDecl); in AddBresenhamEmulationVS()
359 emulationBlock->appendStatement(windowDecl); in AddBresenhamEmulationVS()
360 emulationBlock->appendStatement(clampedDecl); in AddBresenhamEmulationVS()
361 emulationBlock->appendStatement(varyingAssign); in AddBresenhamEmulationVS()
368 mainBody->appendStatement(ifEmulation); in AddBresenhamEmulationVS()
424 body->appendStatement(new TIntermBranch(EOpReturn, xfbOffsets)); in AddXfbEmulationSupport()
479 captureXfbBlock->appendStatement(captureXfbCall); in AddXfbEmulationSupport()
487 captureXfbBlock->appendStatement(getOffsetsCall); in AddXfbEmulationSupport()
733 discardBlock->appendStatement(discard); in AddBresenhamEmulationFS()
DTranslatorMetal.cpp332 callBlock->appendStatement(callSampleMaskWriteFunc); in insertSampleMaskWritingLogic()
384 discardBlock->appendStatement(assignment); in insertRasterizerDiscardLogic()
DTranslatorMetalDirect.cpp435 insertSequence->appendStatement(assignment); in AddFragDataDeclaration()
532 callBlock->appendStatement(callSampleMaskWriteFunc); in insertSampleMaskWritingLogic()
571 discardBlock->appendStatement(assignment); in insertRasterizationDiscardLogic()
Dglslang.y1528 context->appendStatement($$, $1);
1532 context->appendStatement($$, $2);
1656 $$->appendStatement($1);
1660 $$->appendStatement($2);
Dglslang_tab_autogen.cpp5083 context->appendStatement((yyval.interm.intermBlock), (yyvsp[0].interm.intermNode)); in yyparse()
5092 context->appendStatement((yyval.interm.intermBlock), (yyvsp[0].interm.intermNode)); in yyparse()
5353 (yyval.interm.intermBlock)->appendStatement((yyvsp[0].interm.intermNode)); in yyparse()
5362 (yyval.interm.intermBlock)->appendStatement((yyvsp[0].interm.intermNode)); in yyparse()
DParseContext.h442 void appendStatement(TIntermBlock *block, TIntermNode *statement);
/external/angle/src/compiler/translator/tree_ops/vulkan/
DReplaceForShaderFramebufferFetch.cpp559 blockNode->appendStatement( in loadInputAttachmentDataImpl()
637 loadInputAttachmentBlock->getAsBlock()->appendStatement(loadInputAttachmentDataImpl( in loadInputAttachmentData()
707 loadInputAttachmentBlock->appendStatement(loadInputAttachmentDataImpl( in loadInputAttachmentData()
DRewriteR32fImages.cpp81 block.appendStatement(expression); in RewriteExpression()

12