Home
last modified time | relevance | path

Searched refs:kOut_Flag (Results 1 – 19 of 19) sorted by relevance

/external/skia/include/private/
DSkSLModifiers.h45 kOut_Flag = 1 << 5, enumerator
106 if ((flags & kIn_Flag) && (flags & kOut_Flag)) { in DescribeFlags()
110 } else if (flags & kOut_Flag) { in DescribeFlags()
/external/skia/include/sksl/
DDSLModifiers.h26 kOut_Modifier = SkSL::Modifiers::kOut_Flag,
27 kInOut_Modifier = SkSL::Modifiers::kIn_Flag | SkSL::Modifiers::kOut_Flag,
/external/skia/src/sksl/ir/
DSkSLVariable.cpp106 (modifiers.fFlags & Modifiers::kOut_Flag) && in Convert()
119 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in Convert()
183 SkASSERT(!(modifiers.fFlags & Modifiers::kOut_Flag)); in MakeScratchVariable()
DSkSLFunctionDeclaration.cpp88 permittedFlags |= Modifiers::kOut_Flag; in check_parameters()
111 if (Modifiers::kIn_Flag == (m.fFlags & (Modifiers::kOut_Flag | Modifiers::kIn_Flag))) { in check_parameters()
112 m.fFlags &= ~(Modifiers::kOut_Flag | Modifiers::kIn_Flag); in check_parameters()
192 return typeIsValidForColor(p.type()) && p.modifiers().fFlags == Modifiers::kOut_Flag; in check_main_signature()
DSkSLVarDeclarations.cpp167 if ((modifiers.fFlags & Modifiers::kOut_Flag) && type->isUnsizedArray()) { in ErrorCheck()
182 (modifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag))) { in ErrorCheck()
273 permitted |= Modifiers::kIn_Flag | Modifiers::kOut_Flag; in ErrorCheck()
DSkSLModifiers.cpp25 { Modifiers::kOut_Flag, "out" }, in checkPermitted()
DSkSLFunctionCall.cpp1005 if (paramModifiers.fFlags & Modifiers::kOut_Flag) { in Convert()
/external/skia/src/sksl/analysis/
DSkSLFinalizationChecks.cpp115 Modifiers::Flag::kOut_Flag); in checkOutParamsAreAssigned()
116 if (paramInout == Modifiers::Flag::kOut_Flag) { in checkOutParamsAreAssigned()
DSkSLProgramUsage.cpp138 (Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag))) { in isDead()
/external/skia/src/sksl/codegen/
DSkSLWGSLCodeGenerator.cpp357 if (modifiers.fFlags & Modifiers::kOut_Flag) { in visitExpression()
621 if (param->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionDeclaration()
921 } else if (v.modifiers().fFlags & Modifiers::kOut_Flag && in writeFieldAccess()
958 if (params[i]->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1092 } else if (v.modifiers().fFlags & Modifiers::kOut_Flag) { in writeVariableReference()
1098 v.modifiers().fFlags & Modifiers::kOut_Flag) || in writeVariableReference()
1275 if ((var.modifiers().fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) || in writeGlobalVarDeclaration()
1384 if (v->modifiers().fFlags & Modifiers::kOut_Flag) { in writeStageOutputStruct()
1395 if (v->modifiers().fFlags & Modifiers::kOut_Flag) { in writeStageOutputStruct()
1564 if (func.parameters()[i]->modifiers().fFlags & Modifiers::kOut_Flag) { in writeOutParamHelper()
DSkSLPipelineStageCodeGenerator.cpp658 if ((modifiers.fFlags & Modifiers::kIn_Flag) && (modifiers.fFlags & Modifiers::kOut_Flag)) { in modifierString()
662 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in modifierString()
DSkSLGLSLCodeGenerator.cpp1214 (modifiers.fFlags & Modifiers::kOut_Flag)) { in writeModifiers()
1223 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeModifiers()
1738 Modifiers modifiers(layout, Modifiers::kOut_Flag); in generateCode()
DSkSLMetalCodeGenerator.cpp249 return (modifiers.fFlags & Modifiers::kOut_Flag) && !type.isUnsizedArray(); in pass_by_reference()
432 if (parameters[index]->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1467 return (var.modifiers().fFlags & Modifiers::kOut_Flag) && in is_output()
2304 (modifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag))) { in writeModifiers()
2306 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeModifiers()
DSkSLSPIRVCodeGenerator.cpp346 return (m.fFlags & Modifiers::kOut_Flag) != 0; in is_out()
350 switch (m.fFlags & (Modifiers::kOut_Flag | Modifiers::kIn_Flag)) { in is_in()
351 case Modifiers::kOut_Flag: // out in is_in()
356 case Modifiers::kOut_Flag | Modifiers::kIn_Flag: // inout in is_in()
2211 if (modifiers.fFlags & Modifiers::kOut_Flag) { in get_storage_class_for_global_variable()
3587 (Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag)); in isDead()
4243 if ((modifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) && in writeInstructions()
4282 (var->modifiers().fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) && in writeInstructions()
DSkSLRasterPipelineCodeGenerator.cpp368 return (var.modifiers().fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) == in IsOutParameter()
369 Modifiers::kOut_Flag; in IsOutParameter()
373 return (var.modifiers().fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) == in IsInoutParameter()
374 (Modifiers::kIn_Flag | Modifiers::kOut_Flag); in IsInoutParameter()
DSkSLVMCodeGenerator.cpp608 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunction()
1610 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
2220 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in ProgramToSkVM()
/external/skia/tests/
DSkSLDSLTest.cpp1827 REPORTER_ASSERT(r, v3.modifiers().flags() == SkSL::Modifiers::kOut_Flag); in DEF_GANESH_TEST_FOR_MOCK_CONTEXT()
1837 SkSL::Modifiers::kOut_Flag)); in DEF_GANESH_TEST_FOR_MOCK_CONTEXT()
1841 SkSL::Modifiers::kOut_Flag)); in DEF_GANESH_TEST_FOR_MOCK_CONTEXT()
/external/skia/src/sksl/
DSkSLParser.cpp49 case Token::Kind::TK_OUT: return Modifiers::kOut_Flag; in parse_modifier_token()
50 case Token::Kind::TK_INOUT: return Modifiers::kIn_Flag | Modifiers::kOut_Flag; in parse_modifier_token()
DSkSLInliner.cpp605 if (param->modifiers().fFlags & Modifiers::Flag::kOut_Flag) { in isSafeToInline()