7064877 - RDG Resource Barrier Fixes and Improvements.
- Resource barriers are now batched and submitted as a group at the beginning of a pass.
- UAVs referencing the same underlying resource now only submit a single write barrier instead of a write + N UAV barriers.
- During a mip generation pass, barriers are not issued for textures (they are implicitly converted to the SubRWBarrier state).
- Depth / stencil read now transitions to the read state; this allows DSV + SRV to work correctly.
#jira UE-76196
#rb Guillaume.Abadie
7064884 - Fixed RHI resource transitions causing validation failures.
#rb Rolando.Caloca
#jira none
7064898 - Fixed issue where implementation of RHICopyTexture would only copy mip 0, breaking environment probe copies.
#jira UE-76203
#rb Jeremy.Moore
#ROBOMERGE-OWNER: zach.bethel
#ROBOMERGE-AUTHOR: zach.bethel
#ROBOMERGE-SOURCE: CL 7082976 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)
[CL 7082994 by zach bethel in Main branch]
- Resource barriers are now batched and submitted as a group at the beginning of a pass.
- UAVs referencing the same underlying resource now only submit a single write barrier instead of a write + N UAV barriers.
- During a mip generation pass, barriers are not issued for textures (they are implicitly converted to the SubRWBarrier state).
- Depth / stencil read now transitions to the read state; this allows DSV + SRV to work correctly.
#jira UE-76196
#rb Guillaume.Abadie
[CL 7064877 by zach bethel in Main branch]
1: Two passes writing to same UAV was not getting the RWBarrier transition.
2: Incorrectly transitioned to readable when accessing for indirect draw call or SRV.
#rb none
#jira none
[FYI] zach.bethel
#lockdown nick.penwarden
#ROBOMERGE-SOURCE: CL 6147601 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 6147606 by guillaume abadie in Main branch]
#rb none
#jira
[FYI] marcus.wassmer
[FYI] zachary.wilson
#ROBOMERGE-SOURCE: CL 4997195 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)
[CL 4997198 by juan canada in Main branch]