Commit Graph

1342 Commits

Author SHA1 Message Date
guillaume abadie
362dfdc40e Dumps all cvars in DumpGPU captures
#rb juan.canada
[FYI] juan.canada
#jira none
#preflight 61f9217d8b4112f7cc932f3b

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18807104 in //UE5/Release-5.0/... via CL 18809178 via CL 18822216
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823245 by guillaume abadie in ue5-main branch]
2022-02-02 05:28:48 -05:00
jeremy moore
d362cef172 #jira UE-136254
Fix MipLevel sample mode with Adaptive Virtual Texture.
#preflight 61f88a0bf657e25a590668d4

#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 18803237 in //UE5/Release-5.0/... via CL 18803254 via CL 18821582
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18821667 by jeremy moore in ue5-main branch]
2022-02-02 01:49:39 -05:00
jeremy moore
e9b8605b3b Add r.VelocityOutputPass render setting and deprecated r.BasePassOutputsVelocity and r.DepthPassMergedWithVelocity.
r.VelocityOutputPass supports the 3 valid settings: depth pass, base pass, after base pass.
#rb rob.krajcarski
#preflight 61f86031114ec25fe0b87dab

#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 18799499 in //UE5/Release-5.0/... via CL 18801888 via CL 18802482
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18808175 by jeremy moore in ue5-main branch]
2022-02-01 09:53:17 -05:00
christopher waters
112a73b5c6 Adding depth clip control to the rasterizer state.
#jira UE-85381
#rb mihnea.balta, will.damon, jeannoe.morissette, arciel.rekman, luke.thatcher, eric.mcdaniel, florin.pascu, dmitriy.dyomin
#preflight 61f8545c114ec25fe0b4d12c

[CL 18799473 by christopher waters in ue5-main branch]
2022-01-31 17:28:38 -05:00
zach bethel
9996233f7a Removed unused legacy MSAA multi-texture support from IPooledRenderTarget.
- Deprecated legacy members from FPooledRenderTargetDesc.
 - Deprecated ETextureRenderTarget and removed from RDG.
 - TargetableTexture always equals ShaderResourceTexture.
 - Simplified render target pool FindFreeElement.
 - Create pooled buffers and textures with a known state.

#rb graham.wihlidal
#preflight 61f8488568795b2f45852274

#ROBOMERGE-AUTHOR: zach.bethel
#ROBOMERGE-SOURCE: CL 18796880 in //UE5/Release-5.0/... via CL 18797840 via CL 18799070
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18799188 by zach bethel in ue5-main branch]
2022-01-31 17:22:31 -05:00
zach bethel
2230e96167 Removal of RDG drain experiment for UE5 release. It is currently unused and hasn't proven itself necessary yet. It would be relatively straightforward to re-add if the need arises in the future.
#rb mihnea.balta
#preflight 61f82d9b3e13556eb9c3eb34

#ROBOMERGE-AUTHOR: zach.bethel
#ROBOMERGE-SOURCE: CL 18794948 in //UE5/Release-5.0/... via CL 18795422 via CL 18796381
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18796735 by zach bethel in ue5-main branch]
2022-01-31 15:55:31 -05:00
guillaume abadie
7804f9bc28 Fixes DumpGPU's resource search by savings all resource descriptors into a single Base/ResourceDesc.json file
#rb none
[FYI] juan.canada
#preflight 61f8112d68795b2f4577da7d

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 18791631 in //UE5/Release-5.0/... via CL 18791880 via CL 18792459
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18792532 by guillaume abadie in ue5-main branch]
2022-01-31 12:53:35 -05:00
Andrew Davidson
4a3e582384 LWC: Remove UE_LARGE_WORLD_COORDINATES_DISABLED toggle
#rb stephen.holmes
[FYI] zak.middleton
#preflight 61f7d18b114ec25fe09648d6

