upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tools/spirv_interface.py
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 23:12:28 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 23:12:28 -0500
commitdc4cecb0fe308d71f097119e997945483590c021 (patch)
tree92d49c6ce3f8ca3ee5d2dd4e927a1660ad9c5762 /tools/spirv_interface.py
parent9581acf05791255e271ba16b0980664f84d74302 (diff)
parentfc393b98ea1c1bafd704af54a1f0a8095a3915ab (diff)
Merge pull request #4220 from leather147
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/spirv_interface.py')
-rw-r--r--tools/spirv_interface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/spirv_interface.py b/tools/spirv_interface.py
index 6bc5b6336..1077674bb 100644
--- a/tools/spirv_interface.py
+++ b/tools/spirv_interface.py
@@ -355,7 +355,7 @@ class Module:
355 f"varying array length %{identifier} is not a literal OpConstant or OpSpecConstant" 355 f"varying array length %{identifier} is not a literal OpConstant or OpSpecConstant"
356 ) from None 356 ) from None
357 opcode, args = self.type_declaration(type_id) 357 opcode, args = self.type_declaration(type_id)
358 if opcode != OP_TYPE_INT or args[0] not in (16, 32, 64) or args[1] not in (0, 1): 358 if opcode != OP_TYPE_INT or args[0] not in (8, 16, 32, 64) or args[1] not in (0, 1):
359 raise InterfaceError("varying array length must be an integer") 359 raise InterfaceError("varying array length must be an integer")
360 width, signed = args 360 width, signed = args
361 if len(literal) != (width + 31) // 32: 361 if len(literal) != (width + 31) // 32: