Robin Voetter
59c5b88d17
Add mach-glfw and mach-glfw-vulkan-example readme links
2021-11-08 13:48:27 +01:00
Stephen Gutekanst
4588c0fcad
examples: do not call glfwSwapBuffers
...
I am porting this example to [mach-glfw](github.com/hexops/mach-glfw), and noticed that no GLFW error handling callback is registered because in my port there are a lot of GLFW errors :)
`glfwSwapBuffers` here is emitting `GLFW_NO_WINDOW_CONTEXT` errors constantly, because calling it without a valid OpenGL context is illegal. It's not needed for Vulkan.
2021-11-08 13:48:03 +01:00
Robin Voetter
f55409f98a
Make command enums lower camel case to reflect command function name style
2021-10-25 14:38:00 +02:00
Robin Voetter
cbf06a8d42
CI: Enable CI for zig-0.8.1-compat
2021-10-25 13:59:04 +02:00
Robin Voetter
c5bb254766
Make sure there are no errors after parsing generated Zig
2021-10-25 13:58:44 +02:00
Robin Voetter
5980bac303
CI: Bump vulkan sdk to 189
2021-10-25 13:55:18 +02:00
Robin Voetter
3bfacc7e16
Fix some allocation bugs, replace everything by arena ( #18 )
2021-10-25 13:54:48 +02:00
Marten Ringwelski
1e594c0f09
examples/swapchain: Fix typo
2021-10-25 13:54:31 +02:00
ashpil
397e663296
adds defaults for previously undetected feature struct
2021-10-25 13:54:12 +02:00
Robin Voetter
933010cfff
Update readme with new build.zig usage
2021-10-25 13:53:04 +02:00
ashpil
0eccd593ce
implements default for feature structs
2021-10-25 13:46:52 +02:00
Robin Voetter
6a2c379146
Update readme
2021-07-06 11:00:13 +02:00
Robin Voetter
4429151d9c
CI: Also test 0.8.0 branch
2021-07-06 10:46:44 +02:00
Robin Voetter
77651872ab
Render error set constant for wrappers
2021-07-06 10:37:39 +02:00
Robin Voetter
5a51d18bda
CI: Upload vk.zig as artifact
2021-07-06 10:37:39 +02:00
Robin Voetter
6feeeac109
Merge pull request #12 from ashpil/master
...
camel -> snake for command enums + fixes
2021-07-06 10:37:39 +02:00
ashpil
8f10cec149
camel -> snake for command enums + fixes
2021-07-06 10:37:39 +02:00
ashpil
0e65efd9d6
less verbose interface via @Type
2021-07-06 10:37:39 +02:00
Robin Voetter
b3c71d69ea
Fix a whole bunch of issues exposed by ziglang/zig#9191
...
This also includes a workaround for the fact that @"type" refers to the builtin
and not to a variable called "type". See ziglang/zig#2897 .
2021-07-06 10:37:39 +02:00
Robin Voetter
b63533d95b
Fix another vk.xml moment
2021-07-06 10:37:39 +02:00
Robin Voetter
419e541a16
zig fmt **.zig
2021-07-06 10:37:39 +02:00
Robin Voetter
4b4ef38c93
Fix incorrect alignment of Flags64 type packed structs
2021-06-08 00:28:03 +02:00
Robin Voetter
2af84b5212
CI: Bump Vulkan SDK version
2021-06-05 13:44:35 +02:00
Robin Voetter
beaa5bb0a5
Adapt to changed hashmap API
2021-06-05 13:42:30 +02:00
Robin Voetter
e0101accda
CallingConvention and Target live in std, not in builtin
2021-05-21 12:55:14 +02:00
Robin Voetter
1ebdd7f063
Adapt to Zig changes: Handle errors of testing functions
2021-05-11 14:23:29 +02:00
Robin Voetter
0c404b3c32
Update examples xml
2021-04-18 00:25:50 +02:00
Robin Voetter
5375c873d9
Vulkan 1.2.175 compatibility
2021-04-13 19:52:06 +02:00
Robin Voetter
711bc08211
Stop fixing up bitmasks.
...
This seems to not be required anymore.
2021-04-08 13:02:07 +02:00
Robin Voetter
80d338e984
Stop fixing up tags.
...
This seems to not be needed anymore.
2021-04-08 12:48:35 +02:00
Robin Voetter
fc7c823293
Stop filtering out promoted extensions ( Fixes #10 )
...
This seems to not be needed anymore.
2021-04-08 12:47:25 +02:00
Robin Voetter
4c96d30e11
Use branch for maintaining older versions instead of tag
2021-04-07 21:42:16 +02:00
Robin Voetter
1e7b5edb10
Allow F as floating-point suffix
2021-03-30 13:08:34 +02:00
Robin Voetter
938359c6c9
Fix parse error
2021-03-30 12:53:32 +02:00
Robin Voetter
bb21cf6892
Update to new zig render API
2021-02-26 12:42:40 +01:00
Robin Voetter
5c5134269b
CI: Split out build & fetch vk.xml steps
2021-02-16 15:28:58 +01:00
Robin Voetter
9f23e2e16d
Vulkan 1.2.170 compatibility
2021-02-16 15:26:22 +01:00
Robin Voetter
e7d6f9f012
Use linkLibC instead of linkSystemLibrary to link libc
2021-02-12 14:42:04 +01:00
Robin Voetter
4ccb530585
Clarify on compatible zig versions ( #8 )
2021-02-10 00:02:54 +01:00
Robin Voetter
d8b223bb3b
Remove some old code
2021-02-10 00:01:46 +01:00
Robin Voetter
a1f08ee687
Allow top level comments in xml parser
2021-02-01 02:24:57 +01:00
Robin Voetter
fe85c8975e
Small styling fix
2021-01-17 03:49:55 +01:00
Robin Voetter
1c8e6b5a4b
Make API-enums non-exhaustive
...
The Vulkan implementation is not required to
filter enums on values supported by the requested
API, and so may return values that the
implementation doesn't know about. By making
these enums non-exhaustive, the programmer is
forced to deal with these kinds of cases
appropriately.
2021-01-16 17:06:43 +01:00
Robin Voetter
4a3700dbdd
Generate fully qualified alias enum variants
2021-01-16 05:14:14 +01:00
Robin Voetter
caaf915671
Replace {z} format specifiers with std.zig.fmtId
2021-01-08 19:49:06 +01:00
Robin Voetter
19138aa7a3
Fix missing {s} in triangle.zig
2021-01-08 19:47:56 +01:00
Robin Voetter
55e8551cef
Adapt to new {s} syntax
2021-01-03 16:18:46 +01:00
Robin Voetter
48b2dee325
Fix #6
2021-01-01 20:04:47 +01:00
Robin Voetter
1299a828d5
CI: Bump Vulkan SDK version
2020-12-25 17:18:00 +01:00
Robin Voetter
93101d595f
Only use stdcall when on 32-bit windows ( https://github.com/ziglang/zig/issues/7337 )
2020-12-09 01:30:42 +01:00