Commit Graph

1131 Commits

Author SHA1 Message Date
carl lloyd
a0d85084b1 Added support for padding attribute locations automatically for OpenGLES
Fixed OpenGLES preview

#rb Lukas.Hermanns

#ROBOMERGE-AUTHOR: carl.lloyd
#ROBOMERGE-SOURCE: CL 17460403 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17460416 by carl lloyd in ue5-release-engine-test branch]
2021-09-08 13:00:48 -04:00
arciel rekman
e10b7aa5d0 Shader compiler improvements.
Local shader compiler:
 - Not making 1 job batches (for High prio jobs) on startup
 - Randomizing pending job selection to reduce chance that multiple 60+ sec jobs get into a single batch

 (the above have the most effect on speed up, below is optional/misc)
 - Pushing the completed jobs back to manager before, and not after, pulling new ones to reduce idle time
 - Processing jobs in FIFO rather than LIFO order (change to LIFO seems like an ODSC regression? Hard to say definitively if it's a regression from the numbers, but seems odd to have the earliest jobs processed last)
 - Parallel processing of input and output files (starts sequential by default to reduce the CPU overhead, but is enabled if we ever see too long write/read)
 - More insights scopes

Distributed:
  - Not avoiding local machine for XGE on startup

Both:
 - Input file compression (disabled by default, need to better figure out when it's beneficial in a general case. Mostly for people with really slow I/O and XGE over VPN).
 - More stats, also more dense stat output. Removed an unimportant one, added stats about the batches.

#rb Jason.Nadro, Ben.Ingram
#[review] [at]Jason.Nadro, [at]Ben.Ingram
#preflight 6132ec79bf137d0001ae91ee
#jira UE-125101

#ushell-cherrypick of 17448576 by Arciel.Rekman

#ROBOMERGE-AUTHOR: arciel.rekman
#ROBOMERGE-SOURCE: CL 17448989 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17448996 by arciel rekman in ue5-release-engine-test branch]
2021-09-07 15:49:28 -04:00
josie yang
742d1c2a03 Morph target engine modifications for 3rd party plugin
[FYI] alexis.matte, brian.white, christopher.waters, mihnea.balta, rolando.caloca, will.damon, halfdan.ingvarsson, kevin.ortegren

#ROBOMERGE-AUTHOR: josie.yang
#ROBOMERGE-SOURCE: CL 17444191 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17444481 by josie yang in ue5-release-engine-test branch]
2021-09-07 10:20:14 -04:00
florin pascu
36de4878df Workaround for Editor deadlock in material editor while in Mobile Preview
#jira UE-123665
#rb Dmitriy.Dyomin
#preflight 6136ee109c40ec0001de27f5

#ROBOMERGE-AUTHOR: florin.pascu
#ROBOMERGE-SOURCE: CL 17441770 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17441782 by florin pascu in ue5-release-engine-test branch]
2021-09-07 02:53:03 -04:00
yangke li
abb9346236 add ARM ASTC Encoder, support HDR profile, add astc hdr pixel format for opengl, vulkan and metal
todo:  hdr decode at runtime when astc hdr not supported
needs to figure out why ARM Encoder is much slower than ISPC, use ARM only for HDR Textures might be a good compromise.
#jira UE-119388

#ROBOMERGE-AUTHOR: yangke.li
#ROBOMERGE-SOURCE: CL 17441496 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17441499 by yangke li in ue5-release-engine-test branch]
2021-09-07 01:24:23 -04:00
tiago costa
e5d619ac73 Added r.Raytracing.DebugForceRuntimeBLAS to control whether to use offline built BLAS.
#preflight 61363483bdfce00001d57e87
#rb Yuriy.ODonnell

#ROBOMERGE-AUTHOR: tiago.costa
#ROBOMERGE-SOURCE: CL 17439046 via CL 17439864
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17439966 by tiago costa in ue5-release-engine-test branch]
2021-09-06 15:24:51 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
guillaume abadie
d56bfe7b07 Migrates D3D to submit all loose shaders parameters in a single RHISetShaderParameter()
#rb none
#preflight 61323f857d30040001b77b61

#ROBOMERGE-OWNER: guillaume.abadie
#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 17431343 via CL 17438616
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17438618 by guillaume abadie in ue5-release-engine-test branch]
2021-09-06 11:28:30 -04:00
christopher waters
6c4b4a91a4 Adding a required StencilRef argument to SetGraphicsPipelineState.
#jira none
#rb zach.bethel, mihnea.balta, florin.pascu
#preflight 61312f4a79ce170001d4a79e

#ROBOMERGE-SOURCE: CL 17422777 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)
#ROBOMERGE[bot1]: emt

[CL 17422941 by christopher waters in ue5-release-engine-test branch]
2021-09-03 12:04:52 -04:00
lukas hermanns
504c6254ac Extract source location from shader compiler errors if backend doesn't provide it separately.
#rb Krzysztof.Narkowicz
[FYI] Rolando.Caloca, Arciel.Rekman
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 17420624 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17420654 by lukas hermanns in ue5-release-engine-test branch]
2021-09-03 10:14:47 -04:00
ola olsson
c78ae71b1f Replace side-effect invalidation during instance/cluster cull with a buffer appended to at instance cull.
- preparational step to enable HZB culling of invalidations in an uniform way.
- also add FComputeShaderUtils helper to set up an indirect dispatch.

#rb andrew.lauritzen
#preflight 6130818017a8610001b0cfc7

#ROBOMERGE-SOURCE: CL 17400532 via CL 17400838
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17400862 by ola olsson in ue5-release-engine-test branch]
2021-09-02 07:13:18 -04:00
tiago costa
f106c46dd2 Support FRWBuffer scattered updates.
- Modified MemsetResource and MemcpyResource to take number of elements instead of number of bytes as input, since FRWBuffer can use different formats.

#rb Yuriy.ODonnell
#jira UE-120168
#preflight 612f98feb6b29c00013fbb13

#ROBOMERGE-SOURCE: CL 17394373 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17394380 by tiago costa in ue5-release-engine-test branch]
2021-09-01 19:20:47 -04:00
charles derousiers
e17a01e51a Add RDG Upload variant which take a lambda function for freeing the CPU memory once the data are uploaded.
#rb zach.bethel
#preflight 612f0d3779d62b0001b43362

#ROBOMERGE-SOURCE: CL 17383153 via CL 17383415
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17383421 by charles derousiers in ue5-release-engine-test branch]
2021-09-01 03:09:25 -04:00
rolando caloca
17e13e521b UE5 - Remove some hlslcc vestiges from Vulkan
#rb Dmitriy.Dyomin, Lukas.Hermanns, jeannoe.morissette

#ROBOMERGE-SOURCE: CL 17369648 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v865-17346139)

[CL 17369655 by rolando caloca in ue5-release-engine-test branch]
2021-08-31 12:04:32 -04:00
zach bethel
5238135bde Fixed RDG debug crash.
#rb trivial
#jira UE-118756

#ROBOMERGE-SOURCE: CL 17322944 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17322985 by zach bethel in ue5-release-engine-test branch]
2021-08-26 14:06:40 -04:00
charles derousiers
22a10915c8 Enable resummarize on HTile data for hair visibility pass.
#rb none
#preflight 61261adeba9f0e0001d834a2

#ROBOMERGE-SOURCE: CL 17300694 via CL 17300699
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300708 by charles derousiers in ue5-release-engine-test branch]
2021-08-25 06:52:59 -04:00
david harvey
10cba7f17e fix FPlatformProcess::SetupRHIThread calling location.
#jira UECON-499
#rnx
[FYI] mihnea.balta

#ROBOMERGE-SOURCE: CL 17300129 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300133 by david harvey in ue5-release-engine-test branch]
2021-08-25 05:31:46 -04:00
david harvey
6aaf7c17b5 add FPlatformProcess::SetupRHIThread to match SetupGameThread, SetupRenderThread and SetupAudioThread.
#jira UECON-499
#rnx
#rb eric.mcdaniel

