From 60d2ac8fe2a2cbabbb53bda679e3a5a0fa3363a3 Mon Sep 17 00:00:00 2001
From: Nick Sarnie <sarnex@gentoo.org>
Date: Sun, 19 Jan 2025 04:17:16 +0900
Subject: [PATCH] Fix build with spirv-headers-1.4.304

---
 framework/util/spirv_helper.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/framework/util/spirv_helper.h b/framework/util/spirv_helper.h
index 062fbbc5..e31ab7c4 100644
--- a/framework/util/spirv_helper.h
+++ b/framework/util/spirv_helper.h
@@ -1402,12 +1402,12 @@ const char* string_SpvOpcode(uint32_t opcode)
             return "OpFragmentFetchAMD";
         case spv::OpReadClockKHR:
             return "OpReadClockKHR";
-        case spv::OpFinalizeNodePayloadsAMDX:
-            return "OpFinalizeNodePayloadsAMDX";
+        case spv::OpEnqueueNodePayloadsAMDX:
+            return "OpEnqueueNodePayloadsAMDX";
         case spv::OpFinishWritingNodePayloadAMDX:
             return "OpFinishWritingNodePayloadAMDX";
-        case spv::OpInitializeNodePayloadsAMDX:
-            return "OpInitializeNodePayloadsAMDX";
+        case spv::OpAllocateNodePayloadsAMDX:
+            return "OpAllocateNodePayloadsAMDX";
         case spv::OpGroupNonUniformQuadAllKHR:
             return "OpGroupNonUniformQuadAllKHR";
         case spv::OpGroupNonUniformQuadAnyKHR:
-- 
2.45.2

