Set GPU properties for maximum hardware compatibility

Resolves https://github.com/libsdl-org/SDL/issues/13928
This commit is contained in:
Sam Lantinga
2025-09-11 21:10:18 -07:00
parent 00812d13b0
commit e7784b7bf7
2 changed files with 21 additions and 2 deletions

View File

@@ -2261,12 +2261,12 @@ extern SDL_DECLSPEC SDL_GPUDevice * SDLCALL SDL_CreateGPUDevice(
* use for all vertex semantics, default is "TEXCOORD".
* - `SDL_PROP_GPU_DEVICE_CREATE_D3D12_ALLOW_FEWER_RESOURCE_SLOTS_BOOLEAN`: By
* default, Resourcing Binding Tier 2 is required for D3D12 support.
* However, an application can enable this property to enable Tier 1
* However, an application can set this property to true to enable Tier 1
* support, if (and only if) the application uses 8 or fewer storage
* resources across all shader stages. As of writing, this property is
* useful for targeting Intel Haswell and Broadwell GPUs; other hardware
* either supports Tier 2 Resource Binding or does not support D3D12 in any
* capacity.
* capacity. Defaults to false.
*
* With the Vulkan renderer:
*