Module: Mesa
Branch: main
Commit: 7b8c6cedcf8013af097ea6ecd0a5182c55901770
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b8c6cedcf8013af097ea6ecd0a5182c55901770

Author: Samuel Pitoiset <[email protected]>
Date:   Thu Jun 22 09:10:21 2023 +0200

radv: allow NV_device_generated_commands with RADV_DEBUG=noibs

Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23791>

---

 src/amd/vulkan/radv_physical_device.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_physical_device.c 
b/src/amd/vulkan/radv_physical_device.c
index f53d835b66d..384191dee2f 100644
--- a/src/amd/vulkan/radv_physical_device.c
+++ b/src/amd/vulkan/radv_physical_device.c
@@ -77,8 +77,7 @@ radv_vrs_attachment_enabled(const struct radv_physical_device 
*pdevice)
 static bool
 radv_NV_device_generated_commands_enabled(const struct radv_physical_device 
*device)
 {
-   return !(device->instance->debug_flags & RADV_DEBUG_NO_IBS) &&
-          driQueryOptionb(&device->instance->dri_options, "radv_dgc");
+   return driQueryOptionb(&device->instance->dri_options, "radv_dgc");
 }
 
 static bool

Reply via email to