Home
last modified time | relevance | path

Searched refs:fBuiltin (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/sksl/ir/
DSkSLLayout.h131 , 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
DSkSLFunctionDeclaration.h28 , fBuiltin(false) in FunctionDeclaration()
105 bool fBuiltin; member
DSkSLSymbolTable.cpp110 ((FunctionDeclaration&) *pair.second).fBuiltin = true; in markAllFunctionsBuiltin()
114 ((FunctionDeclaration*) f)->fBuiltin = true; in markAllFunctionsBuiltin()
DSkSLEnum.h32 bool fBuiltin = false; member
/external/skqp/src/sksl/ir/
DSkSLLayout.h131 , 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
DSkSLFunctionDeclaration.h28 , fBuiltin(false) in FunctionDeclaration()
105 bool fBuiltin; member
DSkSLSymbolTable.cpp110 ((FunctionDeclaration&) *pair.second).fBuiltin = true; in markAllFunctionsBuiltin()
114 ((FunctionDeclaration*) f)->fBuiltin = true; in markAllFunctionsBuiltin()
DSkSLEnum.h32 bool fBuiltin = false; member
/external/skia/src/sksl/
DSkSLGLSLCodeGenerator.cpp437 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 …]
DSkSLMetalCodeGenerator.cpp136 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()
DSkSLCPPCodeGenerator.cpp84 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()
DSkSLSectionAndParameterHelper.h109 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
DSkSLSPIRVCodeGenerator.cpp411 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()
DSkSLHCodeGenerator.cpp288 if (ProgramElement::kEnum_Kind == p->fKind && !((Enum&) *p).fBuiltin) { in generateCode()
DSkSLIRGenerator.cpp181 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()
DSkSLCompiler.cpp1187 ((Enum&) *element).fBuiltin = true; in convertProgram()
/external/skqp/src/sksl/
DSkSLGLSLCodeGenerator.cpp437 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 …]
DSkSLMetalCodeGenerator.cpp136 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()
DSkSLCPPCodeGenerator.cpp84 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()
DSkSLSectionAndParameterHelper.h109 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
DSkSLSPIRVCodeGenerator.cpp411 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()
DSkSLHCodeGenerator.cpp288 if (ProgramElement::kEnum_Kind == p->fKind && !((Enum&) *p).fBuiltin) { in generateCode()
DSkSLIRGenerator.cpp185 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()
DSkSLCompiler.cpp1187 ((Enum&) *element).fBuiltin = true; in convertProgram()