Robin Voetter
2b6d7691f1
Merge pull request #118 from Sirius902/zig-master
...
Compile on Zig master
2024-02-06 20:29:11 +01:00
Sirius902
be2ebfbff4
Compile on Zig master
2024-02-06 10:35:37 -08:00
Robin Voetter
62e981ad4e
Merge pull request #117 from Sirius902/minimize-fix
...
[Triangle Example] Fix crash when minimizing window
2024-01-24 09:31:20 +01:00
Sirius902
e3bc661349
Fix crash when minimizing window
...
Wait for the device to be idle before exiting
2024-01-23 23:34:36 -08:00
Robin Voetter
d5e577f3f0
Merge pull request #116 from antlilja/fix-casts
...
Fix old style casts in generated vk.zig
2024-01-18 16:32:07 +01:00
antlilja
e72a6bb2d0
Fix old casts (rename and remove type) in vk.zig
2024-01-18 16:21:32 +01:00
Robin Voetter
290aaca5b8
Merge pull request #113 from SammyJames/new_modules
...
fixing up vulkan-zig for new build sys
2024-01-05 10:22:22 +01:00
sammy j
57ad4d5e16
fixing up vulkan-zig for new build design
2024-01-02 18:28:11 -08:00
Robin Voetter
27d9b028eb
fix invalid use of var
2023-11-21 19:56:00 +01:00
Robin Voetter
6d46195c99
make pointers which do not have an 'optional' attribute optional
...
Closes #109
2023-10-21 11:02:48 +02:00
Robin Voetter
1e4e90ffb1
wrap readme
2023-09-25 21:51:52 +02:00
Robin Voetter
14259cc6f5
Merge pull request #108 from timoffex/fix-shader-comp-example
...
Update "Shader compilation" in README
2023-09-25 21:51:19 +02:00
Timofey Peshin
9fbfa26046
Update "Shader compilation" in README
2023-09-24 23:44:05 -07:00
Robin Voetter
348ac5d35a
Merge pull request #106 from nolanderc/format-flags
...
Format flags
2023-08-23 22:33:55 +02:00
Christofer Nolander
190a4a054d
add leading dot for bit flags format
2023-08-23 22:17:05 +02:00
Christofer Nolander
2287412536
use format mixin for bit-flags
2023-08-23 22:12:17 +02:00
Christofer Nolander
5b99c4992a
format bit flags as set
...
This changes to format output from:
MyFlagType{ .first_bit = true, second_bit = false, _reserved_bit_0 = false, _reserved_bit_1 = false }
to the following:
MyFlagType{ first_bit }
That is, we only show bits which are `true`.
2023-08-23 20:01:44 +02:00
Robin Voetter
ed9401c72e
Merge pull request #105 from tiawl/master
...
Add logs for std.zig.Ast.parse() failure
2023-08-09 22:20:58 +02:00
tiawl
4bc0666679
Add logs for std.zig.Ast.parse() failure
2023-08-09 21:23:07 +02:00
Robin Voetter
510c6b836b
remove is_pub usage from builtin.Type.Declararion
...
This field was removed, see
3c08fe931a
2023-08-04 23:29:41 +02:00
Robin Voetter
391998e535
Merge pull request #102 from CodesOtakuYT/patch-3
...
Provide more info about vk.xml path and fix generator path in README
2023-07-26 18:27:42 +02:00
Codotaku
a5aac7ad14
Provide more info about vk.xml path
2023-07-26 16:39:20 +01:00
Codotaku
e014248b3b
Provide more info about vk.xml path
2023-07-26 15:36:21 +01:00
Robin Voetter
4156f738f0
Merge pull request #101 from lefp/fix_optional_conflict
...
Fix `optional` detection conflict
2023-07-24 10:39:09 +02:00
Peter Lef
f172cbbd7d
Minor readability change
...
To be consistent with the naming style in the previous loop.
2023-07-24 00:18:56 -04:00
Peter Lef
69402977bc
Fix overwriting of pointer optionality
2023-07-24 00:18:16 -04:00
Robin Voetter
9743c9b1d3
Merge pull request #99 from lefp/optional-pointer-params
...
Nullable pointer parameters
2023-07-12 10:57:33 +02:00
Peter Lef
c7d3723710
Nullable pointer parameters
...
For procedure parameters which are of pointer type: if the associated
`count` parameter is marked `optional` in the XML, this commit makes the
parameter pointer type nullable.
2023-07-10 10:59:11 -04:00
Robin Voetter
086276bd05
Merge pull request #98 from antlilja/builtin-rework
...
Remove type param from cast builtins (Update to master)
2023-06-27 14:36:57 +02:00
antlilja
6c9133bc24
Remove type param from cast builtins
2023-06-27 13:09:34 +02:00
Robin Voetter
4f15927ba2
Merge pull request #97 from antlilja/master-update
...
Update intToFloat builtin to floatFromInt
2023-06-22 01:27:57 +02:00
antlilja
8a0be4f5de
Update intToFloat builtin to floatFromInt
2023-06-22 00:32:12 +02:00
Robin Voetter
ab10325893
Merge pull request #96 from ttyyls/master
...
fix-readme-links
2023-06-21 09:12:13 +02:00
ttyyls
a4eb8399e0
fix-readme-links
2023-06-21 00:53:05 +01:00
Robin Voetter
03da126bc0
Merge pull request #95 from davidgm94/fix-readme-compile-error
...
Fix README compile error.
2023-06-19 21:03:28 +02:00
Robin Voetter
308dd180f0
Merge pull request #94 from davidgm94/master-update
...
keep up with master breaking changes
2023-06-19 20:52:58 +02:00
David Gonzalez Martin
0f757bfa34
Fix README compile error.
...
The byte slice required to be constant and it was giving a compile
error.
2023-06-19 12:51:03 -06:00
David Gonzalez Martin
c75e71333d
keep up with master breaking changes
2023-06-19 12:32:52 -06:00
Robin Voetter
f6c751cdd3
Merge pull request #93 from Henrik-N/patch-1
...
Updated example "Manual generation with the package manager from buil…
2023-06-12 19:20:57 +02:00
Henrik Nilsson
3d98b8a273
Updated example "Manual generation with the package manager from build.zig"
2023-06-12 18:55:32 +02:00
Robin Voetter
ff48aa1581
Merge pull request #92 from CodesOtakuYT/master
...
use std.mem.sliceTo instead of indexOfScalar
2023-06-07 18:10:15 +02:00
CodesOtakuYT
de4ec3efa3
use std.mem.sliceTo instead of indexOfScalar
2023-06-07 17:08:27 +01:00
Robin Voetter
bbf9c886de
Merge pull request #90 from CodesOtakuYT/patch-2
...
load the instance proc addr from vkb instead of the loader
2023-06-04 13:34:41 +02:00
Codotaku
21383ef259
load the instance proc addr from vkb instead of the loader
...
Am honestly not sure if this is objectively better, but I can imagine that it's cleaner to rely on GLFW proc only to load the vkb. then rely on the vkb for everything else after that.
Feedback is appreciated!
2023-06-03 23:46:05 +01:00
Robin Voetter
a795a6d5cf
Merge pull request #89 from CodesOtakuYT/patch-1
...
Fix outdated README "generation from build.zig" instructions
2023-06-02 10:40:32 +02:00
Codotaku
97f5da4da6
Fix outdated README generation from build.zig instructions
2023-06-02 09:02:16 +01:00
Robin Voetter
7b0e3d5a9d
Merge pull request #88 from Avokadoen/bool-to-u32
...
explicitly cast boolToInt in Wrapper
2023-05-26 19:24:43 +02:00
avokadoen
3094dc5e27
explicitly cast boolToInt in Wrapper
...
This resolves compile error with master zig
2023-05-26 13:17:57 +02:00
Robin Voetter
9ab420e0d7
Merge pull request #87 from Avokadoen/store-hash
...
Expose shader hash
2023-05-23 23:33:34 +02:00
avokadoen
9bb8e7b1f7
expose shader hash in Shader struct
2023-05-23 21:16:22 +02:00