Refactor DX12 Root Signature creation to support offline construction

Fix running D3D12 on integrated AMD GPU
This commit is contained in:
Wojtek Figat
2025-11-18 12:08:54 +01:00
parent 7e6b040258
commit 5f0e1253cc
5 changed files with 354 additions and 170 deletions

View File

@@ -18,11 +18,6 @@
#define DX12_BACK_BUFFER_COUNT 2
#endif
#define DX12_ROOT_SIGNATURE_CB 0
#define DX12_ROOT_SIGNATURE_SR (GPU_MAX_CB_BINDED+0)
#define DX12_ROOT_SIGNATURE_UA (GPU_MAX_CB_BINDED+1)
#define DX12_ROOT_SIGNATURE_SAMPLER (GPU_MAX_CB_BINDED+2)
class Engine;
class WindowsWindow;
class GPUContextDX12;