Home
last modified time | relevance | path

Searched refs:samplerNdx (Results 1 – 10 of 10) sorted by relevance

/third_party/vk-gl-cts/framework/randomshaders/
DrsgExecutionContext.cpp78 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0); in getSampler2D() local
80 return m_samplers2D.find(samplerNdx)->second; in getSampler2D()
87 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0); in getSamplerCube() local
89 return m_samplersCube.find(samplerNdx)->second; in getSamplerCube()
DrsgProgramExecutor.hpp48 …void setTexture (int samplerNdx, const tcu::Texture2D* texture, const tcu::Sampler& sample…
49 …void setTexture (int samplerNdx, const tcu::TextureCube* texture, const tcu::Sampler& samp…
DrsgProgramExecutor.cpp178 void ProgramExecutor::setTexture (int samplerNdx, const tcu::Texture2D* texture, const tcu::Sampler… in setTexture() argument
180 m_samplers2D[samplerNdx] = Sampler2D(texture, sampler); in setTexture()
183 void ProgramExecutor::setTexture (int samplerNdx, const tcu::TextureCube* texture, const tcu::Sampl… in setTexture() argument
185 m_samplersCube[samplerNdx] = SamplerCube(texture, sampler); in setTexture()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboTestUtil.cpp87 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++) in genTexFragmentShader() local
89 … precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx in genTexFragmentShader()
90 src << "uniform " << precision << " vec4 u_texScale" << samplerNdx << ";\n"; in genTexFragmentShader()
91 src << "uniform " << precision << " vec4 u_texBias" << samplerNdx << ";\n"; in genTexFragmentShader()
Des31fFboTestUtil.hpp61 void setUnit (int samplerNdx, int unitNdx);
62 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias);
Des31fOpaqueTypeIndexingTests.cpp547 for (int samplerNdx = 0; samplerNdx < numSamplers; samplerNdx++) in iterate() local
549 const string samplerName = string("sampler[") + de::toString(samplerNdx) + "]"; in iterate()
552 if (samplerNdx > maxIndex && samplerLoc < 0) in iterate()
557 gl.activeTexture(GL_TEXTURE0 + samplerNdx); in iterate()
558 …setupTexture(gl, textures[samplerNdx], m_samplerType, texFormat, &texData[samplerNdx*texFormat.get… in iterate()
560 gl.uniform1i(samplerLoc, samplerNdx); in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboTestUtil.hpp91 void setUnit (int samplerNdx, int unitNdx);
92 void setTexScaleBias (int samplerNdx, const tcu::Vec4& scale, const tcu::Vec4& bias);
Des3fFboTestUtil.cpp244 for (int samplerNdx = 0; samplerNdx < (int)samplerTypes.size(); samplerNdx++) in genTexFragmentShader() local
246 … precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx in genTexFragmentShader()
247 src << "uniform " << precision << " vec4 u_texScale" << samplerNdx << ";\n"; in genTexFragmentShader()
248 src << "uniform " << precision << " vec4 u_texBias" << samplerNdx << ";\n"; in genTexFragmentShader()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp582 for (size_t samplerNdx = 0; samplerNdx < renderPasses.size() - 1; samplerNdx++) in createSamplers() local
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp5183 …or (deUint32 samplerNdx = 0; samplerNdx < getDescriptorSetCount(descriptorSetCount) * getInterface… in getRefSamplers() local
5184 refSamplers.push_back(createRefSampler(samplerNdx)); in getRefSamplers()
5195 for (deUint32 samplerNdx = 0; samplerNdx < (deUint32)refSamplers.size(); samplerNdx++) in getSamplers() local
5197 …vk::Move<vk::VkSampler> sampler = createSampler(vki, device, refSamplers[samplerNdx], imageFormat); in getSamplers()