aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Schuchardt <mikes@lunarg.com>2025-02-21 10:16:47 -0800
committerMike Schuchardt <mikes@lunarg.com>2025-02-21 11:53:11 -0800
commit176fef0bccaba8bdf51de54ab4eed8d5d9aaac77 (patch)
tree4e5b07a544e4e2c2cc8d80cf9dac103a8829751c
parentdbe142e8f3a7f11478c2e4741c0d4c4b748fce4b (diff)
downloadusermoji-176fef0bccaba8bdf51de54ab4eed8d5d9aaac77.tar.xz
build: Update to header 1.4.309
-rw-r--r--icd/VkICD_mock_icd.json.in2
-rw-r--r--icd/generated/function_declarations.h18
-rw-r--r--icd/generated/function_definitions.h5
-rw-r--r--icd/generated/vk_typemap_helper.h32
-rw-r--r--scripts/common_codegen.py9
-rw-r--r--scripts/known_good.json4
6 files changed, 64 insertions, 6 deletions
diff --git a/icd/VkICD_mock_icd.json.in b/icd/VkICD_mock_icd.json.in
index 490db3b8..aaf252c8 100644
--- a/icd/VkICD_mock_icd.json.in
+++ b/icd/VkICD_mock_icd.json.in
@@ -2,6 +2,6 @@
"file_format_version": "1.0.1",
"ICD": {
"library_path": "@JSON_LIBRARY_PATH@",
- "api_version": "1.4.307"
+ "api_version": "1.4.309"
}
} \ No newline at end of file
diff --git a/icd/generated/function_declarations.h b/icd/generated/function_declarations.h
index 02dfc0aa..d5d6534e 100644
--- a/icd/generated/function_declarations.h
+++ b/icd/generated/function_declarations.h
@@ -430,6 +430,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = {
{"VK_EXT_external_memory_metal", 1},
{"VK_KHR_depth_clamp_zero_one", 1},
{"VK_EXT_vertex_attribute_robustness", 1},
+ {"VK_NV_present_metering", 1},
};
@@ -3756,6 +3757,7 @@ static VKAPI_ATTR void VKAPI_CALL GetPrivateDataEXT(
+#ifdef VK_ENABLE_BETA_EXTENSIONS
static VKAPI_ATTR VkResult VKAPI_CALL CreateCudaModuleNV(
VkDevice device,
@@ -3788,6 +3790,7 @@ static VKAPI_ATTR void VKAPI_CALL DestroyCudaFunctionNV(
static VKAPI_ATTR void VKAPI_CALL CmdCudaLaunchKernelNV(
VkCommandBuffer commandBuffer,
const VkCudaLaunchInfoNV* pLaunchInfo);
+#endif /* VK_ENABLE_BETA_EXTENSIONS */
#ifdef VK_USE_PLATFORM_METAL_EXT
@@ -4646,6 +4649,9 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetMemoryMetalHandlePropertiesEXT(
#endif /* VK_USE_PLATFORM_METAL_EXT */
+#ifdef VK_ENABLE_BETA_EXTENSIONS
+#endif /* VK_ENABLE_BETA_EXTENSIONS */
+
static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR(
VkDevice device,
@@ -5439,12 +5445,24 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = {
{"vkDestroyPrivateDataSlotEXT", (void*)DestroyPrivateDataSlotEXT},
{"vkSetPrivateDataEXT", (void*)SetPrivateDataEXT},
{"vkGetPrivateDataEXT", (void*)GetPrivateDataEXT},
+#ifdef VK_ENABLE_BETA_EXTENSIONS
{"vkCreateCudaModuleNV", (void*)CreateCudaModuleNV},
+#endif
+#ifdef VK_ENABLE_BETA_EXTENSIONS
{"vkGetCudaModuleCacheNV", (void*)GetCudaModuleCacheNV},
+#endif
+#ifdef VK_ENABLE_BETA_EXTENSIONS
{"vkCreateCudaFunctionNV", (void*)CreateCudaFunctionNV},
+#endif
+#ifdef VK_ENABLE_BETA_EXTENSIONS
{"vkDestroyCudaModuleNV", (void*)DestroyCudaModuleNV},
+#endif
+#ifdef VK_ENABLE_BETA_EXTENSIONS
{"vkDestroyCudaFunctionNV", (void*)DestroyCudaFunctionNV},
+#endif
+#ifdef VK_ENABLE_BETA_EXTENSIONS
{"vkCmdCudaLaunchKernelNV", (void*)CmdCudaLaunchKernelNV},
+#endif
#ifdef VK_USE_PLATFORM_METAL_EXT
{"vkExportMetalObjectsEXT", (void*)ExportMetalObjectsEXT},
#endif
diff --git a/icd/generated/function_definitions.h b/icd/generated/function_definitions.h
index bbcdde11..846159b7 100644
--- a/icd/generated/function_definitions.h
+++ b/icd/generated/function_definitions.h
@@ -6981,6 +6981,7 @@ static VKAPI_ATTR void VKAPI_CALL GetPrivateDataEXT(
+#ifdef VK_ENABLE_BETA_EXTENSIONS
static VKAPI_ATTR VkResult VKAPI_CALL CreateCudaModuleNV(
VkDevice device,
@@ -7036,6 +7037,7 @@ static VKAPI_ATTR void VKAPI_CALL CmdCudaLaunchKernelNV(
{
//Not a CREATE or DESTROY function
}
+#endif /* VK_ENABLE_BETA_EXTENSIONS */
#ifdef VK_USE_PLATFORM_METAL_EXT
@@ -8379,6 +8381,9 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetMemoryMetalHandlePropertiesEXT(
#endif /* VK_USE_PLATFORM_METAL_EXT */
+#ifdef VK_ENABLE_BETA_EXTENSIONS
+#endif /* VK_ENABLE_BETA_EXTENSIONS */
+
static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR(
VkDevice device,
diff --git a/icd/generated/vk_typemap_helper.h b/icd/generated/vk_typemap_helper.h
index c4360aae..a4a6dc68 100644
--- a/icd/generated/vk_typemap_helper.h
+++ b/icd/generated/vk_typemap_helper.h
@@ -6292,6 +6292,7 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREAT
typedef VkDeviceDiagnosticsConfigCreateInfoNV Type;
};
+#ifdef VK_ENABLE_BETA_EXTENSIONS
// Map type VkCudaModuleCreateInfoNV to id VK_STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV
template <> struct LvlTypeMap<VkCudaModuleCreateInfoNV> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV;
@@ -6301,6 +6302,8 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_CUDA_MODULE_CREATE_INFO_NV> {
typedef VkCudaModuleCreateInfoNV Type;
};
+#endif // VK_ENABLE_BETA_EXTENSIONS
+#ifdef VK_ENABLE_BETA_EXTENSIONS
// Map type VkCudaFunctionCreateInfoNV to id VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV
template <> struct LvlTypeMap<VkCudaFunctionCreateInfoNV> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV;
@@ -6310,6 +6313,8 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_CUDA_FUNCTION_CREATE_INFO_NV> {
typedef VkCudaFunctionCreateInfoNV Type;
};
+#endif // VK_ENABLE_BETA_EXTENSIONS
+#ifdef VK_ENABLE_BETA_EXTENSIONS
// Map type VkCudaLaunchInfoNV to id VK_STRUCTURE_TYPE_CUDA_LAUNCH_INFO_NV
template <> struct LvlTypeMap<VkCudaLaunchInfoNV> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_CUDA_LAUNCH_INFO_NV;
@@ -6319,6 +6324,8 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_CUDA_LAUNCH_INFO_NV> {
typedef VkCudaLaunchInfoNV Type;
};
+#endif // VK_ENABLE_BETA_EXTENSIONS
+#ifdef VK_ENABLE_BETA_EXTENSIONS
// Map type VkPhysicalDeviceCudaKernelLaunchFeaturesNV to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV
template <> struct LvlTypeMap<VkPhysicalDeviceCudaKernelLaunchFeaturesNV> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_FEATURES_NV;
@@ -6328,6 +6335,8 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAU
typedef VkPhysicalDeviceCudaKernelLaunchFeaturesNV Type;
};
+#endif // VK_ENABLE_BETA_EXTENSIONS
+#ifdef VK_ENABLE_BETA_EXTENSIONS
// Map type VkPhysicalDeviceCudaKernelLaunchPropertiesNV to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV
template <> struct LvlTypeMap<VkPhysicalDeviceCudaKernelLaunchPropertiesNV> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAUNCH_PROPERTIES_NV;
@@ -6337,6 +6346,7 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUDA_KERNEL_LAU
typedef VkPhysicalDeviceCudaKernelLaunchPropertiesNV Type;
};
+#endif // VK_ENABLE_BETA_EXTENSIONS
// Map type VkQueryLowLatencySupportNV to id VK_STRUCTURE_TYPE_QUERY_LOW_LATENCY_SUPPORT_NV
template <> struct LvlTypeMap<VkQueryLowLatencySupportNV> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_QUERY_LOW_LATENCY_SUPPORT_NV;
@@ -9006,6 +9016,28 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUT
typedef VkPhysicalDeviceVertexAttributeRobustnessFeaturesEXT Type;
};
+#ifdef VK_ENABLE_BETA_EXTENSIONS
+// Map type VkSetPresentConfigNV to id VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV
+template <> struct LvlTypeMap<VkSetPresentConfigNV> {
+ static const VkStructureType kSType = VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV;
+};
+
+template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV> {
+ typedef VkSetPresentConfigNV Type;
+};
+
+#endif // VK_ENABLE_BETA_EXTENSIONS
+#ifdef VK_ENABLE_BETA_EXTENSIONS
+// Map type VkPhysicalDevicePresentMeteringFeaturesNV to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV
+template <> struct LvlTypeMap<VkPhysicalDevicePresentMeteringFeaturesNV> {
+ static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV;
+};
+
+template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_METERING_FEATURES_NV> {
+ typedef VkPhysicalDevicePresentMeteringFeaturesNV Type;
+};
+
+#endif // VK_ENABLE_BETA_EXTENSIONS
// Map type VkAccelerationStructureGeometryTrianglesDataKHR to id VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR
template <> struct LvlTypeMap<VkAccelerationStructureGeometryTrianglesDataKHR> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR;
diff --git a/scripts/common_codegen.py b/scripts/common_codegen.py
index 9539db25..7fe51da2 100644
--- a/scripts/common_codegen.py
+++ b/scripts/common_codegen.py
@@ -68,10 +68,13 @@ platform_dict = {
def GetFeatureProtect(interface):
"""Get platform protection string"""
platform = interface.get('platform')
- protect = None
if platform is not None:
- protect = platform_dict[platform]
- return protect
+ return platform_dict[platform]
+
+ provisional = interface.get('provisional')
+ if provisional == 'true':
+ return platform_dict['provisional']
+
# helper to define paths relative to the repo root
def repo_relative(path):
diff --git a/scripts/known_good.json b/scripts/known_good.json
index e59c83ca..4921a928 100644
--- a/scripts/known_good.json
+++ b/scripts/known_good.json
@@ -7,7 +7,7 @@
"sub_dir": "Vulkan-Headers",
"build_dir": "Vulkan-Headers/build",
"install_dir": "Vulkan-Headers/build/install",
- "commit": "v1.4.307"
+ "commit": "v1.4.309"
},
{
"name": "MoltenVK",
@@ -74,7 +74,7 @@
"cmake_options": [
"-DLOADER_USE_UNSAFE_FILE_SEARCH=ON"
],
- "commit": "v1.4.307",
+ "commit": "v1.4.309",
"build_platforms": [
"windows",
"linux",