From 7f3874981dd11821a4001671b5ee505868f9aa7d Mon Sep 17 00:00:00 2001 From: Konstantin Seurer Date: Thu, 15 Jun 2023 17:17:35 +0200 Subject: [PATCH] radv/rt: Enable RT pipelines on GFX10_3+ excluding vangogh Reviewed-by: Friedrich Vock Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_rt_common.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/amd/vulkan/radv_rt_common.c b/src/amd/vulkan/radv_rt_common.c index 415f86a..1bab37f 100644 --- a/src/amd/vulkan/radv_rt_common.c +++ b/src/amd/vulkan/radv_rt_common.c @@ -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"); } -- 2.7.4