Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.22.1)

# The VERSION field is generated with the "--generated-version" flag in the generate_source.py script
project(Vulkan-Tools VERSION 1.4.358)
project(Vulkan-Tools VERSION 1.4.359)

# This variable enables downstream users to customize the target API
# variant (e.g. Vulkan SC)
Expand Down
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.4.358"
"api_version": "1.4.359"
}
}
6 changes: 6 additions & 0 deletions icd/generated/function_declarations.h
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ static const std::unordered_map<std::string, uint32_t> device_extension_map = {
{"VK_SEC_pipeline_cache_incremental_mode", VK_SEC_PIPELINE_CACHE_INCREMENTAL_MODE_SPEC_VERSION},
{"VK_EXT_shader_uniform_buffer_unsized_array", VK_EXT_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_SPEC_VERSION},
{"VK_NV_compute_occupancy_priority", VK_NV_COMPUTE_OCCUPANCY_PRIORITY_SPEC_VERSION},
{"VK_EXT_cooperative_matrix_maintenance1", VK_EXT_COOPERATIVE_MATRIX_MAINTENANCE_1_SPEC_VERSION},
{"VK_EXT_shader_subgroup_partitioned", VK_EXT_SHADER_SUBGROUP_PARTITIONED_SPEC_VERSION},
{"VK_EXT_shader_ocp_microscaling_types", VK_EXT_SHADER_OCP_MICROSCALING_TYPES_SPEC_VERSION},
{"VK_VALVE_shader_mixed_float_dot_product", VK_VALVE_SHADER_MIXED_FLOAT_DOT_PRODUCT_SPEC_VERSION},
Expand Down Expand Up @@ -3140,6 +3141,10 @@ static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceQueueFamilyDataGraphOptic

static VKAPI_ATTR void VKAPI_CALL CmdSetComputeOccupancyPriorityNV(VkCommandBuffer commandBuffer,
const VkComputeOccupancyPriorityParametersNV* pParameters);

static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceCooperativeMatrixProperties2EXT(
VkPhysicalDevice physicalDevice, const VkPhysicalDeviceCooperativeMatrixInfo2EXT* pCooperativeMatrixInfo,
uint32_t* pPropertyCount, VkCooperativeMatrixProperties2EXT* pProperties);
#ifdef VK_USE_PLATFORM_UBM_SEC

static VKAPI_ATTR VkResult VKAPI_CALL CreateUbmSurfaceSEC(VkInstance instance, const VkUbmSurfaceCreateInfoSEC* pCreateInfo,
Expand Down Expand Up @@ -4201,6 +4206,7 @@ static const std::unordered_map<std::string, void*> name_to_funcptr_map = {
{"vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM",
(void*)GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM},
{"vkCmdSetComputeOccupancyPriorityNV", (void*)CmdSetComputeOccupancyPriorityNV},
{"vkGetPhysicalDeviceCooperativeMatrixProperties2EXT", (void*)GetPhysicalDeviceCooperativeMatrixProperties2EXT},
#ifdef VK_USE_PLATFORM_UBM_SEC
{"vkCreateUbmSurfaceSEC", (void*)CreateUbmSurfaceSEC},
#endif
Expand Down
6 changes: 6 additions & 0 deletions icd/generated/function_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -4719,6 +4719,12 @@ static VKAPI_ATTR void VKAPI_CALL CmdSetComputeOccupancyPriorityNV(VkCommandBuff
const VkComputeOccupancyPriorityParametersNV* pParameters) {
// Not a CREATE or DESTROY function
}
static VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceCooperativeMatrixProperties2EXT(
VkPhysicalDevice physicalDevice, const VkPhysicalDeviceCooperativeMatrixInfo2EXT* pCooperativeMatrixInfo,
uint32_t* pPropertyCount, VkCooperativeMatrixProperties2EXT* pProperties) {
// Not a CREATE or DESTROY function
return VK_SUCCESS;
}
#ifdef VK_USE_PLATFORM_UBM_SEC
static VKAPI_ATTR VkResult VKAPI_CALL CreateUbmSurfaceSEC(VkInstance instance, const VkUbmSurfaceCreateInfoSEC* pCreateInfo,
const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) {
Expand Down
34 changes: 34 additions & 0 deletions icd/generated/vk_typemap_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -13847,6 +13847,40 @@ struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_
typedef VkPhysicalDeviceComputeOccupancyPriorityFeaturesNV Type;
};

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

template <>
struct LvlSTypeMap<VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_2_EXT> {
typedef VkCooperativeMatrixProperties2EXT Type;
};

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

template <>
struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_INFO_2_EXT> {
typedef VkPhysicalDeviceCooperativeMatrixInfo2EXT Type;
};

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

template <>
struct LvlSTypeMap<VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_MAINTENANCE_1_FEATURES_EXT> {
typedef VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT Type;
};

// Map type VkPhysicalDeviceShaderSubgroupPartitionedFeaturesEXT to id
// VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT
template <>
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.4.358"
"commit": "v1.4.359"
},
{
"name": "MoltenVK",
Expand Down Expand Up @@ -56,7 +56,7 @@
"cmake_options": [
"-DLOADER_USE_UNSAFE_FILE_SEARCH=ON"
],
"commit": "v1.4.358",
"commit": "v1.4.359",
"build_platforms": [
"windows",
"linux",
Expand Down
27 changes: 27 additions & 0 deletions vulkaninfo/generated/vulkaninfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1196,6 +1196,8 @@ std::string VkDriverIdString(VkDriverId value) {
return "DRIVER_ID_MESA_GFXSTREAM";
case (VK_DRIVER_ID_APE_SOFT):
return "DRIVER_ID_APE_SOFT";
case (VK_DRIVER_ID_RESERVED_31):
return "DRIVER_ID_RESERVED_31";
default:
return std::string("UNKNOWN_VkDriverId_value") + std::to_string(value);
}
Expand Down Expand Up @@ -4771,6 +4773,8 @@ void DumpVkPhysicalDeviceConservativeRasterizationPropertiesEXT(Printer &p, std:
const VkPhysicalDeviceConservativeRasterizationPropertiesEXT &obj);
void DumpVkPhysicalDeviceCooperativeMatrixFeaturesKHR(Printer &p, std::string name,
const VkPhysicalDeviceCooperativeMatrixFeaturesKHR &obj);
void DumpVkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT(
Printer &p, std::string name, const VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT &obj);
void DumpVkPhysicalDeviceCooperativeMatrixPropertiesKHR(Printer &p, std::string name,
const VkPhysicalDeviceCooperativeMatrixPropertiesKHR &obj);
void DumpVkPhysicalDeviceCopyMemoryIndirectFeaturesKHR(Printer &p, std::string name,
Expand Down Expand Up @@ -5588,6 +5592,16 @@ void DumpVkPhysicalDeviceCooperativeMatrixFeaturesKHR(Printer &p, std::string na
p.PrintKeyBool("cooperativeMatrix", static_cast<bool>(obj.cooperativeMatrix));
p.PrintKeyBool("cooperativeMatrixRobustBufferAccess", static_cast<bool>(obj.cooperativeMatrixRobustBufferAccess));
}
void DumpVkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT(
Printer &p, std::string name, const VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT &obj) {
ObjectWrapper object{p, name};
p.SetMinKeyWidth(37);
p.PrintKeyBool("cooperativeMatrixProperties2", static_cast<bool>(obj.cooperativeMatrixProperties2));
p.PrintKeyBool("cooperativeMatrixReductions", static_cast<bool>(obj.cooperativeMatrixReductions));
p.PrintKeyBool("cooperativeMatrixConversions", static_cast<bool>(obj.cooperativeMatrixConversions));
p.PrintKeyBool("cooperativeMatrixPerElementOperations", static_cast<bool>(obj.cooperativeMatrixPerElementOperations));
p.PrintKeyBool("cooperativeMatrixGetCoordinate", static_cast<bool>(obj.cooperativeMatrixGetCoordinate));
}
void DumpVkPhysicalDeviceCooperativeMatrixPropertiesKHR(Printer &p, std::string name,
const VkPhysicalDeviceCooperativeMatrixPropertiesKHR &obj) {
ObjectWrapper object{p, name};
Expand Down Expand Up @@ -9701,6 +9715,7 @@ struct phys_device_features2_chain {
VkPhysicalDeviceComputeShaderDerivativesFeaturesKHR PhysicalDeviceComputeShaderDerivativesFeaturesKHR{};
VkPhysicalDeviceConditionalRenderingFeaturesEXT PhysicalDeviceConditionalRenderingFeaturesEXT{};
VkPhysicalDeviceCooperativeMatrixFeaturesKHR PhysicalDeviceCooperativeMatrixFeaturesKHR{};
VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT{};
VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR PhysicalDeviceCopyMemoryIndirectFeaturesKHR{};
VkPhysicalDeviceCustomBorderColorFeaturesEXT PhysicalDeviceCustomBorderColorFeaturesEXT{};
VkPhysicalDeviceCustomResolveFeaturesEXT PhysicalDeviceCustomResolveFeaturesEXT{};
Expand Down Expand Up @@ -9894,6 +9909,8 @@ struct phys_device_features2_chain {
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_KHR;
PhysicalDeviceConditionalRenderingFeaturesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT;
PhysicalDeviceCooperativeMatrixFeaturesKHR.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_KHR;
PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.sType =
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_MAINTENANCE_1_FEATURES_EXT;
PhysicalDeviceCopyMemoryIndirectFeaturesKHR.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_KHR;
PhysicalDeviceCustomBorderColorFeaturesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_BORDER_COLOR_FEATURES_EXT;
PhysicalDeviceCustomResolveFeaturesEXT.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUSTOM_RESOLVE_FEATURES_EXT;
Expand Down Expand Up @@ -10158,6 +10175,9 @@ struct phys_device_features2_chain {
chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceConditionalRenderingFeaturesEXT));
if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_COOPERATIVE_MATRIX_EXTENSION_NAME))
chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceCooperativeMatrixFeaturesKHR));
if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_COOPERATIVE_MATRIX_MAINTENANCE_1_EXTENSION_NAME))
chain_members.push_back(
reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT));
if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_KHR_COPY_MEMORY_INDIRECT_EXTENSION_NAME))
chain_members.push_back(reinterpret_cast<VkBaseOutStructure *>(&PhysicalDeviceCopyMemoryIndirectFeaturesKHR));
if (gpu.CheckPhysicalDeviceExtensionIncluded(VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME))
Expand Down Expand Up @@ -10724,6 +10744,13 @@ void chain_iterator_phys_device_features2(Printer &p, AppGpu &gpu, bool show_pro
DumpVkPhysicalDeviceCooperativeMatrixFeaturesKHR(p, name, *props);
p.AddNewline();
}
if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_MAINTENANCE_1_FEATURES_EXT) {
const VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT *props =
(const VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT *)structure;
const char *name = "VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT";
DumpVkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT(p, name, *props);
p.AddNewline();
}
if (structure->sType == VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COPY_MEMORY_INDIRECT_FEATURES_KHR) {
const VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR *props =
(const VkPhysicalDeviceCopyMemoryIndirectFeaturesKHR *)structure;
Expand Down
Loading