From 3353c1ff3bac0111ed262779208b125961f81c74 Mon Sep 17 00:00:00 2001 From: nmzik Date: Fri, 2 Oct 2026 12:48:00 +0400 Subject: [PATCH] shader: pack the runtime evaluation index beside the IR opcode --- src/graphics/shader/recompiler/ir/Value.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/shader/recompiler/ir/Value.h b/src/graphics/shader/recompiler/ir/Value.h index edf7e9535..05d181e9a 100644 --- a/src/graphics/shader/recompiler/ir/Value.h +++ b/src/graphics/shader/recompiler/ir/Value.h @@ -157,12 +157,12 @@ private: void ClearArgs(); ValueOpcode opcode; + mutable uint32_t evaluation_index = UINT32_MAX; uint64_t flags; Block* parent = nullptr; std::vector args; std::vector phi_blocks; std::vector uses; - mutable uint32_t evaluation_index = UINT32_MAX; }; } // namespace Libs::Graphics::ShaderRecompiler::IR