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>
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");
}