- Cache the AsyncSizeHandle and delete it when the size callback is complete.
#rb Justin.Marcus
#review-15930645
#jira none
[CL 15931167 by Jason Nadro in ue5-main branch]
* Removed FD3D12Adapter::GetLocalVideoMemoryInfo() and implemented UpdateMemoryInfo().
* Local and Non-Local memory are both retrieved now.
* Results are cached in a new FD3D12MemoryInfo struct on FD3D12Adapter. (updated only once per frame instead of every call like before).
* Optimized FD3D12DynamicRHI::RHIGetTextureMemoryStats() to not call expensive DXGI query memory functions per texture.
* Implemented "Demoted Video Memory" D3D12 memory counter to show the amount of video memory that has been demoted to system memory.
* aka. RIP performance
* Implemented "Used System Memory" D3D12 memory counter to show the amount of non-local memory allocated by a device adapter
* Summation of demoted video memory, and also memory that should be non-local (i.e. upload heaps).
* Refactored all the D3D12 RHI stat counters.
* Renamed/moved into cleaner groupings.
* Avoid summations from being grouped in with children (making the stats hard to understand without looking at code).
* Made it possible to hide various groupings where desired.
* D3D12Memory -> D3D12Memory, D3D12Resources, D3D12Allocations
* D3D12MemoryBuffer -> D3D12BufferAllocations
* D3D12MemoryTransient -> D3D12TransientAllocations
* D3D12PipelineState -> unchanged
* D3D12DescriptorHeap -> unchanged
* Added global GDemotedLocalMemorySize to report from RHI to on screen warning system the amount of local video memory demoted to system memory.
* Implemented an on screen error message when video memory demotion occurs.
* Does not depend on stats being displayed (but currently compiles out based on STATS)
* Message display can be toggled with r.DemotedLocalMemoryWarning (default: on)
#rb kenzo.terelst
#lockdown nick.whiting
[FYI] emil.persson, michal.valient, yuriy.odonnell
#jira UE-111264
#ROBOMERGE-SOURCE: CL 15928357 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
[CL 15928378 by graham wihlidal in ue5-main branch]
- See CL 15887498 description for benchmarks and motivation
[FYI] Stefan.Boberg, Yuriy.ODonnell, Francis.Hurteau
#rb Brandon.Dawson
#ROBOMERGE-SOURCE: CL 15888104 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
[CL 15890065 by danny couture in ue5-main branch]
This allows to fix root/tip scaling when a groom does not need interpolation (i.e., no-skinning & no-simulation).
#rb none
#jira UE-110053
#ROBOMERGE-SOURCE: CL 15877725 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
[CL 15877732 by charles derousiers in ue5-main branch]
- Spikes of up to 8.9GB have been reported, and the CPU savings aren't worth that.
#rb Danny.Couture
[FYI] Ben.Ingram, Danny.Couture
#jira none
#ROBOMERGE-SOURCE: CL 15875731 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
[CL 15875743 by arciel rekman in ue5-main branch]