GPU: Update to set supported shader formats inside CreateDevice

This commit is contained in:
Logan
2025-05-18 13:04:20 +12:00
committed by Sam Lantinga
parent 514d96de07
commit 8289656a4e
4 changed files with 17 additions and 1 deletions

View File

@@ -11793,6 +11793,7 @@ static SDL_GPUDevice *VULKAN_CreateDevice(bool debugMode, bool preferLowPower, S
ASSIGN_DRIVER(VULKAN)
result->driverData = (SDL_GPURenderer *)renderer;
result->shader_formats = SDL_GPU_SHADERFORMAT_SPIRV;
/*
* Create initial swapchain array