Commit Graph

19653 Commits

Author SHA1 Message Date
mark satterthwaite
84be079cdb Fix command-buffer failures when using MTLFence & using the buffer heap defragmentation code at the same time - the defragging was not being properly fenced. This change does *not* re-enable MTLFence for iOS - that will wait for a later release.
#rb none


#ROBOMERGE-SOURCE: CL 5808814 via CL 5808816 via CL 5808818 via CL 5812115

[CL 5812322 by mark satterthwaite in Main branch]
2019-04-09 16:21:29 -04:00
patrick enfedaque
78ee213516 Landscape Layer System:
Split BoundsAndCollision Flag from ClientUpdate Flag
Split Public and Internal Update Flags to avoid invalid update requests

#rb richard.malo
#rnx


#ROBOMERGE-SOURCE: CL 5808612 via CL 5811633

[CL 5811887 by patrick enfedaque in Main branch]
2019-04-09 16:18:19 -04:00
marc audy
247f2ef83e Movable lights are no longer assigned a LightGuid
#rb Daniel.Wright, Michael.Noland


#ROBOMERGE-SOURCE: CL 5808466 via CL 5811575

[CL 5811807 by marc audy in Main branch]
2019-04-09 16:17:48 -04:00
krzysztof narkowicz
8e0be9b5de Fixed shadow stenciling (used for pre-shadows for dynamic shadows on baked lighting) from dynamic mesh elements. Dynamic mesh elements were gathered for every shadow map view, while renderer later with the main view, using mismatching GPUScene dynamic data. Solution was to reuse already gathered dynamic mesh elements from main view.
#rb none
#jira UE-72174
#lockdown Nick.Penwarden

#ROBOMERGE-SOURCE: CL 5810490 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5810496 by krzysztof narkowicz in Main branch]
2019-04-09 13:58:47 -04:00
krzysztof narkowicz
460486ef58 Fixed lighting only view mode. Handling EngineShowFlags.Materials for bMaterialModifiesMeshPosition had bad side effects due to how FOverrideSelectionColorMaterialRenderProxy is implemented, as it doesn't replace the color completely, just adds a provided value to the emissive channel.
#rb none
#jira none
#lockdown Nick.Penwarden

#ROBOMERGE-SOURCE: CL 5808118 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5808119 by krzysztof narkowicz in Main branch]
2019-04-09 10:16:28 -04:00
rolando caloca
4ee9054237 UE4.22.1 - Fix compilation fixes when VULKAN_ENABLE_DUMP_LAYER is enabled
#rb Michael.Sartain
#rnx
#jira UE-72521

#ROBOMERGE-SOURCE: CL 5807783 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5807785 by rolando caloca in Main branch]
2019-04-09 08:59:31 -04:00
dmitriy dyomin
17498bca2a More efficent iteration over scene primitives that need their commands re-cached (saves 0.3ms on PC, 0.5ms on Mobile)
[CODEREVIEW] krzysztof.narkowicz


#ROBOMERGE-SOURCE: CL 5806977 via CL 5806978 via CL 5806979 via CL 5807021

[CL 5807022 by dmitriy dyomin in Main branch]
2019-04-09 05:44:21 -04:00
jack porter
0b5a6fd9b9 Disallow ES31 shaders attempting to use SceneDepth in the vertex shader
#rb Allan.Bentham


#ROBOMERGE-SOURCE: CL 5806620 via CL 5806621 via CL 5806622 via CL 5806746

[CL 5806749 by jack porter in Main branch]
2019-04-09 02:43:37 -04:00
uriel doyon
ffbf044cf9 Implemented on-the-fly debug view shader generation.
The previous path used to parse the world and generate all shaders at once,
which created a massive stall. This happened immediately after choosing the mode.
For example, following "viewmode shadercomplexity"

The new implementation generate only what is currently being used in the rendering.
Added some visual feedbacks to show missing (pending) shader status in shader complexity.
Added "r.ViewMode.ShaderTimeSlice" to control how much time is spent per frame to generate the viewmode shaders.

#rb daniel.wright


#ROBOMERGE-SOURCE: CL 5805353 via CL 5805355 via CL 5805356 via CL 5805440

[CL 5805445 by uriel doyon in Main branch]
2019-04-08 23:18:32 -04:00
bob tellez
fa1b23eee5 #UE4 Fix shadowed variable
[FYI] Richard.Malo


#ROBOMERGE-SOURCE: CL 5805295 via CL 5805360

[CL 5805361 by bob tellez in Main branch]
2019-04-08 22:36:43 -04:00
patrick enfedaque
4bfe850a5b #rnx
[FYI] bob.tellez


#ROBOMERGE-SOURCE: CL 5800890 via CL 5801966

[CL 5802022 by patrick enfedaque in Main branch]
2019-04-08 21:04:58 -04:00
jian ru
7c31d9f5ea Enable Intel Metrics Discovery which is needed for dynamic res but only if driver version is > 6323
[FYI] Marcus.Wassmer, Chris.Bunner, Rolando.Caloca


#ROBOMERGE-SOURCE: CL 5800384 via CL 5800764

