Skip to content

Commit

Permalink
build: Update to header 1.3.292
Browse files Browse the repository at this point in the history
  • Loading branch information
mikes-lunarg committed Aug 2, 2024
1 parent e72ca6b commit faeb588
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# ~~~
cmake_minimum_required(VERSION 3.17.2)

project(VULKAN_LOADER VERSION 1.3.290 LANGUAGES C)
project(VULKAN_LOADER VERSION 1.3.292 LANGUAGES C)

option(CODE_COVERAGE "Enable Code Coverage" OFF)
if (CODE_COVERAGE)
Expand Down
3 changes: 3 additions & 0 deletions loader/generated/vk_layer_dispatch_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,9 @@ typedef struct VkLayerDispatchTable_ {
PFN_vkBindOpticalFlowSessionImageNV BindOpticalFlowSessionImageNV;
PFN_vkCmdOpticalFlowExecuteNV CmdOpticalFlowExecuteNV;

// ---- VK_AMD_anti_lag extension commands
PFN_vkAntiLagUpdateAMD AntiLagUpdateAMD;

// ---- VK_EXT_shader_object extension commands
PFN_vkCreateShadersEXT CreateShadersEXT;
PFN_vkDestroyShaderEXT DestroyShaderEXT;
Expand Down
28 changes: 28 additions & 0 deletions loader/generated/vk_loader_extensions.c
Original file line number Diff line number Diff line change
Expand Up @@ -1145,6 +1145,9 @@ VKAPI_ATTR void VKAPI_CALL loader_init_device_extension_dispatch_table(struct lo
table->BindOpticalFlowSessionImageNV = (PFN_vkBindOpticalFlowSessionImageNV)gdpa(dev, "vkBindOpticalFlowSessionImageNV");
table->CmdOpticalFlowExecuteNV = (PFN_vkCmdOpticalFlowExecuteNV)gdpa(dev, "vkCmdOpticalFlowExecuteNV");

// ---- VK_AMD_anti_lag extension commands
table->AntiLagUpdateAMD = (PFN_vkAntiLagUpdateAMD)gdpa(dev, "vkAntiLagUpdateAMD");

// ---- VK_EXT_shader_object extension commands
table->CreateShadersEXT = (PFN_vkCreateShadersEXT)gdpa(dev, "vkCreateShadersEXT");
table->DestroyShaderEXT = (PFN_vkDestroyShaderEXT)gdpa(dev, "vkDestroyShaderEXT");
Expand Down Expand Up @@ -2900,6 +2903,9 @@ VKAPI_ATTR void* VKAPI_CALL loader_lookup_device_dispatch_table(const VkLayerDis
if (!strcmp(name, "BindOpticalFlowSessionImageNV")) return (void *)table->BindOpticalFlowSessionImageNV;
if (!strcmp(name, "CmdOpticalFlowExecuteNV")) return (void *)table->CmdOpticalFlowExecuteNV;

// ---- VK_AMD_anti_lag extension commands
if (!strcmp(name, "AntiLagUpdateAMD")) return (void *)table->AntiLagUpdateAMD;

// ---- VK_EXT_shader_object extension commands
if (!strcmp(name, "CreateShadersEXT")) return (void *)table->CreateShadersEXT;
if (!strcmp(name, "DestroyShaderEXT")) return (void *)table->DestroyShaderEXT;
Expand Down Expand Up @@ -9193,6 +9199,22 @@ VKAPI_ATTR void VKAPI_CALL CmdOpticalFlowExecuteNV(
}


// ---- VK_AMD_anti_lag extension trampoline/terminators

VKAPI_ATTR void VKAPI_CALL AntiLagUpdateAMD(
VkDevice device,
const VkAntiLagDataAMD* pData) {
const VkLayerDispatchTable *disp = loader_get_dispatch(device);
if (NULL == disp) {
loader_log(NULL, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,
"vkAntiLagUpdateAMD: Invalid device "
"[VUID-vkAntiLagUpdateAMD-device-parameter]");
abort(); /* Intentionally fail so user can correct issue. */
}
disp->AntiLagUpdateAMD(device, pData);
}


// ---- VK_EXT_shader_object extension trampoline/terminators

VKAPI_ATTR VkResult VKAPI_CALL CreateShadersEXT(
Expand Down Expand Up @@ -11640,6 +11662,12 @@ bool extension_instance_gpa(struct loader_instance *ptr_instance, const char *na
return true;
}

// ---- VK_AMD_anti_lag extension commands
if (!strcmp("vkAntiLagUpdateAMD", name)) {
*addr = (void *)AntiLagUpdateAMD;
return true;
}

// ---- VK_EXT_shader_object extension commands
if (!strcmp("vkCreateShadersEXT", name)) {
*addr = (void *)CreateShadersEXT;
Expand Down
4 changes: 2 additions & 2 deletions loader/loader.rc
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#include "winres.h"

// All set through CMake
#define VER_FILE_VERSION 1, 3, 290, 0
#define VER_FILE_DESCRIPTION_STR "1.3.290.Dev Build"
#define VER_FILE_VERSION 1, 3, 292, 0
#define VER_FILE_DESCRIPTION_STR "1.3.292.Dev Build"
#define VER_FILE_VERSION_STR "Vulkan Loader - Dev Build"
#define VER_COPYRIGHT_STR "Copyright (C) 2015-2024"

Expand Down
4 changes: 2 additions & 2 deletions scripts/known_good.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"sub_dir": "Vulkan-Headers",
"build_dir": "Vulkan-Headers/build",
"install_dir": "Vulkan-Headers/build/install",
"commit": "v1.3.290"
"commit": "v1.3.292"
},
{
"name": "googletest",
Expand Down Expand Up @@ -42,4 +42,4 @@
"googletest": "GOOGLETEST_INSTALL_DIR",
"detours": "DETOURS_INSTALL_DIR"
}
}
}

0 comments on commit faeb588

Please sign in to comment.