renderer: turn assertion into error

This commit is contained in:
Mitchell Hashimoto
2023-11-16 13:44:58 -08:00
parent dba78b20ca
commit 9fbee7e6d1

View File

@ -205,7 +205,6 @@ test "shadertoy to msl" {
var spvlist = std.ArrayList(u8).init(alloc);
defer spvlist.deinit();
try spirvFromGlsl(spvlist.writer(), null, src);
while (@mod(spvlist.items.len, 4) != 0) try spvlist.append(0);
const msl = try mslFromSpv(alloc, spvlist.items);
defer alloc.free(msl);