Home
last modified time | relevance | path

Searched refs:dsSamplerBindings (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/vk/
DGrVkDescriptorSetManager.cpp202 std::unique_ptr<VkDescriptorSetLayoutBinding[]> dsSamplerBindings( in DescriptorPoolManager() local
206 dsSamplerBindings[i].binding = i; in DescriptorPoolManager()
207 dsSamplerBindings[i].descriptorType = type; in DescriptorPoolManager()
208 dsSamplerBindings[i].descriptorCount = 1; in DescriptorPoolManager()
209 dsSamplerBindings[i].stageFlags = visibility_to_vk_stage_flags(visibility); in DescriptorPoolManager()
212 dsSamplerBindings[i].pImmutableSamplers = immutableSamplers[i]->samplerPtr(); in DescriptorPoolManager()
214 dsSamplerBindings[i].pImmutableSamplers = nullptr; in DescriptorPoolManager()
228 dsSamplerLayoutCreateInfo.pBindings = numBindings ? dsSamplerBindings.get() : nullptr; in DescriptorPoolManager()
/external/skia/src/gpu/vk/
DGrVkDescriptorSetManager.cpp79 std::unique_ptr<VkDescriptorSetLayoutBinding[]> dsSamplerBindings( in get_layout_and_desc_count() local
84 dsSamplerBindings[i].binding = i; in get_layout_and_desc_count()
85 dsSamplerBindings[i].descriptorType = type; in get_layout_and_desc_count()
86 dsSamplerBindings[i].descriptorCount = 1; in get_layout_and_desc_count()
87 dsSamplerBindings[i].stageFlags = visibility_to_vk_stage_flags(visibility); in get_layout_and_desc_count()
91 dsSamplerBindings[i].pImmutableSamplers = immutableSamplers[i]->samplerPtr(); in get_layout_and_desc_count()
94 dsSamplerBindings[i].pImmutableSamplers = nullptr; in get_layout_and_desc_count()
108 dsSamplerLayoutCreateInfo.pBindings = numBindings ? dsSamplerBindings.get() : nullptr; in get_layout_and_desc_count()