mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 20:40:09 +01:00
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:
parent
54a62c5c23
commit
ab4d2d447a
3 changed files with 3 additions and 3 deletions
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue