Home
last modified time | relevance | path

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

12

/third_party/skia/include/private/
DSkSLLayout.h45 , fBuiltin(builtin) in Layout()
55 , fBuiltin(-1) in Layout()
60 result.fBuiltin = builtin; in builtin()
88 if (fBuiltin >= 0) { in description()
89 result += separator() + "builtin = " + to_string(fBuiltin); in description()
119 fBuiltin == other.fBuiltin &&
135 int fBuiltin; member
DSkSLModifiers.h135 ((size_t) key.fLayout.fBuiltin << 16);
/third_party/skia/src/sksl/ir/
DSkSLFunctionPrototype.h29 , fBuiltin(builtin) {} in FunctionPrototype()
36 return fBuiltin; in isBuiltin()
49 bool fBuiltin; variable
DSkSLFunctionDefinition.h32 , fBuiltin(builtin) in FunctionDefinition()
59 return fBuiltin; in isBuiltin()
94 bool fBuiltin; variable
DSkSLSymbolTable.h33 : fBuiltin(builtin) in SymbolTable()
38 , fBuiltin(builtin) in SymbolTable()
128 return fBuiltin; in isBuiltin()
165 bool fBuiltin = false; variable
DSkSLVariable.h50 , fBuiltin(builtin) {} in Variable()
85 return fBuiltin; in isBuiltin()
113 bool fBuiltin; variable
DSkSLFunctionDeclaration.cpp111 m.fLayout.fBuiltin = SK_MAIN_COORDS_BUILTIN; in check_parameters()
115 m.fLayout.fBuiltin = kBuiltinColorIDs[builtinColorIndex++]; in check_parameters()
123 m.fLayout.fBuiltin = SK_MAIN_COORDS_BUILTIN; in check_parameters()
149 p.modifiers().fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN; in check_main_signature()
156 p.modifiers().fLayout.fBuiltin == builtinID; in check_main_signature()
318 , fBuiltin(builtin) in FunctionDeclaration()
DSkSLFunctionDeclaration.h77 return fBuiltin; in isBuiltin()
123 bool fBuiltin; variable
DSkSLSymbolTable.cpp29 return this->lookup(fBuiltin ? nullptr : this, MakeSymbolKey(name)); in operator []()
37 if (!fBuiltin) { in lookup()
/third_party/flutter/skia/src/sksl/ir/
DSkSLLayout.h196 , fBuiltin(builtin) in Layout()
213 , fBuiltin(-1) in Layout()
245 if (fBuiltin >= 0) { in description()
246 result += separator + "builtin = " + to_string(fBuiltin); in description()
397 fBuiltin == other.fBuiltin &&
417 int fBuiltin; member
DSkSLFunctionDeclaration.h28 , fBuiltin(false) in FunctionDeclaration()
105 bool fBuiltin; member
DSkSLSymbolTable.cpp114 ((FunctionDeclaration&)*pair.second).fBuiltin = true; in markAllFunctionsBuiltin()
120 ((FunctionDeclaration*)f)->fBuiltin = true; in markAllFunctionsBuiltin()
DSkSLEnum.h51 bool fBuiltin = false; member
/third_party/flutter/skia/src/sksl/
DSkSLPipelineStageCodeGenerator.cpp81 if (c.fFunction.fBuiltin && c.fFunction.fName == "sample" && in writeFunctionCall()
121 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
227 -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()
516 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
564 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
1338 -1 == first.fModifiers.fLayout.fBuiltin) { in writeInputStruct()
1377 -1 == first.fModifiers.fLayout.fBuiltin) { in writeOutputStruct()
1445 if ((!first.fModifiers.fFlags && -1 == first.fModifiers.fLayout.fBuiltin) || in writeGlobalStruct()
[all …]
DSkSLCPPCodeGenerator.cpp115 int builtin = ((VariableReference&) base).fVariable.fModifiers.fLayout.fBuiltin; in writeIndexExpression()
172 var.fModifiers.fLayout.fBuiltin == -1; in is_private()
289 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
408 if (c.fFunction.fBuiltin && c.fFunction.fName == "sample" && in writeFunctionCall()
473 if (c.fFunction.fBuiltin && c.fFunction.fName == "sample") { in writeFunctionCall()
534 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
DSkSLSPIRVCodeGenerator.cpp423 if (field.fModifiers.fLayout.fBuiltin < 0) { in writeStruct()
1697 if (var.fModifiers.fLayout.fBuiltin == SK_IN_BUILTIN) { in getLValue()
1807 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN && in writeVariableReference()
1886 if (ref.fVariable.fModifiers.fLayout.fBuiltin == SK_CLOCKWISE_BUILTIN && in writeVariableReference()
2596 if (layout.fBuiltin >= 0 && layout.fBuiltin != SK_FRAGCOLOR_BUILTIN && in writeLayout()
2597 layout.fBuiltin != SK_IN_BUILTIN && layout.fBuiltin != SK_OUT_BUILTIN) { in writeLayout()
2598 this->writeInstruction(SpvOpDecorate, target, SpvDecorationBuiltIn, layout.fBuiltin, in writeLayout()
2624 if (layout.fBuiltin >= 0) { in writeLayout()
2626 layout.fBuiltin, fDecorationBuffer); in writeLayout()
2671 if (intf.fVariable.fModifiers.fLayout.fBuiltin == SK_IN_BUILTIN) { in writeInterfaceBlock()
[all …]
DSkSLSectionAndParameterHelper.h108 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
DSkSLIRGenerator.cpp216 if (fc.fFunction.fBuiltin && fc.fFunction.fName == "EmitVertex") { in convertStatement()
352 ((Variable*) (*fSymbolTable)[var->fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
382 invocationId->fModifiers.fLayout.fBuiltin = -1; in convertModifiersDeclaration()
864 parameters[0]->fModifiers.fLayout.fBuiltin = SK_MAIN_X_BUILTIN; in convertFunction()
865 parameters[1]->fModifiers.fLayout.fBuiltin = SK_MAIN_Y_BUILTIN; in convertFunction()
866 parameters[2]->fModifiers.fLayout.fBuiltin = SK_OUTCOLOR_BUILTIN; in convertFunction()
869 parameters[0]->fModifiers.fLayout.fBuiltin = SK_OUTCOLOR_BUILTIN; in convertFunction()
1165 switch (var->fModifiers.fLayout.fBuiltin) { in convertIdentifier()
1174 if (var->fModifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in convertIdentifier()
1188 var->fModifiers.fLayout.fBuiltin == -1 && in convertIdentifier()
/third_party/skia/src/sksl/
DSkSLAnalysis.cpp105 maybeCoords->as<VariableReference>().variable()->modifiers().fLayout.fBuiltin == in visitExpression()
127 BuiltinVariableVisitor(int builtin) : fBuiltin(builtin) {} in BuiltinVariableVisitor()
132 return var.variable()->modifiers().fLayout.fBuiltin == fBuiltin; in visitExpression()
137 int fBuiltin; member in SkSL::__anon98f5b9ae0111::BuiltinVariableVisitor
DSkSLDehydrator.cpp87 } else if (l == Layout::builtin(l.fBuiltin)) { in write()
89 this->writeS16(l.fBuiltin); in write()
98 this->writeS16(l.fBuiltin); in write()
/third_party/skia/include/sksl/
DDSLLayout.h65 return this->intValue(&fSkSLLayout.fBuiltin, builtin, SkSL::Layout::kBuiltin_Flag,
/third_party/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.cpp236 if (modifiers.fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN) { in writeVariableReference()
239 } else if (modifiers.fLayout.fBuiltin == SK_INPUT_COLOR_BUILTIN) { in writeVariableReference()
242 } else if (modifiers.fLayout.fBuiltin == SK_DEST_COLOR_BUILTIN) { in writeVariableReference()
DSkSLSPIRVCodeGenerator.cpp502 if (field.fModifiers.fLayout.fBuiltin < 0) { in writeStruct()
2096 if (variable->modifiers().fLayout.fBuiltin == DEVICE_FRAGCOORDS_BUILTIN) { in writeVariableReference()
2103 if (variable->modifiers().fLayout.fBuiltin == DEVICE_CLOCKWISE_BUILTIN) { in writeVariableReference()
2112 if (variable->modifiers().fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in writeVariableReference()
2126 modifiers.fLayout.fBuiltin = DEVICE_FRAGCOORDS_BUILTIN; in writeVariableReference()
2148 if (variable->modifiers().fLayout.fBuiltin == SK_CLOCKWISE_BUILTIN) { in writeVariableReference()
2161 modifiers.fLayout.fBuiltin = DEVICE_CLOCKWISE_BUILTIN; in writeVariableReference()
2975 if (layout.fBuiltin >= 0 && layout.fBuiltin != SK_FRAGCOLOR_BUILTIN) { in writeLayout()
2976 this->writeInstruction(SpvOpDecorate, target, SpvDecorationBuiltIn, layout.fBuiltin, in writeLayout()
3002 if (layout.fBuiltin >= 0) { in writeLayout()
[all …]
DSkSLMetalCodeGenerator.cpp1303 switch (ref.variable()->modifiers().fLayout.fBuiltin) { in writeVariableReference()
1352 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
1885 if (f.isMain() && param->modifiers().fLayout.fBuiltin != -1) { in writeFunctionDeclaration()
2306 -1 == var.modifiers().fLayout.fBuiltin) { in writeInputStruct()
2339 -1 == var.modifiers().fLayout.fBuiltin) { in writeOutputStruct()
2412 -1 == var.modifiers().fLayout.fBuiltin) { in visitGlobalStruct()
2611 if (modifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in requirements()

12