mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
radv: advertise VK_KHR_device_fault
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41648>
This commit is contained in:
parent
7dcd2a4c87
commit
b0ee9510d7
3 changed files with 12 additions and 0 deletions
|
|
@ -546,6 +546,7 @@ Khronos extensions that are not part of any Vulkan version:
|
|||
VK_KHR_deferred_host_operations DONE (anv, hasvk, lvp, radv, tu, vn)
|
||||
VK_KHR_depth_clamp_zero_one DONE (anv, nvk, panvk, radv, tu, vn)
|
||||
VK_KHR_device_address_commands DONE (anv, lvp, radv)
|
||||
VK_KHR_device_fault DONE (radv)
|
||||
VK_KHR_display DONE (anv, hasvk, hk, kk, nvk, panvk, pvr, radv, tu, v3dv, vn)
|
||||
VK_KHR_display_swapchain not started
|
||||
VK_KHR_external_fence_fd DONE (anv, hasvk, hk, kk, lvp, nvk, panvk, pvr, radv, tu, v3dv, vn)
|
||||
|
|
|
|||
|
|
@ -22,3 +22,4 @@ VK_EXT_shader_atomic_float on nvk
|
|||
VK_{KHR,EXT}_index_type_uint8 on pvr
|
||||
VK_EXT_debug_marker in vulkan runtime
|
||||
VK_EXT_mesh_shader on NVK
|
||||
VK_KHR_device_fault on RADV
|
||||
|
|
|
|||
|
|
@ -685,6 +685,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
|||
.KHR_depth_stencil_resolve = true,
|
||||
.KHR_descriptor_update_template = true,
|
||||
.KHR_device_address_commands = true,
|
||||
.KHR_device_fault = true,
|
||||
.KHR_device_group = true,
|
||||
.KHR_draw_indirect_count = true,
|
||||
.KHR_driver_properties = true,
|
||||
|
|
@ -1616,6 +1617,12 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc
|
|||
.shaderFmaFloat16 = radv_shader_fp16_enabled(pdev),
|
||||
.shaderFmaFloat32 = true,
|
||||
.shaderFmaFloat64 = true,
|
||||
|
||||
/* VK_KHR_device_fault */
|
||||
.deviceFault = true,
|
||||
.deviceFaultVendorBinary = instance->debug_flags & RADV_DEBUG_HANG,
|
||||
.deviceFaultReportMasked = true,
|
||||
.deviceFaultDeviceLostOnMasked = false,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -2330,6 +2337,9 @@ radv_get_physical_device_properties(struct radv_physical_device *pdev)
|
|||
.samplerYcbcrConversionCount = 3,
|
||||
.sparseDescriptorHeaps = false,
|
||||
.protectedDescriptorHeaps = false,
|
||||
|
||||
/* VK_KHR_device_fault */
|
||||
.maxDeviceFaultCount = 1,
|
||||
};
|
||||
|
||||
struct vk_properties *p = &pdev->vk.properties;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue