File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33 auto* layer = Device::retrieve(device);
44
55 // Workaround Unreal Engine trying to invoke this via a function pointer
6- // queried from a Vulkan 1.1 instance with vkInstanceGetProcAddress () with
7- // device created from a later a Vulkan 1.0 context where the function is
8- // not available ...
6+ // queried from a Vulkan 1.1 instance with vkGetInstanceProcAddress () using
7+ // a device created from a later a Vulkan 1.0 context for which the
8+ // function is unavailable because VK_KHR_maintenance4 requires Vulkan 1.1
99 if (!layer->driver.vkGetDeviceImageMemoryRequirementsKHR)
1010 {
1111 pMemoryRequirements->memoryRequirements.size = 0;
Original file line number Diff line number Diff line change @@ -5960,9 +5960,9 @@ VKAPI_ATTR void VKAPI_CALL layer_vkGetDeviceImageMemoryRequirementsKHR_default(
59605960 auto * layer = Device::retrieve (device);
59615961
59625962 // Workaround Unreal Engine trying to invoke this via a function pointer
5963- // queried from a Vulkan 1.1 instance with vkInstanceGetProcAddress () with
5964- // device created from a later a Vulkan 1.0 context where the function is
5965- // not available ...
5963+ // queried from a Vulkan 1.1 instance with vkGetInstanceProcAddress () using
5964+ // a device created from a later a Vulkan 1.0 context for which the
5965+ // function is unavailable because VK_KHR_maintenance4 requires Vulkan 1.1
59665966 if (!layer->driver .vkGetDeviceImageMemoryRequirementsKHR )
59675967 {
59685968 pMemoryRequirements->memoryRequirements .size = 0 ;
You can’t perform that action at this time.
0 commit comments