Commit Graph

49254 Commits

Author SHA1 Message Date
justin marcus
5bbcb799d6 Merging //Fortnite/Dev-Kairos to Main (//Fortnite/Main)
CL 5287635

Fix memory mapped bulk data files all being put in chunk0 because they have a wierd compound extension.

review-5287636 [at]Daniel.Lamb

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 5296981 via CL 5307598 via CL 5307724
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5323703 by justin marcus in Dev-Build branch]
2019-03-06 18:08:44 -05:00
mark satterthwaite
05eaa72982 Previous commit overlooked the subtlties that FixIntrinsics was dealing with in addition to FramebufferFetchES2 - so pass through the shader type and only handle FramebufferFetchES2 for fragment shaders instead.
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5296814 via CL 5296819 via CL 5307410 via CL 5307511
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5323498 by mark satterthwaite in Dev-Build branch]
2019-03-06 18:07:38 -05:00
mark satterthwaite
cb183fe989 Framebuffer fetch is fragment-shader only for Metal - you can't use it in vertex shaders.
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5296664 via CL 5296665 via CL 5307395 via CL 5307467
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5323381 by mark satterthwaite in Dev-Build branch]
2019-03-06 18:07:10 -05:00
jian ru
e6aca12d39 Assign shadow map channel to directional light in deferred shading path per Daniel's comment because translucency pass may need it. Tested on a Win64 client
[FYI] Daniel.Wright

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: jian.ru
#ROBOMERGE-SOURCE: CL 5296565 via CL 5296575 via CL 5307365 via CL 5307366
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5323203 by jian ru in Dev-Build branch]
2019-03-06 18:06:38 -05:00
aaron eady
bb2c88533c Sound Debugging;
Adding an extra check to see if we're filtering sounds using AudioSoloSoundCue or AudioSoloSoundWave when printing for the Stat SoundCues or Stat SoundWaves cmd. This way we can filter and only see what we want.

-- Code --
UnrealEngine:
RenderStatSoundWaves() - If we have a solo sound name filter and the current wave instance doesn't contain any of the filter text, then we'll print the wave.

RenderStatSoundCues() - If we have a solo sound name filter and the current wave instance doesn't contain any of the filter text, then we'll print the sound cue.

#rb Todd.Eckert, Seth.Weedin, Aaron.McLeran
[FYI] Todd.Eckert, Seth.Weedin, Aaron.McLeran, Peter.Knepley

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: aaron.eady
#ROBOMERGE-SOURCE: CL 5296524 via CL 5296527 via CL 5306917 via CL 5307041
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5323160 by aaron eady in Dev-Build branch]
2019-03-06 18:06:29 -05:00
nick darnell
7f68bd9e79 Stopping the slate debugger should stop the slate debugger.
#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 5296313 via CL 5296316 via CL 5306895 via CL 5306994
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5322931 by nick darnell in Dev-Build branch]
2019-03-06 18:05:09 -05:00
chris babcock
7ecb7c1356 Better chipset identification checking in ConfigRules (ignore case)
#android
[FYI] Jack.Porter


