Home
last modified time | relevance | path

Searched refs:outputVariable (Results 1 – 7 of 7) sorted by relevance

/external/angle/src/tests/compiler_tests/
DCollectVariables_test.cpp115 const ShaderVariable &outputVariable = outputVariables[varIndex]; in validateOutputVariableForShader() local
116 EXPECT_EQ(-1, outputVariable.location); in validateOutputVariableForShader()
117 EXPECT_TRUE(outputVariable.staticUse); in validateOutputVariableForShader()
118 EXPECT_TRUE(outputVariable.active); in validateOutputVariableForShader()
119 EXPECT_EQ(varName, outputVariable.name); in validateOutputVariableForShader()
120 *outResult = &outputVariable; in validateOutputVariableForShader()
255 const ShaderVariable &outputVariable = outputVariables[0]; in TEST_F() local
257 EXPECT_FALSE(outputVariable.isArray()); in TEST_F()
258 EXPECT_EQ(-1, outputVariable.location); in TEST_F()
259 EXPECT_GLENUM_EQ(GL_MEDIUM_FLOAT, outputVariable.precision); in TEST_F()
[all …]
/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp312 const PixelShaderOutputVariable *outputVariable = in generatePixelShaderForOutputSignature() local
319 if (outputVariable) in generatePixelShaderForOutputSignature()
322 HLSLTypeString(declarationStream, outputVariable->type); in generatePixelShaderForOutputSignature()
323 declarationStream << " " << outputVariable->name << " : " << targetSemantic in generatePixelShaderForOutputSignature()
326 copyStream << " output." << outputVariable->name << " = " in generatePixelShaderForOutputSignature()
327 << outputVariable->source << ";\n"; in generatePixelShaderForOutputSignature()
1280 const sh::ShaderVariable &outputVariable = shaderOutputVars[outputLocation.index]; in getPixelShaderOutputKey() local
1281 const std::string &variableName = "out_" + outputVariable.name; in getPixelShaderOutputKey()
1285 (outputVariable.isArray() ? Str(outputLocation.arrayIndex) : ""); in getPixelShaderOutputKey()
1287 ASSERT(outputVariable.active); in getPixelShaderOutputKey()
[all …]
/external/angle/src/libANGLE/
DProgram.cpp3980 int Program::getOutputLocationForLink(const sh::ShaderVariable &outputVariable) const in getOutputLocationForLink()
3982 if (outputVariable.location != -1) in getOutputLocationForLink()
3984 return outputVariable.location; in getOutputLocationForLink()
3986 int apiLocation = mFragmentOutputLocations.getBinding(outputVariable); in getOutputLocationForLink()
3994 bool Program::isOutputSecondaryForLink(const sh::ShaderVariable &outputVariable) const in isOutputSecondaryForLink()
3996 if (outputVariable.index != -1) in isOutputSecondaryForLink()
3998 ASSERT(outputVariable.index == 0 || outputVariable.index == 1); in isOutputSecondaryForLink()
3999 return (outputVariable.index == 1); in isOutputSecondaryForLink()
4001 int apiIndex = mFragmentOutputIndexes.getBinding(outputVariable); in isOutputSecondaryForLink()
4049 sh::ShaderVariable &outputVariable) in AssignOutputLocations() argument
[all …]
DProgram.h857 int getOutputLocationForLink(const sh::ShaderVariable &outputVariable) const;
858 bool isOutputSecondaryForLink(const sh::ShaderVariable &outputVariable) const;
Dqueryutils.cpp754 const sh::ShaderVariable &outputVariable = program->getOutputResource(index); in GetOutputResourceProperty() local
760 return GetCommonVariableProperty(outputVariable, prop); in GetOutputResourceProperty()
766 return outputVariable.location; in GetOutputResourceProperty()
772 return program->getFragDataIndex(outputVariable.name); in GetOutputResourceProperty()
794 return outputVariable.isPatch; in GetOutputResourceProperty()
/external/angle/src/compiler/translator/
DCollectVariables.cpp908 ShaderVariable outputVariable; in recordOutputVariable() local
909 setCommonVariableProperties(type, variable.variable(), &outputVariable); in recordOutputVariable()
911 outputVariable.location = type.getLayoutQualifier().location; in recordOutputVariable()
912 outputVariable.index = type.getLayoutQualifier().index; in recordOutputVariable()
913 outputVariable.yuv = type.getLayoutQualifier().yuv; in recordOutputVariable()
914 return outputVariable; in recordOutputVariable()
DOutputHLSL.cpp737 for (const auto &outputVariable : mReferencedOutputVariables) in header() local
739 const ImmutableString &variableName = outputVariable.second->name(); in header()
740 const TType &variableType = outputVariable.second->getType(); in header()