aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/spirv/0008-Reserve-ImageOperand-17-for-Google-589.patch
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-07-15 14:35:10 +0900
committerOphestra <cat@gensokyo.uk>2026-07-15 14:35:10 +0900
commit8366cdd22448548116b4cc2f719fee73f8c30e91 (patch)
treef60c5ab9ba35116cadbcd8af2ff1b25e45b2155f /internal/rosa/package/spirv/0008-Reserve-ImageOperand-17-for-Google-589.patch
parent05f9939077ce5144a648ef537bbe79f294e2307c (diff)
internal/rosa/package/spirv: spirv-tools 2026.1 to 2026.2
Upstream does not appear to understand the point of tags, so include relevant unreleased changes here. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/spirv/0008-Reserve-ImageOperand-17-for-Google-589.patch')
-rw-r--r--internal/rosa/package/spirv/0008-Reserve-ImageOperand-17-for-Google-589.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/internal/rosa/package/spirv/0008-Reserve-ImageOperand-17-for-Google-589.patch b/internal/rosa/package/spirv/0008-Reserve-ImageOperand-17-for-Google-589.patch
new file mode 100644
index 00000000..657d3ddf
--- /dev/null
+++ b/internal/rosa/package/spirv/0008-Reserve-ImageOperand-17-for-Google-589.patch
@@ -0,0 +1,26 @@
+From 58006c901d1d5c37dece6b6610e9af87fa951375 Mon Sep 17 00:00:00 2001
+From: Shahbaz Youssefi <syoussefi@chromium.org>
+Date: Thu, 7 May 2026 21:05:26 -0400
+Subject: [PATCH 08/26] Reserve ImageOperand 17 for Google (#589)
+
+---
+ include/spirv/spir-v.xml | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/include/spirv/spir-v.xml b/include/spirv/spir-v.xml
+index 3b3cfb3..69a2c2a 100644
+--- a/include/spirv/spir-v.xml
++++ b/include/spirv/spir-v.xml
+@@ -290,7 +290,8 @@
+ <!-- Reserved image operand bits -->
+ <ids type="ImageOperand" start="0" end="15" vendor="Khronos" comment="Reserved ImageOperand bits, not available to vendors - see the SPIR-V Specification"/>
+ <ids type="ImageOperand" start="16" end="16" vendor="Nvidia" comment="Contact pmistry@nvidia.com"/>
+- <ids type="ImageOperand" start="17" end="30" comment="Unreserved bits reservable for use by vendors"/>
++ <ids type="ImageOperand" start="17" end="17" vendor="Google" comment="Contact syoussefi@google.com"/>
++ <ids type="ImageOperand" start="18" end="30" comment="Unreserved bits reservable for use by vendors"/>
+ <ids type="ImageOperand" start="31" end="31" vendor="Khronos" comment="Reserved ImageOperand bit, not available to vendors"/>
+
+ </registry>
+--
+2.54.0
+