Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderStateQueryTests.cpp99 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 m_testCtx.getLog() << tcu::TestLog::Message << "Building program with uniform sampler of type " << glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType) << tcu::TestLog::EndMessage; 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
215 static const TestTypeInfo samplerTypes[] = getInfos() local
245 static const TestTypeInfo samplerTypes[] = getInfos() local
276 static const TestTypeInfo samplerTypes[] = getInfos() local
312 static const TestTypeInfo samplerTypes[] = getInfos() local
344 static const TestTypeInfo samplerTypes[] = getInfos() local
[all...]
H A Des31fFboTestUtil.cpp77 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType outputType) in genTexFragmentShader() argument
87 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++) in genTexFragmentShader()
89 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n"; in genTexFragmentShader()
104 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++) in genTexFragmentShader()
116 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, glu::DataType outputType) 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 Vec4& outScale, const Vec4& outBias) in Texture2DShader() argument
151 : sglr::ShaderProgram (genTexture2DShaderDecl(samplerTypes, outputTyp in Texture2DShader()
[all...]
H A Des31fShaderTextureSizeTests.cpp534 } samplerTypes[] =
546 for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); ++samplerTypeNdx)
550 const std::string name = std::string() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) + "_" + samplerTypes[samplerTypeNdx].name;
551 const std::string desc = std::string() + "samples count = " + de::toString(sampleCounts[sampleCountNdx]) + ", type = " + samplerTypes[samplerTypeNdx].name;
553 addChild(new TextureSizeCase(m_context, name.c_str(), desc.c_str(), samplerTypes[samplerTypeNdx].type, sampleCounts[sampleCountNdx]));
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; 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()
H A Des31fOpaqueTypeIndexingTests.cpp1289 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()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTextureUnitTests.cpp198 static string generateMultiTexFragmentShader (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>& samplerTypes) in generateMultiTexFragmentShader() argument
218 samplersStr += string("") + "uniform highp " + glu::getDataTypeName(samplerTypes[ndx]) + " " + samplerName + ";\n"; in generateMultiTexFragmentShader()
249 static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (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 decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes, samplerTypes)); in generateShaderProgramDeclaration()
337 const vector<glu::DataType>& samplerTypes,
360 const vector<glu::DataType>& samplerTypes, in MultiTexShader()
364 : sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, unitTypes, samplerTypes)) in MultiTexShader()
938 vector<glu::DataType> samplerTypes; in init() local
944 samplerTypes in init()
357 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) MultiTexShader() argument
[all...]
H A Des3fFboTestUtil.cpp234 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType outputType) in genTexFragmentShader() argument
244 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++) in genTexFragmentShader()
246 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n"; in genTexFragmentShader()
261 for (int inNdx = 0; inNdx < (int)samplerTypes.size(); inNdx++) in genTexFragmentShader()
273 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, glu::DataType outputType) 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 Vec4& outScale, const Vec4& outBias) in Texture2DShader() argument
308 : sglr::ShaderProgram (genTexture2DShaderDecl(samplerTypes, outputTyp in Texture2DShader()
[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;
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()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiMaintenance3Check.cpp231 static const TypeSet samplerTypes = { vk::VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, vk::VK_DESCRIPTOR_TYPE_SAMPLER }; in buildLimitsVector() local
275 samplerTypes in buildLimitsVector()
280 samplerTypes in buildLimitsVector()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiMaintenance3Check.cpp232 static const TypeSet samplerTypes = { vk::VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, vk::VK_DESCRIPTOR_TYPE_SAMPLER }; in buildLimitsVector() local
276 samplerTypes in buildLimitsVector()
281 samplerTypes in buildLimitsVector()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp2002 static const glu::DataType samplerTypes[] = in init() local
2051 for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++) in init()
2053 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; in init()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp2007 static const glu::DataType samplerTypes[] = in init() local
2055 for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(samplerTypes); samplerTypeNdx++) in init()
2057 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; in init()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fUniformApiTests.cpp310 vector<glu::DataType> samplerTypes;
312 getDistinctSamplerTypes(samplerTypes, m_uniforms[i].type);
313 return samplerTypes;

Completed in 28 milliseconds