mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
renderer: turn assertion into error
This commit is contained in:
@ -205,7 +205,6 @@ test "shadertoy to msl" {
|
|||||||
var spvlist = std.ArrayList(u8).init(alloc);
|
var spvlist = std.ArrayList(u8).init(alloc);
|
||||||
defer spvlist.deinit();
|
defer spvlist.deinit();
|
||||||
try spirvFromGlsl(spvlist.writer(), null, src);
|
try spirvFromGlsl(spvlist.writer(), null, src);
|
||||||
while (@mod(spvlist.items.len, 4) != 0) try spvlist.append(0);
|
|
||||||
|
|
||||||
const msl = try mslFromSpv(alloc, spvlist.items);
|
const msl = try mslFromSpv(alloc, spvlist.items);
|
||||||
defer alloc.free(msl);
|
defer alloc.free(msl);
|
||||||
|
Reference in New Issue
Block a user