Home
last modified time | relevance | path

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

/external/angle/src/tests/perf_tests/
DTextureSampling.cpp228 GLint samplerLocation = glGetUniformLocation(mProgram, samplerstrstr.str().c_str()); in initTextures() local
229 ASSERT_NE(-1, samplerLocation); in initTextures()
231 glUniform1i(samplerLocation, count); in initTextures()
/external/angle/src/tests/gl_tests/
DBindUniformLocationTest.cpp100 GLint samplerLocation = 1; in TEST_P() local
105 glBindUniformLocationCHROMIUM(program, samplerLocation, "u_sampler"); in TEST_P()
119 glUniform1i(samplerLocation, 2); in TEST_P()
DGLSLTest.cpp9578 GLint samplerLocation = glGetUniformLocation(program, uniformName.str().c_str()); in TEST_P() local
9579 EXPECT_NE(samplerLocation, -1); in TEST_P()
9580 glUniform1i(samplerLocation, textureUnit); in TEST_P()
9687 GLint samplerLocation = glGetUniformLocation(program, uniformName.str().c_str()); in TEST_P() local
9688 EXPECT_NE(samplerLocation, -1); in TEST_P()
9689 glUniform1i(samplerLocation, textureUnit); in TEST_P()
9822 GLint samplerLocation = glGetUniformLocation(program, uniformName.str().c_str()); in TEST_P() local
9823 EXPECT_NE(samplerLocation, -1); in TEST_P()
9824 glUniform1i(samplerLocation, textureUnit); in TEST_P()
9999 GLint samplerLocation = glGetUniformLocation(program, uniformName.str().c_str()); in TEST_P() local
[all …]
/external/deqp/modules/gles31/functional/
Des31fMultisampleShaderRenderCase.cpp556 …const deInt32 samplerLocation = gl.getUniformLocation(m_textureSamplerProgram->getProgram(), "u_sa… in drawOneIteration() local
565 if (samplerLocation == -1) in drawOneIteration()
585 gl.uniform1i(samplerLocation, 0); in drawOneIteration()
607 …const deInt32 samplerLocation = gl.getUniformLocation(m_textureSamplerProgram->getProgram(), "u… in drawOneIteration() local
617 if (samplerLocation == -1) in drawOneIteration()
643 gl.uniform1i(samplerLocation, 0); in drawOneIteration()
Des31fShaderFramebufferFetchTests.cpp918 const GLuint samplerLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_sampler"); in genSamplerTexture() local
919 m_gl.uniform1i(samplerLocation, 1); in genSamplerTexture()
Des31fTextureMultisampleTests.cpp1471 const int samplerLocation = gl.getUniformLocation(m_samplerShader->getProgram(), "u_sampler"); in sampleTexture() local
1498 gl.uniform1i(samplerLocation, 0); in sampleTexture()
/external/deqp/modules/egl/
DteglGLES2SharingTests.cpp583 GLuint samplerLocation = m_gl.getUniformLocation(program.getProgram(), "u_sampler"); in renderResource() local
585 TCU_CHECK(samplerLocation != (GLuint)-1); in renderResource()
590 GLU_CHECK_GLW_CALL(m_gl, uniform1i(samplerLocation, 0)); in renderResource()
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp1293 GLint samplerLocation = gl.getUniformLocation(programId, "texture0"); in iterate() local
1294 if (-1 == samplerLocation) in iterate()
1297 gl.uniform1i(samplerLocation, 0); in iterate()
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTexture.cpp437 glw::GLint samplerLocation = gl.getUniformLocation(m_po_id, "test_sampler"); in iterate() local
440 gl.uniform1i(samplerLocation, m_texture_unit); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp5863 …const deUint32 samplerLocation = shaderInterface == SHADER_INPUT_MULTIPLE_DISCONTIGUOUS_DESC… in writeSamplerDescriptorSet() local
5867 …gle(descriptorSet, vk::DescriptorSetUpdateBuilder::Location::binding(samplerLocation), vk::VK_DESC… in writeSamplerDescriptorSet()
6004 …const deUint32 samplerLocation = shaderInterface == SHADER_INPUT_MULTIPLE_DISCONTIGUOUS… in writeSamplerDescriptorSetWithTemplate() local
6028 …updateEntries.push_back(createTemplateBinding(samplerLocation, 0, 1, vk::VK_DESCRIPTOR_TYPE_SAMPLE… in writeSamplerDescriptorSetWithTemplate()