gpu-dawn: add support for x86_64-windows-msvc #786

Closed
opened 2023-05-26 18:41:40 +00:00 by mlarouche · 2 comments
mlarouche commented 2023-05-26 18:41:40 +00:00 (Migrated from github.com)

Using mach-examples repository

❯ zig build -Dtarget=native-native-msvc -Ddawn-from-source=true
error: gpu-dawn binaries for x86_64-windows.win10_fe...win10_fe-msvc not available.
error: -> open an issue: https://github.com/hexops/mach/issues
error: -> build from source (takes 5-15 minutes):
error:        use -Ddawn-from-source=true or set `Options.from_source = true`

The main reason for adding MSVC ABI support: being able to use closed-source libraries that has been compiled with Visual Studio.

Using `mach-examples` repository ```shell ❯ zig build -Dtarget=native-native-msvc -Ddawn-from-source=true error: gpu-dawn binaries for x86_64-windows.win10_fe...win10_fe-msvc not available. error: -> open an issue: https://github.com/hexops/mach/issues error: -> build from source (takes 5-15 minutes): error: use -Ddawn-from-source=true or set `Options.from_source = true` ``` The main reason for adding MSVC ABI support: being able to use closed-source libraries that has been compiled with Visual Studio.
emidoots commented 2023-05-26 20:58:31 +00:00 (Migrated from github.com)

I'm very interested in MSVC support as well, however with Dawn (specifically, DirectXShaderCompiler) it's not so simple to fix/support from what I recall when attempting to support it about a year ago.

I'm sure it can be sorted out, will just require a bit of munging / grunt work.

I'm very interested in MSVC support as well, however with Dawn (specifically, DirectXShaderCompiler) it's not so simple to fix/support from what I recall when attempting to support it about a year ago. I'm sure it can be sorted out, will just require a bit of munging / grunt work.
emidoots commented 2024-07-08 13:05:56 +00:00 (Migrated from github.com)
https://github.com/hexops/mach/issues/1166#issuecomment-2212990680
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#786
No description provided.