Changed GPU driver names to match renderer driver names
Fixes https://github.com/libsdl-org/SDL/issues/10650
This commit is contained in:
parent
92d1689eb4
commit
b17ca32d8c
4 changed files with 4 additions and 4 deletions
|
@ -6125,7 +6125,7 @@ tryCreateDevice:
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_GPUBootstrap D3D11Driver = {
|
SDL_GPUBootstrap D3D11Driver = {
|
||||||
"D3D11",
|
"direct3d11",
|
||||||
SDL_GPU_DRIVER_D3D11,
|
SDL_GPU_DRIVER_D3D11,
|
||||||
SDL_GPU_SHADERFORMAT_DXBC,
|
SDL_GPU_SHADERFORMAT_DXBC,
|
||||||
D3D11_PrepareDriver,
|
D3D11_PrepareDriver,
|
||||||
|
|
|
@ -8185,7 +8185,7 @@ static SDL_GPUDevice *D3D12_CreateDevice(bool debugMode, bool preferLowPower, SD
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_GPUBootstrap D3D12Driver = {
|
SDL_GPUBootstrap D3D12Driver = {
|
||||||
"D3D12",
|
"direct3d12",
|
||||||
SDL_GPU_DRIVER_D3D12,
|
SDL_GPU_DRIVER_D3D12,
|
||||||
SDL_GPU_SHADERFORMAT_DXIL,
|
SDL_GPU_SHADERFORMAT_DXIL,
|
||||||
D3D12_PrepareDriver,
|
D3D12_PrepareDriver,
|
||||||
|
|
|
@ -3974,7 +3974,7 @@ static SDL_GPUDevice *METAL_CreateDevice(bool debugMode, bool preferLowPower, SD
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_GPUBootstrap MetalDriver = {
|
SDL_GPUBootstrap MetalDriver = {
|
||||||
"Metal",
|
"metal",
|
||||||
SDL_GPU_DRIVER_METAL,
|
SDL_GPU_DRIVER_METAL,
|
||||||
SDL_GPU_SHADERFORMAT_MSL | SDL_GPU_SHADERFORMAT_METALLIB,
|
SDL_GPU_SHADERFORMAT_MSL | SDL_GPU_SHADERFORMAT_METALLIB,
|
||||||
METAL_PrepareDriver,
|
METAL_PrepareDriver,
|
||||||
|
|
|
@ -11788,7 +11788,7 @@ static SDL_GPUDevice *VULKAN_CreateDevice(bool debugMode, bool preferLowPower, S
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_GPUBootstrap VulkanDriver = {
|
SDL_GPUBootstrap VulkanDriver = {
|
||||||
"Vulkan",
|
"vulkan",
|
||||||
SDL_GPU_DRIVER_VULKAN,
|
SDL_GPU_DRIVER_VULKAN,
|
||||||
SDL_GPU_SHADERFORMAT_SPIRV,
|
SDL_GPU_SHADERFORMAT_SPIRV,
|
||||||
VULKAN_PrepareDriver,
|
VULKAN_PrepareDriver,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue