radv: Add a driconf to advertise rt pipelines
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20464>
This commit is contained in:

committed by
Marge Bot

parent
9e56f69edf
commit
ea38efb17e
@@ -35,7 +35,8 @@ radv_enable_rt(const struct radv_physical_device *pdevice, bool rt_pipelines)
|
||||
return false;
|
||||
|
||||
if (rt_pipelines)
|
||||
return pdevice->instance->perftest_flags & RADV_PERFTEST_RT;
|
||||
return (pdevice->instance->perftest_flags & RADV_PERFTEST_RT) ||
|
||||
driQueryOptionb(&pdevice->instance->dri_options, "radv_rt");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user