Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new build options and shader file inclusion overrides. #3

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b5e33ef
Update build.zig
sinnwrig Apr 28, 2024
447fea8
Added shared library build option
sinnwrig Apr 28, 2024
f6cf5e1
Moved shared library building to seperate function
sinnwrig May 1, 2024
dfa77b0
build now supports SPIR-V codegen
sinnwrig May 2, 2024
dc6c1cb
Update build.zig
sinnwrig May 2, 2024
625388e
thing
sinnwrig May 2, 2024
b629000
Removed file created on accident.
sinnwrig May 3, 2024
b72cda5
Added compilation flags
sinnwrig May 3, 2024
6f00bb8
Moved SPIR-V generator output path to generated-include/spirv-tools
sinnwrig May 4, 2024
d610831
Edited build.zig
sinnwrig May 4, 2024
947ded3
Edited gitignore
sinnwrig May 4, 2024
71ab699
Edited build.zig
sinnwrig May 4, 2024
a3a8405
Edited build.zig
sinnwrig May 4, 2024
fa3f388
Fixed occasional segfault when including files with spir-v targets.
sinnwrig May 6, 2024
53912bd
Added file inclusion handlers.
sinnwrig May 21, 2024
affef9e
Compile arguments have been condensed into struct
sinnwrig May 25, 2024
8e4b1ae
Merge remote-tracking branch 'mach-dxcompiler/main'
sinnwrig Jun 2, 2024
60d6a67
Moved spirv-tools to external dependency
sinnwrig Jun 3, 2024
0fb981b
Fixed function signature for nominated zig version.
sinnwrig Jun 3, 2024
a87cace
Fixed older zig API usage
sinnwrig Jun 4, 2024
bc7ddfe
Moved macro defines to build.zig.
sinnwrig Jun 4, 2024
eb186a9
Fixed export issue
sinnwrig Jun 4, 2024
bf01738
Removed unused write file additions and moved to newer zig release
sinnwrig Jul 9, 2024
c3dfe92
Reverted to nominated mach version
sinnwrig Jul 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ zig-out/
/docgen_tmp/

libs/DirectXShaderCompiler
generated-include/spirv-tools/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the reason for the addition of this? do we end up needing generated spirv-tools stuff?

Can we include it from https://github.com/hexops/spirv-tools instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I didn't know that fork existed! Using that would probably work better than jamming together the SPIR-V headers with everything else. That folder just held the build-generated headers from SPIRV-Tools, so I figured it would be redundant to include them in the repo.


atls.lib
atls.arm64.pdb
Expand Down
Loading