radv: remove redundant radv_instance::drirc::rt_wave64

Use RADV_PERFTEST_RT_WAVE_64 instead.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33868>
This commit is contained in:
Samuel Pitoiset 2025-03-04 12:45:14 +01:00 committed by Marge Bot
parent 54a62c5c23
commit ab4d2d447a
3 changed files with 3 additions and 3 deletions

View file

@ -256,7 +256,8 @@ radv_init_dri_options(struct radv_instance *instance)
instance->drirc.flush_before_timestamp_write =
driQueryOptionb(&instance->drirc.options, "radv_flush_before_timestamp_write");
instance->drirc.force_rt_wave64 = driQueryOptionb(&instance->drirc.options, "radv_rt_wave64");
if (driQueryOptionb(&instance->drirc.options, "radv_rt_wave64"))
instance->perftest_flags |= RADV_PERFTEST_RT_WAVE_64;
instance->drirc.disable_dedicated_sparse_queue = driQueryOptionb(&instance->drirc.options, "radv_disable_dedicated_sparse_queue");

View file

@ -63,7 +63,6 @@ struct radv_instance {
bool tex_non_uniform;
bool ssbo_non_uniform;
bool flush_before_timestamp_write;
bool force_rt_wave64;
bool disable_dedicated_sparse_queue;
bool force_pstate_peak_gfx11_dgpu;
bool clear_lds;

View file

@ -2199,7 +2199,7 @@ radv_physical_device_try_create(struct radv_instance *instance, drmDevicePtr drm
if (instance->perftest_flags & RADV_PERFTEST_RT_WAVE_32 || pdev->info.gfx_level < GFX11)
pdev->rt_wave_size = 32;
if (instance->perftest_flags & RADV_PERFTEST_RT_WAVE_64 || instance->drirc.force_rt_wave64)
if (instance->perftest_flags & RADV_PERFTEST_RT_WAVE_64)
pdev->rt_wave_size = 64;
}