News for hackers. Stuff that matters.
Re:Official DirectX headers available under an open source l... by lights0123 on Monday December 28, 2020 @11:01PM (#25566587)
> On Windows, a wchar_t is 2 bytes, but on Linux it is typically 4 bytes. The D3D12 ABI for WSL uses the native 4-byte wchar_t, to enable applications and the runtime to use the system C library to perform string manipulation.

sooo does that mean UTF-32 or UTF-16 with two zero bytes per character?

Re:Official DirectX headers available under an open source l... by merb on Monday December 28, 2020 @11:15PM (#25566648)
since this is mit licensed, wouldn't it be possible to create a vulkan <-> dx translation layer so that even without wsl dx12 could be used on linux?
Re:Official DirectX headers available under an open source l... by newerduder on Tuesday December 29, 2020 @09:09AM (#25569821)
DXVK is what you're thinking of.

https://github.com/doitsujin/dxvk

I think dx12 is feature complete, but some features are missing from earlier versions.

Re:Official DirectX headers available under an open source l... by aspaceman on Monday December 28, 2020 @11:35PM (#25566769)
Wine and valve are working on this currently. Have a bunch of repos for it.