HomeSort by relevance Sort by last modified time
    Searched refs:samplerTypes (Results 1 - 11 of 11) sorted by null

  /external/deqp/modules/gles31/functional/
es31fShaderStateQueryTests.cpp 94 std::vector<TestTypeInfo> samplerTypes = getInfos();
100 for (int typeNdx = 0; typeNdx < (int)samplerTypes.size(); ++typeNdx)
103 std::string(glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()),
104 "Uniform type " + glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString());
107 shaderArgs["DECLARATIONSTR"] = samplerTypes[typeNdx].declarationStr;
108 shaderArgs["ACCESSSTR"] = samplerTypes[typeNdx].accessStr;
115 m_testCtx.getLog() << tcu::TestLog::Message << "Building program with uniform sampler of type " << glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType) << tcu::TestLog::EndMessage;
139 if (type != (glw::GLint)samplerTypes[typeNdx].glType)
142 buf << "Invalid type, expected " << samplerTypes[typeNdx].glType << ", got " << type;
175 static const TestTypeInfo samplerTypes[]
    [all...]
es31fShaderTextureSizeTests.cpp 496 } 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]));
es31fFboTestUtil.cpp 77 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType outputType)
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)
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)
151 : sglr::ShaderProgram (genTexture2DShaderDecl(samplerTypes, outputType)
    [all...]
es31fFboTestUtil.hpp 58 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
es31fProgramUniformTests.cpp 356 vector<glu::DataType> samplerTypes;
358 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
359 return samplerTypes;
    [all...]
es31fOpaqueTypeIndexingTests.cpp     [all...]
  /external/deqp/modules/gles3/functional/
es3fTextureUnitTests.cpp 197 static string generateMultiTexFragmentShader (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes)
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)
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;
941 samplerTypes.reserve(m_numUnits)
    [all...]
es3fFboTestUtil.cpp 234 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType outputType)
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)
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)
308 : sglr::ShaderProgram (genTexture2DShaderDecl(samplerTypes, outputType)
    [all...]
es3fFboTestUtil.hpp 88 Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
es3fUniformApiTests.cpp 376 vector<glu::DataType> samplerTypes;
378 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
379 return samplerTypes;
    [all...]
  /external/deqp/modules/gles2/functional/
es2fUniformApiTests.cpp 310 vector<glu::DataType> samplerTypes;
312 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
313 return samplerTypes;
    [all...]

Completed in 553 milliseconds