#ROBOMERGE-SOURCE: CL 17300007 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300012 by david harvey in ue5-release-engine-test branch]
2021-08-25 05:15:14 -04:00
zach bethel
4df4c81c69 Small improvement to RDG debug resource name filtering to allow exclusion.
#preflight 6123cf072c1f1c0001a0798a

#ROBOMERGE-SOURCE: CL 17270047 via CL 17273565
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v858-17259218)

[CL 17274490 by zach bethel in ue5-release-engine-test branch]
2021-08-23 15:27:06 -04:00
christopher waters
5953546bfb Adding RHIUniformBufferLayoutInitializer and RHIUniformBufferLayout is a proper FRHIResource. This brings proper RHI lifetime support to RHIUniformBufferLayout so we don't delete the layouts while RHI commands that use them are still in flight.
This should fully address UniformBufferLayout/UniformBuffer crashes that randomly happen during shader compiling in the Editor.

#jira none
#rb arciel.rekman, ben.ingram, mihnea.balta, stu.mckenna, will.damon
#preflight 611eb6c6008be90001f8b031

#ROBOMERGE-SOURCE: CL 17243608 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17243630 by christopher waters in ue5-release-engine-test branch]
2021-08-19 23:56:04 -04:00
guillaume abadie
3f0a1b9fb2 Allows SHADER_USE_PARAMETER_STRUCT() to submit all shader parameters in a single RHISetShaderParameter()
#rb yuriy.odonnell
#preflight 611d572d9db7df000134eb13

#ROBOMERGE-SOURCE: CL 17222098 via CL 17222140
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17222165 by guillaume abadie in ue5-release-engine-test branch]
2021-08-18 16:56:25 -04:00
christopher waters
9996d7091b Allowing r.Shaders.Optimize to be set per-platform.
#jira none
#rb arciel.rekman
#preflight 611d13819db7df00012bf70a

#ROBOMERGE-SOURCE: CL 17222081 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17222084 by christopher waters in ue5-release-engine-test branch]
2021-08-18 16:52:12 -04:00
christopher waters
1c21a5489c Shader symbol terminology changes
- Splitting symbol generation and shader "debug info" generation into two different cvars. This should now allow us to generate symbols post-packaging without generating different shader variants. This should also enable us to always generate symbols and still have the final deduplicated shader sizes.
- r.Shaders.Symbols is now the primary way to enable shader symbols for debugging.
- r.Shaders.GenerateSymbols can be enabled to always generate symbols without writing them to disk.
- r.Shaders.WriteSymbols can be used to force write symbols if they were previously generated.
- r.Shaders.ExtraData can be used to generate shader names for engine runtime systems to use.
- NotifyShaderCooked replaced with NotifyShaderCompiled, prep for upcoming non-cook symbol writing.
- PC DXC shader compiles should only generate debug info when requested, not all the time.
- PC FXC shader compiles should generate debug info when requested, not just when r.Shaders.Optimize is 0.

#jira none
#rb arciel.rekman, lukas.hermanns
#preflight 611ad9035e737200015992db

#ROBOMERGE-SOURCE: CL 17186155 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17186162 by christopher waters in ue5-release-engine-test branch]
2021-08-16 23:18:23 -04:00
zach bethel
aed2812399 Reworked acquire / discard transitions in RDG to use split barriers to improve overlap.
#jira none

#ROBOMERGE-SOURCE: CL 17182512 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17182558 by zach bethel in ue5-release-engine-test branch]
2021-08-16 17:32:38 -04:00
arciel rekman
3243e21ef8 Nanite per-project killswitch with an artist-friendly message.
#rb Rune.Stubbe
[REVIEW] [at]Graham.Wihlidal, [at]Rune.Stubbe
#jira UE-117561
#preflight 611a79b7aabad10001bfd9c6

#ROBOMERGE-SOURCE: CL 17177746 via CL 17177758
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17177765 by arciel rekman in ue5-release-engine-test branch]
2021-08-16 12:55:21 -04:00