Home
last modified time | relevance | path

Searched refs:heapIndex (Results 1 – 25 of 32) sorted by relevance

12

/external/skia/src/gpu/vk/
DGrVkMemory.cpp23 uint32_t* heapIndex) { in get_valid_memory_type_index() argument
30 *heapIndex = physDevMemProps.memoryTypes[i].heapIndex; in get_valid_memory_type_index()
69 uint32_t heapIndex = 0; in AllocAndBindBufferMemory() local
79 &heapIndex)) { in AllocAndBindBufferMemory()
85 &heapIndex)); in AllocAndBindBufferMemory()
102 &heapIndex)); in AllocAndBindBufferMemory()
108 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
112 0, &typeIndex, &heapIndex) || in AllocAndBindBufferMemory()
113 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
159 uint32_t heapIndex = 0; in AllocAndBindImageMemory() local
[all …]
DGrVkMemory.h98 GrVkSubHeap(const GrVkGpu* gpu, uint32_t memoryTypeIndex, uint32_t heapIndex,
144 uint32_t heapIndex, GrVkAlloc* alloc) { in alloc() argument
147 return (*this.*fAllocFunc)(size, alignment, memoryTypeIndex, heapIndex, alloc); in alloc()
153 uint32_t memoryTypeIndex, uint32_t heapIndex,
157 uint32_t memoryTypeIndex, uint32_t heapIndex,
160 uint32_t memoryTypeIndex, uint32_t heapIndex,
/external/skqp/src/gpu/vk/
DGrVkMemory.cpp23 uint32_t* heapIndex) { in get_valid_memory_type_index() argument
30 *heapIndex = physDevMemProps.memoryTypes[i].heapIndex; in get_valid_memory_type_index()
69 uint32_t heapIndex = 0; in AllocAndBindBufferMemory() local
79 &heapIndex)) { in AllocAndBindBufferMemory()
85 &heapIndex)); in AllocAndBindBufferMemory()
102 &heapIndex)); in AllocAndBindBufferMemory()
108 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
112 0, &typeIndex, &heapIndex) || in AllocAndBindBufferMemory()
113 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
159 uint32_t heapIndex = 0; in AllocAndBindImageMemory() local
[all …]
DGrVkMemory.h98 GrVkSubHeap(const GrVkGpu* gpu, uint32_t memoryTypeIndex, uint32_t heapIndex,
144 uint32_t heapIndex, GrVkAlloc* alloc) { in alloc() argument
147 return (*this.*fAllocFunc)(size, alignment, memoryTypeIndex, heapIndex, alloc); in alloc()
153 uint32_t memoryTypeIndex, uint32_t heapIndex,
157 uint32_t memoryTypeIndex, uint32_t heapIndex,
160 uint32_t memoryTypeIndex, uint32_t heapIndex,
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp266 const VkMemoryHeap memoryHeap = m_memoryProperties.memoryHeaps[memoryType.heapIndex]; in iterate()
273 if (memoryType.heapIndex >= m_memoryProperties.memoryHeapCount) in iterate()
501 TCU_CHECK(type.type.heapIndex < m_memoryProperties.memoryHeapCount); in iterate()
503 m_heaps[type.type.heapIndex].types.push_back(type); in iterate()
DvktMemoryMappingTests.cpp581 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in testMemoryMapping()
1329 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance()
1332 for (deUint32 heapIndex = 0; heapIndex < memoryProperties.memoryHeapCount; heapIndex++) in RandomMemoryMappingInstance() local
1334 const VkMemoryHeap heapInfo = memoryProperties.memoryHeaps[heapIndex]; in RandomMemoryMappingInstance()
1336 if (!memoryTypes[heapIndex].empty()) in RandomMemoryMappingInstance()
1338 …const de::SharedPtr<MemoryHeap> heap (new MemoryHeap(heapInfo, memoryTypes[heapIndex], m_memoryLim… in RandomMemoryMappingInstance()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp283 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
286 (protectedHeapMask & (1u << heapIndex)) == 0) in generateSwapchainParameterCases()
288 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
289 protectedHeapMask |= 1u << heapIndex; in generateSwapchainParameterCases()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferTests.cpp342 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
574 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
DvktApiFeatureInfo.cpp1263 if (memProps->memoryTypes[memoryNdx].heapIndex >= memProps->memoryHeapCount) in deviceMemoryProperties()
1265 …eviceMemoryProperties - heapIndex " << memProps->memoryTypes[memoryNdx].heapIndex << " larger than… in deviceMemoryProperties()
1287 …if ((memProps->memoryHeaps[memProps->memoryTypes[memoryNdx].heapIndex].flags & VK_MEMORY_HEAP_DEVI… in deviceMemoryProperties()
1295 …if (memProps->memoryHeaps[memProps->memoryTypes[memoryNdx].heapIndex].flags & VK_MEMORY_HEAP_DEVIC… in deviceMemoryProperties()
1389 for (deUint32 heapIndex = 0; heapIndex < memProps.memoryHeapCount; heapIndex++) in deviceGroupPeerMemoryFeatures() local
1397 …vk.getDeviceGroupPeerMemoryFeatures(deviceGroup.get(), heapIndex, localDeviceIndex, remoteDeviceIn… in deviceGroupPeerMemoryFeatures()
1417 << TestLog::Message << "heapIndex = " << heapIndex << TestLog::EndMessage in deviceGroupPeerMemoryFeatures()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c664 .heapIndex = RADV_MEM_HEAP_VRAM, in radv_GetPhysicalDeviceMemoryProperties()
669 .heapIndex = RADV_MEM_HEAP_GTT, in radv_GetPhysicalDeviceMemoryProperties()
675 .heapIndex = RADV_MEM_HEAP_VRAM_CPU_ACCESS, in radv_GetPhysicalDeviceMemoryProperties()
681 .heapIndex = RADV_MEM_HEAP_GTT, in radv_GetPhysicalDeviceMemoryProperties()
/external/skqp/tests/
DVkHardwareBufferTest.cpp962 uint32_t heapIndex = 0; in importHardwareBuffer() local
973 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/mesa3d/src/intel/vulkan/
Danv_device.c695 .heapIndex = 0, in anv_GetPhysicalDeviceMemoryProperties()
708 .heapIndex = 0, in anv_GetPhysicalDeviceMemoryProperties()
714 .heapIndex = 0, in anv_GetPhysicalDeviceMemoryProperties()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp205 …ryFeatures(*m_deviceGroup, deviceMemProps2.memoryTypes[memoryTypeIndex].heapIndex, firstdeviceID, … in isPeerFetchAllowed()
206 …ryFeatures(*m_deviceGroup, deviceMemProps1.memoryTypes[memoryTypeIndex].heapIndex, seconddeviceID,… in isPeerFetchAllowed()
891 …emoryFeatures(*m_deviceGroup, deviceMemProps.memoryTypes[memoryTypeNdx].heapIndex, firstDeviceID, … in iterate()
/external/deqp/external/vulkancts/framework/vulkan/
DvkDeviceDriverImpl.inl615 void DeviceDriver::getDeviceGroupPeerMemoryFeatures (VkDevice device, deUint32 heapIndex, deUint32 … argument
617 …m_vk.getDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPee…
DvkFunctionPointerTypes.inl144 …L* GetDeviceGroupPeerMemoryFeaturesFunc) (VkDevice device, deUint32 heapIndex, deUint32 localD…
211 … GetDeviceGroupPeerMemoryFeaturesKHRFunc) (VkDevice device, deUint32 heapIndex, deUint32 localD…
DvkConcreteDeviceInterface.inl126 virtual void getDeviceGroupPeerMemoryFeatures (VkDevice device, deUint32 heapIndex, deUint32 loc…
DvkNullDriver.cpp974 props->memoryTypes[0].heapIndex = 0u; in getPhysicalDeviceMemoryProperties()
DvkVirtualDeviceInterface.inl126 virtual void getDeviceGroupPeerMemoryFeatures (VkDevice device, deUint32 heapIndex, deUint32 loc…
DvkNullDriverImpl.inl1032 VKAPI_ATTR void VKAPI_CALL getDeviceGroupPeerMemoryFeatures (VkDevice device, deUint32 heapIndex, d… argument
1035 DE_UNREF(heapIndex);
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson.cc556 visitor->Visit("heapIndex", &type->heapIndex); in Iterate()
/external/skia/third_party/vulkan/vulkan/
Dvulkan.h1529 uint32_t heapIndex; member
4426 …R *PFN_vkGetDeviceGroupPeerMemoryFeaturesKHX)(VkDevice device, uint32_t heapIndex, uint32_t localD…
4439 uint32_t heapIndex,
/external/skqp/third_party/vulkan/vulkan/
Dvulkan.h1529 uint32_t heapIndex; member
4426 …R *PFN_vkGetDeviceGroupPeerMemoryFeaturesKHX)(VkDevice device, uint32_t heapIndex, uint32_t localD…
4439 uint32_t heapIndex,
/external/vulkan-validation-layers/demos/
Dvulkaninfo.c2147 …dex = <div class='val'>%u</div></summary></summary></details>\n", props->memoryTypes[i].heapIndex); in AppGpuDumpMemoryProps()
2156 printf("\t\theapIndex = %u\n", props->memoryTypes[i].heapIndex); in AppGpuDumpMemoryProps()
/external/deqp/external/vulkancts/scripts/src/
Dvulkan.h.in1747 uint32_t heapIndex; member
4170 …_PTR *PFN_vkGetDeviceGroupPeerMemoryFeatures)(VkDevice device, uint32_t heapIndex, uint32_t localD…
4212 uint32_t heapIndex,
5102 …R *PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR)(VkDevice device, uint32_t heapIndex, uint32_t localD…
5120 uint32_t heapIndex,
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineRenderToImageTests.cpp780 return memoryProperties.memoryHeaps[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].size; in getMaxDeviceHeapSize()

12