#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 5296094 via CL 5296096 via CL 5306646 via CL 5306743
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5322676 by chris babcock in Dev-Build branch]
2019-03-06 18:04:20 -05:00
dan hertzka
5e198214dd Defaulting URichTextBlock's visibility to SelfHitTestInvisible
#rb Nick.Darnell

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: dan.hertzka
#ROBOMERGE-SOURCE: CL 5295921 via CL 5295922 via CL 5306587 via CL 5306686
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5322326 by dan hertzka in Dev-Build branch]
2019-03-06 18:02:50 -05:00
marc audy
786ae26acc Dynamic Multicast delegates can now specify that their storage be stored in a sparse allocation for delegates that are expected to be bound rarely. The memory usage of an unbound sparse delegate is 1 byte instead of 16 bytes (for the empty array), however, a bound sparse delegate will have access overhead to retrieve the invocation list from the sparse object annotation.
The definition of the delegate type must specify the class and property name of the delegate that will use it and the type cannot be used outside of that context or just on the stack.
UMulticastDelegateProperty is now abstract and has 2 subclasses (UMulticastDelegateInlineProperty and UMulticastDelegateSparseProperty). The SparseProperty SignatureFunction will be a USparseDelegateFunction.
The sparse delegates do not work correctly with the python bindings at this point, but this will be visited soon.
#rb Michael.Noland
#jira

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 5295832 via CL 5306530 via CL 5306657
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5322206 by marc audy in Dev-Build branch]
2019-03-06 18:02:28 -05:00
mark satterthwaite
77ad42af94 Fix compiling shaders to Metal that use SceneDepth nodes but do not write any color targets - only depth. If a shader writes nothing at all then it will assume float4 input for the fragment fetch binding.
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5295610 via CL 5295687 via CL 5306310 via CL 5306417
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5321953 by mark satterthwaite in Dev-Build branch]
2019-03-06 18:01:42 -05:00
jian ru
e82ff5d4d5 Mark FTexture2DMipMap::FCompactByteBulkData::GetFilename as deleted to better convey intention
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: jian.ru
#ROBOMERGE-SOURCE: CL 5295514 via CL 5306295 via CL 5306390
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5321744 by jian ru in Dev-Build branch]
2019-03-06 18:00:47 -05:00
maxime mercier
b5fb58172d Fix behaviortree debugger not retreiving the instance data from the right world when opening it after PIE is started.
#rb mieszko.zielinski

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: maxime.mercier
#ROBOMERGE-SOURCE: CL 5294433 via CL 5305975 via CL 5306048
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5321239 by maxime mercier in Dev-Build branch]
2019-03-06 17:58:33 -05:00
jian ru
1304e6650e Trim FTexture2DMipMap in cooked builds
#jira
[FYI] Pete.Sauerbrei, Uriel.Doyon, Chris.Bunner

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: jian.ru
#ROBOMERGE-SOURCE: CL 5294379 via CL 5305959 via CL 5306033
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5321181 by jian ru in Dev-Build branch]
2019-03-06 17:58:20 -05:00
dmitriy dyomin
911c7be757 Fixed the case where StaticMesh LightMapCoordinateIndex could go negative if mesh has stripped LOD data. Removed workoraund for negative LightMapCoordinateIndex.
[CODEREVIEW] jack.porter

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: dmitriy.dyomin
#ROBOMERGE-SOURCE: CL 5291350 via CL 5291351 via CL 5305690 via CL 5305733
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5320666 by dmitriy dyomin in Dev-Build branch]
2019-03-06 17:54:15 -05:00
michael galetzka
03eba49b9f Removed unused redirectors
#jira UE-70070
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: michael.galetzka
#ROBOMERGE-SOURCE: CL 5289193 in //UE4/Release-4.22/... via CL 5296695
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5308759 by michael galetzka in Dev-Build branch]
2019-03-05 18:35:48 -05:00
ben zeigler
8a3a2f4a06 #jira UE-70578 Add new constructor for FScopedConditionalWorldSwitcher that allows explicitly setting a world to set GWorld to when ticking/handling events in PIE
Fix it so switching worlds via the scope correctly sets GPlayInEditorID, related to UE-59417
Add a scope switcher to ShooterGameInstance Tick as it's executed from FCoreTicker, outside the normal world tick. It needs to be outside worldtick because it handles map transfer and other things that are not safe to do during world tick.
#rb marc.audy

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: ben.zeigler
#ROBOMERGE-SOURCE: CL 5289149 in //UE4/Release-4.22/... via CL 5296692
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5308753 by ben zeigler in Dev-Build branch]
2019-03-05 18:35:47 -05:00
mark satterthwaite
10dbeceb05 RHIs need frames in order to handle all their book-keeping - even when debugging a blueprint - without this they will live-leak memory into their internal pools.
#rb none
#jira UE-69956

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5288951 in //UE4/Release-4.22/... via CL 5296687
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5308723 by mark satterthwaite in Dev-Build branch]
2019-03-05 18:35:29 -05:00
mark satterthwaite
658a7cd4c8 Setting a compute shader in MetalRHI should not affect the graphics tessellation state or we'll fail to go down the proper DrawPatches rendering path and ultimately assert on a missing PrologueEncoder.
#jira UE-69738
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5288511 in //UE4/Release-4.22/... via CL 5296684
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5308718 by mark satterthwaite in Dev-Build branch]
2019-03-05 18:35:27 -05:00
josh jensen
d5de1adc65 Fix assertion/crash when switching Feature Levels with the Shader Complexity view active
#jira UE-70602
#rb Allan.Bentham

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: josh.jensen
#ROBOMERGE-SOURCE: CL 5296658 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5308713 by josh jensen in Dev-Build branch]
2019-03-05 18:35:25 -05:00
krzysztof narkowicz
2e44f0173d Fixed crashes when overriding material parameters. Every texture or parameter override was needlessly recreating uniform expression uniform buffer, which may be referenced by cached mesh draw commands. Now it is done only when required, so only when uniform buffer layout will change. This also allowed to back-out CL 4751942 "Fix for UE-68218. Crash altering material's scalar values" and similar fixes.
#jira UE-70868, UE-70833
#rb Daniel.Wright

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: krzysztof.narkowicz
#ROBOMERGE-SOURCE: CL 5288494 in //UE4/Release-4.22/... via CL 5296498
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5308705 by krzysztof narkowicz in Dev-Build branch]
2019-03-05 18:35:23 -05:00
mark satterthwaite
8518f5e155 Fix 5263539 for Metal - there is no GS on Metal so this change was causing an interface mismatch and silent Metal shader compile failure - Metal needs the DS to emit SV_Position.
#rb none
#jira UE-70922
[FYI] jian.ru

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: mark.satterthwaite
#ROBOMERGE-SOURCE: CL 5288183 in //UE4/Release-4.22/... via CL 5296496
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5308687 by mark satterthwaite in Dev-Build branch]
2019-03-05 18:35:16 -05:00
nick darnell
6d42bbc37c Fixing main compile issue.
#jira UE-71002
#rb none

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 5295869 in //UE4/Main/...
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5303863 by nick darnell in Dev-Build branch]
2019-03-05 15:40:51 -05:00
aaron mcleran
5589661095 Removing check which was invalid.
#rb Ethan.Geller

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 5290877 via CL 5290879 via CL 5295136 via CL 5295199
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5303377 by aaron mcleran in Dev-Build branch]
2019-03-05 15:37:39 -05:00
zak middleton
cf323629d0 #ue4 - Improve jump consistency over varied framerates on the frame when the jump force ends and we transition to applying gravity.
We have a portion of the time at constant speed then a portion with constant acceleration due to gravity, and those need to be separated.

[CODEREVIEW] Frank.Gigliotti

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: zak.middleton
#ROBOMERGE-SOURCE: CL 5290785 via CL 5290800 via CL 5294926 via CL 5295079
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5303259 by zak middleton in Dev-Build branch]
2019-03-05 15:37:09 -05:00
aaron mcleran
0c4022ba82 Fix for reverb on console/surround sound systems.
- Fix is to allow quad reverb channel flipping to be enabled via cvar.

#rb Ethan.Geller

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 5290606 via CL 5290607 via CL 5294883 via CL 5294965
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build)

[CL 5302960 by aaron mcleran in Dev-Build branch]
2019-03-05 15:35:23 -05:00