Skip to content
Snippets Groups Projects
Forked from Mesa / mesa
107673 commits behind the upstream repository.
Bas Nieuwenhuizen's avatar
Bas Nieuwenhuizen authored
The image is set on Memory allocation already, but the image doesn't
have to have the BindImageMemory called yet. Luckily, we know offset
within a BO has to be 0 for dedicated allocations, so we can just
use the dummy 0 in the address calaculations.

Fixes CTS test dEQP-VK.api.external.memory.opaque_fd.dedicated.image.export_bind_import_bind

Signed-off-by: default avatarBas Nieuwenhuizen <basni@google.com>
Fixes: b7082970 "radv: Implement VK_KHR_external_memory"
Reviewed-by: default avatarDave Airlie <airlied@redhat.com>
daaf7efb
History