Skip to content

Commit 052ac24

Browse files
committed
build: Update to header 1.4.335
1 parent 5f6d4be commit 052ac24

File tree

7 files changed

+108
-5
lines changed

7 files changed

+108
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# ~~~
1919
cmake_minimum_required(VERSION 3.22.1)
2020

21-
project(VULKAN_LOADER VERSION 1.4.334 LANGUAGES C)
21+
project(VULKAN_LOADER VERSION 1.4.335 LANGUAGES C)
2222

2323
option(CODE_COVERAGE "Enable Code Coverage" OFF)
2424
if (CODE_COVERAGE)

loader/generated/vk_layer_dispatch_table.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -921,6 +921,12 @@ typedef struct VkLayerDispatchTable_ {
921921
PFN_vkGetQueueCheckpointDataNV GetQueueCheckpointDataNV;
922922
PFN_vkGetQueueCheckpointData2NV GetQueueCheckpointData2NV;
923923

924+
// ---- VK_EXT_present_timing extension commands
925+
PFN_vkSetSwapchainPresentTimingQueueSizeEXT SetSwapchainPresentTimingQueueSizeEXT;
926+
PFN_vkGetSwapchainTimingPropertiesEXT GetSwapchainTimingPropertiesEXT;
927+
PFN_vkGetSwapchainTimeDomainPropertiesEXT GetSwapchainTimeDomainPropertiesEXT;
928+
PFN_vkGetPastPresentationTimingEXT GetPastPresentationTimingEXT;
929+
924930
// ---- VK_INTEL_performance_query extension commands
925931
PFN_vkInitializePerformanceApiINTEL InitializePerformanceApiINTEL;
926932
PFN_vkUninitializePerformanceApiINTEL UninitializePerformanceApiINTEL;

loader/generated/vk_loader_extensions.c

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -959,6 +959,12 @@ VKAPI_ATTR void VKAPI_CALL loader_init_device_extension_dispatch_table(struct lo
959959
table->GetQueueCheckpointDataNV = (PFN_vkGetQueueCheckpointDataNV)gdpa(dev, "vkGetQueueCheckpointDataNV");
960960
table->GetQueueCheckpointData2NV = (PFN_vkGetQueueCheckpointData2NV)gdpa(dev, "vkGetQueueCheckpointData2NV");
961961

962+
// ---- VK_EXT_present_timing extension commands
963+
table->SetSwapchainPresentTimingQueueSizeEXT = (PFN_vkSetSwapchainPresentTimingQueueSizeEXT)gdpa(dev, "vkSetSwapchainPresentTimingQueueSizeEXT");
964+
table->GetSwapchainTimingPropertiesEXT = (PFN_vkGetSwapchainTimingPropertiesEXT)gdpa(dev, "vkGetSwapchainTimingPropertiesEXT");
965+
table->GetSwapchainTimeDomainPropertiesEXT = (PFN_vkGetSwapchainTimeDomainPropertiesEXT)gdpa(dev, "vkGetSwapchainTimeDomainPropertiesEXT");
966+
table->GetPastPresentationTimingEXT = (PFN_vkGetPastPresentationTimingEXT)gdpa(dev, "vkGetPastPresentationTimingEXT");
967+
962968
// ---- VK_INTEL_performance_query extension commands
963969
table->InitializePerformanceApiINTEL = (PFN_vkInitializePerformanceApiINTEL)gdpa(dev, "vkInitializePerformanceApiINTEL");
964970
table->UninitializePerformanceApiINTEL = (PFN_vkUninitializePerformanceApiINTEL)gdpa(dev, "vkUninitializePerformanceApiINTEL");
@@ -2957,6 +2963,12 @@ VKAPI_ATTR void* VKAPI_CALL loader_lookup_device_dispatch_table(const VkLayerDis
29572963
if (!strcmp(name, "GetQueueCheckpointDataNV")) return (void *)table->GetQueueCheckpointDataNV;
29582964
if (!strcmp(name, "GetQueueCheckpointData2NV")) return (void *)table->GetQueueCheckpointData2NV;
29592965

2966+
// ---- VK_EXT_present_timing extension commands
2967+
if (!strcmp(name, "SetSwapchainPresentTimingQueueSizeEXT")) return (void *)table->SetSwapchainPresentTimingQueueSizeEXT;
2968+
if (!strcmp(name, "GetSwapchainTimingPropertiesEXT")) return (void *)table->GetSwapchainTimingPropertiesEXT;
2969+
if (!strcmp(name, "GetSwapchainTimeDomainPropertiesEXT")) return (void *)table->GetSwapchainTimeDomainPropertiesEXT;
2970+
if (!strcmp(name, "GetPastPresentationTimingEXT")) return (void *)table->GetPastPresentationTimingEXT;
2971+
29602972
// ---- VK_INTEL_performance_query extension commands
29612973
if (!strcmp(name, "InitializePerformanceApiINTEL")) return (void *)table->InitializePerformanceApiINTEL;
29622974
if (!strcmp(name, "UninitializePerformanceApiINTEL")) return (void *)table->UninitializePerformanceApiINTEL;
@@ -7345,6 +7357,67 @@ VKAPI_ATTR void VKAPI_CALL GetQueueCheckpointData2NV(
73457357
}
73467358

73477359

7360+
// ---- VK_EXT_present_timing extension trampoline/terminators
7361+
7362+
VKAPI_ATTR VkResult VKAPI_CALL SetSwapchainPresentTimingQueueSizeEXT(
7363+
VkDevice device,
7364+
VkSwapchainKHR swapchain,
7365+
uint32_t size) {
7366+
const VkLayerDispatchTable *disp = loader_get_dispatch(device);
7367+
if (NULL == disp) {
7368+
loader_log(NULL, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,
7369+
"vkSetSwapchainPresentTimingQueueSizeEXT: Invalid device "
7370+
"[VUID-vkSetSwapchainPresentTimingQueueSizeEXT-device-parameter]");
7371+
abort(); /* Intentionally fail so user can correct issue. */
7372+
}
7373+
return disp->SetSwapchainPresentTimingQueueSizeEXT(device, swapchain, size);
7374+
}
7375+
7376+
VKAPI_ATTR VkResult VKAPI_CALL GetSwapchainTimingPropertiesEXT(
7377+
VkDevice device,
7378+
VkSwapchainKHR swapchain,
7379+
VkSwapchainTimingPropertiesEXT* pSwapchainTimingProperties,
7380+
uint64_t* pSwapchainTimingPropertiesCounter) {
7381+
const VkLayerDispatchTable *disp = loader_get_dispatch(device);
7382+
if (NULL == disp) {
7383+
loader_log(NULL, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,
7384+
"vkGetSwapchainTimingPropertiesEXT: Invalid device "
7385+
"[VUID-vkGetSwapchainTimingPropertiesEXT-device-parameter]");
7386+
abort(); /* Intentionally fail so user can correct issue. */
7387+
}
7388+
return disp->GetSwapchainTimingPropertiesEXT(device, swapchain, pSwapchainTimingProperties, pSwapchainTimingPropertiesCounter);
7389+
}
7390+
7391+
VKAPI_ATTR VkResult VKAPI_CALL GetSwapchainTimeDomainPropertiesEXT(
7392+
VkDevice device,
7393+
VkSwapchainKHR swapchain,
7394+
VkSwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties,
7395+
uint64_t* pTimeDomainsCounter) {
7396+
const VkLayerDispatchTable *disp = loader_get_dispatch(device);
7397+
if (NULL == disp) {
7398+
loader_log(NULL, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,
7399+
"vkGetSwapchainTimeDomainPropertiesEXT: Invalid device "
7400+
"[VUID-vkGetSwapchainTimeDomainPropertiesEXT-device-parameter]");
7401+
abort(); /* Intentionally fail so user can correct issue. */
7402+
}
7403+
return disp->GetSwapchainTimeDomainPropertiesEXT(device, swapchain, pSwapchainTimeDomainProperties, pTimeDomainsCounter);
7404+
}
7405+
7406+
VKAPI_ATTR VkResult VKAPI_CALL GetPastPresentationTimingEXT(
7407+
VkDevice device,
7408+
const VkPastPresentationTimingInfoEXT* pPastPresentationTimingInfo,
7409+
VkPastPresentationTimingPropertiesEXT* pPastPresentationTimingProperties) {
7410+
const VkLayerDispatchTable *disp = loader_get_dispatch(device);
7411+
if (NULL == disp) {
7412+
loader_log(NULL, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,
7413+
"vkGetPastPresentationTimingEXT: Invalid device "
7414+
"[VUID-vkGetPastPresentationTimingEXT-device-parameter]");
7415+
abort(); /* Intentionally fail so user can correct issue. */
7416+
}
7417+
return disp->GetPastPresentationTimingEXT(device, pPastPresentationTimingInfo, pPastPresentationTimingProperties);
7418+
}
7419+
7420+
73487421
// ---- VK_INTEL_performance_query extension trampoline/terminators
73497422

73507423
VKAPI_ATTR VkResult VKAPI_CALL InitializePerformanceApiINTEL(
@@ -12623,6 +12696,24 @@ bool extension_instance_gpa(struct loader_instance *ptr_instance, const char *na
1262312696
return true;
1262412697
}
1262512698

12699+
// ---- VK_EXT_present_timing extension commands
12700+
if (!strcmp("vkSetSwapchainPresentTimingQueueSizeEXT", name)) {
12701+
*addr = (void *)SetSwapchainPresentTimingQueueSizeEXT;
12702+
return true;
12703+
}
12704+
if (!strcmp("vkGetSwapchainTimingPropertiesEXT", name)) {
12705+
*addr = (void *)GetSwapchainTimingPropertiesEXT;
12706+
return true;
12707+
}
12708+
if (!strcmp("vkGetSwapchainTimeDomainPropertiesEXT", name)) {
12709+
*addr = (void *)GetSwapchainTimeDomainPropertiesEXT;
12710+
return true;
12711+
}
12712+
if (!strcmp("vkGetPastPresentationTimingEXT", name)) {
12713+
*addr = (void *)GetPastPresentationTimingEXT;
12714+
return true;
12715+
}
12716+
1262612717
// ---- VK_INTEL_performance_query extension commands
1262712718
if (!strcmp("vkInitializePerformanceApiINTEL", name)) {
1262812719
*addr = (void *)InitializePerformanceApiINTEL;

loader/loader.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#include "winres.h"
2323

2424
// All set through CMake
25-
#define VER_FILE_VERSION 1, 4, 334, 0
26-
#define VER_FILE_DESCRIPTION_STR "1.4.334.Dev Build"
25+
#define VER_FILE_VERSION 1, 4, 335, 0
26+
#define VER_FILE_DESCRIPTION_STR "1.4.335.Dev Build"
2727
#define VER_FILE_VERSION_STR "Vulkan Loader - Dev Build"
2828
#define VER_COPYRIGHT_STR "Copyright (C) 2015-2025"
2929

scripts/known_good.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"sub_dir": "Vulkan-Headers",
88
"build_dir": "Vulkan-Headers/build",
99
"install_dir": "Vulkan-Headers/build/install",
10-
"commit": "v1.4.334"
10+
"commit": "v1.4.335"
1111
},
1212
{
1313
"name": "googletest",
@@ -42,4 +42,4 @@
4242
"googletest": "GOOGLETEST_INSTALL_DIR",
4343
"detours": "DETOURS_INSTALL_DIR"
4444
}
45-
}
45+
}

tests/framework/generated/vk_result_to_string_helper.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ inline std::ostream& operator<<(std::ostream& os, const VkResult& result) {
107107
return os << "VK_ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR";
108108
case (VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT):
109109
return os << "VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT";
110+
case (VK_ERROR_PRESENT_TIMING_QUEUE_FULL_EXT):
111+
return os << "VK_ERROR_PRESENT_TIMING_QUEUE_FULL_EXT";
110112
case (VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT):
111113
return os << "VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT";
112114
case (VK_THREAD_IDLE_KHR):

tests/framework/layer/generated/vk_dispatch_table_helper.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,10 @@ static inline void layer_init_device_dispatch_table(VkDevice device, VkLayerDisp
480480
table->CmdSetCheckpointNV = (PFN_vkCmdSetCheckpointNV)gpa(device, "vkCmdSetCheckpointNV");
481481
table->GetQueueCheckpointDataNV = (PFN_vkGetQueueCheckpointDataNV)gpa(device, "vkGetQueueCheckpointDataNV");
482482
table->GetQueueCheckpointData2NV = (PFN_vkGetQueueCheckpointData2NV)gpa(device, "vkGetQueueCheckpointData2NV");
483+
table->SetSwapchainPresentTimingQueueSizeEXT = (PFN_vkSetSwapchainPresentTimingQueueSizeEXT)gpa(device, "vkSetSwapchainPresentTimingQueueSizeEXT");
484+
table->GetSwapchainTimingPropertiesEXT = (PFN_vkGetSwapchainTimingPropertiesEXT)gpa(device, "vkGetSwapchainTimingPropertiesEXT");
485+
table->GetSwapchainTimeDomainPropertiesEXT = (PFN_vkGetSwapchainTimeDomainPropertiesEXT)gpa(device, "vkGetSwapchainTimeDomainPropertiesEXT");
486+
table->GetPastPresentationTimingEXT = (PFN_vkGetPastPresentationTimingEXT)gpa(device, "vkGetPastPresentationTimingEXT");
483487
table->InitializePerformanceApiINTEL = (PFN_vkInitializePerformanceApiINTEL)gpa(device, "vkInitializePerformanceApiINTEL");
484488
table->UninitializePerformanceApiINTEL = (PFN_vkUninitializePerformanceApiINTEL)gpa(device, "vkUninitializePerformanceApiINTEL");
485489
table->CmdSetPerformanceMarkerINTEL = (PFN_vkCmdSetPerformanceMarkerINTEL)gpa(device, "vkCmdSetPerformanceMarkerINTEL");

0 commit comments

Comments
 (0)