Commit Graph

767 Commits

Author SHA1 Message Date
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
christopher waters
3cb9ee4508 Tessellation Removal: Removing Tessellation from D3D11RHI.
#jira UE-94564
#rb mihnea.balta
#preflight 606b76db1660810001a8880e

[CL 15923684 by christopher waters in ue5-main branch]
2021-04-05 17:41:14 -04:00
Emil Persson
1589572dfd Fix name conflicts between DX11 and DX12 RHIs. In a monolith build both will be linked into the exe, so for functions with identical signatures the linker will simply pick one or the other, causing one RHI to call into the other RHI's functions.
#rb mihnea.balta, kenzo.terelst

[CL 15848978 by Emil Persson in ue5-main branch]
2021-03-29 05:09:18 -04:00
christopher waters
095570a7ec Tessellation Removal: CreateBoundShaderState changes to remove hull and domain shaders. Making CreateHullShader and CreateDomainShader optional.
#jira UE-94564
#rb will.damon, kenzo.terelst
#preflight 605e376d73db400001e8d814

[CL 15842909 by christopher waters in ue5-main branch]
2021-03-26 16:32:26 -04:00
mihnea balta
d5c41b1dec More cleanup for UE4 references.
#rb trivial
#rnx
#jira UE-111661 UE-111087 UE-111327 UE-111056 UE-111062 UE-111414 UE-111417 UE-111415 UE-111453 UE-111474 UE-111729

#ROBOMERGE-SOURCE: CL 15825946 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v785-15821902)

[CL 15829883 by mihnea balta in ue5-main branch]
2021-03-25 15:42:37 -04:00
jimmy smith
d6c1abbbfb Rename UE4_ prefix to UE
#jira UE-11103
#rb trivial
#preflight 605a64245911ec000141deff

#ROBOMERGE-SOURCE: CL 15787889 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15790797 by jimmy smith in ue5-main branch]
2021-03-23 22:43:45 -04:00
Sebastien Lussier
e78b667196 D3D11 - Clear reference to CurrentComputeShader in CleanupD3DDevice()
Prior to this change, it was only cleared by the desctructor, after the device was actually destroyed
#rb arciel.rekman

[CL 15757100 by Sebastien Lussier in ue5-main branch]
2021-03-21 22:01:51 -04:00
Steve Robb
4fa411c84e Removal of dependencies to Windows Vista or earlier.
#jira UE-110555
#rb josh.adams

[CL 15746365 by Steve Robb in ue5-main branch]
2021-03-19 08:05:49 -04:00
Sebastien Lussier
c03d8a3f08 D3D11 RHI - Work around an issue with the WARP device (-AllowSoftwareRendering) & BC7
Creating two views with different formats (DXGI_FORMAT_BC7_UNORM vs DXGI_FORMAT_BC7_UNORM_SRGB) will result in a crash inside d3d10warp.dll when creating the second view
#rb jeremy.moore, christopher.waters

[CL 15744476 by Sebastien Lussier in ue5-main branch]
2021-03-18 21:27:54 -04:00
Marc Audy
0cbbc781ca Merge UE5/Release-Engine-Staging @ 15740152 to UE5/Main
This represents UE4/Main @ 15709114

[CL 15740605 by Marc Audy in ue5-main branch]
2021-03-18 15:20:03 -04:00
graham wihlidal
2c60f7e000 Fixed rampant FName allocation/copies in FD3D11DynamicRHI::SetUAVPSResourcesFromTables, matching behavior of FD3D11DynamicRHI::SetResourcesFromTables.
#rb emil.persson

[CL 15735834 by graham wihlidal in ue5-main branch]
2021-03-18 04:23:23 -04:00
zach bethel
8c1793ad5a Integration of RHI transient allocator into RDG.
- Replaced legacy transient support from RDG and replaced with new API.
 - Reworked acquire / discard operations a bit and added RHI validation to track correctness.
 - Reworked RDG barrier batching to include acquire / discard operations.
 - Hardened render pass merging logic and expanded to support lifetime extension of transient resources.
 - Added transient tag to RDG insights to track which resources are transient.

#rb luke.thatcher, kenzo.terelst

