mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +00:00
SPIR-V: Adapt spec generator to new render api
This commit is contained in:
parent
d45e7dfc24
commit
6d1a4c8b1e
@ -114,7 +114,8 @@ pub fn main() !void {
|
||||
try render(buf.writer(), registry);
|
||||
|
||||
const tree = try std.zig.parse(allocator, buf.items);
|
||||
_ = try std.zig.render(allocator, std.io.getStdOut().writer(), tree);
|
||||
const formatted = try tree.render(allocator);
|
||||
try std.io.getStdOut().writeAll(formatted);
|
||||
}
|
||||
|
||||
fn render(writer: Writer, registry: Registry) !void {
|
||||
|
Loading…
Reference in New Issue
Block a user