• Home
  • Raw
  • Download

Lines Matching refs:Modifiers

251 void IRGenerator::checkVarDeclaration(int offset, const Modifiers& modifiers, const Type* baseType,  in checkVarDeclaration()
263 if ((modifiers.fFlags & Modifiers::kIn_Flag) && baseType->isMatrix()) { in checkVarDeclaration()
266 if ((modifiers.fFlags & Modifiers::kIn_Flag) && in checkVarDeclaration()
267 (modifiers.fFlags & Modifiers::kUniform_Flag)) { in checkVarDeclaration()
291 if (modifiers.fFlags & Modifiers::kIn_Flag) { in checkVarDeclaration()
295 if (baseType->isEffectChild() && !(modifiers.fFlags & Modifiers::kUniform_Flag)) { in checkVarDeclaration()
300 (modifiers.fFlags & Modifiers::kUniform_Flag)) { in checkVarDeclaration()
309 if (!(modifiers.fFlags & Modifiers::kUniform_Flag)) { in checkVarDeclaration()
324 int permitted = Modifiers::kConst_Flag; in checkVarDeclaration()
326 permitted |= Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag | in checkVarDeclaration()
327 Modifiers::kFlat_Flag | Modifiers::kNoPerspective_Flag; in checkVarDeclaration()
333 std::unique_ptr<Variable> IRGenerator::convertVar(int offset, const Modifiers& modifiers, in convertVar()
339 (modifiers.fFlags & Modifiers::kOut_Flag) && in convertVar()
393 const Modifiers& modifiers, in convertVarDeclaration()
412 const Modifiers& modifiers = declarationsIter++->getModifiers(); in convertVarDeclarations()
466 Modifiers modifiers = m.getModifiers(); in convertModifiersDeclaration()
680 Modifiers invokeModifiers(invokeLayout, Modifiers::kHasSideEffects_Flag); in applyInvocationIDWorkaround()
793 const Modifiers& modifiers, in CheckModifiers()
798 auto checkModifier = [&](Modifiers::Flag flag, const char* name) { in CheckModifiers()
807 checkModifier(Modifiers::kConst_Flag, "const"); in CheckModifiers()
808 checkModifier(Modifiers::kIn_Flag, "in"); in CheckModifiers()
809 checkModifier(Modifiers::kOut_Flag, "out"); in CheckModifiers()
810 checkModifier(Modifiers::kUniform_Flag, "uniform"); in CheckModifiers()
811 checkModifier(Modifiers::kFlat_Flag, "flat"); in CheckModifiers()
812 checkModifier(Modifiers::kNoPerspective_Flag, "noperspective"); in CheckModifiers()
813 checkModifier(Modifiers::kHasSideEffects_Flag, "sk_has_side_effects"); in CheckModifiers()
814 checkModifier(Modifiers::kInline_Flag, "inline"); in CheckModifiers()
815 checkModifier(Modifiers::kNoInline_Flag, "noinline"); in CheckModifiers()
998 Modifiers declModifiers = funcData.fModifiers; in convertFunction()
1000 declModifiers.fFlags |= Modifiers::kHasSideEffects_Flag; in convertFunction()
1006 declModifiers.fFlags &= ~Modifiers::kInline_Flag; in convertFunction()
1007 declModifiers.fFlags |= Modifiers::kNoInline_Flag; in convertFunction()
1185 Modifiers modifiers(layout, Modifiers::kConst_Flag); in convertEnum()
1320 const Modifiers& modifiers = var->modifiers(); in convertIdentifier()
1332 (modifiers.fFlags & Modifiers::kIn_Flag) && in convertIdentifier()
1333 !(modifiers.fFlags & Modifiers::kUniform_Flag) && in convertIdentifier()
1908 Modifiers m; in start()
1910 m.fFlags = Modifiers::kIn_Flag; in start()