Skip to content

Commit 7a3d88f

Browse files
committed
Improve text
1 parent 783e42e commit 7a3d88f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

generator/vk_codegen/function_vkGetDeviceImageMemoryRequirementsKHR.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
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;

source_common/framework/device_functions.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)