[CL 5800786 by jian ru in Main branch]
2019-04-08 20:09:45 -04:00
louisphilippe seguin
d6b6eb3456 Only log first 50 timers that go over threshold to prevent log spam when server is loading a creative island
#rb Bot.Tellez


#ROBOMERGE-SOURCE: CL 5799201 via CL 5800219

[CL 5800241 by louisphilippe seguin in Main branch]
2019-04-08 18:49:52 -04:00
peter sauerbrei
53e7c4671e Really disable MTLFence and MTLHeap by default on iOS & tvOS to avoid timeouts/internal errors.
- Fix -nomsaa which requires disabling MSAA in pipeline and render-pass descriptors.
- Reorder some of the MetalRuntimeDebugLevel options so that splitting command-buffers and waiting on them can be used in Shipping builds!

#rb mark.satterthwaite


#ROBOMERGE-SOURCE: CL 5772253 via CL 5795092 via CL 5795114 via CL 5795130 via CL 5799584

[CL 5799700 by peter sauerbrei in Main branch]
2019-04-08 18:22:09 -04:00
peter sauerbrei
ba932a53cf allow turning pak unload off from commandline with -nounloadpakentries, this allows all items to be properly loaded in PSO gen
#rb trivial


#ROBOMERGE-SOURCE: CL 5772245 via CL 5795091 via CL 5795113 via CL 5795129 via CL 5799583

[CL 5799699 by peter sauerbrei in Main branch]
2019-04-08 18:22:07 -04:00
marcus wassmer
d498db13b3 Fix thread safety of dynamic PSO lookups. This fixes a race condition in the renderer that can cause crashes and potentially GPU hangs on almost all platforms.
#ROBOMERGE-SOURCE: CL 5772140 via CL 5795084 via CL 5795105 via CL 5795122 via CL 5799404

[CL 5799520 by marcus wassmer in Main branch]
2019-04-08 18:20:01 -04:00
zabir hoque
cb1264982a Don't attempt to recycle PP render target if it has already been allocated. This can happen when PPM is the last effect in the PP chain as being output directly to the View->RT
#rb zabir.hoque
#jira UE-71963


#ROBOMERGE-SOURCE: CL 5794810 via CL 5799357

[CL 5799420 by zabir hoque in Main branch]
2019-04-08 18:18:56 -04:00
zabir hoque
6ee9fa14d9 Output correct size value for PP draw event.
#jira: none
#rb: none


#ROBOMERGE-SOURCE: CL 5794794 via CL 5799350

[CL 5799414 by zabir hoque in Main branch]
2019-04-08 18:18:47 -04:00
zabir hoque
dc6af01137 Format SlateUI draw event with Window title.
#rb: Matt.Kuhlenschmidt
#jira: none


#ROBOMERGE-OWNER: zabir.hoque
#ROBOMERGE-AUTHOR: zabir.hoque
#ROBOMERGE-SOURCE: CL 5794769 via CL 5799333

[CL 5799337 by zabir hoque in Main branch]
2019-04-08 18:16:45 -04:00
alexis matte
1d9972f595 Fix asset that have unaccessible cloth binding
#rb benn.gallagher


#ROBOMERGE-SOURCE: CL 5794679 via CL 5794681 via CL 5794683 via CL 5799244

[CL 5799257 by alexis matte in Main branch]
2019-04-08 18:09:17 -04:00
brian bekich
2c529f2fb5 Removing unused header
#rnx


#ROBOMERGE-SOURCE: CL 5794184 via CL 5794187 via CL 5794191 via CL 5794560

[CL 5794589 by brian bekich in Main branch]
2019-04-08 16:10:09 -04:00
satchit subramanian
84aadcc5cc Fix shape materials not being assigned correctly in immediate mode.
#rb Benn.Gallagher


#ROBOMERGE-SOURCE: CL 5792590 via CL 5792627 via CL 5792632 via CL 5794207

[CL 5794240 by satchit subramanian in Main branch]
2019-04-08 15:39:59 -04:00
christina tempelaarl
cc97012537 Added PIE orbit for specific hitpoint, fixed orbit issue for actors with non-visible components, orbit forward motion now stops at pivot rather than passing through.
#rb matt.kuhlenschmidt


#ROBOMERGE-SOURCE: CL 5791855 via CL 5793991

[CL 5794074 by christina tempelaarl in Main branch]
2019-04-08 15:35:00 -04:00
justin marcus
7d6f0737b3 Clean up Bundle Manager result flags that are no longer possible.
Forward Bundle Pause status to JSBridge.

[at]Daniel.Lamb
[FYI] [at]Taylor.Thompson



#ROBOMERGE-SOURCE: CL 5777006 via CL 5777076 via CL 5777091 via CL 5785792

[CL 5785852 by justin marcus in Main branch]
2019-04-08 13:52:54 -04:00
richard malo
09ba261820 - Fixed physic material update when changing Physic Material on a LayerInfo.
- Fixed missing physic material update when Clearing, Filling and Replacing a Layer.
#jira UE-72474
[CODEREVIEW] patrick.enfedaque
[FYI] michael.dupuis


#ROBOMERGE-SOURCE: CL 5776037 via CL 5785762

[CL 5785826 by richard malo in Main branch]
2019-04-08 13:52:44 -04:00