radv: promote VK_NV_compute_shader_derivatives -> VK_KHR_compute_shader_derivatives

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30972>
This commit is contained in:
Daniel Schürmann
2024-06-11 17:18:52 +02:00
committed by Marge Bot
parent b6faf586e6
commit a9d64fa1bd
3 changed files with 7 additions and 2 deletions

View File

@@ -506,7 +506,7 @@ Khronos extensions that are not part of any Vulkan version:
VK_KHR_acceleration_structure DONE (anv/gfx12.5+, lvp, radv/gfx10.3+)
VK_KHR_android_surface not started
VK_KHR_calibrated_timestamps DONE (anv, nvk, radv)
VK_KHR_compute_shader_derivatives DONE (anv, nvk)
VK_KHR_compute_shader_derivatives DONE (anv, nvk, radv)
VK_KHR_cooperative_matrix DONE (anv, radv/gfx11+)
VK_KHR_deferred_host_operations DONE (anv, hasvk, lvp, radv)
VK_KHR_display DONE (anv, nvk, pvr, radv, tu, v3dv)

View File

@@ -12,3 +12,4 @@ VK_KHR_pipeline_binary on RADV
VK_KHR_compute_shader_derivatives on anv
VK_NV_compute_shader_derivatives on nvk
VK_KHR_compute_shader_derivatives on nvk
VK_KHR_compute_shader_derivatives on radv

View File

@@ -484,6 +484,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
.KHR_16bit_storage = true,
.KHR_acceleration_structure = radv_enable_rt(pdev, false),
.KHR_calibrated_timestamps = radv_calibrated_timestamps_enabled(pdev),
.KHR_compute_shader_derivatives = true,
.KHR_cooperative_matrix = pdev->info.gfx_level >= GFX11 && !pdev->use_llvm,
.KHR_bind_memory2 = true,
.KHR_buffer_device_address = true,
@@ -885,7 +886,7 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc
/* VK_EXT_depth_clip_enable */
.depthClipEnable = true,
/* VK_NV_compute_shader_derivatives */
/* VK_KHR_compute_shader_derivatives */
.computeDerivativeGroupQuads = false,
.computeDerivativeGroupLinear = true,
@@ -1961,6 +1962,9 @@ radv_get_physical_device_properties(struct radv_physical_device *pdev)
p->pipelineBinaryPrefersInternalCache = false;
p->pipelineBinaryPrecompiledInternalCache = false;
p->pipelineBinaryCompressedData = false;
/* VK_KHR_compute_shader_derivatives */
p->meshAndTaskShaderDerivatives = radv_taskmesh_enabled(pdev);
}
static VkResult