diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2024-03-11 17:12:08 +0000 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-03-12 17:23:29 +0000 |
commit | cc7e3efc7cb419d448a2a6b32927f9c398d483ce (patch) | |
tree | 9aa1cf7e27288f0cc7eff1b77e9fc0f10e849c8d | |
parent | 3409c600991cb9202dffad759c49fccbb8ed4ab3 (diff) |
radv: don't advertise DGC with LLVM
The meta shaders for this feature don't compile with LLVM because of 5/8
component SSBO stores. I'm not sure this was ever expected to work.
This seemed to break vkd3d-proton.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28108>
-rw-r--r-- | src/amd/vulkan/radv_physical_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index 8bbf0d7e5d2..87803e647e4 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -682,8 +682,8 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .GOOGLE_user_type = true, .INTEL_shader_integer_functions2 = true, .NV_compute_shader_derivatives = true, - .NV_device_generated_commands = device->instance->drirc.enable_dgc, - .NV_device_generated_commands_compute = device->instance->drirc.enable_dgc, + .NV_device_generated_commands = !device->use_llvm && device->instance->drirc.enable_dgc, + .NV_device_generated_commands_compute = !device->use_llvm && device->instance->drirc.enable_dgc, /* Undocumented extension purely for vkd3d-proton. This check is to prevent anyone else from * using it. */ |