Home
last modified time | relevance | path

Searched refs:kIn_Flag (Results 1 – 25 of 27) sorted by relevance

12

/third_party/flutter/skia/src/sksl/ir/
DSkSLModifiers.h22 kIn_Flag = 1 << 1, enumerator
91 if ((fFlags & kIn_Flag) && (fFlags & kOut_Flag)) { in description()
93 } else if (fFlags & kIn_Flag) { in description()
DSkSLVariable.h57 (fModifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag | in dead()
DSkSLVariableReference.cpp98 (fVariable.fModifiers.fFlags & Modifiers::kIn_Flag) && in constantPropagate()
/third_party/skia/include/private/
DSkSLModifiers.h41 kIn_Flag = 1 << 4, enumerator
88 if ((fFlags & kIn_Flag) && (fFlags & kOut_Flag)) { in description()
90 } else if (fFlags & kIn_Flag) { in description()
/third_party/skia/src/sksl/ir/
DSkSLVarDeclarations.cpp53 if ((modifiers.fFlags & Modifiers::kIn_Flag) && baseType->isMatrix()) { in ErrorCheck()
56 if ((modifiers.fFlags & Modifiers::kIn_Flag) && (modifiers.fFlags & Modifiers::kUniform_Flag)) { in ErrorCheck()
60 if (modifiers.fFlags & Modifiers::kIn_Flag) { in ErrorCheck()
89 permitted |= Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag | in ErrorCheck()
109 if (var.modifiers().fFlags & Modifiers::kIn_Flag) { in ErrorCheckAndCoerce()
224 SkASSERT(!(value && (var->modifiers().fFlags & Modifiers::kIn_Flag))); in Make()
DSkSLFunctionDeclaration.cpp83 Modifiers::kConst_Flag | Modifiers::kIn_Flag | Modifiers::kOut_Flag, in check_parameters()
100 if (Modifiers::kIn_Flag == (m.fFlags & (Modifiers::kOut_Flag | Modifiers::kIn_Flag))) { in check_parameters()
101 m.fFlags &= ~(Modifiers::kOut_Flag | Modifiers::kIn_Flag); in check_parameters()
DSkSLModifiers.cpp19 { Modifiers::kIn_Flag, "in" }, in checkPermitted()
DSkSLFunctionCall.cpp982 const VariableRefKind refKind = paramModifiers.fFlags & Modifiers::kIn_Flag in Convert()
/third_party/skia/include/sksl/
DDSLModifiers.h25 kIn_Modifier = SkSL::Modifiers::kIn_Flag,
27 kInOut_Modifier = SkSL::Modifiers::kIn_Flag | SkSL::Modifiers::kOut_Flag,
/third_party/flutter/skia/src/sksl/
DSkSLSectionAndParameterHelper.h107 return (var.fModifiers.fFlags & Modifiers::kIn_Flag) && in IsParameter()
DSkSLCPPCodeGenerator.cpp170 !(var.fModifiers.fFlags & Modifiers::kIn_Flag) && in is_private()
177 (var.fModifiers.fFlags & Modifiers::kIn_Flag) && in is_uniform_in()
533 if (var.fModifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kUniform_Flag) || in writeProgramElement()
1251 if (needs_uniform_var(*u) && !(u->fModifiers.fFlags & Modifiers::kIn_Flag)) { in generateCode()
DSkSLPipelineStageCodeGenerator.cpp226 if (var.fModifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kUniform_Flag) || in writeProgramElement()
DSkSLGLSLCodeGenerator.cpp1115 if ((modifiers.fFlags & Modifiers::kIn_Flag) && in writeFunctionCall()
1118 } else if (modifiers.fFlags & Modifiers::kIn_Flag) { in writeFunctionCall()
1592 Modifiers modifiers(layout, Modifiers::kIn_Flag); in writeFunctionCall()
DSkSLMetalCodeGenerator.cpp536 if (ref.fVariable.fModifiers.fFlags & Modifiers::kIn_Flag) { in writeVariableReference()
1337 if (first.fModifiers.fFlags & Modifiers::kIn_Flag && in writeInputStruct()
1562 if (v.fVariable.fModifiers.fFlags & Modifiers::kIn_Flag) { in requirements()
DSkSLIRGenerator.cpp265 (modifiers.fFlags & Modifiers::kIn_Flag) && in convertVarDeclarations()
764 parameters[2]->fModifiers.fFlags == (Modifiers::kIn_Flag | in convertFunction()
769 parameters[0]->fModifiers.fFlags == (Modifiers::kIn_Flag | in convertFunction()
936 if (vd.fVar->fModifiers.fFlags & (Modifiers::kIn_Flag | in convertInterfaceBlock()
1185 (var->fModifiers.fFlags & Modifiers::kIn_Flag) && in convertIdentifier()
1788 function.fParameters[i]->fModifiers.fFlags & Modifiers::kIn_Flag ? in call()
DSkSLSPIRVCodeGenerator.cpp1515 if (modifiers.fFlags & Modifiers::kIn_Flag) { in get_storage_class()
2739 !(var->fModifiers.fFlags & (Modifiers::kIn_Flag | in writeGlobalVars()
2748 if (var->fModifiers.fFlags & Modifiers::kIn_Flag) { in writeGlobalVars()
3054 if (m.fFlags & Modifiers::kIn_Flag) { in writeGeometryShaderExecutionMode()
3129 if (m.fFlags & Modifiers::kIn_Flag) { in writeInstructions()
3160 if (((intf.fVariable.fModifiers.fFlags & Modifiers::kIn_Flag) || in writeInstructions()
3190 ((var->fModifiers.fFlags & Modifiers::kIn_Flag) || in writeInstructions()
DSkSLParser.cpp942 flags |= Modifiers::kIn_Flag; in modifiers()
950 flags |= Modifiers::kIn_Flag; in modifiers()
/third_party/skia/src/sksl/analysis/
DSkSLProgramUsage.cpp119 (Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag))) { in isDead()
/third_party/skia/src/sksl/codegen/
DSkSLPipelineStageCodeGenerator.cpp618 if ((modifiers.fFlags & Modifiers::kIn_Flag) && (modifiers.fFlags & Modifiers::kOut_Flag)) { in modifierString()
620 } else if (modifiers.fFlags & Modifiers::kIn_Flag) { in modifierString()
DSkSLGLSLCodeGenerator.cpp1096 if ((modifiers.fFlags & Modifiers::kIn_Flag) && in writeModifiers()
1099 } else if (modifiers.fFlags & Modifiers::kIn_Flag) { in writeModifiers()
1592 Modifiers modifiers(layout, Modifiers::kIn_Flag); in generateCode()
DSkSLMetalCodeGenerator.cpp267 if (param->modifiers().fFlags & Modifiers::kIn_Flag) { in getOutParamHelper()
1324 if (var.modifiers().fFlags & Modifiers::kIn_Flag) { in writeVariableReference()
2305 if (var.modifiers().fFlags & Modifiers::kIn_Flag && in writeInputStruct()
2614 if (modifiers.fFlags & Modifiers::kIn_Flag) { in requirements()
DSkSLSPIRVCodeGenerator.cpp228 switch (m.fFlags & (Modifiers::kOut_Flag | Modifiers::kIn_Flag)) { in is_in()
233 case Modifiers::kIn_Flag: // explicit in in is_in()
234 case Modifiers::kOut_Flag | Modifiers::kIn_Flag: // inout in is_in()
1824 if (modifiers.fFlags & Modifiers::kIn_Flag) { in get_storage_class()
3096 (Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag)); in isDead()
3563 if ((modifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) && in writeInstructions()
3601 (var->modifiers().fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) && in writeInstructions()
/third_party/skia/tests/
DSkSLDSLTest.cpp1850 REPORTER_ASSERT(r, v2.modifiers().flags() == SkSL::Modifiers::kIn_Flag); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1866 REPORTER_ASSERT(r, v6.modifiers().flags() == (SkSL::Modifiers::kIn_Flag | in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1871 REPORTER_ASSERT(r, v7.modifiers().flags() == (SkSL::Modifiers::kIn_Flag | in DEF_GPUTEST_FOR_MOCK_CONTEXT()
/third_party/flutter/skia/src/gpu/effects/
DGrSkSLFP.cpp36 if (var.fModifiers.fFlags & SkSL::Modifiers::kIn_Flag) { in GrSkSLFPFactory()
/third_party/skia/src/sksl/
DSkSLDSLParser.cpp28 case Token::Kind::TK_IN: return Modifiers::kIn_Flag; in parse_modifier_token()
30 case Token::Kind::TK_INOUT: return Modifiers::kIn_Flag | Modifiers::kOut_Flag; in parse_modifier_token()

12