Searched refs:kConst_Flag (Results 1 – 20 of 20) sorted by relevance
21 kConst_Flag = 1 << 0, enumerator52 if (fFlags & kConst_Flag) { in description()
49 return 0 != (fVariable.fModifiers.fFlags & Modifiers::kConst_Flag); in isConstant()
102 if ((fVariable.fModifiers.fFlags & Modifiers::kConst_Flag) && fVariable.fInitialValue && in constantPropagate()
39 kConst_Flag = 1 << 2, enumerator82 if (fFlags & kConst_Flag) { in description()
86 int permitted = Modifiers::kConst_Flag | Modifiers::kHighp_Flag | Modifiers::kMediump_Flag | in ErrorCheck()129 if (var.modifiers().fFlags & Modifiers::kConst_Flag) { in ErrorCheckAndCoerce()210 SkASSERT(!(var->modifiers().fFlags & Modifiers::kConst_Flag) || value); in Make()212 SkASSERT(!(var->modifiers().fFlags & Modifiers::kConst_Flag) || in Make()
18 { Modifiers::kConst_Flag, "const" }, in checkPermitted()
83 Modifiers::kConst_Flag | Modifiers::kIn_Flag | Modifiers::kOut_Flag, in check_parameters()
24 kConst_Modifier = SkSL::Modifiers::kConst_Flag,
43 (v->modifiers().fFlags & Modifiers::kConst_Flag)) { in visitExpression()
206 if (!(var.modifiers().fFlags & Modifiers::kConst_Flag)) { in GetConstantValueForVariable()
251 if (var->modifiers().fFlags & (Modifiers::kConst_Flag | Modifiers::kUniform_Flag)) { in visitExpression()
27 case Token::Kind::TK_CONST: return Modifiers::kConst_Flag; in parse_modifier_token()
987 if (modifiers.fFlags & Modifiers::kConst_Flag) { in writeModifiers()1114 if (global && !(var.fVar->fModifiers.fFlags & Modifiers::kConst_Flag)) { in writeVarDeclarations()
415 Modifiers mods(Layout(), Modifiers::kConst_Flag); in fp_type()
940 Modifiers::kConst_Flag)) { in convertInterfaceBlock()1021 if ((var.fModifiers.fFlags & Modifiers::kConst_Flag) && in getConstantInt()1040 Modifiers modifiers(layout, Modifiers::kConst_Flag); in convertEnum()2480 if (var.fModifiers.fFlags & (Modifiers::kConst_Flag | Modifiers::kUniform_Flag)) { in setRefKind()
1137 if (modifiers.fFlags & Modifiers::kConst_Flag) { in writeFunctionCall()
938 flags |= Modifiers::kConst_Flag; in modifiers()
614 if (modifiers.fFlags & Modifiers::kConst_Flag) { in modifierString()
1976 if (modifiers.fFlags & Modifiers::kConst_Flag) { in writeModifiers()2411 if (!(var.modifiers().fFlags & ~Modifiers::kConst_Flag) && in visitGlobalStruct()
1090 if (modifiers.fFlags & Modifiers::kConst_Flag) { in writeModifiers()