Robin Voetter
d1e949a434
Don't remove pointers on in_pointer parameters.
...
Previously pointers were removed here to facilitate using anonymous struct
literals. Now that Zig supports &.{, these are no longer required, and they
can be pointers again.
Note that there are still some problems in the Zig stage1 compiler, see
https://github.com/ziglang/zig/issues/7627 for example.
2021-12-09 00:28:17 +01:00
Robin Voetter
797ae8af88
Adapt to latest Zig master
...
See ziglang/zig/pull/10055
2021-12-09 00:28:17 +01:00
maxxnino
a3f4e6a400
use present_queue for present_queue
2021-11-21 23:41:46 +09:00
InKryption
087cd02413
Update graphics_context.zig
2021-11-05 18:06:20 +00:00
Robin Voetter
90d81c1a04
Make command enums lower camel case to reflect command function name style
2021-10-25 14:34:26 +02:00
ashpil
722ddfdb6b
camel -> snake for command enums + fixes
2021-06-26 23:43:59 -04:00
ashpil
e36930ad5d
less verbose interface via @Type
2021-06-25 09:28:52 -04:00
Robin Voetter
79d901a3e0
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-06-24 02:11:36 +02:00
Robin Voetter
511211f038
zig fmt **.zig
...
This also replaces @byteOffsetOf with @offsetOf.
2021-06-13 15:15:42 +02:00
Robin Voetter
5375c873d9
Vulkan 1.2.175 compatibility
2021-04-13 19:52:06 +02:00
Robin Voetter
646d74ab6a
Make graphics_context.zig naming consistent
2020-11-26 15:25:54 +01:00
Robin Voetter
9b3eff5a72
Rendering from a buffer
2020-07-05 16:27:52 +02:00
Robin Voetter
8c9bb747c3
Use dynamic state for viewports to avoid pipeline recreation
2020-07-04 17:30:22 +02:00
Robin Voetter
40b74caee5
Triangle rendering
2020-07-04 17:18:28 +02:00
Robin Voetter
fab23126e9
Framebuffer creation
2020-07-04 16:58:10 +02:00
Robin Voetter
e217cbab77
Pipeline(Layout) & render pass creation
2020-07-04 16:46:38 +02:00
Robin Voetter
c519450c57
Only recreate command buffers after swapchain invalidate
2020-07-03 02:29:11 +02:00
Robin Voetter
37b002001a
Basic rendering
2020-07-02 22:25:09 +02:00
Robin Voetter
34253e231b
Swapchain
2020-07-02 17:09:34 +02:00
Robin Voetter
1ebed09413
Graphics context for example
2020-07-02 04:01:59 +02:00