Robin Voetter
075e29c8a1
Merge pull request #78 from antlilja/multi-for
...
Fixed code to conform to new multi-for syntax
2023-02-23 09:27:15 +01:00
antlilja
07b13e976f
Made vulkan-zig conform to new multi for syntax
2023-02-22 22:34:49 +01:00
Robin Voetter
e83a035210
Merge pull request #79 from antlilja/shader-path
...
Fixed bug in shader output path
2023-02-20 20:49:28 +01:00
antlilja
27c38931db
Fixed bug in shader output path
...
The build root and cache root paths were being concatanated which
resulted in the wrong path being calculated for the shaders.
2023-02-20 15:18:44 +01:00
Robin Voetter
c887a0fcc4
Merge pull request #77 from InKryption/master
...
build system updates
2023-02-19 00:24:07 +01:00
InKryption
ac035d5ebe
fix workflow
2023-02-18 02:29:25 +01:00
InKryption
9a4b43e15d
Update README
2023-02-18 02:26:23 +01:00
InKryption
886b75272f
improve option description
2023-02-18 02:00:12 +01:00
InKryption
71403a013b
remove configurable file name from GenerateStep & don't use path as part of cache hash
2023-02-18 01:59:40 +01:00
InKryption
c294b849d2
make build.zig friendly to the zig package manager
2023-02-16 03:09:56 +01:00
InKryption
ef75aa0fd6
Update to latest build system changes; use caching API in GenerateStep
2023-02-16 02:21:28 +01:00
Robin Voetter
09565850a9
Explicitly pass null to p_wait_dst_stage_mask in SubmitInfo
...
It seems that the optional-ness of this field was changed in a recent-ish
vk.xml update.
2023-02-11 13:06:42 +01:00
Robin Voetter
1070100e2e
CI: Update to ubuntu 22.04
2023-02-11 09:58:37 +01:00
Robin Voetter
3829d2eb99
CI: Always use latest Vulkan SDK
2023-02-11 09:58:06 +01:00
Robin Voetter
010160107e
CI: Bump setup-zig to 2.0.1
2023-02-11 09:54:53 +01:00
Robin Voetter
c203897352
Merge pull request #76 from Avokadoen/fix-build
...
update build to use new build API
2023-02-08 20:28:40 +01:00
avokadoen
b09e14a649
update build to use new build API
2023-02-08 20:23:21 +01:00
Robin Voetter
782d75ac4c
Merge pull request #73 from ashpil/more-defaults
...
More defaults for struct fields
2023-02-05 20:33:16 +01:00
ashpil
9d1ffe0fb3
no longer explicitly initialize fields which have defaults in example
2023-02-05 13:33:18 -05:00
ashpil
0873a35392
provide defaults for struct fields vulkan considers optional
2023-02-05 13:33:13 -05:00
Robin Voetter
ddc4ae1938
Merge pull request #74 from Cold-Bytes-Games/update-to-build-system-changes
...
Update to build system changes
2023-02-04 22:58:36 +01:00
mlarouche
e9e4e0d77f
Update to latest std lib changes regarding Zig parsing
2023-02-04 16:54:15 -05:00
mlarouche
dee86a06cb
Update build script to latest Build
2023-02-04 16:53:52 -05:00
Robin Voetter
2a631c4695
also generate command aliases ( fixes #71 )
2023-01-29 23:54:16 +01:00
Robin Voetter
16b4524166
Merge pull request #72 from ashpil/additional-watched-files
...
Allow specifying additional watches files for shader compilation caching
2023-01-22 11:23:22 +01:00
ashpil
737cc52908
allow specifying additional watches files for shader compilation caching
2023-01-21 19:21:32 -05:00
Robin Voetter
72959e3b11
Merge pull request #69 from ashpil/arbitrary-shader-compiler
...
Remove a couple glslc specific assumptions to allow an arbitrary shader compiler
2023-01-21 13:05:59 +01:00
ashpil
235edc8c67
remove a couple glslc specific assumptions
2023-01-20 22:52:41 -05:00
Robin Voetter
08dc9f508c
standardize names for step creation and obtaining packages
...
stdlib style is to use `create` for step creation and `getPackage`/`getSource`
to provide generated sources as package/file.
2022-12-30 00:43:29 +01:00
Robin Voetter
f7a4e4346e
Improve ShaderCreateStep to work around cache issues
2022-12-30 00:31:48 +01:00
Robin Voetter
d9377c4c70
use addShaderBase64 in build.zig for now
2022-12-23 00:10:44 +01:00
Robin Voetter
8c4cb60b3f
Merge pull request #66 from a-day-old-bagel/base64
...
Added option to add shaders as base64 instead of embedding file
2022-12-23 00:07:49 +01:00
Robin Voetter
6527b04aaa
Merge pull request #62 from clickingbuttons/master
...
Copy src path in ShaderCompileStep.add
2022-12-22 23:14:21 +01:00
Robin Voetter
ee22921bb6
Merge pull request #64 from Avokadoen/update-zig
...
rename StructField field_type to type
2022-12-22 23:13:35 +01:00
a-day-old-bagel
e798643829
Added option to add shaders as base64 instead of embedding file
2022-12-22 15:00:22 -07:00
Aksel Hjerpbakk
2ef2905c3d
rename StructField field_type to type
...
breaking zig commit: aac2d6b56f
2022-12-22 15:57:25 +01:00
Robin Voetter
a56d6e31a8
allocgate 2.0
2022-12-03 02:35:40 +01:00
thesmartwon
8db9029286
Copy src
2022-12-02 19:21:28 -05:00
Robin Voetter
be59386118
change pointer size fallback to many
2022-11-27 23:24:37 +01:00
Robin Voetter
3f89cdcb80
Merge pull request #60 from a-day-old-bagel/master
...
updated platform enumeration for 0.11.0
2022-11-27 23:19:44 +01:00
a-day-old-bagel
5a64a8e0af
updated platform enumeration for 0.11.0
2022-11-27 15:10:00 -07:00
Robin Voetter
d1ddf52e82
test that refs all decls
2022-10-07 01:37:38 +02:00
Robin Voetter
75aa7e5556
Explicitly default pNext fields again
...
This undoes #5 , as there are still some structs which do not properly
set this value.
2022-10-07 01:36:34 +02:00
Robin Voetter
cc95608912
add missing default foreign types, fix SECURITY_ATTRIBUTES foreign type
2022-10-07 01:36:21 +02:00
Robin Voetter
135fc51b3b
make basetypes with no clear type foreign
...
This allows the user to override them to the proper type
2022-10-07 01:35:26 +02:00
Robin Voetter
a21db9e2b5
dont write default structure type if there is none
2022-10-07 01:34:49 +02:00
Robin Voetter
08a72b582d
decay arrays to pointers in parameters ( fixes #54 )
2022-10-07 01:33:25 +02:00
Robin Voetter
db198fb4fa
bump vk.xml version
2022-10-07 00:21:15 +02:00
Robin Voetter
09d2de4fb6
Add special cases for bit packed structs
...
This commit adds special cases for AccelerationStructureInstanceKHR and
VkAccelerationStructureSRTMotionInstanceNV. These types use bit-packed
fields which are not representable in the current version of the zig
stage 2 compiler. This might change when
https://github.com/ziglang/zig/issues/13009 is resolved.
Fixes #56
2022-10-07 00:21:15 +02:00
Robin Voetter
80a201f89a
fix alignment for shader binary
2022-09-24 00:40:17 +02:00