From 731d53242f62e441abd33c0d0517a88449b064c6 Mon Sep 17 00:00:00 2001 From: lizzie Date: Mon, 18 May 2026 07:03:59 +0200 Subject: [PATCH] hotfix-performance: lizzie/togleless-approach-tomo32 (#3975) Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3975 --- src/common/settings.h | 2 -- src/shader_recompiler/ir_opt/texture_pass.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/settings.h b/src/common/settings.h index 8727e67ced..f38e95d5a4 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -598,8 +598,6 @@ struct Values { SwitchableSetting gpu_unswizzle_enabled{linkage, false, "gpu_unswizzle_enabled", Category::RendererHacks}; - SwitchableSetting legacy_descriptor_indices{linkage, true, "legacy_descriptor_indices", Category::RendererHacks}; - SwitchableSetting dyna_state{linkage, #if defined(ANDROID) ExtendedDynamicState::Disabled, diff --git a/src/shader_recompiler/ir_opt/texture_pass.cpp b/src/shader_recompiler/ir_opt/texture_pass.cpp index 5c528594c5..c500b53ff7 100644 --- a/src/shader_recompiler/ir_opt/texture_pass.cpp +++ b/src/shader_recompiler/ir_opt/texture_pass.cpp @@ -462,7 +462,7 @@ std::optional TryGetConstBuffer(const IR::Inst* inst, Environme .secondary_offset = 0, .secondary_shift_left = 0, .dynamic_offset = dynamic_offset, - .count = Settings::values.legacy_descriptor_indices.GetValue() ? 8 : DynamicDescriptorCount(base_offset, size_shift), + .count = DynamicDescriptorCount(base_offset, size_shift), .has_secondary = false, }; }