Files
UnrealEngineUWP/Engine/Source/Runtime/Windows
christopher waters 5609090383 Big D3D12Viewport cleanup
- Moved all FD3D12Viewport members to be together.
- Merged the three FD3D12Viewport viewport texture arrays and the mGPU index array into a single array.
- CalculateSwapChainDepth always took in the same count that was given on viewport construction so it was renamed to InitializeBackBufferArrays and NumBackBuffers is now constant per platform.
- Merged D3D11 and D3D12 GetRenderTargetFormat implementations, which were the exact same, into UE::DXGIUtilities::GetSwapChainFormat.
- Renaming D3D12_USE_DUMMY_BACKBUFFER to D3D12RHI_USE_DUMMY_BACKBUFFER since it's not a d3d12.h define.
- FD3D12BackBufferReferenceTexture2D is now only used when D3D12RHI_USE_DUMMY_BACKBUFFER is defined.
- Adding D3D12RHI_USE_SDR_BACKBUFFER to prevent uses of SDR texture pointers when we don't need them.
- Adding D3D12RHI_SUPPORTS_UAV_BACKBUFFER to replace uses of RHISupportsSwapchainUAVs(GMaxRHIShaderPlatform)

#rb Luke.Thatcher, zach.bethel

[CL 32810092 by christopher waters in ue5-main branch]
2024-04-08 18:44:38 -04:00
..
2024-04-08 18:44:38 -04:00