Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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 …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramExecutable.cpp99 sh::ShaderVariable &outputVariable) in AssignOutputLocations() argument
111 outputVariable.location = baseLocation; in AssignOutputLocations()
119 const sh::ShaderVariable &outputVariable) in GetOutputLocationForLink() argument
121 if (outputVariable.location != -1) in GetOutputLocationForLink()
123 return outputVariable.location; in GetOutputLocationForLink()
125 int apiLocation = fragmentOutputLocations.getBinding(outputVariable); in GetOutputLocationForLink()
134 const sh::ShaderVariable &outputVariable) in IsOutputSecondaryForLink() argument
136 if (outputVariable.index != -1) in IsOutputSecondaryForLink()
138 ASSERT(outputVariable.index == 0 || outputVariable.index == 1); in IsOutputSecondaryForLink()
139 return (outputVariable.index == 1); in IsOutputSecondaryForLink()
[all …]
Dqueryutils.cpp760 const sh::ShaderVariable &outputVariable = program->getOutputResource(index); in GetOutputResourceProperty() local
766 return GetCommonVariableProperty(outputVariable, prop); in GetOutputResourceProperty()
772 return outputVariable.location; in GetOutputResourceProperty()
778 return program->getFragDataIndex(outputVariable.name); in GetOutputResourceProperty()
800 return outputVariable.isPatch; in GetOutputResourceProperty()
/third_party/skia/third_party/externals/angle2/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()
1293 const sh::ShaderVariable &outputVariable = shaderOutputVars[outputLocation.index]; in getPixelShaderOutputKey() local
1294 const std::string &variableName = "out_" + outputVariable.name; in getPixelShaderOutputKey()
1298 (outputVariable.isArray() ? Str(outputLocation.arrayIndex) : ""); in getPixelShaderOutputKey()
1300 ASSERT(outputVariable.active); in getPixelShaderOutputKey()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DCollectVariables.cpp880 ShaderVariable outputVariable; in recordOutputVariable() local
881 setCommonVariableProperties(type, variable.variable(), &outputVariable); in recordOutputVariable()
883 outputVariable.location = type.getLayoutQualifier().location; in recordOutputVariable()
884 outputVariable.index = type.getLayoutQualifier().index; in recordOutputVariable()
885 outputVariable.yuv = type.getLayoutQualifier().yuv; in recordOutputVariable()
886 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()