Files
UnrealEngineUWP/Engine/Source
luke thatcher 808b695e4f Replace use of FRHICommandListExecutor::GetImmediateCommandList() with FRHICommandListImmediate::Get()
- Only in places where it is trivially proven the call is only made on the render thread, due to an existing check(IsInRenderingThread()) assert somewhere in the function.
 - FRHICommandListImmediate::Get() itself contains a check(IsInRenderingThread()), so this enforces correct threading, and removes the need for extra checks at the call sites.
 - Remaining uses of FRHICommandListExecutor::GetImmediateCommandList() need investigation. Some may be bugs.
 - Also some changes to make use of the passed-in RHICmdList where possible (e.g. render commands that are given the immediate command list, but call the global getter rather than using the argument they were given).

#rb zach.bethel

[CL 31699633 by luke thatcher in ue5-main branch]
2024-02-21 17:26:04 -05:00
..
2024-02-21 17:10:19 -05:00
2024-02-21 17:10:19 -05:00
2024-02-21 16:51:07 -05:00