Home
last modified time | relevance | path

Searched refs:samplerIdx (Results 1 – 6 of 6) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboSRGBWriteControlTests.cpp154 for (int samplerIdx = 0; samplerIdx < samplerTotal; samplerIdx++) in buildSamplingPassType() local
161 … << " texelColor" << samplerIdx << " = texture(uTexture" << samplerIdx << ", vs_aTexCoord); \n"; in buildSamplingPassType()
167 …<< " texelColor" << samplerIdx << " = textureLod(uTexture" << samplerIdx << ", vs_aTexCoord, 0.0f… in buildSamplingPassType()
173 …<< " texelColor" << samplerIdx << " = textureGrad(uTexture" << samplerIdx << ", vs_aTexCoord, vec… in buildSamplingPassType()
179 …<< " texelColor" << samplerIdx << " = textureOffset(uTexture" << samplerIdx << ", vs_aTexCoord, i… in buildSamplingPassType()
185 …<< " texelColor" << samplerIdx << " = textureProj(uTexture" << samplerIdx << ", vec3(vs_aTexCoord… in buildSamplingPassType()
694 for (int samplerIdx = 0; samplerIdx < m_samplerTotal; samplerIdx++) in TestShaderProgram() local
696 << "uniform sampler2D uTexture" << samplerIdx << "; \n"; in TestShaderProgram()
712 for (int samplerIdx = 0; samplerIdx < m_samplerTotal; samplerIdx++) in TestShaderProgram() local
714 <<" mediump vec4 texelColor" << samplerIdx << " = vec4(0.0f, 0.0f, 0.0f, 1.0f); \n"; in TestShaderProgram()
[all …]
Des31fSRGBDecodeTests.cpp893 …void bindSamplerToTexture (const int samplerIdx, const int textureIdx, const deUint32 textur…
894 void activateSampler (const int samplerIdx, const bool active);
1002 for (std::size_t samplerIdx = 0; samplerIdx < m_samplerList.size(); samplerIdx++) in deinit() local
1004 delete m_samplerList[samplerIdx]; in deinit()
1213 void SRGBTestCase::bindSamplerToTexture (const int samplerIdx, const int textureIdx, const deUint32… in bindSamplerToTexture() argument
1217 m_samplerList[samplerIdx]->setTextureUnit(enumConversion); in bindSamplerToTexture()
1220 void SRGBTestCase::activateSampler (const int samplerIdx, const bool active) in activateSampler() argument
1222 m_samplerList[samplerIdx]->setIsActive(active); in activateSampler()
1282 for (int samplerIdx = 0; samplerIdx < (int)m_samplerList.size(); samplerIdx++) in render() local
1284 if (m_samplerList[samplerIdx]->getIsActive() == true) in render()
[all …]
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp157 fp.visitWithImpls([&, samplerIdx = 0](const GrFragmentProcessor& fp, in emitFragProc()
161 name.printf("TextureSampler_%d", samplerIdx++); in emitFragProc()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DState.cpp583 for (size_t samplerIdx = 0; samplerIdx < mSamplers.size(); samplerIdx++) in reset() local
585 mSamplers[samplerIdx].set(context, nullptr); in reset()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp3643 for (deUint32 samplerIdx = 0; samplerIdx < variables.validDescriptorCount; ++samplerIdx) in createAndPopulateDescriptors() local
3645 …variables.descriptorSamplers[samplerIdx] = ut::SamplerSp(new Move<VkSampler>(vk::createSampler(m_v… in createAndPopulateDescriptors()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.cpp3643 for (deUint32 samplerIdx = 0; samplerIdx < variables.validDescriptorCount; ++samplerIdx) in createAndPopulateDescriptors() local
3645 …variables.descriptorSamplers[samplerIdx] = ut::SamplerSp(new Move<VkSampler>(vk::createSampler(m_v… in createAndPopulateDescriptors()