/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorMetalDirect.h | 64 void addTextureBinding(const std::string &name, size_t textureBinding) in addTextureBinding() argument 66 textureBindings.insert({name, textureBinding}); in addTextureBinding()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_glslang_mtl_utils.h | 22 uint32_t textureBinding = 0; member
|
D | ProgramMtl.mm | 827 stream->writeInt<uint32_t>(binding.textureBinding); 848 stream->writeInt<uint32_t>(binding.textureBinding); 873 binding.textureBinding = stream->readInt<uint32_t>(); 894 binding.textureBinding = stream->readInt<uint32_t>(); 1299 if (mslBinding.textureBinding >= mtl::kMaxShaderSamplers) 1313 uint32_t textureSlot = mslBinding.textureBinding + arrayElement;
|
D | mtl_glslang_mtl_utils.mm | 50 binding.textureBinding = mtl::kMaxShaderSamplers; 146 actualBinding.textureBinding = currentTextureSlot;
|
D | mtl_glslang_utils.mm | 241 actualBinding.textureBinding = currentTextureSlot;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 1357 const TextureBinding& textureBinding = *m_textures[textureId]; in useSampler() local 1358 const TextureBinding::Type textureType = textureBinding.getType(); in useSampler() 1359 const tcu::Sampler& refSampler = textureBinding.getSampler(); in useSampler() 1360 const TextureBinding::Parameters& textureParams = textureBinding.getParameters(); in useSampler() 1370 const tcu::Texture2D& texture = textureBinding.get2D(); in useSampler() 1389 const tcu::TextureCube& texture = textureBinding.getCube(); in useSampler() 1423 const tcu::Texture2DArray& texture = textureBinding.get2DArray(); in useSampler() 1450 const tcu::Texture3D& texture = textureBinding.get3D(); in useSampler() 1469 const tcu::Texture1D& texture = textureBinding.get1D(); in useSampler() 1488 const tcu::Texture1DArray& texture = textureBinding.get1DArray(); in useSampler() [all …]
|
D | vktShaderRenderTextureGatherTests.cpp | 1192 TextureBindingSp textureBinding; in init() local 1220 textureBinding = createTexture(); in init() 1227 const auto bindingType = textureBinding->getType(); in init() 1288 const auto textureType = textureBinding->getType(); in init() 1293 case TextureBinding::TYPE_1D: levels = textureBinding->get1D().getNumLevels(); break; in init() 1294 case TextureBinding::TYPE_2D: levels = textureBinding->get2D().getNumLevels(); break; in init() 1295 case TextureBinding::TYPE_3D: levels = textureBinding->get3D().getNumLevels(); break; in init() 1296 case TextureBinding::TYPE_CUBE_MAP: levels = textureBinding->getCube().getNumLevels(); break; in init() 1297 case TextureBinding::TYPE_1D_ARRAY: levels = textureBinding->get1DArray().getNumLevels(); break; in init() 1298 case TextureBinding::TYPE_2D_ARRAY: levels = textureBinding->get2DArray().getNumLevels(); break; in init() [all …]
|
D | vktShaderRenderTextureFunctionTests.cpp | 1632 TextureBindingSp textureBinding; in createEmptyTexture() local 1644 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture() 1655 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture() 1666 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture() 1678 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture() 1689 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture() 1700 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture() 1711 textureBinding = TextureBindingSp(new TextureBinding(texture.release(), sampler)); in createEmptyTexture() 1720 textureBinding->setParameters(params); in createEmptyTexture() 1721 return textureBinding; in createEmptyTexture() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | StateChangeTest.cpp | 2281 auto updateFunc = [](GLenum textureBinding, GLTexture *tex, GLint x, GLint y, in TEST_P() 2283 glBindTexture(textureBinding, *tex); in TEST_P() 2284 glTexSubImage2D(textureBinding, 0, x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, color.data()); in TEST_P() 2304 auto updateFunc = [©Source](GLenum textureBinding, GLTexture *tex, GLint x, GLint y, in TEST_P() argument 2309 glBindTexture(textureBinding, *tex); in TEST_P() 2310 glCopyTexSubImage2D(textureBinding, 0, x, y, 0, 0, 1, 1); in TEST_P()
|
D | TextureTest.cpp | 1392 GLint textureBinding; in TEST_P() local 1393 glGetIntegerv(GL_TEXTURE_BINDING_2D, &textureBinding); in TEST_P() 1395 EXPECT_EQ(0, textureBinding); in TEST_P() 1397 glGetIntegerv(GL_TEXTURE_BINDING_EXTERNAL_OES, &textureBinding); in TEST_P() 1402 EXPECT_EQ(0, textureBinding); in TEST_P()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | StateChangeTest.cpp | 2607 auto updateFunc = [](GLenum textureBinding, GLTexture *tex, GLint x, GLint y, in TEST_P() 2609 glBindTexture(textureBinding, *tex); in TEST_P() 2610 glTexSubImage2D(textureBinding, 0, x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, color.data()); in TEST_P() 2632 auto updateFunc = [©Source](GLenum textureBinding, GLTexture *tex, GLint x, GLint y, in TEST_P() 2637 glBindTexture(textureBinding, *tex); in TEST_P() 2638 glCopyTexSubImage2D(textureBinding, 0, x, y, 0, 0, 1, 1); in TEST_P()
|
D | TextureTest.cpp | 1861 GLint textureBinding; in TEST_P() local 1862 glGetIntegerv(GL_TEXTURE_BINDING_2D, &textureBinding); in TEST_P() 1864 EXPECT_EQ(0, textureBinding); in TEST_P() 1866 glGetIntegerv(GL_TEXTURE_BINDING_EXTERNAL_OES, &textureBinding); in TEST_P() 1871 EXPECT_EQ(0, textureBinding); in TEST_P()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 6679 …const deUint32 textureBinding = (m_shaderInterface == SHADER_INPUT_MULTIPLE_DISCONTIGUOUS_DESCRIPT… in writeSamplerDescriptorSetWithTemplate() local 6680 …updateEntries.push_back(createTemplateBinding(textureBinding, 0, 1, vk::VK_DESCRIPTOR_TYPE_SAMPLED… in writeSamplerDescriptorSetWithTemplate()
|