/external/skia/include/private/ |
D | SkSLLayout.h | 122 , 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
|
D | SkSLModifiers.h | 94 ((size_t) key.fLayout.fBuiltin << 16);
|
/external/skia/src/sksl/ir/ |
D | SkSLFunctionPrototype.h | 29 , fBuiltin(builtin) {} in FunctionPrototype() 36 return fBuiltin; in isBuiltin() 50 bool fBuiltin; variable
|
D | SkSLFunctionDefinition.h | 32 , fBuiltin(builtin) in INHERITED() 42 return fBuiltin; in isBuiltin() 77 bool fBuiltin; variable
|
D | SkSLSymbolTable.h | 32 : fBuiltin(builtin) in SymbolTable() 37 , fBuiltin(builtin) in SymbolTable() 111 return fBuiltin; in isBuiltin() 140 bool fBuiltin = false; variable
|
D | SkSLVariable.h | 51 , fBuiltin(builtin) {} in Variable() 64 return fBuiltin; in isBuiltin() 92 bool fBuiltin; variable
|
D | SkSLFunctionDeclaration.cpp | 96 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()
|
D | SkSLFunctionDeclaration.h | 77 return fBuiltin; in isBuiltin() 123 bool fBuiltin; variable
|
D | SkSLSymbolTable.cpp | 28 return this->lookup(fBuiltin ? nullptr : this, MakeSymbolKey(name)); in operator []() 36 if (!fBuiltin) { in lookup()
|
/external/skqp/src/sksl/ir/ |
D | SkSLLayout.h | 187 , 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
|
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 | 45 bool fBuiltin = false; member
|
/external/skqp/src/sksl/ |
D | SkSLPipelineStageCodeGenerator.cpp | 80 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()
|
D | SkSLMetalCodeGenerator.cpp | 203 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 …]
|
D | SkSLCPPCodeGenerator.cpp | 88 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()
|
D | SkSLSPIRVCodeGenerator.cpp | 416 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 …]
|
D | SkSLSectionAndParameterHelper.h | 108 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
|
/external/skia/src/sksl/dsl/ |
D | DSLFunction.cpp | 56 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/ |
D | DSLLayout.h | 67 return this->intValue(&fSkSLLayout.fBuiltin, builtin, SkSL::Layout::kBuiltin_Flag,
|
/external/skia/src/sksl/ |
D | SkSLSectionAndParameterHelper.h | 67 -1 == var.modifiers().fLayout.fBuiltin; in IsParameter()
|
D | SkSLAnalysis.cpp | 108 .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
|
D | SkSLDehydrator.cpp | 87 } 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/ |
D | SkSLMetalCodeGenerator.cpp | 1140 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()
|
D | SkSLSPIRVCodeGenerator.cpp | 457 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 …]
|