-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to zig 2024.10 and Add new build options and shader inclusion …
…overrides (#7) * Added shared library build option * build now supports SPIR-V codegen * Fixed occasional segfault when including files with spir-v targets. * Added file inclusion handlers. * Compile arguments have been condensed into struct * Moved spirv-tools to external dependency * update to Zig 2024.10 --------- Co-authored-by: Sinnwrig <[email protected]> Co-authored-by: sinnwrig <[email protected]> Co-authored-by: Kai Angulo <[email protected]> Co-authored-by: Ronald M Zielaznicki <[email protected]>
- Loading branch information
1 parent
f08356c
commit 92e9846
Showing
7 changed files
with
607 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
# -andrewrk | ||
|
||
.zig-cache/ | ||
zig-cache/ | ||
zig-out/ | ||
/release/ | ||
/debug/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include "mach_dxc.h" | ||
|
||
int main(void) | ||
{ | ||
MachDxcCompiler comp = machDxcInit(); | ||
machDxcDeinit(comp); | ||
} | ||
|