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 8a144db commit 372f21e
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 4 deletions.
2 changes: 1 addition & 1 deletion icd/VkICD_mock_icd.json.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"file_format_version": "1.0.1",
"ICD": {
"library_path": "@JSON_LIBRARY_PATH@",
"api_version": "1.3.290"
"api_version": "1.3.292"
}
}
7 changes: 7 additions & 0 deletions icd/generated/function_declarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = {
{"VK_EXT_pipeline_protected_access", 1},
{"VK_ANDROID_external_format_resolve", 1},
{"VK_KHR_maintenance5", 1},
{"VK_AMD_anti_lag", 1},
{"VK_KHR_ray_tracing_position_fetch", 1},
{"VK_EXT_shader_object", 1},
{"VK_QCOM_tile_properties", 1},
Expand Down Expand Up @@ -4266,6 +4267,11 @@ static VKAPI_ATTR void VKAPI_CALL CmdOpticalFlowExecuteNV(
#endif /* VK_USE_PLATFORM_ANDROID_KHR */


static VKAPI_ATTR void VKAPI_CALL AntiLagUpdateAMD(
VkDevice device,
const VkAntiLagDataAMD* pData);


static VKAPI_ATTR VkResult VKAPI_CALL CreateShadersEXT(
VkDevice device,
uint32_t createInfoCount,
Expand Down Expand Up @@ -5276,6 +5282,7 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = {
{"vkDestroyOpticalFlowSessionNV", (void*)DestroyOpticalFlowSessionNV},
{"vkBindOpticalFlowSessionImageNV", (void*)BindOpticalFlowSessionImageNV},
{"vkCmdOpticalFlowExecuteNV", (void*)CmdOpticalFlowExecuteNV},
{"vkAntiLagUpdateAMD", (void*)AntiLagUpdateAMD},
{"vkCreateShadersEXT", (void*)CreateShadersEXT},
{"vkDestroyShaderEXT", (void*)DestroyShaderEXT},
{"vkGetShaderBinaryDataEXT", (void*)GetShaderBinaryDataEXT},
Expand Down
8 changes: 8 additions & 0 deletions icd/generated/function_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -7457,6 +7457,14 @@ static VKAPI_ATTR void VKAPI_CALL CmdOpticalFlowExecuteNV(
#endif /* VK_USE_PLATFORM_ANDROID_KHR */


static VKAPI_ATTR void VKAPI_CALL AntiLagUpdateAMD(
VkDevice device,
const VkAntiLagDataAMD* pData)
{
//Not a CREATE or DESTROY function
}


static VKAPI_ATTR VkResult VKAPI_CALL CreateShadersEXT(
VkDevice device,
uint32_t createInfoCount,
Expand Down
27 changes: 27 additions & 0 deletions icd/generated/vk_typemap_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -7631,6 +7631,33 @@ template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_
};

#endif // VK_USE_PLATFORM_ANDROID_KHR
// Map type VkPhysicalDeviceAntiLagFeaturesAMD to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD
template <> struct LvlTypeMap<VkPhysicalDeviceAntiLagFeaturesAMD> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD;
};

template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ANTI_LAG_FEATURES_AMD> {
typedef VkPhysicalDeviceAntiLagFeaturesAMD Type;
};

// Map type VkAntiLagPresentationInfoAMD to id VK_STRUCTURE_TYPE_ANTI_LAG_PRESENTATION_INFO_AMD
template <> struct LvlTypeMap<VkAntiLagPresentationInfoAMD> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_ANTI_LAG_PRESENTATION_INFO_AMD;
};

template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_ANTI_LAG_PRESENTATION_INFO_AMD> {
typedef VkAntiLagPresentationInfoAMD Type;
};

// Map type VkAntiLagDataAMD to id VK_STRUCTURE_TYPE_ANTI_LAG_DATA_AMD
template <> struct LvlTypeMap<VkAntiLagDataAMD> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_ANTI_LAG_DATA_AMD;
};

template <> struct LvlSTypeMap<VK_STRUCTURE_TYPE_ANTI_LAG_DATA_AMD> {
typedef VkAntiLagDataAMD Type;
};

// Map type VkPhysicalDeviceShaderObjectFeaturesEXT to id VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT
template <> struct LvlTypeMap<VkPhysicalDeviceShaderObjectFeaturesEXT> {
static const VkStructureType kSType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_OBJECT_FEATURES_EXT;
Expand Down
6 changes: 3 additions & 3 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": "MoltenVK",
Expand Down Expand Up @@ -74,7 +74,7 @@
"cmake_options": [
"-DLOADER_USE_UNSAFE_FILE_SEARCH=ON"
],
"commit": "v1.3.290",
"commit": "v1.3.292",
"build_platforms": [
"windows",
"linux",
Expand All @@ -95,4 +95,4 @@
"googletest": "GOOGLETEST_INSTALL_DIR",
"Vulkan-Loader": "VULKAN_LOADER_INSTALL_DIR"
}
}
}

0 comments on commit 372f21e

Please sign in to comment.