From 5b5b7d047f627b4b9d3b56c609ac0bef8d5aaa1a Mon Sep 17 00:00:00 2001 From: Robin Voetter Date: Sat, 20 Aug 2022 12:28:19 +0200 Subject: [PATCH] update generator out path in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e910094..ce748c6 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ vulkan-zig aims to be always compatible with the ever-changing Zig master branch ### CLI-interface A CLI-interface is provided to generate vk.zig from the [Vulkan XML registry](https://github.com/KhronosGroup/Vulkan-Docs/blob/main/xml), which is built by default when invoking `zig build` in the project root. To generate vk.zig, simply invoke the program as follows: ``` -$ zig-cache/bin/vulkan-zig-generator path/to/vk.xml output/path/to/vk.zig +$ zig-out/bin/vulkan-zig-generator path/to/vk.xml output/path/to/vk.zig ``` This reads the xml file, parses its contents, renders the Vulkan bindings, and formats file, before writing the result to the output path. While the intended usage of vulkan-zig is through direct generation from build.zig (see below), the CLI-interface can be used for one-off generation and vendoring the result.