/external/skia/src/sksl/ir/ |
D | SkSLLayout.h | 131 , fBuiltin(builtin) in Layout() 148 , fBuiltin(-1) in Layout() 179 if (fBuiltin >= 0) { in description() 180 result += separator + "builtin = " + to_string(fBuiltin); in description() 184 result += separator + "input_attachment_index = " + to_string(fBuiltin); in description() 324 fBuiltin == other.fBuiltin && 344 int fBuiltin; member
|
D | SkSLFunctionDeclaration.h | 28 , fBuiltin(false) in FunctionDeclaration() 105 bool fBuiltin; member
|
D | SkSLSymbolTable.cpp | 110 ((FunctionDeclaration&) *pair.second).fBuiltin = true; in markAllFunctionsBuiltin() 114 ((FunctionDeclaration*) f)->fBuiltin = true; in markAllFunctionsBuiltin()
|
D | SkSLEnum.h | 32 bool fBuiltin = false; member
|
/external/skqp/src/sksl/ir/ |
D | SkSLLayout.h | 131 , fBuiltin(builtin) in Layout() 148 , fBuiltin(-1) in Layout() 179 if (fBuiltin >= 0) { in description() 180 result += separator + "builtin = " + to_string(fBuiltin); in description() 184 result += separator + "input_attachment_index = " + to_string(fBuiltin); in description() 324 fBuiltin == other.fBuiltin && 344 int fBuiltin; member
|
D | SkSLFunctionDeclaration.h | 28 , fBuiltin(false) in FunctionDeclaration() 105 bool fBuiltin; member
|
D | SkSLSymbolTable.cpp | 110 ((FunctionDeclaration&) *pair.second).fBuiltin = true; in markAllFunctionsBuiltin() 114 ((FunctionDeclaration*) f)->fBuiltin = true; in markAllFunctionsBuiltin()
|
D | SkSLEnum.h | 32 bool fBuiltin = false; member
|
/external/skia/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 437 c.fFunction.fBuiltin) { in writeFunctionCall() 451 c.fFunction.fBuiltin) { in writeFunctionCall() 464 c.fFunction.fBuiltin && c.fArguments.size() == 2 && in writeFunctionCall() 476 if (c.fFunction.fBuiltin && c.fFunction.fName == "determinant" && in writeFunctionCall() 482 if (c.fFunction.fBuiltin && c.fFunction.fName == "inverse" && in writeFunctionCall() 488 if (c.fFunction.fBuiltin && c.fFunction.fName == "inverseSqrt" && in writeFunctionCall() 494 if (c.fFunction.fBuiltin && c.fFunction.fName == "transpose" && in writeFunctionCall() 501 c.fFunction.fBuiltin && fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall() 509 if (c.fFunction.fName == "texture" && c.fFunction.fBuiltin) { in writeFunctionCall() 671 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 136 if (c.fFunction.fBuiltin && "atan" == c.fFunction.fName && 2 == c.fArguments.size()) { in writeFunctionCall() 201 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference() 234 switch (f.fBase->fType.fields()[f.fFieldIndex].fModifiers.fLayout.fBuiltin) { in writeFieldAccess() 781 -1 == first.fModifiers.fLayout.fBuiltin) { in writeInputStruct() 811 -1 == first.fModifiers.fLayout.fBuiltin) { in writeOutputStruct() 832 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeProgramElement() 901 if (v.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in requirements() 976 if (f.fBuiltin) { in requirements()
|
D | SkSLCPPCodeGenerator.cpp | 84 int builtin = ((VariableReference&) base).fVariable.fModifiers.fLayout.fBuiltin; in writeIndexExpression() 141 var.fModifiers.fLayout.fBuiltin == -1; in is_private() 237 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference() 293 if (c.fFunction.fBuiltin && c.fFunction.fName == "process") { in writeFunctionCall() 324 if (c.fFunction.fBuiltin && c.fFunction.fName == "texture") { in writeFunctionCall() 383 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
|
D | SkSLSectionAndParameterHelper.h | 109 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
|
D | SkSLSPIRVCodeGenerator.cpp | 411 if (type.fields()[i].fModifiers.fLayout.fBuiltin < 0) { in writeStruct() 1672 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN && in writeVariableReference() 2419 if (layout.fBuiltin >= 0 && layout.fBuiltin != SK_FRAGCOLOR_BUILTIN && in writeLayout() 2420 layout.fBuiltin != SK_IN_BUILTIN) { in writeLayout() 2421 this->writeInstruction(SpvOpDecorate, target, SpvDecorationBuiltIn, layout.fBuiltin, in writeLayout() 2447 if (layout.fBuiltin >= 0) { in writeLayout() 2449 layout.fBuiltin, fDecorationBuffer); in writeLayout() 2512 if (var->fModifiers.fLayout.fBuiltin == BUILTIN_IGNORE) { in writeGlobalVars() 2515 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOLOR_BUILTIN && in writeGlobalVars() 2929 if (SK_IN_BUILTIN == intf.fVariable.fModifiers.fLayout.fBuiltin) { in writeInstructions()
|
D | SkSLHCodeGenerator.cpp | 288 if (ProgramElement::kEnum_Kind == p->fKind && !((Enum&) *p).fBuiltin) { in generateCode()
|
D | SkSLIRGenerator.cpp | 181 if (fc.fFunction.fBuiltin && fc.fFunction.fName == "EmitVertex") { in convertStatement() 300 ((Variable*) (*fSymbolTable)[varDecl.fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations() 324 invocationId->fModifiers.fLayout.fBuiltin = -1; in convertModifiersDeclaration() 989 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in convertIdentifier() 1534 if (function.fBuiltin && function.fName == "texture" && in call()
|
D | SkSLCompiler.cpp | 1187 ((Enum&) *element).fBuiltin = true; in convertProgram()
|
/external/skqp/src/sksl/ |
D | SkSLGLSLCodeGenerator.cpp | 437 c.fFunction.fBuiltin) { in writeFunctionCall() 451 c.fFunction.fBuiltin) { in writeFunctionCall() 464 c.fFunction.fBuiltin && c.fArguments.size() == 2 && in writeFunctionCall() 476 if (c.fFunction.fBuiltin && c.fFunction.fName == "determinant" && in writeFunctionCall() 482 if (c.fFunction.fBuiltin && c.fFunction.fName == "inverse" && in writeFunctionCall() 488 if (c.fFunction.fBuiltin && c.fFunction.fName == "inverseSqrt" && in writeFunctionCall() 494 if (c.fFunction.fBuiltin && c.fFunction.fName == "transpose" && in writeFunctionCall() 501 c.fFunction.fBuiltin && fProgram.fSettings.fCaps->shaderDerivativeExtensionString()) { in writeFunctionCall() 508 if (c.fFunction.fName == "texture" && c.fFunction.fBuiltin) { in writeFunctionCall() 661 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 136 if (c.fFunction.fBuiltin && "atan" == c.fFunction.fName && 2 == c.fArguments.size()) { in writeFunctionCall() 201 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference() 234 switch (f.fBase->fType.fields()[f.fFieldIndex].fModifiers.fLayout.fBuiltin) { in writeFieldAccess() 781 -1 == first.fModifiers.fLayout.fBuiltin) { in writeInputStruct() 811 -1 == first.fModifiers.fLayout.fBuiltin) { in writeOutputStruct() 832 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeProgramElement() 901 if (v.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in requirements() 976 if (f.fBuiltin) { in requirements()
|
D | SkSLCPPCodeGenerator.cpp | 84 int builtin = ((VariableReference&) base).fVariable.fModifiers.fLayout.fBuiltin; in writeIndexExpression() 141 var.fModifiers.fLayout.fBuiltin == -1; in is_private() 237 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference() 293 if (c.fFunction.fBuiltin && c.fFunction.fName == "process") { in writeFunctionCall() 324 if (c.fFunction.fBuiltin && c.fFunction.fName == "texture") { in writeFunctionCall() 383 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
|
D | SkSLSectionAndParameterHelper.h | 109 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
|
D | SkSLSPIRVCodeGenerator.cpp | 411 if (type.fields()[i].fModifiers.fLayout.fBuiltin < 0) { in writeStruct() 1664 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN && in writeVariableReference() 2411 if (layout.fBuiltin >= 0 && layout.fBuiltin != SK_FRAGCOLOR_BUILTIN && in writeLayout() 2412 layout.fBuiltin != SK_IN_BUILTIN) { in writeLayout() 2413 this->writeInstruction(SpvOpDecorate, target, SpvDecorationBuiltIn, layout.fBuiltin, in writeLayout() 2439 if (layout.fBuiltin >= 0) { in writeLayout() 2441 layout.fBuiltin, fDecorationBuffer); in writeLayout() 2508 if (var->fModifiers.fLayout.fBuiltin == BUILTIN_IGNORE) { in writeGlobalVars() 2511 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOLOR_BUILTIN && in writeGlobalVars() 2925 if (SK_IN_BUILTIN == intf.fVariable.fModifiers.fLayout.fBuiltin) { in writeInstructions()
|
D | SkSLHCodeGenerator.cpp | 288 if (ProgramElement::kEnum_Kind == p->fKind && !((Enum&) *p).fBuiltin) { in generateCode()
|
D | SkSLIRGenerator.cpp | 185 if (fc.fFunction.fBuiltin && fc.fFunction.fName == "EmitVertex") { in convertStatement() 301 ((Variable*) (*fSymbolTable)[varDecl.fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations() 325 invocationId->fModifiers.fLayout.fBuiltin = -1; in convertModifiersDeclaration() 988 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in convertIdentifier() 1533 if (function.fBuiltin && function.fName == "texture" && in call()
|
D | SkSLCompiler.cpp | 1187 ((Enum&) *element).fBuiltin = true; in convertProgram()
|