Home
last modified time | relevance | path

Searched refs:descriptorCount (Results 1 – 25 of 38) sorted by relevance

12

/hardware/google/gfxstream/guest/vulkan_enc/
DDescriptorSetVirtualization.cpp45 countsEachBinding[layoutBindings[i].binding] = layoutBindings[i].descriptorCount; in initDescriptorWriteTable()
76 binding.descriptorCount > 0 && in initializeReifiedDescriptorSet()
120 uint32_t descriptorCount = write->descriptorCount; in doEmulatedDescriptorWrite() local
128 while (i < descriptorCount) { in doEmulatedDescriptorWrite()
144 while (i < descriptorCount) { in doEmulatedDescriptorWrite()
160 while (i < descriptorCount) { in doEmulatedDescriptorWrite()
216 while (i < copy->descriptorCount) { in doEmulatedDescriptorCopy()
231 while (i < copy->descriptorCount) { in doEmulatedDescriptorCopy()
335 if (binding.descriptorCount && (countInfo.type != binding.descriptorType)) { in isBindingFeasibleForAlloc()
339 uint32_t availDescriptorCount = countInfo.descriptorCount - countInfo.used; in isBindingFeasibleForAlloc()
[all …]
DDescriptorSetVirtualization.h95 uint32_t descriptorCount; member
Dgoldfish_vk_marshaling_guest.cpp3285 vkStream->write((uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in marshal_VkCopyDescriptorSet()
3308 vkStream->read((uint32_t*)&forUnmarshaling->descriptorCount, sizeof(uint32_t)); in unmarshal_VkCopyDescriptorSet()
3363 vkStream->write((uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in marshal_VkDescriptorPoolSize()
3370 vkStream->read((uint32_t*)&forUnmarshaling->descriptorCount, sizeof(uint32_t)); in unmarshal_VkDescriptorPoolSize()
3463 vkStream->write((uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in marshal_VkDescriptorSetLayoutBinding()
3469 if (forMarshaling->descriptorCount) { in marshal_VkDescriptorSetLayoutBinding()
3471 vkStream->alloc((void**)&cgen_var_0_0, forMarshaling->descriptorCount * 8); in marshal_VkDescriptorSetLayoutBinding()
3473 forMarshaling->pImmutableSamplers, cgen_var_0_0, forMarshaling->descriptorCount); in marshal_VkDescriptorSetLayoutBinding()
3474 vkStream->write((uint64_t*)cgen_var_0_0, forMarshaling->descriptorCount * 8); in marshal_VkDescriptorSetLayoutBinding()
3484 vkStream->read((uint32_t*)&forUnmarshaling->descriptorCount, sizeof(uint32_t)); in unmarshal_VkDescriptorSetLayoutBinding()
[all …]
DResourceTracker.cpp4843 pCreateInfo->pPoolSizes[i].type, pCreateInfo->pPoolSizes[i].descriptorCount, in on_vkCreateDescriptorPool()
5038 imageInfosNeeded += transformedWrites[i].descriptorCount; in on_vkUpdateDescriptorSets()
5048 for (uint32_t j = 0; j < transformedWrites[i].descriptorCount; ++j) { in on_vkUpdateDescriptorSets()
5053 &transformedImageInfos[imageInfoIndex - transformedWrites[i].descriptorCount]; in on_vkUpdateDescriptorSets()
5067 for (uint32_t j = 0; j < transformedWrites[i].descriptorCount; ++j) { in on_vkUpdateDescriptorSets()
6226 uint32_t descCount = entry.descriptorCount; in initDescriptorUpdateTemplateBuffers()
6278 uint32_t descCount = entry.descriptorCount; in initDescriptorUpdateTemplateBuffers()
6392 uint32_t descCount = entry.descriptorCount; in on_vkUpdateDescriptorSetWithTemplate()
Dgoldfish_vk_reserved_marshaling_guest.cpp2414 memcpy(*ptr, (uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in reservedmarshal_VkCopyDescriptorSet()
2457 memcpy(*ptr, (uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in reservedmarshal_VkDescriptorPoolSize()
2526 memcpy(*ptr, (uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in reservedmarshal_VkDescriptorSetLayoutBinding()
2536 if (forMarshaling->descriptorCount) { in reservedmarshal_VkDescriptorSetLayoutBinding()
2539 for (uint32_t k = 0; k < forMarshaling->descriptorCount; ++k) { in reservedmarshal_VkDescriptorSetLayoutBinding()
2544 *ptr += 8 * forMarshaling->descriptorCount; in reservedmarshal_VkDescriptorSetLayoutBinding()
2591 memcpy(*ptr, (uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in reservedmarshal_VkWriteDescriptorSet()
2607 for (uint32_t i = 0; i < (uint32_t)forMarshaling->descriptorCount; ++i) { in reservedmarshal_VkWriteDescriptorSet()
2625 for (uint32_t i = 0; i < (uint32_t)forMarshaling->descriptorCount; ++i) { in reservedmarshal_VkWriteDescriptorSet()
2641 if (forMarshaling->descriptorCount) { in reservedmarshal_VkWriteDescriptorSet()
[all …]
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_descriptor_update_template.c42 if (pCreateInfo->pDescriptorUpdateEntries[i].descriptorCount > 0) in vk_common_CreateDescriptorUpdateTemplate()
64 if (pEntry->descriptorCount == 0) in vk_common_CreateDescriptorUpdateTemplate()
71 .array_count = pEntry->descriptorCount, in vk_common_CreateDescriptorUpdateTemplate()
Dvk_cmd_enqueue.c197 … sizeof(VkDescriptorImageInfo) * pds->descriptor_writes[i].descriptorCount, 8, in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
201 sizeof(VkDescriptorImageInfo) * pds->descriptor_writes[i].descriptorCount); in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
207 sizeof(VkBufferView) * pds->descriptor_writes[i].descriptorCount, 8, in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
211 sizeof(VkBufferView) * pds->descriptor_writes[i].descriptorCount); in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
220 … sizeof(VkDescriptorBufferInfo) * pds->descriptor_writes[i].descriptorCount, 8, in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
224 sizeof(VkDescriptorBufferInfo) * pds->descriptor_writes[i].descriptorCount); in vk_cmd_enqueue_CmdPushDescriptorSetKHR()
Dvk_meta_blit_resolve.c344 .descriptorCount = 1, in get_blit_pipeline_layout()
349 .descriptorCount = 1, in get_blit_pipeline_layout()
354 .descriptorCount = 1, in get_blit_pipeline_layout()
359 .descriptorCount = 1, in get_blit_pipeline_layout()
533 .descriptorCount = 1, in do_blit()
577 .descriptorCount = 1, in do_blit()
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndVkTests.cpp509 .descriptorCount = 1 * count, in AllocateDescriptorBundle()
522 .descriptorCount = 1, in AllocateDescriptorBundle()
784 .descriptorCount = 4, in TEST_P()
800 .descriptorCount = 1, in TEST_P()
806 .descriptorCount = 1, in TEST_P()
812 .descriptorCount = 1, in TEST_P()
818 .descriptorCount = 1, in TEST_P()
850 .descriptorCount = 4, in TEST_P()
DGfxstreamEnd2EndVkSnapshotPipelineTests.cpp165 .descriptorCount = 1, in createPipeline()
367 .descriptorCount = 10, in TEST_P()
714 .descriptorCount = 10, in TEST_P()
753 .descriptorCount = 1, in TEST_P()
935 .descriptorCount = 10, in TEST_P()
974 .descriptorCount = 1, in TEST_P()
1107 .descriptorCount = 10, in TEST_P()
1146 .descriptorCount = 1, in TEST_P()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_NV_descriptor_pool_overallocation.adoc30 slink:VkDescriptorPoolSize::pname:descriptorCount for any descriptor types.
DVK_EXT_inline_uniform_block.adoc58 The pname:descriptorCount of sname:VkDescriptorSetLayoutBinding thus
61 pname:dstArrayElement, and pname:descriptorCount members of
/hardware/google/gfxstream/common/detector/
DGraphicsDetectorVkPrecisionQualifiersOnYuvSamplers.cpp94 .descriptorCount = 1, in CanHandlePrecisionQualifierWithYuvSampler()
108 .descriptorCount = 1, in CanHandlePrecisionQualifierWithYuvSampler()
138 .descriptorCount = 1, in CanHandlePrecisionQualifierWithYuvSampler()
/hardware/google/gfxstream/guest/vulkan/
Dgfxstream_vk_device.cpp708 const uint32_t descriptorCount = srcDescriptorSet.descriptorCount; in transformDescriptorSetList() local
714 bufferInfos[i].reserve(descriptorCount); in transformDescriptorSetList()
715 memset(&bufferInfos[i][0], 0, sizeof(VkDescriptorBufferInfo) * descriptorCount); in transformDescriptorSetList()
716 for (uint32_t j = 0; j < descriptorCount; ++j) { in transformDescriptorSetList()
/hardware/google/gfxstream/host/vulkan/emulated_textures/
DGpuDecompressionPipeline.cpp260 .descriptorCount = 1, in getDescriptorSetLayout()
266 .descriptorCount = 1, in getDescriptorSetLayout()
DCompressedImageInfo.cpp667 .descriptorCount = 2 * mMipLevels, in initializeDecompressionPipeline()
709 .descriptorCount = 1, in initializeDecompressionPipeline()
716 .descriptorCount = 1, in initializeDecompressionPipeline()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Ddescriptorsets.adoc678 * [[VUID-VkDescriptorSetLayoutCreateInfo-descriptorCount-05071]]
679 The sum of pname:descriptorCount over all bindings in pname:pBindings
900 * pname:descriptorCount is the number of descriptors contained in the
906 pname:descriptorCount is the size in bytes of the inline uniform block.
908 If pname:descriptorCount is zero this binding entry is reserved and the
951 Bindings that are not specified have a pname:descriptorCount and
972 pname:descriptorCount is not `0` and pname:pImmutableSamplers is not
974 pname:descriptorCount valid sname:VkSampler handles
982 then pname:descriptorCount must: be a multiple of `4`
989 then pname:descriptorCount must: be less than or equal to
[all …]
/hardware/google/gfxstream/host/vulkan/
DCompositorVk.cpp303 .descriptorCount = 1, in setUpGraphicsPipeline()
310 .descriptorCount = 1, in setUpGraphicsPipeline()
465 .descriptorCount = descriptorsOfEachTypeTotal, in setUpDescriptorSets()
469 .descriptorCount = descriptorsOfEachTypeTotal, in setUpDescriptorSets()
509 .descriptorCount = 1, in setUpDescriptorSets()
1399 .descriptorCount = 1, in updateDescriptorSetsIfChanged()
DVkDecoderInternalStructs.h324 uint32_t descriptorCount; member
DVkDecoderGlobalState.cpp793 .descriptorCount = 1, in load()
2883 state.descriptorCount = pCreateInfo->pPoolSizes[i].descriptorCount; in on_vkCreateDescriptorPool()
2991 setInfo.allWrites[bindingIdx].resize(dslBinding.descriptorCount); in initDescriptorSetInfoLocked()
3104 uint32_t descriptorCount = descriptorWrite.descriptorCount; in on_vkUpdateDescriptorSetsImpl() local
3109 for (uint32_t writeElemIdx = 0; writeElemIdx < descriptorCount; in on_vkUpdateDescriptorSetsImpl()
3138 for (uint32_t writeElemIdx = 0; writeElemIdx < descriptorCount; in on_vkUpdateDescriptorSetsImpl()
3156 for (uint32_t writeElemIdx = 0; writeElemIdx < descriptorCount; in on_vkUpdateDescriptorSetsImpl()
3218 for (uint32_t j = 0; j < descriptorWrite.descriptorCount; j++) { in on_vkUpdateDescriptorSetsImpl()
3263 new VkDescriptorImageInfo[dstDescriptorWrite.descriptorCount]); in on_vkUpdateDescriptorSetsImpl()
3266 dstDescriptorWrite.descriptorCount * sizeof(VkDescriptorImageInfo)); in on_vkUpdateDescriptorSetsImpl()
[all …]
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dvulkan_printer.py617descriptorCount = printer.write_int("descriptorCount", 4, indent, signed=False, big_endian=False)
622descriptorCount = printer.write_int("descriptorCount", 4, indent, signed=False, big_endian=False)
624 …nter.write_int("pImmutableSamplers", 8, indent, optional=True, count=descriptorCount, big_endian=F…
1112descriptorCount = printer.write_int("descriptorCount", 4, indent, signed=False, big_endian=False)
1114 printer.write_struct("pImageInfo", struct_VkDescriptorImageInfo, True, descriptorCount, indent)
1115 … printer.write_struct("pBufferInfo", struct_VkDescriptorBufferInfo, True, descriptorCount, indent)
1116 …rinter.write_int("pTexelBufferView", 8, indent, optional=True, count=descriptorCount, big_endian=F…
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/proposals/
DVK_EXT_descriptor_buffer.adoc268 …bindings with a `descriptorType` of `VK_DESCRIPTOR_TYPE_SAMPLER`, a `descriptorCount` of `1` (i.e.…
785 2, // descriptorCount
792 2, // descriptorCount
803 2, // descriptorCount
810 2, // descriptorCount
822 1, // descriptorCount
834 1, // descriptorCount
841 1, // descriptorCount
/hardware/google/gfxstream/host/vulkan/cereal/common/
Dgoldfish_vk_marshaling.cpp3717 vkStream->write((uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in marshal_VkCopyDescriptorSet()
3752 vkStream->read((uint32_t*)&forUnmarshaling->descriptorCount, sizeof(uint32_t)); in unmarshal_VkCopyDescriptorSet()
3807 vkStream->write((uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in marshal_VkDescriptorPoolSize()
3814 vkStream->read((uint32_t*)&forUnmarshaling->descriptorCount, sizeof(uint32_t)); in unmarshal_VkDescriptorPoolSize()
3935 vkStream->write((uint32_t*)&forMarshaling->descriptorCount, sizeof(uint32_t)); in marshal_VkDescriptorSetLayoutBinding()
3941 if (forMarshaling->descriptorCount) { in marshal_VkDescriptorSetLayoutBinding()
3943 vkStream->alloc((void**)&cgen_var_0_0, forMarshaling->descriptorCount * 8); in marshal_VkDescriptorSetLayoutBinding()
3945 forMarshaling->pImmutableSamplers, cgen_var_0_0, forMarshaling->descriptorCount); in marshal_VkDescriptorSetLayoutBinding()
3946 vkStream->write((uint64_t*)cgen_var_0_0, forMarshaling->descriptorCount * 8); in marshal_VkDescriptorSetLayoutBinding()
3956 vkStream->read((uint32_t*)&forUnmarshaling->descriptorCount, sizeof(uint32_t)); in unmarshal_VkDescriptorSetLayoutBinding()
[all …]
Dgoldfish_vk_deepcopy.cpp1712 from->pImmutableSamplers, from->descriptorCount * sizeof(const VkSampler)); in deepcopy_VkDescriptorSetLayoutBinding()
1774 from->descriptorCount * sizeof(const VkDescriptorImageInfo)); in deepcopy_VkWriteDescriptorSet()
1775 to->descriptorCount = from->descriptorCount; in deepcopy_VkWriteDescriptorSet()
1776 for (uint32_t i = 0; i < (uint32_t)from->descriptorCount; ++i) { in deepcopy_VkWriteDescriptorSet()
1786 from->descriptorCount * sizeof(const VkDescriptorBufferInfo)); in deepcopy_VkWriteDescriptorSet()
1787 to->descriptorCount = from->descriptorCount; in deepcopy_VkWriteDescriptorSet()
1788 for (uint32_t i = 0; i < (uint32_t)from->descriptorCount; ++i) { in deepcopy_VkWriteDescriptorSet()
1797 from->pTexelBufferView, from->descriptorCount * sizeof(const VkBufferView)); in deepcopy_VkWriteDescriptorSet()
/hardware/google/gfxstream/guest/mesa/src/vulkan/overlay-layer/
Doverlay.cpp1469 sampler_pool_size.descriptorCount = 1; in setup_swapchain_data_pipeline()
1483 binding[0].descriptorCount = 1; in setup_swapchain_data_pipeline()
1681 write_desc[0].descriptorCount = 1; in setup_swapchain_data_pipeline()

12