Home
last modified time | relevance | path

Searched refs:memoryTypeCount (Results 1 – 25 of 71) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp282 ASSERT(mMemoryProperties.memoryTypeCount == 0); in init()
284 ASSERT(mMemoryProperties.memoryTypeCount > 0); in init()
299 ASSERT(mMemoryProperties.memoryTypeCount > 0 && mMemoryProperties.memoryTypeCount <= 32); in findCompatibleMemoryIndex()
307 ASSERT(memoryIndex < mMemoryProperties.memoryTypeCount); in findCompatibleMemoryIndex()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp68 ASSERT(memoryIndex < memoryProperties.memoryTypeCount); in FindCompatibleMemory()
398 ASSERT(mMemoryProperties.memoryTypeCount == 0); in init()
400 ASSERT(mMemoryProperties.memoryTypeCount > 0); in init()
410 for (uint32_t typeIndex = 0; typeIndex < mMemoryProperties.memoryTypeCount; ++typeIndex) in hasLazilyAllocatedMemory()
429 ASSERT(mMemoryProperties.memoryTypeCount > 0 && mMemoryProperties.memoryTypeCount <= 32); in findCompatibleMemoryIndex()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_device.c462 mem->memoryTypes[mem->memoryTypeCount++] = (VkMemoryType) { in dzn_physical_device_init_memory()
467 mem->memoryTypes[mem->memoryTypeCount++] = (VkMemoryType) { in dzn_physical_device_init_memory()
479 mem->memoryTypes[mem->memoryTypeCount++] = (VkMemoryType) { in dzn_physical_device_init_memory()
489 assert(mem->memoryTypeCount <= MAX_TIER2_MEMORY_TYPES); in dzn_physical_device_init_memory()
492 unsigned oldMemoryTypeCount = mem->memoryTypeCount; in dzn_physical_device_init_memory()
497 mem->memoryTypeCount = 0; in dzn_physical_device_init_memory()
511 pdev->heap_flags_for_mem_type[mem->memoryTypeCount] = flag; in dzn_physical_device_init_memory()
512 mem->memoryTypes[mem->memoryTypeCount] = oldMemoryTypes[oldMemoryTypeIdx]; in dzn_physical_device_init_memory()
513 mem->memoryTypeCount++; in dzn_physical_device_init_memory()
531 return (1u << pdev->memory.memoryTypeCount) - 1; in dzn_physical_device_get_mem_type_mask_for_resource()
[all …]
/third_party/mesa3d/src/virtio/vulkan/
Dvn_feedback.c28 assert(mem_type_index < mem_props->memoryTypeCount); in vn_get_memory_type_index()
79 if (mem_type_index >= mem_props->memoryTypeCount) { in vn_feedback_buffer_create()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp88 DE_ASSERT(memoryTypeNdx < deviceMemProps.memoryTypeCount); in isHostVisibleMemory()
363 for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemProps.memoryTypeCount; memoryTypeNdx++) in getCompatibleMemoryTypes()
DvkQueryUtil.cpp230 if (properties.memoryTypeCount > VK_MAX_MEMORY_TYPES) in getPhysicalDeviceMemoryProperties()
233 …< "Invalid memoryTypeCount in VkPhysicalDeviceMemoryProperties (got " << properties.memoryTypeCount in getPhysicalDeviceMemoryProperties()
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkdeviceprovider.c181 (guint) device->memory_properties.memoryTypeCount, NULL); in fill_properties()
182 for (i = 0; i < device->memory_properties.memoryTypeCount; i++) { in fill_properties()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp465 if (*memoryTypeNdx >= deviceMemoryProperties.memoryTypeCount) in verifyMemoryRequirements()
958 if (*memoryTypeNdx >= deviceMemoryProperties.memoryTypeCount) in verifyMemoryRequirements()
2008 …if (result.check(memoryTypeIndex < memoryProperties.memoryTypeCount, "Unknown memory type bits set… in testMultiplaneImages()
2125 for (uint32_t ndx = 0; ndx < memoryProperties.memoryTypeCount; ndx++) in testVkMemoryPropertyFlags()
2133 …std::string diffStr = std::to_string(int(memoryProperties.memoryTypeCount - matchingType… in testVkMemoryPropertyFlags()
2135 …result.check(matchingTypes == memoryProperties.memoryTypeCount, "Unknown memory type bits set in m… in testVkMemoryPropertyFlags()
DvktMemoryAllocationTests.cpp503 if (m_memoryTypeIndex < m_memoryProperties.memoryTypeCount) in iterate()
596 TCU_CHECK(m_memoryProperties.memoryTypeCount <= 32); in iterate()
609 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < m_memoryProperties.memoryTypeCount; memoryTypeNdx… in iterate()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DUtil.cpp24 for(uint32_t i = 0; i < deviceMemoryProperties.memoryTypeCount; i++) in getMemoryTypeIndex()
/third_party/mesa3d/src/amd/vulkan/
Dradv_android.c146 for (int i = 0; i < device->physical_device->memory_properties.memoryTypeCount; ++i) { in radv_image_from_gralloc()
646 uint32_t memory_types = (1u << pdevice->memory_properties.memoryTypeCount) - 1; in radv_GetAndroidHardwareBufferPropertiesANDROID()
/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp98 for (uint32_t i = 0; i < phyDevMemProps.memoryTypeCount && !foundHeap; ++i) { in createBackendTexture()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.cpp162 memory.memoryTypes + memory.memoryTypeCount); in GatherDeviceInfo()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
DVulkanExternalHelper.cpp107 ASSERT(memoryIndex < memoryProperties.memoryTypeCount); in FindMemoryType()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanUnitTests/
DDevice.cpp344 for(uint32_t type = 0; type < properties.memoryTypeCount; type++) in AllocateMemory()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DVulkanInfo.cpp155 memory.memoryTypes + memory.memoryTypeCount); in GatherDeviceInfo()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp947 …for (deUint32 memoryTypeNdx = 0; memoryTypeNdx < deviceMemoryProperties.memoryTypeCount; ++memoryT… in findMatchingMemoryType()
964 DE_ASSERT(memoryType < deviceMemoryProperties.memoryTypeCount); in getHeapIndexForMemoryType()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp323 for (deUint32 memType = 0; memType < memoryProperties.memoryTypeCount; memType++) in generateSwapchainParameterCases()
363 for (deUint32 memType = 0; memType < memoryProperties.memoryTypeCount; memType++) in generateSwapchainParameterCases()
438 for (deUint32 memType = 0; memType < memoryProperties.memoryTypeCount; memType++) in generateSwapchainParameterCases()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiGetMemoryCommitment.cpp61 for (deUint32 typeIndex = 0u; typeIndex < pMemoryProperties.memoryTypeCount; ++typeIndex) in getMemoryTypeIndices()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_device.c420 pdevice->memory.memoryTypeCount = 1; in pvr_physical_device_init()
1882 (1 << device->pdevice->memory.memoryTypeCount) - 1; in pvr_GetMemoryFdPropertiesKHR()
2728 (1ul << device->pdevice->memory.memoryTypeCount) - 1; in pvr_GetBufferMemoryRequirements2()
2752 (1ul << device->pdevice->memory.memoryTypeCount) - 1; in pvr_GetImageMemoryRequirements2()
/third_party/flutter/skia/tests/
DVkYcbcrSamplerTest.cpp231 for (uint32_t i = 0; i < phyDevMemProps.memoryTypeCount && !foundHeap; ++i) { in createI420Image()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkphysicaldevice.c488 device->memory_properties.memoryTypeCount); in dump_memory_properties()
489 for (i = 0; i < device->memory_properties.memoryTypeCount; i++) { in dump_memory_properties()
/third_party/flutter/skia/src/gpu/
DGrAHardwareBufferUtils.cpp418 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in make_vk_backend_texture()
/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp421 uint32_t memTypeCnt = phyDevMemProps.memoryProperties.memoryTypeCount; in make_vk_backend_texture()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c851 mem->memoryTypeCount = 1; in physical_device_init()
2283 assert(pAllocateInfo->memoryTypeIndex < pdevice->memory.memoryTypeCount); in v3dv_AllocateMemory()
2708 (1 << pdevice->memory.memoryTypeCount) - 1; in v3dv_GetMemoryFdPropertiesKHR()

123