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

gpu-dawn: x86_64-windows support #86

Closed
18 tasks done
slimsag opened this issue Nov 21, 2021 · 3 comments
Closed
18 tasks done

gpu-dawn: x86_64-windows support #86

slimsag opened this issue Nov 21, 2021 · 3 comments

Comments

@slimsag
Copy link
Member

slimsag commented Nov 21, 2021

@slimsag slimsag added the gpu label Nov 21, 2021
@slimsag slimsag self-assigned this Nov 21, 2021
@slimsag slimsag added the build label Nov 21, 2021
@slimsag slimsag changed the title gpu: x86_64-windows support gpu-dawn: x86_64-windows support Dec 24, 2021
@slimsag
Copy link
Member Author

slimsag commented Dec 24, 2021

Super close to having Windows builds actually. Everything compiles, but need dxcompiler to get it to link and then we should be golden. Lots of changes to land here both in Mach and upstream in Dawn itself, though. Updated issue description.

@slimsag slimsag added this to the Mach 0.1 milestone Feb 20, 2022
slimsag added a commit that referenced this issue Feb 21, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
I've fixed the issue in Zig upstream: ziglang/zig#10950

Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
If you're working on changes to source files in `gpu-dawn/libs/dawn/`,
it's annoying to have the build system constantly reset your revision to
the desired one.

`NO_ENSURE_SUBMODULES=true` will now disable this behavior.

Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
I've fixed the issue in Zig upstream: ziglang/zig#10950

Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Feb 21, 2022
If you're working on changes to source files in `gpu-dawn/libs/dawn/`,
it's annoying to have the build system constantly reset your revision to
the desired one.

`NO_ENSURE_SUBMODULES=true` will now disable this behavior.

Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Feb 21, 2022
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Feb 21, 2022
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Feb 21, 2022
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Feb 21, 2022
I've fixed the issue in Zig upstream: ziglang/zig#10950

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Feb 21, 2022
If you're working on changes to source files in `gpu-dawn/libs/dawn/`,
it's annoying to have the build system constantly reset your revision to
the desired one.

`NO_ENSURE_SUBMODULES=true` will now disable this behavior.

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Mar 4, 2022
This effectively provides all you need to develop & cross compile DirectX 11/12
applications with `mach/glfw` (or just Zig in general, by copying `system_sdk.zig`
into your own project.)

Helps #86
Helps #59

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to slimsag/mach-glfw that referenced this issue Mar 4, 2022
This effectively provides all you need to develop & cross compile DirectX 11/12
applications with `mach/glfw` (or just Zig in general, by copying `system_sdk.zig`
into your own project.)

Helps hexops/mach#86
Helps hexops/mach#59

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Mar 5, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Mar 5, 2022
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Mar 5, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Mar 5, 2022
Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Mar 5, 2022
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Mar 5, 2022
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit that referenced this issue Mar 6, 2022
So that we can produce binary releases for Windows until upstream PR is
merged: #167

Helps #86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Mar 6, 2022
So that we can produce binary releases for Windows until upstream PR is
merged: hexops/mach#167

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
@slimsag slimsag closed this as completed in 297f7bf Mar 6, 2022
slimsag added a commit to hexops-graveyard/mach-gpu-dawn that referenced this issue Mar 6, 2022
Closes hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
@slimsag
Copy link
Member Author

slimsag commented Mar 6, 2022

This officially works, complete with binary releases from the CI system and cross compilation from any OS:

cd gpu-dawn/
zig build run-dawn-example -Dtarget=x86_64-windows-gnu

If you want to build from source, just add -Ddawn-from-source=true but note that you'll need a patched version of Zig temporarily until the patch lands upstream, see #167

No -msvc builds, yet.

@alichraghi
Copy link
Contributor

congrats

slimsag added a commit to slimsag/mach-glfw that referenced this issue Aug 26, 2022
This effectively provides all you need to develop & cross compile DirectX 11/12
applications with `mach/glfw` (or just Zig in general, by copying `system_sdk.zig`
into your own project.)

Helps hexops/mach#86
Helps hexops/mach#59

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
slimsag added a commit to slimsag/mach-glfw that referenced this issue Aug 26, 2022
This effectively provides all you need to develop & cross compile DirectX 11/12
applications with `mach/glfw` (or just Zig in general, by copying `system_sdk.zig`
into your own project.)

Helps hexops/mach#86
Helps hexops/mach#59

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants