radv: enable NV_device_generated_commands on GFX6

Now that GFX6 supports IBs, DGC can also be enabled.
Pass all vkd3d-proton tests on Pitcairn.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23689>
This commit is contained in:
Samuel Pitoiset 2023-06-20 14:25:13 +02:00 committed by Marge Bot
parent a9c8366261
commit 836990b651

View file

@ -83,7 +83,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->rad_info.gfx_level >= GFX7 && !(device->instance->debug_flags & RADV_DEBUG_NO_IBS) &&
return !(device->instance->debug_flags & RADV_DEBUG_NO_IBS) &&
driQueryOptionb(&device->instance->dri_options, "radv_dgc");
}