Live data from Hacker News

Official DirectX headers available under an open source license

github.com

1–6 of 6 posts

Re: Official DirectX headers available under an open source license

#2
> 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 license

#5

> 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?

[deleted]

Re: Official DirectX headers available under an open source license

#6
post #3

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?

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.