/third_party/glslang/glslang/MachineIndependent/ |
D | Intermediate.cpp | 133 …TIntermConstantUnion* size = addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(l… in addBinaryMath() 148 … addConstantUnion((unsigned long long)computeBufferReferenceTypeSize(right->getType()), loc, true); in addBinaryMath() 161 addConstantUnion((long long)computeBufferReferenceTypeSize(left->getType()), loc, true); in addBinaryMath() 2541 TIntermConstantUnion* TIntermediate::addConstantUnion(const TConstUnionArray& unionArray, const TTy… in addConstantUnion() function in glslang::TIntermediate 2551 TIntermConstantUnion* TIntermediate::addConstantUnion(signed char i8, const TSourceLoc& loc, bool l… in addConstantUnion() function in glslang::TIntermediate 2556 return addConstantUnion(unionArray, TType(EbtInt8, EvqConst), loc, literal); in addConstantUnion() 2559 TIntermConstantUnion* TIntermediate::addConstantUnion(unsigned char u8, const TSourceLoc& loc, bool… in addConstantUnion() function in glslang::TIntermediate 2564 return addConstantUnion(unionArray, TType(EbtUint8, EvqConst), loc, literal); in addConstantUnion() 2567 TIntermConstantUnion* TIntermediate::addConstantUnion(signed short i16, const TSourceLoc& loc, bool… in addConstantUnion() function in glslang::TIntermediate 2572 return addConstantUnion(unionArray, TType(EbtInt16, EvqConst), loc, literal); in addConstantUnion() [all …]
|
D | localintermediate.h | 542 …TIntermConstantUnion* addConstantUnion(const TConstUnionArray&, const TType&, const TSourceLoc&, b… 543 …TIntermConstantUnion* addConstantUnion(signed char, const TSourceLoc&, bool literal = false) const; 544 …TIntermConstantUnion* addConstantUnion(unsigned char, const TSourceLoc&, bool literal = false) con… 545 …TIntermConstantUnion* addConstantUnion(signed short, const TSourceLoc&, bool literal = false) cons… 546 …TIntermConstantUnion* addConstantUnion(unsigned short, const TSourceLoc&, bool literal = false) co… 547 TIntermConstantUnion* addConstantUnion(int, const TSourceLoc&, bool literal = false) const; 548 …TIntermConstantUnion* addConstantUnion(unsigned int, const TSourceLoc&, bool literal = false) cons… 549 … TIntermConstantUnion* addConstantUnion(long long, const TSourceLoc&, bool literal = false) const; 550 …TIntermConstantUnion* addConstantUnion(unsigned long long, const TSourceLoc&, bool literal = false… 551 TIntermConstantUnion* addConstantUnion(bool, const TSourceLoc&, bool literal = false) const; [all …]
|
D | glslang.y | 370 $$ = parseContext.intermediate.addConstantUnion($1.d, EbtFloat, $1.loc, true); 373 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true); 377 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true); 380 $$ = parseContext.intermediate.addConstantUnion($1.b, $1.loc, true); 383 $$ = parseContext.intermediate.addConstantUnion($1.string, $1.loc, true); 387 $$ = parseContext.intermediate.addConstantUnion($1.i, $1.loc, true); 391 $$ = parseContext.intermediate.addConstantUnion($1.u, $1.loc, true); 395 $$ = parseContext.intermediate.addConstantUnion($1.i64, $1.loc, true); 399 $$ = parseContext.intermediate.addConstantUnion($1.u64, $1.loc, true); 403 $$ = parseContext.intermediate.addConstantUnion((short)$1.i, $1.loc, true); [all …]
|
D | glslang_tab.cpp | 5234 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).d, EbtF… in yyparse() 5242 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyv… in yyparse() 5251 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyv… in yyparse() 5259 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).b, (yyv… in yyparse() 5267 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).string,… in yyparse() 5276 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i, (yyv… in yyparse() 5285 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u, (yyv… in yyparse() 5294 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).i64, (y… in yyparse() 5303 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((yyvsp[0].lex).u64, (y… in yyparse() 5312 …(yyval.interm.intermTypedNode) = parseContext.intermediate.addConstantUnion((short)(yyvsp[0].lex).… in yyparse() [all …]
|
D | Constant.cpp | 1322 return addConstantUnion(unionArray, aggrNode->getType(), aggrNode->getLoc()); in foldConstructor() 1352 …result = addConstantUnion(TConstUnionArray(node->getAsConstantUnion()->getConstArray(), start, siz… in foldDereference() 1374 TIntermTyped* result = addConstantUnion(constArray, node->getType(), loc); in foldSwizzle()
|
D | ParseHelper.cpp | 472 TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc); in handleVariable() 509 … node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc); in handleVariable() 545 return intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference() 579 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference() 1007 TIntermTyped* index = intermediate.addConstantUnion(member, loc); in handleDotDereference() 1084 TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc); in handleDotSwizzle() 1490 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleFunctionCall() 1791 return intermediate.addConstantUnion(length, loc); in handleLengthMethod() 7278 … arguments = intermediate.growAggregate(arguments, intermediate.addConstantUnion(1, loc, true)); in vkRelaxedRemapFunctionCall() 7295 … arguments = intermediate.growAggregate(arguments, intermediate.addConstantUnion(-1, loc, true)); in vkRelaxedRemapFunctionCall() [all …]
|
D | linkValidate.cpp | 673 … TIntermTyped* newConstNode = unit->addConstantUnion(newIdx, node->getRight()->getLoc()); in mergeBlockDefinitions()
|
/third_party/glslang/glslang/HLSL/ |
D | hlslParseHelper.cpp | 674 TIntermTyped* constNode = intermediate.addConstantUnion(anon->getMemberNumber(), loc); in handleVariable() 704 … node = intermediate.addConstantUnion(variable->getConstArray(), variable->getType(), loc); in handleVariable() 747 load->getSequence().push_back(intermediate.addConstantUnion(0, loc, true)); in handleBracketOperator() 850 result = intermediate.addConstantUnion(0.0, EbtFloat, loc); in handleBracketDereference() 979 TIntermTyped* index = intermediate.addConstantUnion(selectors[0], loc); in handleDotDereference() 1001 … intermediate.addConstantUnion(selectors[0].coord1, loc), in handleDotDereference() 1006 … intermediate.addConstantUnion(selectors[0].coord2, loc), in handleDotDereference() 1018 … result = intermediate.addIndex(EOpIndexDirect, base, intermediate.addConstantUnion(column, loc), in handleDotDereference() 1048 TIntermTyped* index = intermediate.addConstantUnion(member, loc); in handleDotDereference() 2190 auto one = intermediate.addConstantUnion(1.0, EbtFloat, loc); in transformEntryPoint() [all …]
|
D | hlslGrammar.cpp | 3635 node = intermediate.addConstantUnion(token.i, token.loc, true); in acceptLiteral() 3638 node = intermediate.addConstantUnion(token.u, token.loc, true); in acceptLiteral() 3641 node = intermediate.addConstantUnion(token.d, EbtFloat16, token.loc, true); in acceptLiteral() 3644 node = intermediate.addConstantUnion(token.d, EbtFloat, token.loc, true); in acceptLiteral() 3647 node = intermediate.addConstantUnion(token.d, EbtDouble, token.loc, true); in acceptLiteral() 3650 node = intermediate.addConstantUnion(token.b, token.loc, true); in acceptLiteral() 3653 node = intermediate.addConstantUnion(token.string, token.loc, true); in acceptLiteral()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | localintermediate.h | 47 TIntermConstantUnion* addConstantUnion(ConstantUnion*, const TType&, const TSourceLoc&);
|
D | ParseHelper.cpp | 2170 return intermediate.addConstantUnion(unionArray, type, aggrNode->getLine()); in foldConstConstructor() 2220 typedNode = intermediate.addConstantUnion(constArray, type, line); in addConstVectorNode() 2247 …typedNode = intermediate.addConstantUnion(&unionArray[size*index], tempConstantNode->getType(), li… in addConstMatrixNode() 2285 …typedNode = intermediate.addConstantUnion(&unionArray[arrayElementSize * index], tempConstantNode-… in addConstArrayNode() 2320 …typedNode = intermediate.addConstantUnion(constArray+instanceSize, tempConstantNode->getType(), li… in addConstStruct() 2590 …indexedExpression = intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpHigh, EvqConstExp… in addIndexExpression() 2756 …TIntermTyped *index = intermediate.addConstantUnion(unionArray, *fields[i]->type(), fieldLocation); in addFieldSelectionExpression() 3470 return intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConstExpr), loc); in addBinaryMathBooleanResult() 3555 …callNode = intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), lo… in addFunctionCallOrMethod() 3711 …callNode = intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConstExpr), … in addFunctionCallOrMethod()
|
D | glslang.y | 240 $$ = context->intermediate.addConstantUnion(constArray, t, @1); 255 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr),… 260 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt, EbpUndefined, EvqConstExpr)… 265 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat, EbpUndefined, EvqConstExpr… 270 …$$ = context->intermediate.addConstantUnion(unionArray, TType(EbtBool, EbpUndefined, EvqConstExpr)…
|
D | glslang_tab.cpp | 2382 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(constArray, t, (yylsp[0])); in yyparse() 2404 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtInt, … in yyparse() 2414 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtUInt,… in yyparse() 2424 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtFloat… in yyparse() 2434 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(unionArray, TType(EbtBool,… in yyparse()
|
D | Intermediate.cpp | 709 TIntermConstantUnion* TIntermediate::addConstantUnion(ConstantUnion* unionArrayPointer, const TType… in addConstantUnion() function in TIntermediate 730 constIntNode = addConstantUnion(unionArray, TType(EbtInt, EbpUndefined, EvqConstExpr), line); in addSwizzle() 2121 …return addConstantUnion(leftUnionArray, TType(promoteTo, t.getPrecision(), t.getQualifier(), t.get… in promoteConstantUnion()
|