SWDEV-245532 - HIP - Vulkan interop

Change-Id: I741f48e095c203bb1304f5b5e44f8c87b14b5497
This commit is contained in:
pghafari
2021-03-26 23:23:15 -04:00
committed by Payam Ghafari
parent 682c87592c
commit f1d58ae0d6
+1 -2
View File
@@ -350,8 +350,7 @@ bool Memory::createInterop() {
vkRes.owner_ = owner();
memType = Resource::VkInterop;
vkRes.handle_ = vkObject->getVkSharedHandle();
assert(vkRes.handle_ != nullptr);
vkRes.type_ = Resource::InteropTypeless;
vkRes.type_ = Resource::InteropTypeless;
}
else if (glObject != nullptr) {