Skip to content

Commit 73c5e04

Browse files
committed
build: Update to header 1.4.336
1 parent 2170c33 commit 73c5e04

File tree

6 files changed

+34
-4
lines changed

6 files changed

+34
-4
lines changed

CMakeLists.txt

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

2020
# The VERSION field is generated with the "--generated-version" flag in the generate_source.py script
21-
project(Vulkan-Tools VERSION 1.4.335)
21+
project(Vulkan-Tools VERSION 1.4.336)
2222

2323
# This variable enables downstream users to customize the target API
2424
# variant (e.g. Vulkan SC)

icd/VkICD_mock_icd.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"file_format_version": "1.0.1",
33
"ICD": {
44
"library_path": "@JSON_LIBRARY_PATH@",
5-
"api_version": "1.4.335"
5+
"api_version": "1.4.336"
66
}
77
}

icd/generated/function_declarations.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = {
541541
{"VK_QCOM_data_graph_model", VK_QCOM_DATA_GRAPH_MODEL_SPEC_VERSION},
542542
{"VK_SEC_pipeline_cache_incremental_mode", VK_SEC_PIPELINE_CACHE_INCREMENTAL_MODE_SPEC_VERSION},
543543
{"VK_EXT_shader_uniform_buffer_unsized_array", VK_EXT_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_SPEC_VERSION},
544+
{"VK_NV_compute_occupancy_priority", VK_NV_COMPUTE_OCCUPANCY_PRIORITY_SPEC_VERSION},
544545
{"VK_KHR_acceleration_structure", VK_KHR_ACCELERATION_STRUCTURE_SPEC_VERSION},
545546
{"VK_KHR_ray_tracing_pipeline", VK_KHR_RAY_TRACING_PIPELINE_SPEC_VERSION},
546547
{"VK_KHR_ray_query", VK_KHR_RAY_QUERY_SPEC_VERSION},
@@ -4591,6 +4592,10 @@ static VKAPI_ATTR void VKAPI_CALL CmdBeginCustomResolveEXT(
45914592
VkCommandBuffer commandBuffer,
45924593
const VkBeginCustomResolveInfoEXT* pBeginCustomResolveInfo);
45934594

4595+
static VKAPI_ATTR void VKAPI_CALL CmdSetComputeOccupancyPriorityNV(
4596+
VkCommandBuffer commandBuffer,
4597+
const VkComputeOccupancyPriorityParametersNV* pParameters);
4598+
45944599
static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR(
45954600
VkDevice device,
45964601
const VkAccelerationStructureCreateInfoKHR* pCreateInfo,
@@ -5637,6 +5642,7 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = {
56375642
{"vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM", (void*)EnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM},
56385643
{"vkCmdEndRendering2EXT", (void*)CmdEndRendering2EXT},
56395644
{"vkCmdBeginCustomResolveEXT", (void*)CmdBeginCustomResolveEXT},
5645+
{"vkCmdSetComputeOccupancyPriorityNV", (void*)CmdSetComputeOccupancyPriorityNV},
56405646
{"vkCreateAccelerationStructureKHR", (void*)CreateAccelerationStructureKHR},
56415647
{"vkDestroyAccelerationStructureKHR", (void*)DestroyAccelerationStructureKHR},
56425648
{"vkCmdBuildAccelerationStructuresKHR", (void*)CmdBuildAccelerationStructuresKHR},

icd/generated/function_definitions.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6817,6 +6817,12 @@ static VKAPI_ATTR void VKAPI_CALL CmdBeginCustomResolveEXT(
68176817
{
68186818
//Not a CREATE or DESTROY function
68196819
}
6820+
static VKAPI_ATTR void VKAPI_CALL CmdSetComputeOccupancyPriorityNV(
6821+
VkCommandBuffer commandBuffer,
6822+
const VkComputeOccupancyPriorityParametersNV* pParameters)
6823+
{
6824+
//Not a CREATE or DESTROY function
6825+
}
68206826
static VKAPI_ATTR VkResult VKAPI_CALL CreateAccelerationStructureKHR(
68216827
VkDevice device,
68226828
const VkAccelerationStructureCreateInfoKHR* pCreateInfo,

icd/generated/vk_typemap_helper.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10304,6 +10304,24 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNIFORM_
1030410304
typedef VkPhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT Type;
1030510305
};
1030610306

10307+
// Map type VkComputeOccupancyPriorityParametersNV to id VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV
10308+
template <> struct LvlTypeMap<VkComputeOccupancyPriorityParametersNV> {
10309+
static const VkStructureType kSType = VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV;
10310+
};
10311+
10312+
template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV> {
10313+
typedef VkComputeOccupancyPriorityParametersNV Type;
10314+
};
10315+
10316+
// Map type VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV
10317+
template <> struct LvlTypeMap<VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV> {
10318+
static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV;
10319+
};
10320+
10321+
template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV> {
10322+
typedef VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV Type;
10323+
};
10324+
1030710325
// Map type VkAccelerationStructureGeometryTrianglesDataKHR to id VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR
1030810326
template <> struct LvlTypeMap<VkAccelerationStructureGeometryTrianglesDataKHR> {
1030910327
static const VkStructureType kSType = VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_TRIANGLES_DATA_KHR;

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.335"
10+
"commit": "v1.4.336"
1111
},
1212
{
1313
"name": "MoltenVK",
@@ -56,7 +56,7 @@
5656
"cmake_options": [
5757
"-DLOADER_USE_UNSAFE_FILE_SEARCH=ON"
5858
],
59-
"commit": "v1.4.335",
59+
"commit": "v1.4.336",
6060
"build_platforms": [
6161
"windows",
6262
"linux",

0 commit comments

Comments
 (0)