Update the Vulkan loader to the latest version
This commit is contained in:
4
third_party/vulkan/loader/gpa_helper.h
vendored
4
third_party/vulkan/loader/gpa_helper.h
vendored
@@ -22,6 +22,7 @@
|
||||
#include <string.h>
|
||||
#include "debug_report.h"
|
||||
#include "wsi.h"
|
||||
#include "extensions.h"
|
||||
|
||||
static inline void *trampolineGetProcAddr(struct loader_instance *inst,
|
||||
const char *funcName) {
|
||||
@@ -304,6 +305,9 @@ static inline void *trampolineGetProcAddr(struct loader_instance *inst,
|
||||
if (wsi_swapchain_instance_gpa(inst, funcName, &addr))
|
||||
return addr;
|
||||
|
||||
if (extension_instance_gpa(inst, funcName, &addr))
|
||||
return addr;
|
||||
|
||||
addr = loader_dev_ext_gpa(inst, funcName);
|
||||
return addr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user