5 comments

[ 2.3 ms ] story [ 24.2 ms ] thread
> 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?

(comment deleted)
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?
Wine and valve are working on this currently. Have a bunch of repos for it.