mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-11-24 07:39:52 +00:00
use the correct instance
This commit is contained in:
parent
ddec051dc4
commit
26283303b0
@ -2542,7 +2542,7 @@ VkResult setupLoaderTrampPhysDevGroups(VkInstance instance, struct loader_instan
|
||||
}
|
||||
|
||||
// Call down and get the content
|
||||
fpEnumeratePhysicalDeviceGroups(instance, &total_count, local_phys_dev_groups);
|
||||
fpEnumeratePhysicalDeviceGroups(inst->instance, &total_count, local_phys_dev_groups);
|
||||
if (VK_SUCCESS != res) {
|
||||
loader_log(inst, VULKAN_LOADER_ERROR_BIT, 0,
|
||||
"setupLoaderTrampPhysDevGroups: Failed during dispatch call of "
|
||||
@ -3469,4 +3469,4 @@ LOADER_EXPORT VKAPI_ATTR VkResult VKAPI_CALL vkQueueSubmit2(VkQueue queue, uint3
|
||||
VkFence fence) {
|
||||
const VkLayerDispatchTable *disp = loader_get_dispatch(queue);
|
||||
return disp->QueueSubmit2(queue, submitCount, pSubmits, fence);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user