shithub: spirva

Download patch

ref: 0481916bfbc64666485d976d5b67e00dff5387ff
parent: cbbb6280961fd5a120d2a5a765bd483fbfc86af7
author: sirjofri <sirjofri@sirjofri.de>
date: Sat Feb 3 18:12:34 EST 2024

adds various ops

--- a/ops.c
+++ b/ops.c
@@ -4,6 +4,26 @@
 
 Ops ops[] = {
 	{ "OpNop", 0 },
+	{ "OpUndef", 1 },
+	{ "OpSizeOf", 321 },
+	{ "OpSource", 3 },
+	{ "OpSourceExtension", 4 },
+	{ "OpName", 5 },
+	{ "OpMemberName", 6 },
+	
+	{ "OpTypeVoid", 19 },
+	{ "OpTypeBool", 20 },
+	{ "OpTypeInt", 21 },
+	{ "OpTypeFloat", 22 },
+	{ "OpTypeVector", 23 },
+	{ "OpTypeMatrix", 24 },
+	{ "OpTypeArray", 28 },
+	{ "OpTypeRuntimeArray", 29 },
+	{ "OpTypeStruct", 30 },
+	{ "OpTypeOpaque", 31 },
+	{ "OpTypePointer", 32 },
+	{ "OpTypeFunction", 33 },
+	
 	{ nil, nil },
 };