radv/rt: Enable RT pipelines on GFX10_3+ excluding vangogh

Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23677>
This commit is contained in:
Konstantin Seurer 2023-06-15 17:17:35 +02:00 committed by Marge Bot
parent 49b400423c
commit 7f3874981d

View file

@ -42,6 +42,12 @@ radv_enable_rt(const struct radv_physical_device *pdevice, bool rt_pipelines)
if (pdevice->use_llvm)
return false;
/* TODO: Enable ray tracing pipelines by default, once
* https://gitlab.freedesktop.org/mesa/mesa/-/issues/9208 is resolved.
*/
if (pdevice->rad_info.family != CHIP_VANGOGH)
return true;
return (pdevice->instance->perftest_flags & RADV_PERFTEST_RT) ||
driQueryOptionb(&pdevice->instance->dri_options, "radv_rt");
}