Home
last modified time | relevance | path

Searched refs:kConst_Flag (Results 1 – 20 of 20) sorted by relevance

/third_party/flutter/skia/src/sksl/ir/
DSkSLModifiers.h21 kConst_Flag = 1 << 0, enumerator
52 if (fFlags & kConst_Flag) { in description()
DSkSLVariableReference.h49 return 0 != (fVariable.fModifiers.fFlags & Modifiers::kConst_Flag); in isConstant()
DSkSLVariableReference.cpp102 if ((fVariable.fModifiers.fFlags & Modifiers::kConst_Flag) && fVariable.fInitialValue && in constantPropagate()
/third_party/skia/include/private/
DSkSLModifiers.h39 kConst_Flag = 1 << 2, enumerator
82 if (fFlags & kConst_Flag) { in description()
/third_party/skia/src/sksl/ir/
DSkSLVarDeclarations.cpp86 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()
DSkSLModifiers.cpp18 { Modifiers::kConst_Flag, "const" }, in checkPermitted()
DSkSLFunctionDeclaration.cpp83 Modifiers::kConst_Flag | Modifiers::kIn_Flag | Modifiers::kOut_Flag, in check_parameters()
/third_party/skia/include/sksl/
DDSLModifiers.h24 kConst_Modifier = SkSL::Modifiers::kConst_Flag,
/third_party/skia/src/sksl/analysis/
DSkSLIsConstantExpression.cpp43 (v->modifiers().fFlags & Modifiers::kConst_Flag)) { in visitExpression()
/third_party/skia/src/sksl/
DSkSLConstantFolder.cpp206 if (!(var.modifiers().fFlags & Modifiers::kConst_Flag)) { in GetConstantValueForVariable()
DSkSLAnalysis.cpp251 if (var->modifiers().fFlags & (Modifiers::kConst_Flag | Modifiers::kUniform_Flag)) { in visitExpression()
DSkSLDSLParser.cpp27 case Token::Kind::TK_CONST: return Modifiers::kConst_Flag; in parse_modifier_token()
/third_party/flutter/skia/src/sksl/
DSkSLMetalCodeGenerator.cpp987 if (modifiers.fFlags & Modifiers::kConst_Flag) { in writeModifiers()
1114 if (global && !(var.fVar->fModifiers.fFlags & Modifiers::kConst_Flag)) { in writeVarDeclarations()
DSkSLContext.h415 Modifiers mods(Layout(), Modifiers::kConst_Flag); in fp_type()
DSkSLIRGenerator.cpp940 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()
DSkSLGLSLCodeGenerator.cpp1137 if (modifiers.fFlags & Modifiers::kConst_Flag) { in writeFunctionCall()
DSkSLParser.cpp938 flags |= Modifiers::kConst_Flag; in modifiers()
/third_party/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.cpp614 if (modifiers.fFlags & Modifiers::kConst_Flag) { in modifierString()
DSkSLMetalCodeGenerator.cpp1976 if (modifiers.fFlags & Modifiers::kConst_Flag) { in writeModifiers()
2411 if (!(var.modifiers().fFlags & ~Modifiers::kConst_Flag) && in visitGlobalStruct()
DSkSLGLSLCodeGenerator.cpp1090 if (modifiers.fFlags & Modifiers::kConst_Flag) { in writeModifiers()