Lines Matching refs:visibilities

16     SkSTArray<2, uint32_t> visibilities;  in CreateUniformManager()  local
24 visibilities.push_back(geomStages); in CreateUniformManager()
25 visibilities.push_back(kFragment_GrShaderFlag); in CreateUniformManager()
28 return new GrVkDescriptorSetManager(gpu, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, visibilities, in CreateUniformManager()
34 SkSTArray<4, uint32_t> visibilities; in CreateSamplerManager() local
38 visibilities.push_back(uniformHandler.samplerVisibility(i)); in CreateSamplerManager()
41 return new GrVkDescriptorSetManager(gpu, type, visibilities, immutableSamplers); in CreateSamplerManager()
45 GrVkGpu* gpu, VkDescriptorType type, const SkTArray<uint32_t>& visibilities) { in CreateSamplerManager() argument
48 for (int i = 0 ; i < visibilities.count(); ++i) { in CreateSamplerManager()
51 return new GrVkDescriptorSetManager(gpu, type, visibilities, immutableSamplers); in CreateSamplerManager()
56 const SkTArray<uint32_t>& visibilities, in GrVkDescriptorSetManager() argument
58 : fPoolManager(type, gpu, visibilities, immutableSamplers) { in GrVkDescriptorSetManager()
61 SkASSERT(visibilities.count() == immutableSamplers.count()); in GrVkDescriptorSetManager()
66 for (int i = 0; i < visibilities.count(); ++i) { in GrVkDescriptorSetManager()
67 fBindingVisibilities.push_back(visibilities[i]); in GrVkDescriptorSetManager()
153 const SkTArray<uint32_t>& visibilities) const { in isCompatible()
160 if (fBindingVisibilities.count() != visibilities.count()) { in isCompatible()
163 for (int i = 0; i < visibilities.count(); ++i) { in isCompatible()
164 if (visibilities[i] != fBindingVisibilities[i] || fImmutableSamplers[i] != nullptr) { in isCompatible()
192 const SkTArray<uint32_t>& visibilities, in DescriptorPoolManager() argument
201 uint32_t numBindings = visibilities.count(); in DescriptorPoolManager()
205 uint32_t visibility = visibilities[i]; in DescriptorPoolManager()
235 fDescCountPerSet = visibilities.count(); in DescriptorPoolManager()
239 SkASSERT(kUniformDescPerSet == visibilities.count()); in DescriptorPoolManager()
249 dsUniBindings[i].stageFlags = visibility_to_vk_stage_flags(visibilities[i]); in DescriptorPoolManager()