#ROBOMERGE-OWNER: Andrew.Davidson
#ROBOMERGE-AUTHOR: andrew.davidson
#ROBOMERGE-SOURCE: CL 18788533 in //UE5/Release-5.0/... via CL 18788583 via CL 18788850
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
#ROBOMERGE-CONFLICT from-shelf
#preflight 61f7eb7a114ec25fe0990f8c

[CL 18789644 by Andrew Davidson in ue5-main branch]
2022-01-31 10:10:51 -05:00
aleksander netzel
ad5a49f993 Fix incorrect checks in RayTracingGeometry:
* Add InitializedState to RayTracingGeometry that will track how it is was crated. We cannot use provided Initializer for that because it's reset during mesh streaming.
* Use BUF_RayTracingScratch for dynamic geometry scratch buffer so we can always guarantee correct alignment.
* Add RayTracingGeometry empty ctor so we don't try to calculate the BLAS size when it is streamed out.

#rb Yuriy.Odonnell
#preflight 61f7b9d0e55232619f77fd04

#ROBOMERGE-AUTHOR: aleksander.netzel
#ROBOMERGE-SOURCE: CL 18787906 in //UE5/Release-5.0/... via CL 18787924 via CL 18788019
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18788021 by aleksander netzel in ue5-main branch]
2022-01-31 06:22:37 -05:00
chris genova
bc08b28872 Re-enable the incremental user PSO cache by having it save at shutdown.
Enable PSO cache CVars by default on Windows. This has no effect on D3D11 since the cache is disabled if GRHISupportsPipelineFileCache is false.


#ROBOMERGE-AUTHOR: chris.genova
#ROBOMERGE-SOURCE: CL 18785319 via CL 18785326 via CL 18785329 via CL 18785330 via CL 18785331 via CL 18785353 via CL 18785366
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18785369 by chris genova in ue5-main branch]
2022-01-30 08:19:37 -05:00
ola olsson
b5219b04e6 Remove Geometry Shader path for point-light shadow rendering, disable point light shadows if VertexShaderLayer is not supported (at runtime).
- Add r.Shadow.DetectVertexShaderLayerAtRuntime to make it possible to force (for DX11/12/SM5/Vulkan) compilation of vslayer despite RHISupportsVertexShaderLayer being false.
- Set r.Shadow.DetectVertexShaderLayerAtRuntime in WindowsEngine.ini,WinGDKEngine.ini & LinuxEngine.ini.
- Add DoesRuntimeSupportOnePassPointLightShadows to determine support at runtime.
- Fix bug excluding Nanite meshes from DF shadows for local lights if VSM is enabled (now only affects directional lights).
- Add OnGetOnScreenMessages to enable modular generation of on-screen messages in the scene renderer (aimed at transient rendering processes).

#rb arciel.rekman,andrew.lauritzen
#jira UE-138933
#preflight 61f3c967da54035207f6e560

#ROBOMERGE-AUTHOR: ola.olsson
#ROBOMERGE-SOURCE: CL 18769670 in //UE5/Release-5.0/... via CL 18769671 via CL 18769765
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18769767 by ola olsson in ue5-main branch]
2022-01-28 06:36:41 -05:00
zak middleton
36c99f6887 #ue5 - LWC: FVector4f <-> FVector4d conversion is now explicit.
FLinearColor has also been modified to make any double->float conversions explicit. Previously all 3D TVector versions were allowed to be implicit and thus could convert TVector<double> => FLinearColor => TVector4<float>.

Fixed up all engine and game casts. Added "//LWC_TODO: precision loss" around any explicit casts that previously were silently explicit and we may need to revisit for precision loss analysis.

#jira UE-122085
#rb Ben.Ingram, Andrew.Davidson
#preflight 61f24af473238441cb7bb0f1

#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 18751249 in //UE5/Release-5.0/... via CL 18751253 via CL 18751319
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18751326 by zak middleton in ue5-main branch]
2022-01-27 03:30:41 -05:00
alejandro arango
89a52a72d5 RealtimeGPUProfiler: Fix crash when toggling views.
Needed to clear description string buffer offsets when the description is empty (or invalid).

