/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLVariable.h | 36 , 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
|
D | SkSLModifiersDeclaration.h | 24 , 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
|
D | SkSLVariableReference.cpp | 98 (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()
|
D | SkSLFunctionDeclaration.h | 29 , fModifiers(modifiers) in FunctionDeclaration() 106 Modifiers fModifiers; member
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLCPPCodeGenerator.cpp | 19 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 …]
|
D | SkSLMetalCodeGenerator.cpp | 256 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 …]
|
D | SkSLPipelineStageCodeGenerator.cpp | 121 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()
|
D | SkSLIRGenerator.cpp | 352 ((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 …]
|
D | SkSLASTNode.h | 203 : 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
|
D | SkSLSPIRVCodeGenerator.cpp | 183 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 …]
|
D | SkSLSectionAndParameterHelper.h | 107 return (var.fModifiers.fFlags & Modifiers::kIn_Flag) && in IsParameter() 108 -1 == var.fModifiers.fLayout.fBuiltin; in IsParameter()
|
D | SkSLASTNode.cpp | 90 String result = fd.fModifiers.description(); in description() 134 String result = id.fModifiers.description() + " " + id.fTypeName + " {\n"; in description()
|
/third_party/skia/include/sksl/ |
D | DSLModifiers.h | 39 : fModifiers(layout.fSkSLLayout, flags) {} 42 return fModifiers.fFlags; in flags() 46 return DSLLayout(fModifiers.fLayout); in layout() 50 SkSL::Modifiers fModifiers;
|
D | DSLType.h | 231 : fModifiers(modifiers) in fModifiers() function 237 DSLModifiers fModifiers;
|
/third_party/skia/src/sksl/ir/ |
D | SkSLModifiersDeclaration.h | 27 , fModifiers(modifiers) {} in ModifiersDeclaration() 30 return *fModifiers; in modifiers() 42 const Modifiers* fModifiers;
|
D | SkSLVariable.h | 48 , fModifiers(modifiers) in Variable() 77 return *fModifiers; in modifiers() 81 fModifiers = modifiers; in setModifiers() 111 const Modifiers* fModifiers; variable
|
D | SkSLProgram.h | 93 , fModifiers(std::move(modifiers)) { in Program() 106 fModifiers.reset(); in ~Program() 199 std::unique_ptr<ModifiersPool> fModifiers;
|
D | SkSLFunctionDeclaration.h | 56 return *fModifiers; in modifiers() 120 const Modifiers* fModifiers; variable
|
D | SkSLStructDefinition.h | 48 s += f.fModifiers.description(); in description()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrSkSLFP.cpp | 36 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/ |
D | DSLType.cpp | 173 : 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()
|
D | DSLFunction.cpp | 29 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()
|
D | DSLVar.cpp | 39 : 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/ |
D | DSLWriter.cpp | 53 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/ |
D | number_longnames.cpp | 252 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()
|