Searched refs:samplerTypes (Results 1 - 11 of 11) sorted by relevance

/external/deqp/modules/gles31/functional/
H A Des31fShaderStateQueryTests.cpp64 } samplerTypes[] = local
91 for (int typeNdx = 0; typeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); ++typeNdx)
93 const tcu::ScopedLogSection section(m_testCtx.getLog(), std::string(samplerTypes[typeNdx].typeStr), std::string() + "Sampler type " + samplerTypes[typeNdx].typeStr);
95 if (samplerTypes[typeNdx].isArray && !textureArraySupported)
97 m_testCtx.getLog() << tcu::TestLog::Message << "GL_OES_texture_storage_multisample_2d_array not supported, skipping type " << samplerTypes[typeNdx].typeStr << tcu::TestLog::EndMessage;
102 shaderArgs["SAMPLERTYPE"] = samplerTypes[typeNdx].typeStr;
103 shaderArgs["POSITION"] = samplerTypes[typeNdx].samplePosStr;
104 shaderArgs["EXTENSIONSTATEMENT"] = (samplerTypes[typeNdx].isArray) ? ("#extension GL_OES_texture_storage_multisample_2d_array : require\n") : ("");
111 m_testCtx.getLog() << tcu::TestLog::Message << "Building program with uniform sampler of type " << samplerTypes[typeNd
[all...]
H A Des31fShaderTextureSizeTests.cpp496 } samplerTypes[] =
508 for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); ++samplerTypeNdx)
512 const std::string name = std::string() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) + "_" + samplerTypes[samplerTypeNdx].name;
513 const std::string desc = std::string() + "samples count = " + de::toString(sampleCounts[sampleCountNdx]) + ", type = " + samplerTypes[samplerTypeNdx].name;
515 addChild(new TextureSizeCase(m_context, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].type, sampleCounts[sampleCountNdx]));
H A Des31fFboTestUtil.cpp77 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType outputType) argument
87 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++)
89 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n";
104 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++)
116 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, glu::DataType outputType) argument
135 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType));
140 for (size_t ndx = 0; ndx < samplerTypes.vec.size(); ++ndx)
142 decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]);
150 Texture2DShader::Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const Vec4& outScale, const Vec4& outBias) argument
151 : sglr::ShaderProgram (genTexture2DShaderDecl(samplerTypes, outputTyp
[all...]
H A Des31fFboTestUtil.hpp58 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
H A Des31fProgramUniformTests.cpp356 vector<glu::DataType> samplerTypes; local
358 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
359 return samplerTypes;
1108 const vector<glu::DataType> samplerTypes = m_uniformCollection->getSamplerTypes(); local
1115 for (int i = 0; i < (int)samplerTypes.size(); i++)
1117 if (glu::isDataTypeSampler(samplerTypes[i]))
1119 const glu::DataType retType = getSamplerLookupReturnType(samplerTypes[i]);
H A Des31fOpaqueTypeIndexingTests.cpp1173 static const DataType samplerTypes[] = local
1212 for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++)
1214 const DataType samplerType = samplerTypes[samplerTypeNdx];
/external/deqp/modules/gles3/functional/
H A Des3fTextureUnitTests.cpp197 static string generateMultiTexFragmentShader (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes) argument
217 samplersStr += string("") + "uniform highp " + glu::getDataTypeName(samplerTypes[ndx]) + " " + samplerName + ";\n";
248 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes) argument
264 decl << sglr::pdec::Uniform(samplerName, samplerTypes[ndx]);
280 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerTypes));
336 const vector<glu::DataType>& samplerTypes,
359 const vector<glu::DataType>& samplerTypes,
363 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, unitTypes, samplerTypes))
935 vector<glu::DataType> samplerTypes; local
941 samplerTypes
356 MultiTexShader(deUint32 randSeed, int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes, const vector<Vec4>& texScales, const vector<Vec4>& texBiases, const vector<int>& num2dArrayLayers) argument
[all...]
H A Des3fFboTestUtil.cpp234 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType outputType) argument
244 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++)
246 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n";
261 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++)
273 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, glu::DataType outputType) argument
292 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType));
297 for (size_t ndx = 0; ndx < samplerTypes.vec.size(); ++ndx)
299 decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]);
307 Texture2DShader::Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const Vec4& outScale, const Vec4& outBias) argument
308 : sglr::ShaderProgram (genTexture2DShaderDecl(samplerTypes, outputTyp
[all...]
H A Des3fFboTestUtil.hpp88 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
H A Des3fUniformApiTests.cpp376 vector<glu::DataType> samplerTypes;
378 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
379 return samplerTypes;
1292 const vector<glu::DataType> samplerTypes = m_uniformCollection->getSamplerTypes(); local
1299 for (int i = 0; i < (int)samplerTypes.size(); i++)
1301 if (glu::isDataTypeSampler(samplerTypes[i]))
1303 const glu::DataType retType = getSamplerLookupReturnType(samplerTypes[i]);
/external/deqp/modules/gles2/functional/
H A Des2fUniformApiTests.cpp310 vector<glu::DataType> samplerTypes;
312 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
313 return samplerTypes;

Completed in 195 milliseconds