mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
49b400423c
commit
7f3874981d
1 changed files with 6 additions and 0 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue