Commit Graph

421 Commits

Author SHA1 Message Date
bluesillybeard
9c45afca2e Add extension function metadata for #112 2024-04-10 17:06:43 -06:00
Robin Voetter
e60869528c Merge pull request #126 from igaryhe/fix-fieldparentptr
Fix broken @fieldParentPtr
2024-04-01 17:03:38 +02:00
dan
e840119290 Fix broken @fieldParentPtr 2024-03-31 19:42:56 +08:00
Robin Voetter
ac4103a733 Merge pull request #123 from igaryhe/fix-container-layout
make ContainerLayout field lowercase
2024-03-14 06:07:27 +01:00
dan
b7ef4e7a76 make ContainerLayout field lowercase
sync changes with zig master branch
099f3c4039d5702b073639ef8b55881973b71c80.
2024-03-13 23:29:53 +08:00
Robin Voetter
7f161ce0ed Merge pull request #121 from Mikastiv/master
remove no longer used error from set
2024-02-27 08:48:29 +01:00
Mikastiv
d1e6ebf931 remove no longer used error from set 2024-02-27 00:43:06 -05:00
Robin Voetter
b1f3820d08 Merge pull request #119 from Mikastiv/master
Fix compile error for the generator
2024-02-18 01:30:33 +01:00
Mikastiv
85532cf243 fix compile error 2024-02-17 15:20:57 -05:00
Robin Voetter
d0897a14da fix parsing issues with vk 1.3.278
This change introduced len/optional attributes for
arrays. Previously, we assumed that these would only
occur on pointers, but now, this information is also
available for arrays.

This adapts the registery and parsing code to also
parse these properly. No modifications are made to the
rendering part as of yet, since these partially filled
arrays cannot be cleanly represented in Zig.
2024-02-17 16:13:37 +01:00
Robin Voetter
cebfcc6045 improve error handling of generator tool
This now also prints more detailed error messages,
similar to the build step.
2024-02-17 15:33:22 +01:00
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