mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 18:07:40 +00:00
gpu: Rework driver name queries, add GetGPUShaderFormats
This commit is contained in:
parent
6d92de5d3a
commit
96e147b2b9
12 changed files with 129 additions and 67 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue