Home
last modified time | relevance | path

Searched refs:fModifiers (Results 1 – 25 of 54) sorted by relevance

123

/third_party/flutter/skia/src/sksl/ir/
DSkSLVariable.h36 , fModifiers(modifiers) in INHERITED()
52 return fModifiers.description() + fType.fName + " " + fName; in description()
57 (fModifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag | in dead()
62 (!fReadCount && !(fModifiers.fFlags & (Modifiers::kPLS_Flag | in dead()
66 mutable Modifiers fModifiers; member
DSkSLModifiersDeclaration.h24 , fModifiers(modifiers) {} in ModifiersDeclaration()
27 return std::unique_ptr<ProgramElement>(new ModifiersDeclaration(fModifiers)); in clone()
31 return fModifiers.description() + ";"; in description()
34 Modifiers fModifiers; member
DSkSLVariableReference.cpp98 (fVariable.fModifiers.fFlags & Modifiers::kIn_Flag) && in constantPropagate()
99 !(fVariable.fModifiers.fFlags & Modifiers::kUniform_Flag)) { in constantPropagate()
102 if ((fVariable.fModifiers.fFlags & Modifiers::kConst_Flag) && fVariable.fInitialValue && in constantPropagate()
DSkSLFunctionDeclaration.h29 , fModifiers(modifiers) in FunctionDeclaration()
106 Modifiers fModifiers; member
/third_party/flutter/skia/src/sksl/
DSkSLCPPCodeGenerator.cpp19 return (var.fModifiers.fFlags & Modifiers::kUniform_Flag) && in needs_uniform_var()
115 int builtin = ((VariableReference&) base).fVariable.fModifiers.fLayout.fBuiltin; in writeIndexExpression()
162 if (var.fModifiers.fLayout.fCType == SkSL::Layout::CType::kSkPMColor4f) { in default_value()
169 return !(var.fModifiers.fFlags & Modifiers::kUniform_Flag) && in is_private()
170 !(var.fModifiers.fFlags & Modifiers::kIn_Flag) && in is_private()
172 var.fModifiers.fLayout.fBuiltin == -1; in is_private()
176 return (var.fModifiers.fFlags & Modifiers::kUniform_Flag) && in is_uniform_in()
177 (var.fModifiers.fFlags & Modifiers::kIn_Flag) && in is_uniform_in()
246 this->writeRuntimeValue(var.fType, var.fModifiers.fLayout, var.fName); in writeVarInitializer()
289 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
[all …]
DSkSLMetalCodeGenerator.cpp256 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
516 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
536 if (ref.fVariable.fModifiers.fFlags & Modifiers::kIn_Flag) { in writeVariableReference()
538 } else if (ref.fVariable.fModifiers.fFlags & Modifiers::kOut_Flag) { in writeVariableReference()
540 } else if (ref.fVariable.fModifiers.fFlags & Modifiers::kUniform_Flag && in writeVariableReference()
564 switch (field->fModifiers.fLayout.fBuiltin) { in writeFieldAccess()
684 (((VariableReference&) *b.fLeft).fVariable.fModifiers.fFlags & Modifiers::kOut_Flag)) { in writeBinaryExpression()
816 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction()
822 this->write(to_string(var.fVar->fModifiers.fLayout.fBinding)); in writeFunction()
837 this->write(to_string(intf.fVariable.fModifiers.fLayout.fSet)); in writeFunction()
[all …]
DSkSLPipelineStageCodeGenerator.cpp121 switch (ref.fVariable.fModifiers.fLayout.fBuiltin) { in writeVariableReference()
139 if (ref.fVariable.fModifiers.fFlags & Modifiers::kUniform_Flag) { in writeVariableReference()
155 if (var.fModifiers.fFlags & Modifiers::kUniform_Flag) { in writeVariableReference()
226 if (var.fModifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kUniform_Flag) || in writeProgramElement()
227 -1 != var.fModifiers.fLayout.fBuiltin) { in writeProgramElement()
DSkSLIRGenerator.cpp352 ((Variable*) (*fSymbolTable)[var->fName])->fModifiers.fLayout.fBuiltin >= 0) { in convertVarDeclarations()
355 old->fModifiers = var->fModifiers; in convertVarDeclarations()
381 invocationId->fModifiers.fFlags = 0; in convertModifiersDeclaration()
382 invocationId->fModifiers.fLayout.fBuiltin = -1; in convertModifiersDeclaration()
746 pd.fModifiers, in convertFunction()
760 parameters[0]->fModifiers.fFlags == 0 && in convertFunction()
762 parameters[1]->fModifiers.fFlags == 0 && in convertFunction()
764 parameters[2]->fModifiers.fFlags == (Modifiers::kIn_Flag | in convertFunction()
769 parameters[0]->fModifiers.fFlags == (Modifiers::kIn_Flag | in convertFunction()
819 FunctionDeclaration newDecl(f.fOffset, fd.fModifiers, fd.fName, parameters, in convertFunction()
[all …]
DSkSLASTNode.h203 : fModifiers(modifiers) in ParameterData()
207 Modifiers fModifiers; member
227 : fModifiers(modifiers) in FunctionData()
231 Modifiers fModifiers; member
241 : fModifiers(modifiers) in InterfaceBlockData()
247 Modifiers fModifiers; member
DSkSLSPIRVCodeGenerator.cpp183 return (var.fModifiers.fFlags & Modifiers::kOut_Flag) != 0; in is_out()
402 const Layout& fieldLayout = field.fModifiers.fLayout; in writeStruct()
423 if (field.fModifiers.fLayout.fBuiltin < 0) { in writeStruct()
715 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
735 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
1538 SpvStorageClass_ result = get_storage_class(var.fModifiers); in get_storage_class()
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()
2653 bool isBuffer = (0 != (intf.fVariable.fModifiers.fFlags & Modifiers::kBuffer_Flag)); in writeInterfaceBlock()
[all …]
DSkSLSectionAndParameterHelper.h107 return (var.fModifiers.fFlags & Modifiers::kIn_Flag) && in IsParameter()
108 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
DSkSLASTNode.cpp90 String result = fd.fModifiers.description(); in description()
134 String result = id.fModifiers.description() + " " + id.fTypeName + " {\n"; in description()
/third_party/skia/include/sksl/
DDSLModifiers.h39 : fModifiers(layout.fSkSLLayout, flags) {}
42 return fModifiers.fFlags; in flags()
46 return DSLLayout(fModifiers.fLayout); in layout()
50 SkSL::Modifiers fModifiers;
DDSLType.h231 : fModifiers(modifiers) in fModifiers() function
237 DSLModifiers fModifiers;
/third_party/skia/src/sksl/ir/
DSkSLModifiersDeclaration.h27 , fModifiers(modifiers) {} in ModifiersDeclaration()
30 return *fModifiers; in modifiers()
42 const Modifiers* fModifiers;
DSkSLVariable.h48 , fModifiers(modifiers) in Variable()
77 return *fModifiers; in modifiers()
81 fModifiers = modifiers; in setModifiers()
111 const Modifiers* fModifiers; variable
DSkSLProgram.h93 , fModifiers(std::move(modifiers)) { in Program()
106 fModifiers.reset(); in ~Program()
199 std::unique_ptr<ModifiersPool> fModifiers;
DSkSLFunctionDeclaration.h56 return *fModifiers; in modifiers()
120 const Modifiers* fModifiers; variable
DSkSLStructDefinition.h48 s += f.fModifiers.description(); in description()
/third_party/flutter/skia/src/gpu/effects/
DGrSkSLFP.cpp36 if (var.fModifiers.fFlags & SkSL::Modifiers::kIn_Flag) { in GrSkSLFPFactory()
39 if (var.fModifiers.fLayout.fKey) { in GrSkSLFPFactory()
97 SkSL::Layout::CType result = v.fModifiers.fLayout.fCType; in get_ctype()
153 if (v->fModifiers.fFlags & SkSL::Modifiers::kUniform_Flag && v->fType != in emitCode()
228 if (v->fModifiers.fFlags & SkSL::Modifiers::kUniform_Flag) { in onSetData()
244 if (v->fModifiers.fFlags & SkSL::Modifiers::kUniform_Flag) { in onSetData()
252 if (v->fModifiers.fFlags & SkSL::Modifiers::kUniform_Flag) { in onSetData()
260 if (v->fModifiers.fFlags & SkSL::Modifiers::kUniform_Flag) { in onSetData()
266 SkASSERT(!(v->fModifiers.fFlags & SkSL::Modifiers::kUniform_Flag)); in onSetData()
390 if (v->fModifiers.fLayout.fKey) { in onGetGLSLProcessorKey()
[all …]
/third_party/skia/src/sksl/dsl/
DDSLType.cpp173 : fSkSLType(find_type(ThreadContext::Context(), name, &modifiers->fModifiers, position)) {} in DSLType()
266 if (field.fModifiers.fModifiers.fFlags != Modifiers::kNo_Flag) { in Struct()
267 String desc = field.fModifiers.fModifiers.description(); in Struct()
278 skslFields.emplace_back(field.fModifiers.fModifiers, field.fName, &type); in Struct()
DDSLFunction.cpp29 modifiers.fModifiers.fFlags |= Modifiers::kHasSideEffects_Flag; in init()
35 modifiers.fModifiers.fFlags &= ~Modifiers::kInline_Flag; in init()
36 modifiers.fModifiers.fFlags |= Modifiers::kNoInline_Flag; in init()
58 ThreadContext::Modifiers(modifiers.fModifiers), in init()
DDSLVar.cpp39 : fModifiers(std::move(modifiers)) in DSLVarBase()
46 if (fModifiers.fModifiers.fFlags & Modifiers::kUniform_Flag) { in DSLVarBase()
84 std::swap(fModifiers, other.fModifiers); in swap()
/third_party/skia/src/sksl/dsl/priv/
DDSLWriter.cpp53 var.fPosition.line(), var.fModifiers.fModifiers, &var.fType.skslType(), var.fName, in Var()
74 var.fModifiers.fModifiers, &var.fType.skslType(), var.fName, /*isArray=*/false, in CreateParameterVar()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_longnames.cpp252 fModifiers[i] = SimpleModifier(compiledFormatter, field, false, {this, 0, plural}); in simpleFormatsToModifiers()
269 fModifiers[i] = SimpleModifier(compoundCompiled, field, false, {this, 0, plural}); in multiSimpleFormatsToModifiers()
279 micros.modOuter = &fModifiers[utils::getStandardPlural(rules, copy)]; in processQuantity()
283 return &fModifiers[plural]; in getModifier()

123