zig-vulkan-triangle icon indicating copy to clipboard operation
zig-vulkan-triangle copied to clipboard

simple triangle displayed using vulkan, glfw, and zig

Results 6 zig-vulkan-triangle issues
Sort by recently updated
recently updated
newest added

(My first PR ever) I updated this project to work with the latest version of Zig (0.8.0) The way a HashMap is constructed has changed. I updated it. The hash...

There were a few comments on the zig-vulkan-triangle project asking about getting it working on macOS. This PR addresses that although I'm not sure if it's in an acceptable way...

Build failed using zig master on Windows. ``` D:\workspace\zigdev\zig-vulkan-triangle>zig build run Unable to spawn glslc: InvalidName error: InvalidName D:\workspace\zigdev\zig\build-release\lib\zig\std\os\windows.zig:440:37: 0x7ff6c402ca89 in std.os.windows.CreateDirectoryW (build.obj) ERROR.ALREADY_EXISTS => return error.PathAlreadyExists, ^ D:\workspace\zigdev\zig\build-release\lib\zig\std\os.zig:1075:9: 0x7ff6c402c9fc...

Two approaches: - [rs-gfx portability](https://github.com/gfx-rs/portability) >Despite the fact it's written in Rust, the produced binary is a standard dynamic library that can be linked to from any program (written in...

``` C:\Users\Kevin\src\zig-vulkan-triangle>zig build run reached unreachable code C:\Users\Kevin\AppData\Local\Programs\zig-master\lib\zig\std\debug\index.zig:114:9: 0x7ff611941029 in assert (build.obj) if (!ok) { ^ C:\Users\Kevin\AppData\Local\Programs\zig-master\lib\zig\std\os\windows\util.zig:42:31: 0x7ff611958822 in windowsClose (build.obj) assert(windows.CloseHandle(handle) != 0); ^ C:\Users\Kevin\AppData\Local\Programs\zig-master\lib\zig\std\os\index.zig:221:35: 0x7ff6119484d7 in close (build.obj)...

(base) PS E:\Zig\Projects\zig-vulkan-triangle-master> zig build run E:\Zig\Projects\zig-vulkan-triangle-master\build.zig:6:19: error: no field or member function named 'standardReleaseOptions' in 'Build' const mode = b.standardReleaseOptions(); ~^~~~~~~~~~~~~~~~~~~~~~~ C:\Zig\Zig-Compiler\lib\std\Build.zig:1:1: note: struct declared here const std =...