branchrust_reboot/main/allocation_reductionscancel

8 Commits over 0 Days - ∞cph!

2 Days Ago
code gen
2 Days Ago
Preset list capacity on active renderer effects (stops list reallocations at runtime)
2 Days Ago
Stop UI_Hero_Infobox keeping running its update method for no reason when the menu is hidden. Restore the update loop when menu is open again. Saves 40 bytes a frame
2 Days Ago
Stop PostProcessingLayer stealing a whole 1 KB/s This was due to profiling using a formatted string, a very minor mistake that we paid in allocations on every client. - Profiling was using a formatted string in a hot loop - Hide this behind convar: graphics.detailed_postprocessing_profiling
2 Days Ago
Fix DLSS breaking with GetTemporary. Pass a texture descriptor struct to ask for a random write texture.
2 Days Ago
Dont allocate new RenderTextures every frame in PsotProcessLayer.RenderScale() Lets use RenderTexture.GetTemporary instead Savings in render loop (roughly): - AsyncTextureLoad.Texture (.4 ms) - Texture2D.LoadRawTextureData (.1 ms)
2 Days Ago
Save 40 bytes a frame in UIChat. 'FindWith' was allocating a lambda, replace with a simple loop
2 Days Ago
Stop HurtOverlay allocating 36 bytes a frame. Was boxing a float into Mathf.Max() with a single value?