Home
last modified time | relevance | path

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

/external/deqp/modules/gles31/functional/
Des31fShaderStateQueryTests.cpp99 std::vector<TestTypeInfo> samplerTypes = getInfos(); in iterate() local
108 for (int typeNdx = 0; typeNdx < (int)samplerTypes.size(); ++typeNdx) in iterate()
111 …m_testCtx.getLog(), 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()
129 … << glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType) << tcu::TestLog::EndMessage; in iterate()
153 if (type != (glw::GLint)samplerTypes[typeNdx].glType) in iterate()
156 … buf << "Invalid type, expected " << samplerTypes[typeNdx].glType << ", got " << type; in iterate()
189 static const TestTypeInfo samplerTypes[] = { in getInfos() local
[all …]
Des31fFboTestUtil.cpp93 static string genTexFragmentShader(const vector<glu::DataType> &samplerTypes, glu::DataType outputT… in genTexFragmentShader() argument
103 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++) in genTexFragmentShader()
105 …src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sam… in genTexFragmentShader()
121 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++) in genTexFragmentShader()
133 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl(const DataTypes &samplerTypes, in genTexture2DShaderDecl() argument
152 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType)); in genTexture2DShaderDecl()
157 for (size_t ndx = 0; ndx < samplerTypes.vec.size(); ++ndx) in genTexture2DShaderDecl()
159 … decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]); in genTexture2DShaderDecl()
167 Texture2DShader::Texture2DShader(const DataTypes &samplerTypes, glu::DataType outputType, const Vec… in Texture2DShader() argument
169 : sglr::ShaderProgram(genTexture2DShaderDecl(samplerTypes, outputType)) in Texture2DShader()
[all …]
Des31fShaderTextureSizeTests.cpp554 } samplerTypes[] = { in init() local
565 … for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); ++samplerTypeNdx) in init()
570 samplerTypes[samplerTypeNdx].name; in init()
572 ", type = " + samplerTypes[samplerTypeNdx].name; in init()
574 …addChild(new TextureSizeCase(m_context, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].t… in init()
Des31fFboTestUtil.hpp62 Texture2DShader(const DataTypes &samplerTypes, glu::DataType outputType,
Des31fProgramUniformTests.cpp361 vector<glu::DataType> samplerTypes; in getSamplerTypes() local
363 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type); in getSamplerTypes()
364 return samplerTypes; in getSamplerTypes()
1188 const vector<glu::DataType> samplerTypes = m_uniformCollection->getSamplerTypes(); in writeUniformDefinitions() local
1195 for (int i = 0; i < (int)samplerTypes.size(); i++) in writeUniformDefinitions()
1197 if (glu::isDataTypeSampler(samplerTypes[i])) in writeUniformDefinitions()
1199 const glu::DataType retType = getSamplerLookupReturnType(samplerTypes[i]); in writeUniformDefinitions()
Des31fOpaqueTypeIndexingTests.cpp1320 static const DataType samplerTypes[] = { in init() local
1351 … for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++) in init()
1353 const DataType samplerType = samplerTypes[samplerTypeNdx]; in init()
/external/deqp/modules/gles3/functional/
Des3fTextureUnitTests.cpp133 const vector<glu::DataType> &samplerTypes) in generateMultiTexFragmentShader() argument
154 …string("") + "uniform highp " + glu::getDataTypeName(samplerTypes[ndx]) + " " + samplerName + ";\n… in generateMultiTexFragmentShader()
185 … const vector<glu::DataType> &samplerTypes) in generateShaderProgramDeclaration() argument
201 decl << sglr::pdec::Uniform(samplerName, samplerTypes[ndx]); in generateShaderProgramDeclaration()
217 …l << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerTypes)); in generateShaderProgramDeclaration()
273 const vector<glu::DataType> &samplerTypes, const vector<Vec4> &texScales,
297 … const vector<glu::DataType> &samplerTypes, const vector<Vec4> &texScales, in MultiTexShader() argument
299 : sglr::ShaderProgram(generateShaderProgramDeclaration(numUnits, unitTypes, samplerTypes)) in MultiTexShader()
858 vector<glu::DataType> samplerTypes; in init() local
864 samplerTypes.reserve(m_numUnits); in init()
[all …]
Des3fFboTestUtil.cpp260 static string genTexFragmentShader(const vector<glu::DataType> &samplerTypes, glu::DataType outputT… in genTexFragmentShader() argument
270 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++) in genTexFragmentShader()
272 …src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sam… in genTexFragmentShader()
288 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++) in genTexFragmentShader()
300 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl(const DataTypes &samplerTypes, in genTexture2DShaderDecl() argument
319 decl << sglr::pdec::FragmentSource(genTexFragmentShader(samplerTypes.vec, outputType)); in genTexture2DShaderDecl()
324 for (size_t ndx = 0; ndx < samplerTypes.vec.size(); ++ndx) in genTexture2DShaderDecl()
326 … decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]); in genTexture2DShaderDecl()
334 Texture2DShader::Texture2DShader(const DataTypes &samplerTypes, glu::DataType outputType, const Vec… in Texture2DShader() argument
336 : sglr::ShaderProgram(genTexture2DShaderDecl(samplerTypes, outputType)) in Texture2DShader()
[all …]
Des3fFboTestUtil.hpp99 Texture2DShader(const DataTypes &samplerTypes, glu::DataType outputType,
Des3fUniformApiTests.cpp386 vector<glu::DataType> samplerTypes; in getSamplerTypes() local
388 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type); in getSamplerTypes()
389 return samplerTypes; in getSamplerTypes()
1396 const vector<glu::DataType> samplerTypes = m_uniformCollection->getSamplerTypes(); in writeUniformDefinitions() local
1403 for (int i = 0; i < (int)samplerTypes.size(); i++) in writeUniformDefinitions()
1405 if (glu::isDataTypeSampler(samplerTypes[i])) in writeUniformDefinitions()
1407 const glu::DataType retType = getSamplerLookupReturnType(samplerTypes[i]); in writeUniformDefinitions()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiMaintenance3Check.cpp236 …static const TypeSet samplerTypes = {vk::VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, vk::VK_DESCRIP… in buildLimitsVector() local
277 {"maxPerStageDescriptorSamplers", prop1.limits.maxPerStageDescriptorSamplers, samplerTypes}, in buildLimitsVector()
278 {"maxDescriptorSetSamplers", prop1.limits.maxDescriptorSetSamplers, samplerTypes}, in buildLimitsVector()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp1919 static const glu::DataType samplerTypes[] = { in init() local
1967 … for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++) in init()
1969 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; in init()
/external/deqp/modules/gles2/functional/
Des2fUniformApiTests.cpp326 vector<glu::DataType> samplerTypes; in getSamplerTypes() local
328 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type); in getSamplerTypes()
329 return samplerTypes; in getSamplerTypes()