1 comment

[ 2.5 ms ] story [ 16.2 ms ] thread
Zig compiler provides working cross-compilation out of the box.

zig-gamedev project provides Win32/D3D12 API bindings that can be used on Windows and Linux.

Wine with VKD3D-Proton provides robust solution for emulating Windows runtime.

Above components combined together gives very nice development environment for building DirectX 12 applications on Windows and Linux.

Project homepage: https://github.com/michal-z/zig-gamedev

Minimal DirectX 12 application that can be developed on Windows and Linux: https://github.com/michal-z/zig-gamedev/tree/main/samples/mi...