Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp38 return std::tie(a.samplerLocation, a.textureLocation) < in operator <()
39 std::tie(b.samplerLocation, b.textureLocation); in operator <()
45 o << "_" << samplerLocation.group << "_" << samplerLocation.binding; in GetName()
106 info.samplerLocation.group = in ShaderModule()
108 info.samplerLocation.binding = in ShaderModule()
DPipelineGL.cpp167 indices[combined.samplerLocation.group][combined.samplerLocation.binding]; in Initialize()
DShaderModuleGL.h35 BindingLocation samplerLocation; member
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DShaderModuleGL.cpp51 return std::tie(a.useDummySampler, a.samplerLocation, a.textureLocation) < in operator <()
52 std::tie(b.useDummySampler, a.samplerLocation, b.textureLocation); in operator <()
61 o << "_" << static_cast<uint32_t>(samplerLocation.group) << "_" in GetName()
62 << static_cast<uint32_t>(samplerLocation.binding); in GetName()
330 info->samplerLocation = {}; in TranslateToGLSL()
333 info->samplerLocation.group = BindGroupIndex( in TranslateToGLSL()
335 info->samplerLocation.binding = BindingNumber( in TranslateToGLSL()
DPipelineGL.cpp171 layout->GetBindGroupLayout(combined.samplerLocation.group); in InitializeBase()
173 bgl->GetBindingIndex(combined.samplerLocation.binding); in InitializeBase()
175 GLuint samplerIndex = indices[combined.samplerLocation.group][bindingIndex]; in InitializeBase()
DShaderModuleGL.h36 BindingLocation samplerLocation; member
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/vk-gl-cts/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.cpp932 const GLuint samplerLocation = m_gl.getUniformLocation(m_program->getProgram(), "u_sampler"); in genSamplerTexture() local
933 m_gl.uniform1i(samplerLocation, 1); in genSamplerTexture()
Des31fTextureMultisampleTests.cpp1528 const int samplerLocation = gl.getUniformLocation(m_samplerShader->getProgram(), "u_sampler"); in sampleTexture() local
1555 gl.uniform1i(samplerLocation, 0); in sampleTexture()
/third_party/skia/third_party/externals/angle2/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.cpp10743 GLint samplerLocation = glGetUniformLocation(program, uniformName.str().c_str()); in TEST_P() local
10744 EXPECT_NE(samplerLocation, -1); in TEST_P()
10745 glUniform1i(samplerLocation, textureUnit); in TEST_P()
10852 GLint samplerLocation = glGetUniformLocation(program, uniformName.str().c_str()); in TEST_P() local
10853 EXPECT_NE(samplerLocation, -1); in TEST_P()
10854 glUniform1i(samplerLocation, textureUnit); in TEST_P()
10987 GLint samplerLocation = glGetUniformLocation(program, uniformName.str().c_str()); in TEST_P() local
10988 EXPECT_NE(samplerLocation, -1); in TEST_P()
10989 glUniform1i(samplerLocation, textureUnit); in TEST_P()
11164 GLint samplerLocation = glGetUniformLocation(program, uniformName.str().c_str()); in TEST_P() local
[all …]
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/modules/egl/
DteglGLES2SharingTests.cpp585 GLuint samplerLocation = m_gl.getUniformLocation(program.getProgram(), "u_sampler"); in renderResource() local
587 TCU_CHECK(samplerLocation != (GLuint)-1); in renderResource()
592 GLU_CHECK_GLW_CALL(m_gl, uniform1i(samplerLocation, 0)); in renderResource()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp6021 …const deUint32 samplerLocation = shaderInterface == SHADER_INPUT_MULTIPLE_DISCONTIGUOUS_DESC… in writeSamplerDescriptorSet() local
6025 …gle(descriptorSet, vk::DescriptorSetUpdateBuilder::Location::binding(samplerLocation), vk::VK_DESC… in writeSamplerDescriptorSet()
6163 …const deUint32 samplerLocation = shaderInterface == SHADER_INPUT_MULTIPLE_DISCONTIGUOUS… in writeSamplerDescriptorSetWithTemplate() local
6187 …updateEntries.push_back(createTemplateBinding(samplerLocation, 0, 1, vk::VK_DESCRIPTOR_TYPE_SAMPLE… in writeSamplerDescriptorSetWithTemplate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp6021 …const deUint32 samplerLocation = shaderInterface == SHADER_INPUT_MULTIPLE_DISCONTIGUOUS_DESC… in writeSamplerDescriptorSet() local
6025 …gle(descriptorSet, vk::DescriptorSetUpdateBuilder::Location::binding(samplerLocation), vk::VK_DESC… in writeSamplerDescriptorSet()
6163 …const deUint32 samplerLocation = shaderInterface == SHADER_INPUT_MULTIPLE_DISCONTIGUOUS… in writeSamplerDescriptorSetWithTemplate() local
6187 …updateEntries.push_back(createTemplateBinding(samplerLocation, 0, 1, vk::VK_DESCRIPTOR_TYPE_SAMPLE… in writeSamplerDescriptorSetWithTemplate()