Home
last modified time | relevance | path

Searched refs:samplerTypes (Results 1 – 12 of 12) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fShaderStateQueryTests.cpp99 std::vector<TestTypeInfo> samplerTypes = getInfos(); in iterate() local
106 for (int typeNdx = 0; typeNdx < (int)samplerTypes.size(); ++typeNdx) in iterate()
109 std::string(glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()), in iterate()
110 "Uniform type " + glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()); in iterate()
113 shaderArgs["DECLARATIONSTR"] = samplerTypes[typeNdx].declarationStr; in iterate()
114 shaderArgs["ACCESSSTR"] = samplerTypes[typeNdx].accessStr; in iterate()
123 …ng program with uniform sampler of type " << glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType… in iterate()
147 if (type != (glw::GLint)samplerTypes[typeNdx].glType) in iterate()
150 buf << "Invalid type, expected " << samplerTypes[typeNdx].glType << ", got " << type; in iterate()
183 static const TestTypeInfo samplerTypes[] = in getInfos() local
[all …]
Des31fFboTestUtil.cpp77 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType output… in genTexFragmentShader() argument
87 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++) in genTexFragmentShader()
89 …src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sam… in genTexFragmentShader()
104 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++) in genTexFragmentShader()
116 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, … in genTexture2DShaderDecl() argument
135 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType)); in genTexture2DShaderDecl()
140 for (size_t ndx = 0; ndx < samplerTypes.vec.size(); ++ndx) in genTexture2DShaderDecl()
142 decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]); in genTexture2DShaderDecl()
150 Texture2DShader::Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const Ve… in Texture2DShader() argument
151 : sglr::ShaderProgram (genTexture2DShaderDecl(samplerTypes, outputType)) in Texture2DShader()
[all …]
Des31fShaderTextureSizeTests.cpp515 } samplerTypes[] = in init() local
527 for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); ++samplerTypeNdx) in init()
531 …g() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) + "_" + samplerTypes[samplerTypeNdx]… in init()
532 …ount = " + de::toString(sampleCounts[sampleCountNdx]) + ", type = " + samplerTypes[samplerTypeNdx]… in init()
534 …addChild(new TextureSizeCase(m_context, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].t… in init()
Des31fFboTestUtil.hpp58 …Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outSc…
Des31fProgramUniformTests.cpp356 vector<glu::DataType> samplerTypes; in getSamplerTypes() local
358 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type); in getSamplerTypes()
359 return samplerTypes; in getSamplerTypes()
1098 const vector<glu::DataType> samplerTypes = m_uniformCollection->getSamplerTypes(); in writeUniformDefinitions() local
1105 for (int i = 0; i < (int)samplerTypes.size(); i++) in writeUniformDefinitions()
1107 if (glu::isDataTypeSampler(samplerTypes[i])) in writeUniformDefinitions()
1109 const glu::DataType retType = getSamplerLookupReturnType(samplerTypes[i]); in writeUniformDefinitions()
Des31fOpaqueTypeIndexingTests.cpp1277 static const DataType samplerTypes[] = in init() local
1320 … for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++) in init()
1322 const DataType samplerType = samplerTypes[samplerTypeNdx]; in init()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp198 …ntShader (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes) in generateMultiTexFragmentShader() argument
218 …samplersStr += string("") + "uniform highp " + glu::getDataTypeName(samplerTypes[ndx]) + " " + sam… in generateMultiTexFragmentShader()
249 …laration (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes) in generateShaderProgramDeclaration() argument
265 decl << sglr::pdec::Uniform(samplerName, samplerTypes[ndx]); in generateShaderProgramDeclaration()
281 …l << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerTypes)); in generateShaderProgramDeclaration()
337 const vector<glu::DataType>& samplerTypes,
360 const vector<glu::DataType>& samplerTypes, in MultiTexShader() argument
364 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, unitTypes, samplerTypes)) in MultiTexShader()
936 vector<glu::DataType> samplerTypes; in init() local
942 samplerTypes.reserve(m_numUnits); in init()
[all …]
Des3fFboTestUtil.cpp234 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType output… in genTexFragmentShader() argument
244 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++) in genTexFragmentShader()
246 …src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sam… in genTexFragmentShader()
261 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++) in genTexFragmentShader()
273 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, … in genTexture2DShaderDecl() argument
292 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType)); in genTexture2DShaderDecl()
297 for (size_t ndx = 0; ndx < samplerTypes.vec.size(); ++ndx) in genTexture2DShaderDecl()
299 decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]); in genTexture2DShaderDecl()
307 Texture2DShader::Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const Ve… in Texture2DShader() argument
308 : sglr::ShaderProgram (genTexture2DShaderDecl(samplerTypes, outputType)) in Texture2DShader()
[all …]
Des3fFboTestUtil.hpp88 …Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outSc…
Des3fUniformApiTests.cpp376 vector<glu::DataType> samplerTypes; in getSamplerTypes() local
378 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type); in getSamplerTypes()
379 return samplerTypes; in getSamplerTypes()
1282 const vector<glu::DataType> samplerTypes = m_uniformCollection->getSamplerTypes(); in writeUniformDefinitions() local
1289 for (int i = 0; i < (int)samplerTypes.size(); i++) in writeUniformDefinitions()
1291 if (glu::isDataTypeSampler(samplerTypes[i])) in writeUniformDefinitions()
1293 const glu::DataType retType = getSamplerLookupReturnType(samplerTypes[i]); in writeUniformDefinitions()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1940 static const glu::DataType samplerTypes[] = in init() local
1985 … for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++) in init()
1987 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; in init()
/external/deqp/modules/gles2/functional/
Des2fUniformApiTests.cpp310 vector<glu::DataType> samplerTypes; in getSamplerTypes() local
312 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type); in getSamplerTypes()
313 return samplerTypes; in getSamplerTypes()