commit:     980f48b46c8e57c8ddb21225c71f1d3be26ba98a
Author:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 18 18:51:16 2025 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Sat Jan 18 19:33:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980f48b4

dev-debug/gfxreconstruct: add 1.4.304.0

Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 dev-debug/gfxreconstruct/Manifest                  |  2 ++
 .../gfxreconstruct/files/1.4.304.0-fix-build.patch | 33 ++++++++++++++++++++++
 ...9999.ebuild => gfxreconstruct-1.4.304.0.ebuild} |  1 +
 .../gfxreconstruct/gfxreconstruct-9999.ebuild      |  1 +
 4 files changed, 37 insertions(+)

diff --git a/dev-debug/gfxreconstruct/Manifest 
b/dev-debug/gfxreconstruct/Manifest
index b6f8db9293ee..e4409f0a5268 100644
--- a/dev-debug/gfxreconstruct/Manifest
+++ b/dev-debug/gfxreconstruct/Manifest
@@ -1,2 +1,4 @@
 DIST SPIRV-Reflect-1.3.296.0.tar.gz 306294 BLAKE2B 
d87677fc67dc55cf10e55f4286300fea5664e870c4d3365246f407514ec682087399c9a06aaa81a88a2f57f6b198de7265ee17dd88215e16e71bb90d32468a4e
 SHA512 
770d46172fed140816dcecc3155bce62ce319f5cbe99bb58e81994e07aed14ebc8f65675c6e47dde2148e2706603ba470f364ab41bcbfbc05c69e25be7c5a898
+DIST SPIRV-Reflect-1.4.304.0.tar.gz 307488 BLAKE2B 
f2268287c6ca70dc8e51898b541bea51dad406715de0e3c8c9467c964f48085332d274ce3086824a6c13369f37c79467930d425ae958eecbaa1fb5cf1514243a
 SHA512 
19eade2f661e3bd58665167265dc79e3c94690910d28089ac1d1acfb1771e010a75a23b85555dd494020d0e9584d68f2a97f33ab2f8271f90ea2295bcc484150
 DIST gfxreconstruct-1.3.296.0.tar.gz 41585326 BLAKE2B 
0b89b4e3be47adbdda45a0e7f14a2176d1ba79980f0c0998c318d1f62c1d4792ddf0db64c125016d531163d8af08d470b9973fc7477ed2a3c05639fe1f1ead2c
 SHA512 
911d2914bbbed24451c1950ac49213cb056db663a6d00557135aec1301ee179ff9c7883b6074db8227cd59100949656e15e53f6b8513cb5d25af4a1fa2ea1f99
+DIST gfxreconstruct-1.4.304.0.tar.gz 40390002 BLAKE2B 
5e99d6685648617c8ef35a0f9199f5ef75aa8b670e0a4e2a75c8dae68620ab39ca7fcc9c3804b1f30f196d71b1b4aa061c9dc0532004dfec0598c25206868d41
 SHA512 
5a08e8565218119c980f6511dc9dc26660f5eb86307d47feeb220efb9ec817827b02d2da10da68b5beaf71f7ce2d56b381201d98be220229fa6a22a2b6560441

diff --git a/dev-debug/gfxreconstruct/files/1.4.304.0-fix-build.patch 
b/dev-debug/gfxreconstruct/files/1.4.304.0-fix-build.patch
new file mode 100644
index 000000000000..296609ec5982
--- /dev/null
+++ b/dev-debug/gfxreconstruct/files/1.4.304.0-fix-build.patch
@@ -0,0 +1,33 @@
+From 60d2ac8fe2a2cbabbb53bda679e3a5a0fa3363a3 Mon Sep 17 00:00:00 2001
+From: Nick Sarnie <[email protected]>
+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
+

diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild 
b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.304.0.ebuild
similarity index 97%
copy from dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
copy to dev-debug/gfxreconstruct/gfxreconstruct-1.4.304.0.ebuild
index 89faea5c0da3..50b18f8b85b7 100644
--- a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-1.4.304.0.ebuild
@@ -49,6 +49,7 @@ if [[ ${PV} != 9999* ]]; then
        "
        PATCHES=(
                "${FILESDIR}"/1.3.296.0-use-system-vulkan.patch
+               "${FILESDIR}"/1.4.304.0-fix-build.patch
        )
 fi
 

diff --git a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild 
b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
index 89faea5c0da3..50b18f8b85b7 100644
--- a/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
+++ b/dev-debug/gfxreconstruct/gfxreconstruct-9999.ebuild
@@ -49,6 +49,7 @@ if [[ ${PV} != 9999* ]]; then
        "
        PATCHES=(
                "${FILESDIR}"/1.3.296.0-use-system-vulkan.patch
+               "${FILESDIR}"/1.4.304.0-fix-build.patch
        )
 fi
 

Reply via email to