Home
last modified time | relevance | path

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

12

/external/skia/src/sksl/ir/
DSkSLLayout.h187 , fBuiltin(builtin) in Layout()
204 , fBuiltin(-1) in Layout()
236 if (fBuiltin >= 0) { in description()
237 result += separator + "builtin = " + to_string(fBuiltin); in description()
388 fBuiltin == other.fBuiltin &&
408 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.h45 bool fBuiltin = false; member
/external/skqp/src/sksl/ir/
DSkSLLayout.h187 , fBuiltin(builtin) in Layout()
204 , fBuiltin(-1) in Layout()
236 if (fBuiltin >= 0) { in description()
237 result += separator + "builtin = " + to_string(fBuiltin); in description()
388 fBuiltin == other.fBuiltin &&
408 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.h45 bool fBuiltin = false; member
/external/skqp/src/sksl/
DSkSLMetalCodeGenerator.cpp203 if (c.fFunction.fBuiltin && "atan" == c.fFunction.fName && 2 == c.fArguments.size()) { in writeFunctionCall()
205 } else if (c.fFunction.fBuiltin && "inversesqrt" == c.fFunction.fName) { in writeFunctionCall()
207 } else if (c.fFunction.fBuiltin && "inverse" == c.fFunction.fName) { in writeFunctionCall()
210 } else if (c.fFunction.fBuiltin && "dFdx" == c.fFunction.fName) { in writeFunctionCall()
212 } else if (c.fFunction.fBuiltin && "dFdy" == c.fFunction.fName) { in writeFunctionCall()
410 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
458 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
1188 -1 == first.fModifiers.fLayout.fBuiltin) { in writeInputStruct()
1227 -1 == first.fModifiers.fLayout.fBuiltin) { in writeOutputStruct()
1297 if ((!first.fModifiers.fFlags && -1 == first.fModifiers.fLayout.fBuiltin) || in writeGlobalStruct()
[all …]
DSkSLPipelineStageCodeGenerator.cpp80 if (c.fFunction.fBuiltin && c.fFunction.fName == "process") { in writeFunctionCall()
117 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
222 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
DSkSLCPPCodeGenerator.cpp88 int builtin = ((VariableReference&) base).fVariable.fModifiers.fLayout.fBuiltin; in writeIndexExpression()
145 var.fModifiers.fLayout.fBuiltin == -1; in is_private()
256 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
374 if (c.fFunction.fBuiltin && c.fFunction.fName == "process") { in writeFunctionCall()
423 if (c.fFunction.fBuiltin && c.fFunction.fName == "texture") { in writeFunctionCall()
484 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
DSkSLSPIRVCodeGenerator.cpp416 if (type.fields()[i].fModifiers.fLayout.fBuiltin < 0) { in writeStruct()
1619 if (var.fModifiers.fLayout.fBuiltin == SK_IN_BUILTIN) { in getLValue()
1722 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN && in writeVariableReference()
1785 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_CLOCKWISE_BUILTIN && in writeVariableReference()
2566 if (layout.fBuiltin >= 0 && layout.fBuiltin != SK_FRAGCOLOR_BUILTIN && in writeLayout()
2567 layout.fBuiltin != SK_IN_BUILTIN && layout.fBuiltin != SK_OUT_BUILTIN) { in writeLayout()
2568 this->writeInstruction(SpvOpDecorate, target, SpvDecorationBuiltIn, layout.fBuiltin, in writeLayout()
2594 if (layout.fBuiltin >= 0) { in writeLayout()
2596 layout.fBuiltin, fDecorationBuffer); in writeLayout()
2641 if (intf.fVariable.fModifiers.fLayout.fBuiltin == SK_IN_BUILTIN) { in writeInterfaceBlock()
[all …]
DSkSLSectionAndParameterHelper.h108 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
DSkSLGLSLCodeGenerator.cpp483 const auto found = c.fFunction.fBuiltin ? fFunctionClasses->find(c.fFunction.fName) : in writeFunctionCall()
769 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeFunctionCall()
828 switch (f.fBase->fType.fields()[f.fFieldIndex].fModifiers.fLayout.fBuiltin) { in writeFunctionCall()
1466 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall()
DSkSLIRGenerator.cpp196 if (fc.fFunction.fBuiltin && fc.fFunction.fName == "EmitVertex") { in convertStatement()
326 ((Variable*) (*fSymbolTable)[varDecl.fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
351 invocationId->fModifiers.fLayout.fBuiltin = -1; in convertModifiersDeclaration()
783 parameters[0]->fModifiers.fLayout.fBuiltin = SK_MAIN_X_BUILTIN; in convertFunction()
784 parameters[1]->fModifiers.fLayout.fBuiltin = SK_MAIN_Y_BUILTIN; in convertFunction()
785 parameters[2]->fModifiers.fLayout.fBuiltin = SK_OUTCOLOR_BUILTIN; in convertFunction()
1035 switch (var->fModifiers.fLayout.fBuiltin) { in convertIdentifier()
1044 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in convertIdentifier()
DSkSLHCodeGenerator.cpp337 if (ProgramElement::kEnum_Kind == p.fKind && !((Enum&) p).fBuiltin) { in generateCode()
DSkSLCompiler.cpp1273 ((Enum&) *element).fBuiltin = true; in convertProgram()
/external/skia/src/sksl/
DSkSLPipelineStageCodeGenerator.cpp81 if (c.fFunction.fBuiltin && c.fFunction.fName == "process") { in writeFunctionCall()
118 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
223 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
DSkSLMetalCodeGenerator.cpp211 if (c.fFunction.fBuiltin && "atan" == c.fFunction.fName && 2 == c.fArguments.size()) { in writeFunctionCall()
213 } else if (c.fFunction.fBuiltin && "inversesqrt" == c.fFunction.fName) { in writeFunctionCall()
215 } else if (c.fFunction.fBuiltin && "inverse" == c.fFunction.fName) { in writeFunctionCall()
218 } else if (c.fFunction.fBuiltin && "dFdx" == c.fFunction.fName) { in writeFunctionCall()
220 } else if (c.fFunction.fBuiltin && "dFdy" == c.fFunction.fName) { in writeFunctionCall()
510 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
558 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
1332 -1 == first.fModifiers.fLayout.fBuiltin) { in writeInputStruct()
1371 -1 == first.fModifiers.fLayout.fBuiltin) { in writeOutputStruct()
1439 if ((!first.fModifiers.fFlags && -1 == first.fModifiers.fLayout.fBuiltin) || in writeGlobalStruct()
[all …]
DSkSLCPPCodeGenerator.cpp114 int builtin = ((VariableReference&) base).fVariable.fModifiers.fLayout.fBuiltin; in writeIndexExpression()
171 var.fModifiers.fLayout.fBuiltin == -1; in is_private()
282 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
401 if (c.fFunction.fBuiltin && c.fFunction.fName == "process") { in writeFunctionCall()
465 if (c.fFunction.fBuiltin && c.fFunction.fName == "texture") { in writeFunctionCall()
526 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
DSkSLSPIRVCodeGenerator.cpp416 if (field.fModifiers.fLayout.fBuiltin < 0) { in writeStruct()
1671 if (var.fModifiers.fLayout.fBuiltin == SK_IN_BUILTIN) { in getLValue()
1781 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN && in writeVariableReference()
1844 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_CLOCKWISE_BUILTIN && in writeVariableReference()
2554 if (layout.fBuiltin >= 0 && layout.fBuiltin != SK_FRAGCOLOR_BUILTIN && in writeLayout()
2555 layout.fBuiltin != SK_IN_BUILTIN && layout.fBuiltin != SK_OUT_BUILTIN) { in writeLayout()
2556 this->writeInstruction(SpvOpDecorate, target, SpvDecorationBuiltIn, layout.fBuiltin, in writeLayout()
2582 if (layout.fBuiltin >= 0) { in writeLayout()
2584 layout.fBuiltin, fDecorationBuffer); in writeLayout()
2629 if (intf.fVariable.fModifiers.fLayout.fBuiltin == SK_IN_BUILTIN) { in writeInterfaceBlock()
[all …]
DSkSLSectionAndParameterHelper.h108 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
DSkSLIRGenerator.cpp202 if (fc.fFunction.fBuiltin && fc.fFunction.fName == "EmitVertex") { in convertStatement()
332 ((Variable*) (*fSymbolTable)[varDecl.fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
357 invocationId->fModifiers.fLayout.fBuiltin = -1; in convertModifiersDeclaration()
801 parameters[0]->fModifiers.fLayout.fBuiltin = SK_MAIN_X_BUILTIN; in convertFunction()
802 parameters[1]->fModifiers.fLayout.fBuiltin = SK_MAIN_Y_BUILTIN; in convertFunction()
803 parameters[2]->fModifiers.fLayout.fBuiltin = SK_OUTCOLOR_BUILTIN; in convertFunction()
806 parameters[0]->fModifiers.fLayout.fBuiltin = SK_OUTCOLOR_BUILTIN; in convertFunction()
1072 switch (var->fModifiers.fLayout.fBuiltin) { in convertIdentifier()
1081 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in convertIdentifier()
DSkSLGLSLCodeGenerator.cpp479 const auto found = c.fFunction.fBuiltin ? fFunctionClasses->find(c.fFunction.fName) : in writeFunctionCall()
775 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeFunctionCall()
834 switch (f.fBase->fType.fields()[f.fFieldIndex].fModifiers.fLayout.fBuiltin) { in writeFunctionCall()
1493 int builtin = ((VarDeclaration&) *decl.fVars[0]).fVar->fModifiers.fLayout.fBuiltin; in writeFunctionCall()
DSkSLHCodeGenerator.cpp353 if (ProgramElement::kEnum_Kind == p.fKind && !((Enum&) p).fBuiltin) { in generateCode()

12