vulkan: rename VK_EXT_device_fault features

They conflict with VK_KHR_device_fault.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40721>
This commit is contained in:
Samuel Pitoiset 2026-03-18 15:09:51 +01:00 committed by Marge Bot
parent bf7e29617d
commit 21acbe414e
3 changed files with 7 additions and 4 deletions

View file

@ -576,7 +576,7 @@ radv_dump_shader(struct radv_device *device, struct radv_pipeline *pipeline, str
_mesa_blake3_compute(shader->dbg.spirv, shader->dbg.spirv_size, blake3);
_mesa_blake3_format(blake3buf, blake3);
if (device->vk.enabled_features.deviceFaultVendorBinary) {
if (device->vk.enabled_features.deviceFaultVendorBinaryEXT) {
spirv_print_asm(f, (const uint32_t *)shader->dbg.spirv, shader->dbg.spirv_size / 4);
} else {
fprintf(f, "SPIRV (see %s.spv)\n\n", blake3buf);
@ -979,7 +979,7 @@ radv_check_gpu_hangs(struct radv_queue *queue, const struct radv_winsys_submit_i
struct radv_device *device = radv_queue_device(queue);
const struct radv_physical_device *pdev = radv_device_physical(device);
const struct radv_instance *instance = radv_physical_device_instance(pdev);
const bool save_hang_report = !device->vk.enabled_features.deviceFaultVendorBinary;
const bool save_hang_report = !device->vk.enabled_features.deviceFaultVendorBinaryEXT;
struct radv_winsys_gpuvm_fault_info fault_info = {0};
/* Query if a VM fault happened for this GPU hang. */

View file

@ -1371,8 +1371,8 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc
.imageCompressionControl = pdev->info.gfx_level < GFX12,
/* VK_EXT_device_fault */
.deviceFault = true,
.deviceFaultVendorBinary = instance->debug_flags & RADV_DEBUG_HANG,
.deviceFaultEXT = true,
.deviceFaultVendorBinaryEXT = instance->debug_flags & RADV_DEBUG_HANG,
/* VK_KHR_depth_clamp_zero_one */
.depthClampZeroOne = true,

View file

@ -47,6 +47,9 @@ RENAMED_FEATURES = {
('DeviceGeneratedCommandsFeaturesNV', 'deviceGeneratedCommands'): 'deviceGeneratedCommandsNV',
("RayTracingInvocationReorderFeaturesNV", "rayTracingInvocationReorder"): "rayTracingInvocationReorderNV",
('FaultFeaturesEXT', 'deviceFault'): 'deviceFaultEXT',
('FaultFeaturesEXT', 'deviceFaultVendorBinary'): 'deviceFaultVendorBinaryEXT',
}
KNOWN_ALIASES = [