venus: use obj handle instead of id in device memory report

Now the id is separately assigned in venus, while the test expects
handle.

Fixes: 7f9381782f ("venus: ensure object id is unique")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27285>
This commit is contained in:
Yiwei Zhang
2024-01-25 14:26:56 -08:00
committed by Marge Bot
parent 8c87657fbd
commit 5fbb00dbc7

View File

@@ -544,7 +544,7 @@ vn_device_memory_emit_report(struct vn_device *dev,
.memoryTypes[mem_vk->memory_type_index];
vn_device_emit_device_memory_report(dev, type, mem_obj_id, mem_vk->size,
VK_OBJECT_TYPE_DEVICE_MEMORY,
mem->base.id, mem_type->heapIndex);
(uintptr_t)mem, mem_type->heapIndex);
}
VkResult