#jira UE-139319
#rb none
#rnx
[FYI] jason.hoerner
#preflight 61f1fd18c0033b39f8a65fc4

#ROBOMERGE-AUTHOR: alejandro.arango
#ROBOMERGE-SOURCE: CL 18749105 in //UE5/Release-5.0/... via CL 18749108 via CL 18749160
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18749174 by alejandro arango in ue5-main branch]
2022-01-26 21:23:15 -05:00
zach bethel
25f20493c4 Backing out changes to remove unknown states in pooled resources. Unported code is still transitioning pooled resources while not updating the tracked state. This will result in incorrect before states.
#rb none
#preflight 61f1920ef8088a3d298fb3a9

#ROBOMERGE-AUTHOR: zach.bethel
#ROBOMERGE-SOURCE: CL 18740193 in //UE5/Release-5.0/... via CL 18740756 via CL 18741541
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18742250 by zach bethel in ue5-main branch]
2022-01-26 15:04:14 -05:00
jeannoe morissette
c8734e7588 Also clear AllocatedBufferHashes in FRDGBufferPool::ReleaseDynamicRHI so that both arrays always match. Keeps the FRDGBufferPool in a reusable state for experiments.
#rb zach.bethel
#preflight 61f1884273238441cb646293

#ROBOMERGE-AUTHOR: jeannoe.morissette
#ROBOMERGE-SOURCE: CL 18738113 in //UE5/Release-5.0/... via CL 18738347 via CL 18739391
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18739973 by jeannoe morissette in ue5-main branch]
2022-01-26 13:54:46 -05:00
jason nadro
db3c90d3cd Adding scoped CPU markers for the most expensive parts of GlobalBeginCompileShader and FShaderCompilingManager::SubmitJobs.
- FShaderType::AddReferencedUniformBufferIncludes
- GetInputHash

#rb trivial
#preflight 61f1783ce12e3fcf9b1c99bb

#ROBOMERGE-AUTHOR: jason.nadro
#ROBOMERGE-SOURCE: CL 18736884 in //UE5/Release-5.0/... via CL 18736905 via CL 18738207
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18738664 by jason nadro in ue5-main branch]
2022-01-26 13:04:29 -05:00
arciel rekman
fc7d2c93cb Silence spammy warning about uncompressed shaders.
#rb none

#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 18735247 via CL 18736213 via CL 18736349 via CL 18736869 via CL 18737353
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18737684 by arciel rekman in ue5-main branch]
2022-01-26 12:32:20 -05:00
arciel rekman
992e7bffaa Do not skip loading RT shaders if we force all shaders to be created (UE-135175).
#rb Jason.Nadro
#jira UE-135175
#preflight none

#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 18729247 in //UE5/Release-5.0/... via CL 18729277 via CL 18729354
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18729372 by arciel rekman in ue5-main branch]
2022-01-25 17:39:37 -05:00
jonathan bard
98478cb6e3 Added "ultimate" version of AddClearRenderTargetPass that lets the user clear multiple mips, multiple array slices, with/without a custom clear color or viewport and does so by using a clear action if possible.
Note: the existing versions have not been deprecated since they are more straightforward (they clear only a single mip/slice).

#rb zach.bethel
#preflight 61ef0a62ca3de856bcd670de

#ROBOMERGE-OWNER: jonathan.bard
#ROBOMERGE-AUTHOR: jonathan.bard
#ROBOMERGE-SOURCE: CL 18724174 via CL 18724195 via CL 18724225 via CL 18725569 via CL 18725818
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18725830 by jonathan bard in ue5-main branch]
2022-01-25 13:49:10 -05:00
sebastian thomeczek
7ef35c3511 Adjust LogPakFile logging verbosity
- added VeryVerbose message when access to any file from ExcludedNonPakExtensions is prevented
- Introduced new Display message to print mounted pak file name and mount point, moved the corresponding logs that were already printing that information from the shadercodelibrary to verbose
- Moved most FPakReadRequest messages to VeryVerbose
- Moved PrimaryIndexSize PathHashIndexSize and FullDirectoryIndeSize to Verbose
- Moved OnPakFileMounted2Time to Verbose

