Home
last modified time | relevance | path

Searched refs:textureBinding (Results 1 – 11 of 11) sorted by relevance

/external/angle/src/compiler/translator/
DTranslatorMetalDirect.h60 void addTextureBinding(const std::string &name, size_t textureBinding) in addTextureBinding() argument
62 textureBindings.insert({name, textureBinding}); in addTextureBinding()
/external/angle/src/libANGLE/renderer/metal/
Dmtl_glslang_mtl_utils.h22 uint32_t textureBinding = 0; member
Dmtl_glslang_mtl_utils.mm49 binding.textureBinding = mtl::kMaxShaderSamplers;
145 actualBinding.textureBinding = currentTextureSlot;
DProgramMtl.mm834 stream->writeInt<uint32_t>(binding.textureBinding);
859 binding.textureBinding = stream->readInt<uint32_t>();
1262 if (mslBinding.textureBinding >= mtl::kMaxShaderSamplers)
1276 uint32_t textureSlot = mslBinding.textureBinding + arrayElement;
Dmtl_glslang_utils.mm241 actualBinding.textureBinding = currentTextureSlot;
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1347 const TextureBinding& textureBinding = *m_textures[textureId]; in useSampler() local
1348 const TextureBinding::Type textureType = textureBinding.getType(); in useSampler()
1349 const tcu::Sampler& refSampler = textureBinding.getSampler(); in useSampler()
1350 const TextureBinding::Parameters& textureParams = textureBinding.getParameters(); in useSampler()
1360 const tcu::Texture2D& texture = textureBinding.get2D(); in useSampler()
1379 const tcu::TextureCube& texture = textureBinding.getCube(); in useSampler()
1413 const tcu::Texture2DArray& texture = textureBinding.get2DArray(); in useSampler()
1440 const tcu::Texture3D& texture = textureBinding.get3D(); in useSampler()
1459 const tcu::Texture1D& texture = textureBinding.get1D(); in useSampler()
1478 const tcu::Texture1DArray& texture = textureBinding.get1DArray(); in useSampler()
[all …]
DvktShaderRenderTextureGatherTests.cpp1179 TextureBindingSp textureBinding; in init() local
1207 textureBinding = createTexture(); in init()
1214 const auto bindingType = textureBinding->getType(); in init()
1275 const auto textureType = textureBinding->getType(); in init()
1280 case TextureBinding::TYPE_1D: levels = textureBinding->get1D().getNumLevels(); break; in init()
1281 case TextureBinding::TYPE_2D: levels = textureBinding->get2D().getNumLevels(); break; in init()
1282 case TextureBinding::TYPE_3D: levels = textureBinding->get3D().getNumLevels(); break; in init()
1283 case TextureBinding::TYPE_CUBE_MAP: levels = textureBinding->getCube().getNumLevels(); break; in init()
1284 case TextureBinding::TYPE_1D_ARRAY: levels = textureBinding->get1DArray().getNumLevels(); break; in init()
1285 case TextureBinding::TYPE_2D_ARRAY: levels = textureBinding->get2DArray().getNumLevels(); break; in init()
[all …]
DvktShaderRenderTextureFunctionTests.cpp1603 TextureBindingSp textureBinding; in createEmptyTexture() local
1615 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture()
1626 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture()
1637 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture()
1649 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture()
1660 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture()
1671 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture()
1682 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture()
1691 textureBinding->setParameters(params); in createEmptyTexture()
1692 return textureBinding; in createEmptyTexture()
[all …]
/external/angle/src/tests/gl_tests/
DStateChangeTest.cpp2610 auto updateFunc = [](GLenum textureBinding, GLTexture *tex, GLint x, GLint y, in TEST_P()
2612 glBindTexture(textureBinding, *tex); in TEST_P()
2613 glTexSubImage2D(textureBinding, 0, x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, color.data()); in TEST_P()
2635 auto updateFunc = [&copySource](GLenum textureBinding, GLTexture *tex, GLint x, GLint y, in TEST_P()
2640 glBindTexture(textureBinding, *tex); in TEST_P()
2641 glCopyTexSubImage2D(textureBinding, 0, x, y, 0, 0, 1, 1); in TEST_P()
DTextureTest.cpp1849 GLint textureBinding; in TEST_P() local
1850 glGetIntegerv(GL_TEXTURE_BINDING_2D, &textureBinding); in TEST_P()
1852 EXPECT_EQ(0, textureBinding); in TEST_P()
1854 glGetIntegerv(GL_TEXTURE_BINDING_EXTERNAL_OES, &textureBinding); in TEST_P()
1859 EXPECT_EQ(0, textureBinding); in TEST_P()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp6681 …const deUint32 textureBinding = (m_shaderInterface == SHADER_INPUT_MULTIPLE_DISCONTIGUOUS_DESCRIPT… in writeSamplerDescriptorSetWithTemplate() local
6682 …updateEntries.push_back(createTemplateBinding(textureBinding, 0, 1, vk::VK_DESCRIPTOR_TYPE_SAMPLED… in writeSamplerDescriptorSetWithTemplate()