mirror of https://gitlab.freedesktop.org/mesa/mesa
radv: advertise NV_device_generated_commands_compute
This extension introduces a token for implementing DGC compute, it's only intended to be used by vkd3d-proton. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24275>
This commit is contained in:
parent
1a90b7a5da
commit
aef257fd15
|
@ -577,6 +577,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device
|
|||
.INTEL_shader_integer_functions2 = true,
|
||||
.NV_compute_shader_derivatives = true,
|
||||
.NV_device_generated_commands = radv_NV_device_generated_commands_enabled(device),
|
||||
.NV_device_generated_commands_compute = radv_NV_device_generated_commands_enabled(device),
|
||||
/* Undocumented extension purely for vkd3d-proton. This check is to prevent anyone else from
|
||||
* using it.
|
||||
*/
|
||||
|
@ -1032,6 +1033,11 @@ radv_physical_device_get_features(const struct radv_physical_device *pdevice, st
|
|||
|
||||
/* VK_KHR_maintenance5 */
|
||||
.maintenance5 = true,
|
||||
|
||||
/* VK_NV_device_generated_commands_compute */
|
||||
.deviceGeneratedCompute = true,
|
||||
.deviceGeneratedComputePipelines = false,
|
||||
.deviceGeneratedComputeCaptureReplay = false,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue