Home
last modified time | relevance | path

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

/external/skia/include/private/
DSkSLModifiers.h25 kOut_Flag = 1 << 2, enumerator
63 if ((fFlags & kIn_Flag) && (fFlags & kOut_Flag)) { in description()
67 } else if (fFlags & kOut_Flag) { in description()
/external/skqp/src/sksl/ir/
DSkSLModifiers.h23 kOut_Flag = 1 << 2, enumerator
103 if ((fFlags & kIn_Flag) && (fFlags & kOut_Flag)) { in description()
107 } else if (fFlags & kOut_Flag) { in description()
DSkSLVariable.h56 return !fWriteCount || (!fReadCount && !(fModifiers.fFlags & (Modifiers::kOut_Flag | in dead()
/external/skqp/src/sksl/
DSkSLMetalCodeGenerator.cpp242 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
432 } else if (ref.fVariable.fModifiers.fFlags & Modifiers::kOut_Flag) { in writeVariableReference()
536 (((VariableReference&) *b.fLeft).fVariable.fModifiers.fFlags & Modifiers::kOut_Flag)) { in writeBinaryExpression()
743 if (param->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeFunction()
826 if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeModifiers()
1226 if (first.fModifiers.fFlags & Modifiers::kOut_Flag && in writeOutputStruct()
1416 } else if (v.fVariable.fModifiers.fFlags & Modifiers::kOut_Flag) { in requirements()
DSkSLGLSLCodeGenerator.cpp1091 (modifiers.fFlags & Modifiers::kOut_Flag)) { in writeFunctionCall()
1101 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1552 Modifiers modifiers(layout, Modifiers::kOut_Flag | Modifiers::kHighp_Flag); in writeFunctionCall()
DSkSLSPIRVCodeGenerator.cpp178 return (var.fModifiers.fFlags & Modifiers::kOut_Flag) != 0; in is_out()
695 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
715 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
1451 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in get_storage_class()
2707 Modifiers::kOut_Flag | in writeGlobalVars()
2717 } else if (var->fModifiers.fFlags & Modifiers::kOut_Flag) { in writeGlobalVars()
3050 } else if (m.fFlags & Modifiers::kOut_Flag) { in writeGeometryShaderExecutionMode()
3128 (intf.fVariable.fModifiers.fFlags & Modifiers::kOut_Flag)) && in writeInstructions()
3155 (var->fModifiers.fFlags & Modifiers::kOut_Flag))) { in writeInstructions()
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.cpp267 (decl.fModifiers.fFlags & Modifiers::kOut_Flag) && fKind == Program::kFragment_Kind && in convertVarDeclarations()
701 Modifiers::kOut_Flag); in convertFunction()
849 Modifiers::kOut_Flag | in convertInterfaceBlock()
1590 if (arguments[i] && (function.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag)) { in call()
DSkSLParser.cpp938 flags |= Modifiers::kOut_Flag; in modifiers()
943 flags |= Modifiers::kOut_Flag; in modifiers()
DSkSLCompiler.cpp328 if (c.fFunction.fParameters[i]->fModifiers.fFlags & Modifiers::kOut_Flag) { in addDefinitions()
/external/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp241 if (param->modifiers().fFlags & Modifiers::kOut_Flag) { in getOutParamHelper()
352 if (parameters[index]->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1163 } else if (var.modifiers().fFlags & Modifiers::kOut_Flag) { in writeVariableReference()
1620 if (param->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionDeclaration()
1701 if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeModifiers()
2069 if (var.modifiers().fFlags & Modifiers::kOut_Flag && in writeOutputStruct()
2357 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in requirements()
DSkSLPipelineStageCodeGenerator.cpp548 if ((modifiers.fFlags & Modifiers::kIn_Flag) && (modifiers.fFlags & Modifiers::kOut_Flag)) { in modifierString()
552 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in modifierString()
DSkSLGLSLCodeGenerator.cpp1045 (modifiers.fFlags & Modifiers::kOut_Flag)) { in writeModifiers()
1055 } else if (modifiers.fFlags & Modifiers::kOut_Flag) { in writeModifiers()
1483 Modifiers modifiers(layout, Modifiers::kOut_Flag); in generateCode()
DSkSLSPIRVCodeGenerator.cpp195 return (var.modifiers().fFlags & Modifiers::kOut_Flag) != 0; in is_out()
790 if (function.parameters()[i]->modifiers().fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
815 if (function.parameters()[i]->modifiers().fFlags & Modifiers::kOut_Flag) { in writeIntrinsicCall()
1755 if (modifiers.fFlags & Modifiers::kOut_Flag) { in get_storage_class()
3068 (Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag)); in is_dead()
3372 } else if (m.fFlags & Modifiers::kOut_Flag) { in writeGeometryShaderExecutionMode()
3543 if ((modifiers.fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) && in writeInstructions()
3582 (var->modifiers().fFlags & (Modifiers::kIn_Flag | Modifiers::kOut_Flag)) && in writeInstructions()
DSkSLVMCodeGenerator.cpp444 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunction()
1229 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in writeFunctionCall()
1697 if (p->modifiers().fFlags & Modifiers::kOut_Flag) { in ProgramToSkVM()
DSkSLDSLCPPCodeGenerator.cpp769 if (modifiers.fFlags & Modifiers::kOut_Flag) { in getDSLModifiers()
/external/skia/src/sksl/ir/
DSkSLFunctionDeclaration.cpp76 Modifiers::kOut_Flag, /*permittedLayoutFlags=*/0); in check_parameters()
DSkSLFunctionCall.cpp362 if (paramModifiers.fFlags & Modifiers::kOut_Flag) { in Convert()
/external/skia/src/sksl/
DSkSLInliner.cpp582 SkASSERT(!(modifiers.fFlags & Modifiers::kOut_Flag)); in makeInlineVariable()
733 if (param->modifiers().fFlags & Modifiers::Flag::kOut_Flag) { in isSafeToInline()
DSkSLIRGenerator.cpp326 permitted |= Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag | in checkVarDeclaration()
339 (modifiers.fFlags & Modifiers::kOut_Flag) && in convertVar()
809 checkModifier(Modifiers::kOut_Flag, "out"); in CheckModifiers()
DSkSLParser.cpp48 case Token::Kind::TK_OUT: return Modifiers::kOut_Flag; in parse_modifier_token()
49 case Token::Kind::TK_INOUT: return Modifiers::kIn_Flag | Modifiers::kOut_Flag; in parse_modifier_token()
DSkSLAnalysis.cpp625 (Modifiers::kIn_Flag | Modifiers::kOut_Flag | Modifiers::kUniform_Flag))) { in isDead()
/external/skia/tests/
DSkSLDSLTest.cpp1761 REPORTER_ASSERT(r, DSLWriter::Var(v3).modifiers().fFlags == SkSL::Modifiers::kOut_Flag); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1775 (SkSL::Modifiers::kIn_Flag | SkSL::Modifiers::kOut_Flag)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()
1780 (SkSL::Modifiers::kIn_Flag | SkSL::Modifiers::kOut_Flag)); in DEF_GPUTEST_FOR_MOCK_CONTEXT()