d3d12: Import DirectX-Headers, use local d3d12.h in SDL_render.

This avoids lots of build issues with the various D3D12 headers out there (MinGW, old Windows SDKs, etc) and also opens the door for WSL2 libd3d12.so support.

Note that the build system has not been changed; technically _all_ platforms now have d3d12.h but we should only enable the backend when it's actually expected to work.
This commit is contained in:
Ethan Lee
2024-07-31 20:18:57 -04:00
committed by Sam Lantinga
parent c5a99f1515
commit 55e9a8ca45
4 changed files with 39224 additions and 2 deletions

34938
src/video/directx/d3d12.h Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff