Triforce v0.3.6

This commit is contained in:
ruckus7382sfgsgdf
2026-11-14 00:33:23 -06:00
parent 2f1e350320
commit a02bcb21a9
106 changed files with 7683 additions and 1422 deletions

View File

@@ -9,6 +9,7 @@
#include <bit>
#include <span>
#include <cassert>
#include <stdexcept>
#include <concepts>
#include <cstddef>
#include <cstdlib>
@@ -158,7 +159,9 @@ public:
Stream& operator<<(Id value) {
if (value.value == 0) {
std::abort();
// (super build) thrown, not std::abort(): a program whose SPIR-V would name an undefined value is not
// translated (the caller's catch says so), rather than ending the process with nothing in the log
throw std::runtime_error("sirit: an operand with no SPIR-V definition (null Id)");
}
return *this << value.value;
}