#rb Matt.Peters, PJ.Kack
#jira none
#preflight 61f00f308c16f837224ada89

#ROBOMERGE-AUTHOR: sebastian.thomeczek
#ROBOMERGE-SOURCE: CL 18722494 in //UE5/Release-5.0/... via CL 18722496 via CL 18722552
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18722570 by sebastian thomeczek in ue5-main branch]
2022-01-25 10:08:12 -05:00
Charles deRousiers
90e7ad66a9 Add a IsStrataEnable function per module where it is used.
#rb none
#jira none
#fyi sebastien.hillaire
#preflight 61eebce65e0414e6ec1e40cb

[CL 18708521 by Charles deRousiers in ue5-main branch]
2022-01-24 10:02:04 -05:00
arciel rekman
9a7c807094 Make IoStore-based shader library the default everywhere.
- IoStore-based code archive has significant advantages over the file-based one as it implements shader group compression.
- Also fixed a PC/desktop-specific issue of multiple opens of the library.

#rb CM.Nordin, [at]Ben.Ingram, James.Doverspike
[REVIEW] [at]CarlMagnus.Nordin, [at]Ben.Ingam

#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 18691837 via CL 18691933 via CL 18692000 via CL 18692479 via CL 18692746 via CL 18692912
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18693178 by arciel rekman in ue5-main branch]
2022-01-21 14:14:42 -05:00
graham wihlidal
4c6818abee Fixed bug in FRenderBounds& operator += (const FVector3f&)
#rb zak.middleton
#preflight skip

#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 18686720 in //UE5/Release-5.0/... via CL 18686738 via CL 18686747
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18686751 by graham wihlidal in ue5-main branch]
2022-01-21 01:03:24 -05:00
zach bethel
516e26c7e3 Fix for assert when async compute pass creates a transient resource. The resource lifetime was being properly extended to the graphics fork pass, but the graphics fork pass was also within a merged render pass, and the resource lifetime was not properly extended to the start of the render pass. This is important because resource transitions cannot occur within a render pass. This fix adjusts async compute resource lifetimes to begin and end on render pass boundaries of the fork / join graphics pass.
#jira UE-139261
#rb ben.woodhouse
#preflight none

#ROBOMERGE-OWNER: zach.bethel
#ROBOMERGE-AUTHOR: zach.bethel
#ROBOMERGE-SOURCE: CL 18678963 via CL 18678972 via CL 18680925 via CL 18681076 via CL 18681103
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v902-18672795)

[CL 18681506 by zach bethel in ue5-main branch]
2022-01-20 16:30:26 -05:00
thomas ross
6049a90da8 Adding delegate that is called whenever FlushRenderingCommands is called.
Utilize new delegate to unlock AcquireCriticalSection in PreLoadScreenManager to prevent softlocks whenever FlushRenderingCommands is called during an EarlyStartup PreLoadScreen.
Remove previous hack in PreLoadScreenManager to unlock AcquireCriticalSectoin during fontcache flushes, as this was just to prevent the ensuing FlushRenderingCommands called by the font cache flush from soft locking and is now not needed.
#rb none
#tests Test/Shipping Client

#ROBOMERGE-AUTHOR: thomas.ross
#ROBOMERGE-SOURCE: CL 18671847 via CL 18671850 via CL 18671851 via CL 18671854 via CL 18671857 via CL 18671961 via CL 18671966 via CL 18671967
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18671974 by thomas ross in ue5-main branch]
2022-01-20 01:22:51 -05:00