Home
last modified time | relevance | path

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

12

/external/skia/include/private/
DSkSLLayout.h122 , fBuiltin(builtin) in Layout()
137 , fBuiltin(-1) in Layout()
146 result.fBuiltin = builtin; in builtin()
174 if (fBuiltin >= 0) { in description()
175 result += separator() + "builtin = " + to_string(fBuiltin); in description()
248 fBuiltin == other.fBuiltin &&
269 int fBuiltin; member
DSkSLModifiers.h94 ((size_t) key.fLayout.fBuiltin << 16);
/external/skia/src/sksl/ir/
DSkSLFunctionPrototype.h29 , fBuiltin(builtin) {} in FunctionPrototype()
36 return fBuiltin; in isBuiltin()
50 bool fBuiltin; variable
DSkSLFunctionDefinition.h32 , fBuiltin(builtin) in INHERITED()
42 return fBuiltin; in isBuiltin()
77 bool fBuiltin; variable
DSkSLSymbolTable.h32 : fBuiltin(builtin) in SymbolTable()
37 , fBuiltin(builtin) in SymbolTable()
111 return fBuiltin; in isBuiltin()
140 bool fBuiltin = false; variable
DSkSLVariable.h51 , fBuiltin(builtin) {} in Variable()
64 return fBuiltin; in isBuiltin()
92 bool fBuiltin; variable
DSkSLFunctionDeclaration.cpp96 m.fLayout.fBuiltin = SK_MAIN_COORDS_BUILTIN; in check_parameters()
98 m.fLayout.fBuiltin = SK_INPUT_COLOR_BUILTIN; in check_parameters()
100 if (m.fLayout.fBuiltin) { in check_parameters()
109 m.fLayout.fBuiltin = SK_FRAGCOORD_BUILTIN; in check_parameters()
131 p.modifiers().fLayout.fBuiltin == (kind == ProgramKind::kFragment in check_main_signature()
139 parameters[idx]->modifiers().fLayout.fBuiltin == SK_INPUT_COLOR_BUILTIN; in check_main_signature()
295 , fBuiltin(builtin) in FunctionDeclaration()
DSkSLFunctionDeclaration.h77 return fBuiltin; in isBuiltin()
123 bool fBuiltin; variable
DSkSLSymbolTable.cpp28 return this->lookup(fBuiltin ? nullptr : this, MakeSymbolKey(name)); in operator []()
36 if (!fBuiltin) { in lookup()
/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/
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()
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 …]
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()
/external/skia/src/sksl/dsl/
DDSLFunction.cpp56 param->fModifiers.fModifiers.fLayout.fBuiltin = SK_MAIN_COORDS_BUILTIN; in init()
58 param->fModifiers.fModifiers.fLayout.fBuiltin = SK_INPUT_COLOR_BUILTIN; in init()
/external/skia/include/sksl/
DDSLLayout.h67 return this->intValue(&fSkSLLayout.fBuiltin, builtin, SkSL::Layout::kBuiltin_Flag,
/external/skia/src/sksl/
DSkSLSectionAndParameterHelper.h67 -1 == var.modifiers().fLayout.fBuiltin; in IsParameter()
DSkSLAnalysis.cpp108 .fLayout.fBuiltin == SK_MAIN_COORDS_BUILTIN) { in visitExpression()
135 BuiltinVariableVisitor(int builtin) : fBuiltin(builtin) {} in BuiltinVariableVisitor()
140 return var.variable()->modifiers().fLayout.fBuiltin == fBuiltin; in visitExpression()
145 int fBuiltin; member in SkSL::__anondd4e12040111::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()
/external/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp1140 switch (ref.variable()->modifiers().fLayout.fBuiltin) { in writeVariableReference()
1189 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
1612 if (f.isMain() && param->modifiers().fLayout.fBuiltin != -1) { in writeFunctionDeclaration()
2037 -1 == var.modifiers().fLayout.fBuiltin) { in writeInputStruct()
2070 -1 == var.modifiers().fLayout.fBuiltin) { in writeOutputStruct()
2135 if ((!var.modifiers().fFlags && -1 == var.modifiers().fLayout.fBuiltin) || in visitGlobalStruct()
2259 int builtin = decl.var().modifiers().fLayout.fBuiltin; in writeProgramElement()
2352 if (modifiers.fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN) { in requirements()
DSkSLSPIRVCodeGenerator.cpp457 if (field.fModifiers.fLayout.fBuiltin < 0) { in writeStruct()
1962 if (var.modifiers().fLayout.fBuiltin == SK_IN_BUILTIN) { in getLValue()
2035 if (variable->modifiers().fLayout.fBuiltin == SK_FRAGCOORD_BUILTIN && in writeVariableReference()
2148 if (variable->modifiers().fLayout.fBuiltin == SK_CLOCKWISE_BUILTIN && in writeVariableReference()
2947 if (layout.fBuiltin >= 0 && layout.fBuiltin != SK_FRAGCOLOR_BUILTIN && in writeLayout()
2948 layout.fBuiltin != SK_IN_BUILTIN && layout.fBuiltin != SK_OUT_BUILTIN) { in writeLayout()
2949 this->writeInstruction(SpvOpDecorate, target, SpvDecorationBuiltIn, layout.fBuiltin, in writeLayout()
2975 if (layout.fBuiltin >= 0) { in writeLayout()
2977 layout.fBuiltin, fDecorationBuffer); in writeLayout()
3032 if (intfModifiers.fLayout.fBuiltin == SK_IN_BUILTIN) { in writeInterfaceBlock()
[all …]

12