mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 23:30:10 +01:00
nvk: Only advertise compute_shader_derivatives when NAK is used
Fixes: e0e7d8d910 ("nvk: Advertise VK_NV/KHR_compute_shader_derivatives")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31125>
This commit is contained in:
parent
6f82b1ea18
commit
7ebb2d1dc8
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
|
|||
.KHR_bind_memory2 = true,
|
||||
.KHR_buffer_device_address = true,
|
||||
.KHR_calibrated_timestamps = true,
|
||||
.KHR_compute_shader_derivatives = true,
|
||||
.KHR_compute_shader_derivatives = nvk_use_nak(info),
|
||||
.KHR_copy_commands2 = true,
|
||||
.KHR_create_renderpass2 = true,
|
||||
.KHR_dedicated_allocation = true,
|
||||
|
|
@ -254,7 +254,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance,
|
|||
.GOOGLE_decorate_string = true,
|
||||
.GOOGLE_hlsl_functionality1 = true,
|
||||
.GOOGLE_user_type = true,
|
||||
.NV_compute_shader_derivatives = true,
|
||||
.NV_compute_shader_derivatives = nvk_use_nak(info),
|
||||
.NV_shader_sm_builtins = true,
|
||||
.VALVE_mutable_descriptor_type = true,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue