mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
gpu: D3D12 only requires feature level 11_0 with Resource Binding Tier 2.
We previously thought this wasn't possible because constant buffer offsets and partial updates were unavailable, but we were reading the wrong table - this is only the case for D3D11... https://learn.microsoft.com/en-us/windows/win32/direct3d11/overviews-direct3d-11-devices-downlevel-intro ... while 12 doesn't list this feature at all: https://learn.microsoft.com/en-us/windows/win32/direct3d12/hardware-feature-levels We double checked and Jesse Natalie confirmed that this feature is required for D3D12 even for 11_0 drivers. (Thanks Jesse!) Additionally, D3D12 requires that UAVs are accessible from all shader stages, meaning Tier 2 is enough to support the number of UAVs we need. Tier 1 could be a property to lower the requirements, but that can be done later.
This commit is contained in:
@@ -235,7 +235,8 @@
|
||||
* SDL driver name: "direct3d12"
|
||||
*
|
||||
* Supported on Windows 10 or newer, Xbox One (GDK), and Xbox Series X|S
|
||||
* (GDK). Requires a GPU that supports DirectX 12 Feature Level 11_1.
|
||||
* (GDK). Requires a GPU that supports DirectX 12 Feature Level 11_0 and
|
||||
* Resource Binding Tier 2 or above.
|
||||
*
|
||||
* ### Metal
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user