gpu: Rework driver name queries, add GetGPUShaderFormats

This commit is contained in:
Ethan Lee 2024-09-13 11:16:43 -04:00
parent 6d92de5d3a
commit 96e147b2b9
12 changed files with 129 additions and 67 deletions

View file

@ -8348,7 +8348,6 @@ static SDL_GPUDevice *D3D12_CreateDevice(bool debugMode, bool preferLowPower, SD
SDL_GPUBootstrap D3D12Driver = {
"direct3d12",
SDL_GPU_DRIVER_D3D12,
SDL_GPU_SHADERFORMAT_DXIL,
D3D12_PrepareDriver,
D3D12_CreateDevice