[CL 15726534 by zach bethel in ue5-main branch]
2021-03-17 12:44:59 -04:00
christopher waters
bd8fabd199 Fixing UAVMask support.
- Removed OutputMask since nothing was using it anymore.
- Made UAVMask an optional output from FXC compiles, only d3d11 reads it.
- UAVMask now created from entire set of UAVs and not just UAVs in Uniform Buffers.

#jira none
#rb mihnea.balta

#ROBOMERGE-SOURCE: CL 15643920 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v779-15635321)

[CL 15643927 by christopher waters in ue5-main branch]
2021-03-08 15:13:56 -04:00
Marc Audy
8f73cd7fa9 Merge UE5/Release-Engine-Staging @ 15630841 to UE5/Main
This represents UE4/Main @ 15601601

[CL 15631170 by Marc Audy in ue5-main branch]
2021-03-05 19:27:14 -04:00
christopher waters
4555dcca29 Adding more logging on UAV creation failures.
#jira UE-108979
#rb zach.bethel, jason.nadro, mihnea.balta, rolando.caloca
#robomerge Release-5.0-EarlyAccess

[CL 15628397 by christopher waters in ue5-main branch]
2021-03-05 15:39:03 -04:00
zach bethel
98af5e5831 Merged 'Fixed regression in D3D11 RHI CPU performance in development builds by removing FName lookups.'
#ushell-cherrypick of 15566445 by zach.bethel

[CL 15601588 by zach bethel in ue5-main branch]
2021-03-04 00:39:00 -04:00
Luke Thatcher
5355f42a1a Remove FRHITextureReference from platform RHI implementations.
- FRHITextureReference is now implemented entirely within the base RHI module, and platform specific code from each RHI has been removed.
 - This also unifies how each platform deals with nullptr texture references. Some used GWhiteTexture, others used GBlackTexture, others probably just crash. Now, nullptr references will refer to GBlackTexture.
 - New implementation also handles RHI validation properly. Old code would crash when a nullptr reference is used in a draw.

#rb Kenzo.TerElst, Will.Damon
#jira none

[CL 15586248 by Luke Thatcher in ue5-main branch]
2021-03-03 15:18:32 -04:00
Martin Ridgers
b8ed8ba3d4 When capturing and reporting callstacks, use the return address of a failure instead of a count of stack frames to trim. The count approach was spread about in many places and fragile to maintain as code changed. This resulted in "noisy" callstacks with distracting boilerplate present like assert dispatch functions.
#rb brandon.schaefer,will.damon,johan.berg
#rnx

#ushell-cherrypick of 15568119 by Martin.Ridgers

[CL 15568152 by Martin Ridgers in ue5-main branch]
2021-03-02 07:48:13 -04:00
maxwell hayes
a781a97922 Improvements to Metasound Wave decoding
#jira UE-108501, UE-107548, UEAU-693
#rb Phil.Popp

#ROBOMERGE-SOURCE: CL 15564761 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15564769 by maxwell hayes in ue5-main branch]
2021-03-01 20:25:28 -04:00
maxwell hayes
fdbecb4db6 Follow-up refactor to address fallout from FSoundWaveProxy
#jira UE-108764, UE-109386, UE-108969, UEAU-691
#rb Phill.Popp

#ROBOMERGE-SOURCE: CL 15538813 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15538828 by maxwell hayes in ue5-main branch]
2021-02-26 02:30:51 -04:00
daniel wright
d3279bcb57 Better texture limit message
#ROBOMERGE-SOURCE: CL 15429494 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15429497 by daniel wright in ue5-main branch]
2021-02-17 01:26:30 -04:00
Emil Persson
4516b985df Name all resources and make naming mandatory
#rb yuriy.odonnel, kenzo.terelst

[CL 15416919 by Emil Persson in ue5-main branch]
2021-02-16 08:37:39 -04:00
Marc Audy
cac1fe0019 Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
This represents UE4/Main @ CL# 15277572

[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -04:00
Arciel Rekman
b2f7c51320 Fix crash running UE5 with -dx11 (UE-104870)
#rb Graham.Wihlidal
#jira UE-104870

[CL 15286026 by Arciel Rekman in ue5-main branch]
2021-02-02 19:08:33 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00