fixing FFI, removing division by zero error, fixing fmod/rem
Build / build (push) Successful in 1m24s
Test / build (push) Successful in 9m59s

This commit is contained in:
2026-06-30 01:50:21 +02:00
parent e49383f07e
commit b79282878e
7 changed files with 188 additions and 62 deletions
+13 -14
View File
@@ -8,20 +8,19 @@ pub const Result = enum(c_int) {
Success = 0,
Barrier = 1,
Killed = 2,
DivisionByZero = -1,
InvalidEntryPoint = -2,
InvalidSpirV = -3,
InvalidValueType = -4,
NotFound = -5,
OutOfMemory = -6,
OutOfBounds = -7,
ToDo = -8,
Unreachable = -9,
UnsupportedSpirV = -10,
UnsupportedExtension = -11,
UnsupportedEndianness = -12,
InvalidMagic = -13,
Unknown = -14,
InvalidEntryPoint = -1,
InvalidSpirV = -2,
InvalidValueType = -3,
NotFound = -4,
OutOfMemory = -5,
OutOfBounds = -6,
ToDo = -7,
Unreachable = -8,
UnsupportedSpirV = -9,
UnsupportedExtension = -10,
UnsupportedEndianness = -11,
InvalidMagic = -12,
Unknown = -13,
};
comptime {