/external/deqp/modules/gles31/functional/ |
D | es31fShaderStateQueryTests.cpp | 99 std::vector<TestTypeInfo> samplerTypes = getInfos(); in iterate() local 108 for (int typeNdx = 0; typeNdx < (int)samplerTypes.size(); ++typeNdx) in iterate() 111 std::string(glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()), in iterate() 112 "Uniform type " + glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()); in iterate() 115 shaderArgs["DECLARATIONSTR"] = samplerTypes[typeNdx].declarationStr; in iterate() 116 shaderArgs["ACCESSSTR"] = samplerTypes[typeNdx].accessStr; in iterate() 125 …ng program with uniform sampler of type " << glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType… in iterate() 149 if (type != (glw::GLint)samplerTypes[typeNdx].glType) in iterate() 152 buf << "Invalid type, expected " << samplerTypes[typeNdx].glType << ", got " << type; in iterate() 185 static const TestTypeInfo samplerTypes[] = in getInfos() local [all …]
|
D | es31fFboTestUtil.cpp | 77 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 …]
|
D | es31fShaderTextureSizeTests.cpp | 534 } samplerTypes[] = in init() local 546 for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); ++samplerTypeNdx) in init() 550 …g() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) + "_" + samplerTypes[samplerTypeNdx]… in init() 551 …ount = " + de::toString(sampleCounts[sampleCountNdx]) + ", type = " + samplerTypes[samplerTypeNdx]… in init() 553 …addChild(new TextureSizeCase(m_context, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].t… in init()
|
D | es31fFboTestUtil.hpp | 58 …Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outSc…
|
D | es31fProgramUniformTests.cpp | 356 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()
|
D | es31fOpaqueTypeIndexingTests.cpp | 1289 static const DataType samplerTypes[] = in init() local 1332 … for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++) in init() 1334 const DataType samplerType = samplerTypes[samplerTypeNdx]; in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureUnitTests.cpp | 198 …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 …]
|
D | es3fFboTestUtil.cpp | 234 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 …]
|
D | es3fFboTestUtil.hpp | 88 …Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const tcu::Vec4& outSc…
|
D | es3fUniformApiTests.cpp | 376 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/api/ |
D | vktApiMaintenance3Check.cpp | 222 …static const TypeSet samplerTypes = { vk::VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, vk::VK_DES… in buildLimitsVector() local 262 samplerTypes in buildLimitsVector() 267 samplerTypes in buildLimitsVector()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 1978 static const glu::DataType samplerTypes[] = in init() local 2026 … for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++) in init() 2028 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; in init()
|
/external/deqp/modules/gles2/functional/ |
D | es2fUniformApiTests.cpp | 310 vector<glu::DataType> samplerTypes; in getSamplerTypes() local 312 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type); in getSamplerTypes() 313 return samplerTypes; in getSamplerTypes()
|