Skip to content

Commit 11aa53e

Browse files
Add missing include in vk_layer_dispatch_table.h
After fixing a compilation error where PFN_GetPhysicalDeviceProcAddr was defined multiple times, the vk_layer_dispatch_table.h header lacks the required include that provided PFN_GetPhysicalDeviceProcAddr.
1 parent a4e3663 commit 11aa53e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

loader/generated/vk_layer_dispatch_table.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#pragma once
3030

3131
#include <vulkan/vulkan.h>
32+
#include <vulkan/vk_layer.h>
3233

3334
// Instance function pointer dispatch table
3435
typedef struct VkLayerInstanceDispatchTable_ {

scripts/generators/loader_extension_generator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ def print_vk_layer_dispatch_table(self, out):
242242
out.append('#pragma once\n')
243243
out.append('\n')
244244
out.append('#include <vulkan/vulkan.h>\n')
245+
out.append('#include <vulkan/vk_layer.h>\n')
245246
out.append('\n')
246247
self.OutputLayerInstanceDispatchTable(out)
247248
self.OutputLayerDeviceDispatchTable(out)

0 commit comments

Comments
 (0)