Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/src/sksl/ir/
DSkSLModifiers.h23 kOut_Flag = 1 << 2, enumerator
91 if ((fFlags & kIn_Flag) && (fFlags & kOut_Flag)) { in description()
95 } else if (fFlags & kOut_Flag) { in description()
DSkSLVariable.h57 (fModifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag | in dead()
/third_party/skia/include/private/
DSkSLModifiers.h42 kOut_Flag = 1 << 5, enumerator
88 if ((fFlags & kIn_Flag) && (fFlags & kOut_Flag)) { in description()
92 } else if (fFlags & kOut_Flag) { in description()
/third_party/skia/include/sksl/
DDSLModifiers.h26 kOut_Modifier = SkSL::Modifiers::kOut_Flag,
27 kInOut_Modifier = SkSL::Modifiers::kIn_Flag | SkSL::Modifiers::kOut_Flag,
/third_party/skia/src/sksl/ir/
DSkSLVariable.cpp35 (modifiers.fFlags & Modifiers::kOut_Flag) && in Convert()
74 SkASSERT(!(modifiers.fFlags & Modifiers::kOut_Flag)); in MakeScratchVariable()
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.cpp20 { Modifiers::kOut_Flag, "out" }, in checkPermitted()
DSkSLVarDeclarations.cpp89 permitted |= Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag | in ErrorCheck()
DSkSLFunctionCall.cpp981 if (paramModifiers.fFlags & Modifiers::kOut_Flag) { in Convert()
/third_party/flutter/skia/src/sksl/
DSkSLMetalCodeGenerator.cpp256 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
538 } else if (ref.fVariable.fModifiers.fFlags & Modifiers::kOut_Flag) { in writeVariableReference()
684 (((VariableReference&) *b.fLeft).fVariable.fModifiers.fFlags & Modifiers::kOut_Flag)) { in writeBinaryExpression()
901 if (param->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunction()
984 if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeModifiers()
1376 if (first.fModifiers.fFlags & Modifiers::kOut_Flag && in writeOutputStruct()
1564 } else if (v.fVariable.fModifiers.fFlags & Modifiers::kOut_Flag) { in requirements()
DSkSLSPIRVCodeGenerator.cpp183 return (var.fModifiers.fFlags & Modifiers::kOut_Flag) != 0; in is_out()
715 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
735 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
1518 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in get_storage_class()
2740 Modifiers::kOut_Flag | in writeGlobalVars()
2750 } else if (var->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeGlobalVars()
3083 } else if (m.fFlags & Modifiers::kOut_Flag) { in writeGeometryShaderExecutionMode()
3161 (intf.fVariable.fModifiers.fFlags & Modifiers::kOut_Flag)) && in writeInstructions()
3191 (var->fModifiers.fFlags & Modifiers::kOut_Flag))) { in writeInstructions()
DSkSLGLSLCodeGenerator.cpp1116 (modifiers.fFlags & Modifiers::kOut_Flag)) { in writeFunctionCall()
1126 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1583 Modifiers modifiers(layout, Modifiers::kOut_Flag); in writeFunctionCall()
DSkSLByteCodeGenerator.cpp953 if (param->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
989 if (param->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1535 fParameters.push_back({ slots, (bool)(p->fModifiers.fFlags & Modifiers::kOut_Flag) }); in ByteCodeFunction()
DSkSLJIT.cpp303 !(var->fModifiers.fFlags & Modifiers::kOut_Flag) && in getLValue()
830 !(var.fModifiers.fFlags & Modifiers::kOut_Flag) && in compileVariableReference()
1753 f.fParameters[2]->fModifiers.fFlags == (Modifiers::kIn_Flag | Modifiers::kOut_Flag); in hasStageSignature()
1767 if (p->fModifiers.fFlags & Modifiers::kOut_Flag) { in compileFunction()
DSkSLIRGenerator.cpp284 (modifiers.fFlags & Modifiers::kOut_Flag) && fKind == Program::kFragment_Kind && in convertVarDeclarations()
765 Modifiers::kOut_Flag); in convertFunction()
770 Modifiers::kOut_Flag); in convertFunction()
937 Modifiers::kOut_Flag | in convertInterfaceBlock()
1786 if (arguments[i] && (function.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag)) { in call()
DSkSLParser.cpp946 flags |= Modifiers::kOut_Flag; in modifiers()
951 flags |= Modifiers::kOut_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/
DSkSLMetalCodeGenerator.cpp238 if (param->modifiers().fFlags & Modifiers::kOut_Flag) { in getOutParamHelper()
349 if (parameters[index]->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1326 } else if (var.modifiers().fFlags & Modifiers::kOut_Flag) { in writeVariableReference()
1893 if (param->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionDeclaration()
1973 if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeModifiers()
2338 if (var.modifiers().fFlags & Modifiers::kOut_Flag && in writeOutputStruct()
2616 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in requirements()
DSkSLPipelineStageCodeGenerator.cpp618 if ((modifiers.fFlags & Modifiers::kIn_Flag) && (modifiers.fFlags & Modifiers::kOut_Flag)) { in modifierString()
622 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in modifierString()
DSkSLGLSLCodeGenerator.cpp1097 (modifiers.fFlags & Modifiers::kOut_Flag)) { in writeModifiers()
1107 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeModifiers()
1583 Modifiers modifiers(layout, Modifiers::kOut_Flag); in generateCode()
DSkSLSPIRVCodeGenerator.cpp224 return (m.fFlags & Modifiers::kOut_Flag) != 0; in is_out()
228 switch (m.fFlags & (Modifiers::kOut_Flag | Modifiers::kIn_Flag)) { in is_in()
229 case Modifiers::kOut_Flag: // out in is_in()
234 case Modifiers::kOut_Flag | Modifiers::kIn_Flag: // inout in is_in()
1828 if (modifiers.fFlags & Modifiers::kOut_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()
DSkSLVMCodeGenerator.cpp472 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunction()
1353 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1927 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in ProgramToSkVM()
/third_party/skia/tests/
DSkSLDSLTest.cpp1854 REPORTER_ASSERT(r, v3.modifiers().flags() == SkSL::Modifiers::kOut_Flag); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1867 SkSL::Modifiers::kOut_Flag)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1872 SkSL::Modifiers::kOut_Flag)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
/third_party/skia/src/sksl/
DSkSLDSLParser.cpp29 case Token::Kind::TK_OUT: return Modifiers::kOut_Flag; in parse_modifier_token()
30 case Token::Kind::TK_INOUT: return Modifiers::kIn_Flag | Modifiers::kOut_Flag; in parse_modifier_token()
DSkSLInliner.cpp744 if (param->modifiers().fFlags & Modifiers::Flag::kOut_Flag) { in isSafeToInline()

12