Commit Graph

14 Commits

Author SHA1 Message Date
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
zabir hoque
8c89dae9ea Enable RenderDoc Captures for failing automation tests.
[FYI] Andrew.Grant; Arciel.Rekman;
#rb: none
#jira: UE-91964

#ROBOMERGE-SOURCE: CL 12941114 in //UE4/Release-4.25/... via CL 12941117 via CL 12941124
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12941128 by zabir hoque in Main branch]
2020-04-20 19:57:16 -04:00
andrew grant
7e92fd2998 More complete fix for UE-89839
Added a high level define (WITH_AUTOMATION_TESTS) that is set when thier WITH_DEV_AUTOMATION_TESTS or WITH_PERF_AUTOMATION_TESTS is set).

This allows support code to be wrapped in a single define and the WITH_DEV / WITH_PERF macros used for simply including/excluding test definitions.

#jira UE-89839
#rb na
#tests compiled UE4Game in dev/test/shipping

#ROBOMERGE-SOURCE: CL 11843115 in //UE4/Release-4.25/... via CL 11843116
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11843119 by andrew grant in Main branch]
2020-03-02 15:00:13 -05:00
andrew grant
6c1a380c64 Fix issue where new/changed screenshots could not be approved in the editor on some platforms (Mac, Xbox, others?)
The issue was that the code that captures screenshots on a device and sends them was the editor was setting a 'path' variable that represented what a screenshot *would* be saved at on the local system. (The screenshot was not actually saved, it's returned as raw data in the message).

This meant that the editor would try to save for screenshots to a local path that did not exist (e.g. g:\settings\ on xbox) and fail.

The fixes here are -

1) Add some warnings to the code that tries to save screenshots if that fails

2) Change the names of the screenshot functions in AutomationCommon to clarify what they should be used for.

3) Change the 'path' variable in the message to screenshot name.

4) Calculate the path to use for screenshots on the editor.


#tests ran EngineTest on WIn64, PS4, and XboxOne (which now passes).
#jira UE-69399
#rb swarm

#ROBOMERGE-SOURCE: CL 11733277 in //UE4/Release-4.25/... via CL 11733309
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11733341 by andrew grant in Main branch]
2020-02-28 09:47:55 -05:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00
Marc Audy
d90da4ab1a Merge to Dev-Main for 4.20 @ 4090813
#rb
#rnx
#lockdown Nick.Penwarden

[CL 4091081 by Marc Audy in Main branch]
2018-05-23 21:04:31 -04:00
Marcus Wassmer
25eed01c13 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 4041614)
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3774677 by Arne.Schober

	DR - Deprecated SetLocal from the RHICmdlist
	Fixed some unnecessary PSO collisions.

Change 3809579 by Chris.Bunner

	Back out changelist 3774677.

	#jira UE-53483

Change 3810363 by Mark.Satterthwaite

	More random fixes to mtlpp: most important is the extension to Buffer that allows creation of sub-buffers that are merely views onto a sub-range of the parent. These sub-buffers are valid to use throughout the mtlpp API with two exceptions: they may not be used for visibilityResultsBuffers and Set*BufferOffset functions cannot take this offset into account (as the encoder does not hold onto the buffers and I don't want it to). In the case of Set*BufferOffset the caller has to know what is going on and in the case of visibilityResultsBuffers it'll just assert as it isn't sensible.

	This makes it *much* easier to do things like sub-buffer allocation, though the caller must be aware of the alignment restrictions of their intended usage as they are not possible to enforce. For example, a call to SetVertexBuffer requires an offset alignment must match the alignment of the data-type in the shader for "device" resources, or for "constant" data it must be max(4, sizeof(datatype)) on iOS and 256 on macOS. This should allow for much more tightly packed sub-allocations than earlier approaches, though older drivers (e.g. Mac OS X 10.11) enforce only the coarser "constant" data restriction everywhere.

Change 3810407 by Marcus.Wassmer

	PR #4322: ShadowSetup Bug Fix: Only stencil mask drawn meshes (Contributed by DSDambuster)

Change 3810676 by Guillaume.Abadie

	Makes r.Test.SecondaryUpscaleOverride work with any arbitrary pixel size.

Change 3810696 by Guillaume.Abadie

	Adds support for #include "../MyFile.ush" in the shader compiler.

Change 3810698 by Guillaume.Abadie

	Implements enum class based shader permutation dimension.

Change 3810699 by Guillaume.Abadie

	Implements Diaphragm DOF ground work.

Change 3811536 by Guillaume.Abadie

	Pulls the trigger on CircleDOF's setup pass for DiaphragmDOF.

Change 3811958 by Mark.Satterthwaite

	More fixes for mtlpp.

Change 3811964 by Mark.Satterthwaite

	Only views onto a mtlpp::Buffer should return a valid parent-buffer.

Change 3812604 by Guillaume.Abadie

	Changes Diaphragm DOF's source file layout.

Change 3812827 by Mark.Satterthwaite

	More missing/broken functionality in mtlpp fixed and fixed obvious leaks.

Change 3812920 by Guillaume.Abadie

	Adds support for per mip level UAV in FSceneRenderTarget.

Change 3812926 by Mark.Satterthwaite

	Change the way we handle mtlpp resource construction to avoid leaks.

Change 3812960 by Rolando.Caloca

	DR - vk - Disable DFGI

Change 3812968 by Rolando.Caloca

	DR - Linker fix

Change 3813318 by Mark.Satterthwaite

	Fix linear texture allocation from a buffer sub-view.

Change 3813326 by Mark.Satterthwaite

	Fix another Metal mtlpp sub-buffer allocation failure.

Change 3813328 by Guillaume.Abadie

	Removes global samplers in TAA for GL4, Vulkan and Switch.

Change 3813937 by Rolando.Caloca

	DR - Fix logs not getting dumped when r.DumpSCWQueuedJobs is on

Change 3813947 by Rolando.Caloca

	DR - noshaderworker should override r.XGEShaderCompile

Change 3817017 by Uriel.Doyon

	Fixed texture editor black screen
	#jira UE-53653

Change 3818568 by Rolando.Caloca

	DR - Fix log when shader jobs crash
	- Move log10 to common
	- Added COMPILER_VULKAN define

Change 3818603 by Uriel.Doyon

	Fix to static analysis warning

Change 3818623 by Rolando.Caloca

	DR - Workaround hlslcc loop unrolling bug

Change 3819070 by Uriel.Doyon

	Fix to stat duplication.

Change 3819105 by Uriel.Doyon

	Refactored volume sample shader to avoid using texture dimension.

Change 3819136 by Rolando.Caloca

	DR - vk - Per platform files (empty)

Change 3819180 by Rolando.Caloca

	DR - vk - Move defines out of config into per platform

Change 3819247 by Rolando.Caloca

	DR - vk - Remove more defines into platform settings

Change 3819318 by Rolando.Caloca

	DR - vk - Fixes for linking

Change 3819868 by Rolando.Caloca

	DR - vk - Linux & Android fixes

Change 3819873 by Guillaume.Abadie

	Adds support for PermutationId on r.DumpShaderDebugInfo=1

Change 3819940 by Rolando.Caloca

	DR - vk - Fix Linux issues

Change 3819956 by Rolando.Caloca

	DR - vk - Invalid check

Change 3819961 by Michael.Lentine

	Hide attributes when plugin is not present

Change 3819980 by Rolando.Caloca

	DR - vk - Standard validation always

Change 3820039 by Rolando.Caloca

	DR - vk - Fix invalid ensure

Change 3820326 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3820422 by Michael.Lentine

	Add back GBufferAO.

Change 3820433 by Rolando.Caloca

	DR - Fix D3D12 crash on 20 thread (10x2 cores) machines

Change 3821677 by Rolando.Caloca

	DR - vk - Win32 compile fix

Change 3821961 by Rolando.Caloca

	DR - Vulkan uses real UB by default on non-Android

Change 3821968 by Rolando.Caloca

	DR - vk - Update glslang 1.0.65.1

Change 3821969 by Uriel.Doyon

	Added support for stat groups that must be sorted by name. Defined by DECLARE_STATS_GROUP_SORTBYNAME.

Change 3821983 by Rolando.Caloca

	DR - vk - Change to static array (0.1ms on 10k draw calls)

Change 3824141 by Rolando.Caloca

	DR - vk - Fix static analysis
	- Bumped up some (c) 2017->2018

Change 3824355 by Rolando.Caloca

	DR - vk - Accessor to find out if a cmd buffer has been submitted

Change 3824420 by Rolando.Caloca

	DR - Sanity check number of queries per batch on D3D11 as to not break other RHIs

Change 3824463 by Rolando.Caloca

	DR - Removed dummy ensure for D3D12

Change 3824609 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3826074 by Mark.Satterthwaite

	Start IMP-caching the various descriptor types in mtlpp.

Change 3826098 by Rolando.Caloca

	DR - vk - Dump layer compile fixes

Change 3826113 by Rolando.Caloca

	DR - vk - Missing dump functions

Change 3826302 by Rolando.Caloca

	DR - vk - Compile fix
	- Change dump handles to %p

Change 3826635 by Mark.Satterthwaite

	Forward declarations required for mtlpp compilation without exposing Metal headers - plus fixes to the mtlpp test compiler.

Change 3827072 by Mark.Satterthwaite

	Switch some more mtlpp descriptors over to IMPTables from objc_msgSend.

Change 3827909 by Guillaume.Abadie

	Replaces diaphragm DOF's prefiltering with LDS bank coherent bilateral reduction, and implements 1/8 res background gathering pass.

Change 3827952 by Guillaume.Abadie

	Updates copy right to year 2018 on diaphragm DOF's new files.

Change 3828055 by Rolando.Caloca

	DR - vk - Rename in prep for changes

Change 3828229 by Guillaume.Abadie

	Avoids to log multiple time global shader type name that have multiple permutations when verifying global shader map.

Change 3828427 by Guillaume.Abadie

	Reimplements Max3x3 gathering post filtering for Diaphragm DOF with proper shader permutation.

Change 3829979 by Guillaume.Abadie

	Fixes a color NaN source in diaphragm DOF's TAA pass.

Change 3830116 by Rolando.Caloca

	DR - vk - Fix GPU queries/frame time on old system
	- New system in place, disabled temporarily

Change 3830169 by Rolando.Caloca

	DR - vk - Fix async pso creation crash

Change 3830193 by Rolando.Caloca

	DR - vk - CPU RHI thread improvement

Change 3830291 by Guillaume.Abadie

	Automatically lower the number of gathering rings on background half res gather pass as far CoC is getting smaller.

Change 3830300 by Rolando.Caloca

	DR - vk - Static analysis fix: Split VulkanCommon.h out of VulkanConfiguration.h

Change 3830589 by Mark.Satterthwaite

	In mtlpp cache the IMPTables for all the Metal @protocol's that are dependent on the MTLDevice, this avoids a mutex & map lookup. Also make all the concrete types store their IMPTable statically as it won't change.

Change 3830793 by Mark.Satterthwaite

	Fix a small number of bugs introduced with the mtlpp descriptor and table caching.

Change 3831491 by Jian.Ru

	Fix driver version unknown
	#jira UE-53688

Change 3832335 by Rolando.Caloca

	DR - vk - Change include

Change 3832550 by Rolando.Caloca

	DR - vk - Occlusion query rewrite WIP

Change 3832589 by Rolando.Caloca

	DR - vk - Minor refactor to pools in prep for timestamps

Change 3832618 by Rolando.Caloca

	DR - vk - Do not block timestamp queries

Change 3832636 by Rolando.Caloca

	DR - vk - Fix old timestamp queries

Change 3833138 by Rolando.Caloca

	DR - vk - Fix timestamp queries

Change 3833249 by Rolando.Caloca

	DR - vk - Test lock

Change 3833667 by Rolando.Caloca

	DR - vk - Old queries wait on the RHI thread now instead of the driver (disabled)

Change 3833907 by Daniel.Wright

	Fixed NextStartOffset UAV index out of bounds

Change 3833918 by Daniel.Wright

	D3D12 RHI: only refcount uniform buffers if GRHINeedsExtraDeletionLatency is false, which is no longer the case for PC or Xbox.  The refcounting was heavy on performance as reported by a licensee because FRHIResource uses atomics for refcounting, which is only necessary when GRHINeedsExtraDeletionLatency is disabled.

Change 3834852 by Rolando.Caloca

	DR - vk - Missing file

Change 3834858 by Guillaume.Abadie

	Implements r.DOF.MinimalFullresBlurringRadius

Change 3834979 by Rolando.Caloca

	DR - vk - Fix

Change 3836117 by Rolando.Caloca

	DR - vk - Update to 1.0.65.1

Change 3836122 by Rolando.Caloca

	DR - vk - Added r.Vulkan.SubmitOcclusionBatchCmdBuffer
	- Added new error codes/messages

Change 3836421 by Mark.Satterthwaite

	For the purposes of debugging and conformance testing mtlpp make it possible to compile *without* the IMP cache so that we call the underlying Objective-C.

Change 3836896 by Uriel.Doyon

	Fixed concurrency and exit issues  around d3d12 pipeline states on windows.

Change 3837385 by Rolando.Caloca

	DR - vk - Dump memory on OOM

Change 3837427 by Rolando.Caloca

	DR - vk - Change some arrays to array views

Change 3837800 by Guillaume.Abadie

	Implements SHADER_PERMUTATION_RANGE_INT to make contiguous integer permutations that does not start to 0.

Change 3838128 by Rolando.Caloca

	DR - vk - Support for non-cached memory types

Change 3838540 by Guillaume.Abadie

	Refactors Diaphragm DOF's CoC tile buffer under a single API for better maintainability.

Change 3838731 by Rolando.Caloca

	DR - vk - Descriptor pools per command buffer pool (turned off)

Change 3838961 by Rolando.Caloca

	DR - vk - Use ring buffer for per frame uniform buffers
	- Enable descriptor pools per layout recycled per command buffer

Change 3839087 by Rolando.Caloca

	DR - vk - Compile fixes for Android

Change 3839106 by Marcus.Wassmer

	PR #4413: Removing unnecessary call to FString::ToLower (Contributed by gsfreema)


Change 3839252 by Mark.Satterthwaite

	Fix mtlpp::Resource move operators.

Change 3839426 by Marcus.Wassmer

	Duplicate 380972
	Make PC GPU Benchmarks more reliable

Change 3840041 by Guillaume.Abadie

	Fixes shader compilation failure in TAA with alpha channel through post processing support.

Change 3840257 by Chris.Bunner

	Swapping a mul() to * in HLSLTranslator::Dot to allow scalar transformations per a UDN ticket.

Change 3840308 by Rolando.Caloca

	DR - vk - Support for UB & non-UB on emulation mode

Change 3840586 by Rolando.Caloca

	DR - Copy 3840577
	Fix for CPUs with more than 16 cores

Change 3840671 by Rolando.Caloca

	DR - vk - Copy from 3840663
	Fix for layout ensure on HMD projects on Vulkan

Change 3840980 by Rolando.Caloca

	DR - vk - Android compile fixes

Change 3841989 by Guillaume.Abadie

	Slices Diaphragm DOF's Gather pass in multi shader files, and CFLAG_StandardOptimization flag for faster iteration time.

Change 3842216 by Guillaume.Abadie

	Fixes DDOF's foreground alpha channel.

Change 3842217 by Guillaume.Abadie

	Implements r.DOF.MaximalForegroundBlurringRadius

Change 3842353 by Guillaume.Abadie

	Allows to disable foreground gathering with r.DOF.MaximalForegroundBlurringRadius=0

Change 3842747 by Rolando.Caloca

	DR - vk - Missing use of GPoolSizeVRAMPercentage
	- Support for smaller allocations if page size is not available

Change 3842791 by Rolando.Caloca

	DR - vk - Use 95% of available GPU memory to handle some fragmentation

Change 3843690 by Guillaume.Abadie

	Fixes diaphragm DOF's foreground after all this refactoring.

Change 3844439 by Guillaume.Abadie

	Improves Coc dilate pass to make the gather pass as fast as possible, but still without artifacts caused by the fast gathering optimisation.

Change 3844946 by Mark.Satterthwaite

	rd_route v1.1.1 with attached TPS approval.

	For macOS function interposition which is useful for debugging and the occasional workaround.

Change 3845164 by Mark.Satterthwaite

	Add LLM support for macOS, including tracking of memory allocated in Objective-C. This makes use of runtime method swizzling in the Objective-C runtime and the rd_route library I added for Richard Wallis, which allows for arbitrary runtime function interposition and allows me to hook the custom allocators used in Apple's many Objective-C frameworks on which the whole macOS edifice is built. Objective-C objects are charged to the calling scope as they are too common to impose their own without murdering frame rate.

	We would need a TPS approval for an iOS function interposition library for this to work fully on iOS, if desired in the short term discarding LowLevelFree events that aren't in the map rather than asserting will workaround the problem.

Change 3845849 by Marcus.Wassmer

	Fix clang and some normal refactor errors

Change 3846026 by Rolando.Caloca

	DR - vk - Descriptor set allocation scheme rewrite
	- Type hash for each pool
	- Desc sets Pool on device

Change 3846169 by Rolando.Caloca

	DR - vk - Remove old code for non-layout descriptor set pools

Change 3846205 by Mark.Satterthwaite

	Disambiguate the PatchControlPointOut struct definitions in Metal tessellation shaders at Apple's suggestion to avoid a metallib gotcha.

Change 3846346 by Arne.Schober

	DR - Missing Vector instructions

Change 3847037 by Arne.Schober

	DR - Fix issue with GPU skincache where the offset of the clothbuffer is not relative to the offset of the actual vertexbuffer.
	Fixed MorphTarget Skincache Offset mixxup

Change 3847275 by Marcus.Wassmer

	Copying MGPU to Dev-Rendering (//UE4/Dev-Rendering)

Change 3847464 by Rolando.Caloca

	DR - vk - Fix static analysis warning

Change 3847707 by Michael.Lentine

	Only use MorphTargetOffset when the shader enables morph targets.

Change 3848533 by Richard.Wallis

	Handle Metal adding FirstInstance into [[ instance_id ]] which is different to other APIs.  SV_InstanceID and SV_VertexID should now have their respective base instance and base vertex ID's subtracted before use in the shader.

	#jira UE-51716

Change 3848625 by Richard.Wallis

	Compile Fix

Change 3848725 by Rolando.Caloca

	DR - Remove use of Build/SetLocalGraphicsPipelineState

Change 3848797 by Rolando.Caloca

	DR - Deprecate Build/SetLocalGraphicsPipelineState

Change 3849237 by Arne.Schober

	DR - AddCustom Ver for ModelVertex Serialization

Change 3851247 by Rolando.Caloca

	DR - vk - Util functions

Change 3851523 by Arne.Schober

	DR - Update Reflection Comparission shot from the BuildFarm.

Change 3851859 by Rolando.Caloca

	DR - vk - Skip loader

Change 3851889 by Krzysztof.Narkowicz

	Removed lights with lighting channels out of tiled deferred light list. Tiled deferred lights do not support lighting channels and it's wasn't worth to add extra complexity to this shader in order support this special case.

	#jira UE-51512

Change 3852181 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3852547 by Uriel.Doyon

	Fixed Pre-Exposure shader compilation and Temporal AA issue.

	#jira UE-54276

Change 3852637 by Arne.Schober

	DR - Fixing Normal Automated Test Result

Change 3853167 by Richard.Wallis

	AvfPlayer - support for streaming media.  Due to an operator new/delete mismatch in Apples CFNetwork - we've had to change out one of that framework allocators using rd_route to avoid  the memory corruption.

	#jira UE-35637

Change 3853447 by Chris.Bunner

	Fixing typos.

Change 3853645 by Krzysztof.Narkowicz

	Fixed light functions on subsurface materials
	Removed strange code from blending between static and dynamic shadows

	#jira UE-50275

Change 3853660 by Rolando.Caloca

	DR - Fix OpenGL overwriting texture samplers on forward renderer

Change 3853945 by Mark.Satterthwaite

	Duplicate #3831616

	Fix the black ground scattering on Metal - we've had issues with the atmospheric fog calculations for a long time - one or more intermediate operations generates different precision on Metal so we end up passing -ve values into sqrt which then generates NaN/INF. For Metal when compiling this file and this file only #define sqrt() to sqrt(abs()) so that we don't see anymore unexpected black in atmospheric rendering. This is far from ideal but I don't want to make abs all inputs into every sqrt because AFAIK this is the only case where we have an issue, and until we to investigate each intermediate calculation that isn't ridiculously, soul-crushingly tedious, it isn't practical to identify the source of the error.

	#jira UE-53720

Change 3853966 by Mark.Satterthwaite

	Duplicate #3835852

	Fix tessellation shaders in Metal with Manual Vertex Fetch enabled:
	- The control points idnex buffer shouldn't collide with anything else.
	- We can't use the optimisation of loading texture width & height from the buffer meta-table in tessellation shaders as the combined stages don't guarantee not to clobber unused buffer slots and screw it up when we use linear textures.

	#jira UE-53851

Change 3854250 by Uriel.Doyon

	Fix fbx automation tests

Change 3854736 by Uriel.Doyon

	Added a tooltip to the EV100 slider in the exposure menu.
	Using game settings now disables the slider.
	#jira UE-53945

Change 3855047 by Jian.Ru

	Fix DFAO getting NANs when samples out of ViewRect
	#jira UE-54403

Change 3858197 by Krzysztof.Narkowicz

	View frustum shadow caster culling for pointlights/spotlights

	#jira UE-54381

Change 3860081 by Krzysztof.Narkowicz

	Tighter bounding sphere for a spotlight
	Replaced IntersectSphere(LightProxy->Origin, LightProxy->Radius) with LightProxy->SphereBounds for tighter culling of spotlights
	Directional light GetBoundingSphere() now everywhere returns Sphere((0,0,0),HALF_WORLD_MAX) for consistency and proper SphereBounds

	#jira UE-54258

Change 3860324 by Mark.Satterthwaite

	Update the macOS deployment target version to 10.12 from 10.11 as we officially ended support for El Capitan a while ago. Should mean that libraries compiled for 10.12 and up won't cause link warnings.

Change 3860945 by Arne.Schober

	DR - Fix not releaseing SRV on render thread for FPositionVertexBuffer, FStaticMeshVertexBuffer, FColorVertexBuffer, FStaticMeshInstanceBuffer.

	#jira UE-54587

Change 3861129 by Jian.Ru

	Prevent distance culled objects from casting distance field direct shadows
	#jira UE-54533

Change 3861502 by Jian.Ru

	Exclude distance culled objects from DFAO calculation
	#jira UE-54533

Change 3862243 by Krzysztof.Narkowicz

	Changed radius of a directional light's bounding sphere from HALF_WORLD_MAX to WORLD_MAX in order to encopass entire WORLD_MAX box

Change 3863476 by Krzysztof.Narkowicz

	Added BuildReflections option to ResavePackages commandlet

	#jira UE-54581

Change 3863717 by Rolando.Caloca

	DR - vk - Missed using pipeline cache on compute PSOs

Change 3865332 by Arne.Schober

	DR - Fix UE-52356 Bone Weight

Change 3866220 by Rolando.Caloca

	DR - vk - Fixed GetNativeResource missing on textures
	- Added support for -preferNvidia|AMD|Intel
	- Added VulkanRHIBridge.h
	- Minor fixes

Change 3866222 by Rolando.Caloca

	DR - vk - Missed file

Change 3866951 by Krzysztof.Narkowicz

	Fixed FreezeRendering on non editor builds: ComputeAndMarkRelevanceForViewParallel was calling FrozenMatricesGuard on multiple threads, reading and writing view matrices state in parallel.

	#jira UE-53640

Change 3867231 by Guillaume.Abadie

	Adds alpha mode to allow the tonemapper to passthrough the alpha channel for broadcast industry.

Change 3867233 by Guillaume.Abadie

	Fixes a compilation failures in TAAU with r.PostProcessing.PropagateAlpha==2

Change 3867594 by Daniel.Wright

	Removed EditorOnlyDefaultMaterials, which added 79s of shader compilation during startup
	Added a dialog when opening the Material Editor on a Default Material, warning of advanced workflow
	Preventing Material Editor Apply or Save for a Default Material when the preview material has compilation errors

Change 3870048 by Daniel.Wright

	Cleaned up formatting in TranslucentRendering from merges

Change 3870106 by Krzysztof.Narkowicz

	Fixed some FArchive Tell()/Seek() 64bit->32bit truncations

Change 3870211 by Rolando.Caloca

	DR - vk - Added -vulkanvalidation=N/-vulkanstandardvalidation/-novulkanstandardvalidation to set validation layer behaviour from cmd line

Change 3870225 by Rolando.Caloca

	DR - vk - Some platforms do not use a standard swapchain

Change 3870267 by Arne.Schober

	DR - SafeRelease SRVs that might be hold by the Vertexfactories (maybe due to indirect use in GlobalResources)
	Note that the VFs are not owners of the data, e.g the underlying Buffers might be released before this and this reference counting should be uneccessary

Change 3870647 by Daniel.Wright

	Moved FogRendering.h to Renderer

Change 3872130 by Krzysztof.Narkowicz

	Disable USE_GLOBAL_CLIP_PLANE for MATERIAL_DOMAIN_POSTPROCESS and MERIAL_DOMAIN_UI

	Merging GitHub Pull request #4459
	"When material domain is not needing global clip plane there is no need to generate any code involving it. This does not alter output but removes lot of code at vertex shader and pixel shaders. At least on mobile rendered was actually generating clipping code for ui materials."

	#jira UE-54616

Change 3872145 by Rolando.Caloca

	DR - vk - Optional SupportsMarkersWithoutExtension

Change 3872404 by Uriel.Doyon

	Added some guards when streaming virtual textures.
	Fixed optimized UCanvasRenderTarget2D::RepaintCanvas() to prevent resolving the texture twice.
	Fixed bad mipmap generation with UCanvasRenderTarget2D.

Change 3872507 by Arne.Schober

	Back out changelist 3870267

Change 3874176 by Ben.Marsh

	IncludeTool: Add an flag to prevent scanning source files for exported symbols.

Change 3874935 by Krzysztof.Narkowicz

	Fixed white thumbnails and other issues with sky lighting on ES3_1 path, by disabling GGX prefiltering, as mobile path doesn't have a single cubemap with all initialized mips. Instead it ping-pongs between 2 partially initialized.
	#jira UE-54656

Change 3875710 by Daniel.Wright

	Renamed uniform buffer member macros to be much shorter for readability

Change 3876665 by Guillaume.Abadie

	Cherry-pick 3870715: Implements DOF's hybrid scatering bare bones.

Change 3876666 by Guillaume.Abadie

	Cherry-pick 3871786: DOF hybrid scatering: fixes NaN source, transition to gather on close to screen edge and low intensity.

Change 3876677 by Guillaume.Abadie

	Cherry-pick 3872348: Implements neighbor comparison for DOF's scattering compilation pass.

Change 3876680 by Guillaume.Abadie

	Cherry-pick 3872357: Oups... fixes build...

Change 3876683 by Guillaume.Abadie

	Cherry-pick 3872475: Controls number of mip to generate with DOF's reduce pass.

Change 3876687 by Guillaume.Abadie

	Cherry-pick 3874104: Fixes various bugs in diaphragm DOF's hybrid scattering.

Change 3876690 by Guillaume.Abadie

	Cherry-pick 3874144: Packs multiple DOF scattering group into same draw instance.

Change 3876694 by Guillaume.Abadie

	Cherry-pick 3874275: Switches hybrid scattering with indexed indirect draw call to reduce scatter vertex shader invocation.

Change 3876695 by Guillaume.Abadie

	Cherry-pick 3874674: Records min and max coc on DOF's setup's draw event.

Change 3876783 by Rolando.Caloca

	DR - Static analysis fix

Change 3876845 by Guillaume.Abadie

	Implements USceneCaptureComponent::ProfilingEventName

Change 3877197 by Rolando.Caloca

	DR - vk - OQ fixes (disabled)

Change 3877428 by Krzysztof.Narkowicz

	Merged with tiny tweaks Ansel photography plugin improvements from Adam Moss (GitHub pull request #4426):
	-The free-roaming photography camera has new constraints by default, i.e. it can't pass through walls
	-Photography session can be started and stopped programmatically, e.g. making it possible to bind photography to an alternative hotkey or button combo. This was an often-requested feature.
	-Tweakables and utilities are now exposed through a Blueprint Function Library (rather than direct manipulation of console variables)
	-The Ansel photography session UI now exposes some engine effect tweakables as sliders. For example, if the game is using depth-of-field then sliders are made available to allow the photographer to change the focal depth etc. The developer may suppress this behavior through the Blueprint Function Library.
	-Letterboxing is now removed during multi-part capture, d'oh.
	-Tiled shots are taken at full resolution even if ScreenPercentage < 100
	-SSR is enabled during super-resolution shots since Ansel is now better at hiding any ensuing artifacts
	-Postprocess settings are frozen at session start to avoid discontinuities during photography, i.e. wandering between postprocess volumes when the camera auto-moves for stereo and 360 shots.
	#jira UE-54244
	#4426

Change 3879086 by Krzysztof.Narkowicz

	Fixed sky/reflection capture (without owner) update - they are now updated only with a correspoding world

Change 3879090 by Guillaume.Abadie

	Fixes tones of regressions on diaphragm DOF's recombine passes.

Change 3879198 by Rolando.Caloca

	DR - vk - Support for real uniform buffers on Android platforms

Change 3879993 by Krzysztof.Narkowicz

	-Fixed int64->int32 FArchive offset truncation in TShaderMap, VertexFactory and TextureDerivedData
	-Fixed FSerializationHistory bug, when trying to serialize 0 bytes
	#jira UE-43203

Change 3881462 by Guillaume.Abadie

	Implements full res DOF's setup pass for cheaper full res gathering in recombine pass.

Change 3881524 by Krzysztof.Narkowicz

	Fixed compilation by removing FTickableEditorObject from FPreviewScene

Change 3881724 by Chris.Bunner

	Static analysis fix.

	#jira UE-54762

Change 3881861 by Rolando.Caloca

	DR - vk - Fix layout warning when generating mip chain

Change 3881864 by Rolando.Caloca

	DR - Use render passes on HZB

Change 3882236 by Yuriy.ODonnell

	IndirectLightingColorScale is now applied to SubsurfaceLighting and DiffuseLighting. Was previously only applied to DiffuseLighting.

	#jira UE-42534
	#github 3326

Change 3882325 by Guillaume.Abadie

	Implements FocusOnly lower gathering pass for Diaphragm DOF's slight out focus temporal stability.

Change 3882340 by Rolando.Caloca

	DR - vk - Fix api dump

Change 3882430 by Rolando.Caloca

	DR - vk - KHR_maintenance2

Change 3882563 by Rolando.Caloca

	DR - Add depth-stencil access mode to PSO initializer

Change 3882929 by Rolando.Caloca

	DR - vk - Proper fix for maintenance extension macros

Change 3883087 by Mark.Satterthwaite

	Allow disabling VSync in windowed mode for macOS 10.13.4+ and above.

Change 3883597 by Guillaume.Abadie

	Collapses full and half res DOF setup passes together.

Change 3883702 by Guillaume.Abadie

	Fixes mac's build.

Change 3884747 by Uriel.Doyon

	Fix for static analysis warning

Change 3884975 by Rolando.Caloca

	DR - vk - Move some platform defines to platform properties

Change 3884988 by Rolando.Caloca

	DR - vk - Make an override per platform

Change 3885832 by Rolando.Caloca

	DR - vk - Cosmetic change to group similar members

Change 3885891 by Rolando.Caloca

	DR - vk - Some _RenderThread functions to avoid stalls

Change 3886044 by Rolando.Caloca

	DR - Added RHI api _RenderThread version of
	RHICreateTextureReference
	RHICreateShaderLibrary
	RHICreateRenderQuery

Change 3886560 by Guillaume.Abadie

	Fixes strong aliasing on TAAU's fast shader permutation.

	This adds a 6th neighbor sampling, and switch AA_TONE ON as TAA does for its fast shader permutation.

Change 3886749 by Guillaume.Abadie

	Cherry-pick 3884748: Implements DOF's BuildBokehLUT for diaphragm blades simulation.

	Only used in hybrid scattering for now.

Change 3886750 by Guillaume.Abadie

	Cherry-pick 3885457: Simulates diaphragm blades' curvature on bokeh.

Change 3886752 by Rolando.Caloca

	DR - Fix metal static analysis

Change 3887460 by Uriel.Doyon

	Fixed to more static analysis warning.

Change 3888201 by Rolando.Caloca

	DR - vk - Added r.Vulkan.SubmitAfterEveryEndRenderPass
	- Fixed bad layout on rendering back buffer

Change 3888209 by Rolando.Caloca

	DR - vk - Unity compile fix

Change 3888254 by Rolando.Caloca

	DR - vk - Fix async texture layout

Change 3888893 by Guillaume.Abadie

	Simulates bokeh in DOF's slight out of focus.

Change 3889085 by Guillaume.Abadie

	Fixes DOF's reduce pass sampling outside viewport.

Change 3889924 by Rolando.Caloca

	DR - vk - Skip seemingly bad validation error

Change 3890573 by Daniel.Wright

	Only initialize FDiaphragmDOFGlobalResource in Feature Level 5

Change 3890590 by Arne.Schober

	DR - Fix Paper2d crash. When addMesh is called the Vertex and Indexbuffers are nulled out. re-create Dynamic Mesh builder for every Mesh instead.

	#jira UE-55063

Change 3890638 by Arne.Schober

	DR - Better fix for Paper2d which honors batching

	#jira UE-55063

Change 3891099 by Krzysztof.Narkowicz

	1.5 texel shadow offset fix inside Manual2x2PCF based on #4485 GitHub pull request
	#jira UE-54985
	#4485

Change 3891234 by Krzysztof.Narkowicz

	Optimized PCF2x2 and PCF3x3 - merged #4494 GithHub pull request
	#jira UE-55121

Change 3891407 by Rolando.Caloca

	DR - vk - Set vendor id earlier

Change 3891417 by Rolando.Caloca

	DR - vk - Missing layout transitions

Change 3891718 by Arne.Schober

	DR - Do not recreate one Frame Resource for dynamic draws

	#jira UE-55063

Change 3891925 by Yuriy.ODonnell

	Fix/workaround for inconsistent preprocessor definitions for NVAftermath that result in FD3D11DynamicRHI class layout mismatch. NVAftermath support is now enabled by default for Win64.

	NVAftermath is declared as a private dependency in D3D11RHI. It does not automatically propagate to modules that explicitly include private RHI headers (OculusHMD, OSVR, OSVRInput). This results in NV_AFTERMATH being defined while compiling RHI module and not defined when compiling other modules, causing memory corruption at runtime.

	The long-term solution for this and similar issues requires some mechanism for adding transitive module dependencies, so that anyone that depends on D3D11RHI module would automatically also get the NVAftermath. Additionally, private headers should *never* be included directly by external modules.

	The short-term solution is to explicitly add NVAftermath dependency to OculusHMD, OSVR and OSVRInput.

	Additionally, NV_AFTERMATH is no longer forced by D3D11RHIPrivate.h when it's not defined. This allows catching this kind of mismatch in the future through a compiler warning (C4668).

	#jira UE-53065

Change 3891987 by Rolando.Caloca

	DR - vk - Support for dedicated allocations

Change 3892339 by Jian.Ru

	Fix a crash when tessellation shaders are used in dx12
	#jira UE-55127

Change 3892528 by Rolando.Caloca

	DR - vk - Update Linux headers

Change 3892867 by Rolando.Caloca

	DR - vk - Don't create swapchain if not needed

Change 3893416 by Guillaume.Abadie

	Implements bokeh simmulation on foreground and background gather.

Change 3893732 by Chris.Bunner

	GetRelevance_Internal should use the immediate parent resource, not the base, as some features are overridden by permutations e.g. UsesWorldPositionOffset.

	#jira UE-53404

Change 3893868 by Guillaume.Abadie

	Allocates diaphragm DOF's buffers and structered buffer only on supported platforms.

Change 3893917 by Chris.Bunner

	Potential fix for CIS.

Change 3893933 by Chris.Bunner

	Duplicating CL 2647737 as this is the same issue from that JIRA where accessing game-thread data was being prevented. We don't have this check in UMaterial::GetMaterialResource already, but presumably the UMaterialInstance case was never removed as we've not been calling it until now.

Change 3894218 by Rolando.Caloca

	DR - vk - Remove stat counters per draw call, gains 10% CPU on Infiltrator

Change 3894579 by Arne.Schober

	RT - Fix assert not in RenderingThread from Triangle Renderer.
	#jira UE-55247

Change 3894724 by Rolando.Caloca

	DR - vk - New API for batching barriers

Change 3894909 by Arne.Schober

	DR - Fix crash in Speedtree wind where Renderdata is unavailable
	#jira UE-54544

Change 3895414 by Rolando.Caloca

	DR - Add a configurable threshold for SCWs time outs

Change 3896429 by Marcus.Wassmer

	Allow variable frame-latency delay in FrameGrabber frames.  For performance you want at least a 1 frame delay so you don't sync the GPU to the CPU.

Change 3896495 by Marcus.Wassmer

	Set pointer properly
	Fix CIS

Change 3897253 by Guillaume.Abadie

	Fixes CIS warning in diaphragm DOF

Change 3899179 by Guillaume.Abadie

	Implements background hybrid scatter occlusion for diaphragm DOF.

Change 3903654 by Rolando.Caloca

	DR - vk - Rework dump layer to allow other layers

Change 3903766 by Rolando.Caloca

	DR - vk - More wrappers

Change 3904025 by Rolando.Caloca

	DR - vk - More wrappers

Change 3904342 by Rolando.Caloca

	DR - vk - Track image resources & callstacks

Change 3904346 by Rolando.Caloca

	DR - vk - Copy fix from 4.19 for flickering grass

Change 3904510 by Rolando.Caloca

	DR - vk - Compile fix

Change 3904914 by Daniel.Wright

	[Integrate] Fixed PS4 transitions with forward shading

Change 3904916 by Daniel.Wright

	[Integrate] Fixed PS4 transitions with occlusion queries

Change 3905975 by Rolando.Caloca

	DR - vk - Missing wrappers

Change 3905977 by Rolando.Caloca

	DR - vk - Missed file

Change 3907829 by Rolando.Caloca

	DR - Move depth bounds to the PSO

Change 3907832 by Rolando.Caloca

	DR - vk - Prep for delaying transitions

Change 3907834 by Rolando.Caloca

	DR - vk - Fix for depth stencil issues/validation errors

Change 3907967 by Rolando.Caloca

	DR - vk - Linux compile

Change 3908093 by Rolando.Caloca

	DR - vk - Fix depthstencil layout on descriptors

Change 3908393 by Rolando.Caloca

	DR - vk - Disable dedicated allocation as it causes crashes on Nvidia 700 series

Change 3908401 by Rolando.Caloca

	DR - Do transitions outside render pass

Change 3908422 by Rolando.Caloca

	DR - vk - Fix transition state not getting stored

Change 3908735 by Guillaume.Abadie

	Cherry-pick 3896619: Fixes after TAAU post process material that had wrong default buffer UV.

	#jira UE-55317

Change 3908736 by Guillaume.Abadie

	Cherry-pick 3891352: Fixes ensure when visualizing HDR with TAAU.

	#jira UE-55019

Change 3908753 by Guillaume.Abadie

	Lets the renderer layout the views in the internal render targets like it prefers.

Change 3909119 by Daniel.Wright

	Fix some static analysis warnings

Change 3911943 by Rolando.Caloca

	DR - vk - Fix for packaging Vulkan projects

Change 3912145 by Rolando.Caloca

	DR - vk - Fix layout on streaming textures

Change 3913029 by Rolando.Caloca

	DR - Fix missing transition

Change 3913048 by Rolando.Caloca

	DR - Fix for hlslcc

Change 3913054 by Rolando.Caloca

	DR - vk - Fix number of layers on barrier

Change 3913171 by Rolando.Caloca

	DR - vk - Fix for decal missing transition

Change 3913211 by Rolando.Caloca

	DR - vk - Add debug name to image tracking

Change 3913449 by Rolando.Caloca

	DR - vk - Restore transition

Change 3913466 by Rolando.Caloca

	DR - Fix Vulkan EngineTest

Change 3913537 by Rolando.Caloca

	DR - vk - Fixes independent samplers & textures (contributed by AMD)

Change 3913548 by Rolando.Caloca

	DR - vk - Warning fix

Change 3913691 by Rolando.Caloca

	DR - vk - Fixes for parallel (wip)

Change 3914656 by Rolando.Caloca

	DR - vk - Fix bug when using separate samplerstates and textures

Change 3914730 by Rolando.Caloca

	DR - vk - Bump version

Change 3914764 by Rolando.Caloca

	DR - vk - Don't crash on exit

Change 3915532 by Rolando.Caloca

	DR - vk - Parallel context fixes

Change 3915589 by Rolando.Caloca

	DR - vk - Hoist and rename transition and layout manager class out of the context

Change 3915592 by Rolando.Caloca

	DR - Fix gpu marker name

Change 3917607 by Rolando.Caloca

	DR - vk - Fix depth bounds on Vulkan

Change 3917609 by Rolando.Caloca

	DR - vk - Fix static analysis

Change 3917616 by Rolando.Caloca

	DR - Fix D3D11 initialization

Change 3920569 by Rolando.Caloca

	DR - vk - Prep for layout mgr refactor

Change 3921023 by Rolando.Caloca

	DR - vk - Dump layer fixes

Change 3921623 by Rolando.Caloca

	DR - vk - Prep refactor for layouts
	- Dump now shows marker tree

Change 3922007 by Rolando.Caloca

	DR - vk - Fix extra allocation per draw call

Change 3922442 by Rolando.Caloca

	DR - vk - Detect potential issues

Change 3922470 by Rolando.Caloca

	DR - vk - Minor optimization

Change 3922482 by Rolando.Caloca

	DR - vk - More minor optimizations

Change 3923158 by Rolando.Caloca

	DR - Move r.DisableEngineAndAppRegistration out to common RHI and use it on Vulkan

Change 3923486 by Rolando.Caloca

	DR - vk - Minor cpu optimizations

Change 3923505 by Rolando.Caloca

	DR - vk - Use bigger allocations for uniform buffers

Change 3923516 by Rolando.Caloca

	DR - vk - Android compile fix

Change 3923557 by Rolando.Caloca

	DR - vk - Cache descriptorset layouts, refactor duplicated code

Change 3923851 by Rolando.Caloca

	DR - vk - Linux compile fix

Change 3924153 by Rolando.Caloca

	DR - vk - Support for dynamic UBs

Change 3924193 by Rolando.Caloca

	DR - vk - Remove old per pso descriptor pools

Change 3924197 by Rolando.Caloca

	DR - vk - Remove unused global uniform buffer pool

Change 3924220 by Rolando.Caloca

	DR - vk - Wrap some unused classes in their define

Change 3924234 by Rolando.Caloca

	DR - vk - Show ring buffer wrapping messages

Change 3924243 by Rolando.Caloca

	DR - vk - Fix bad dynamic buffer

Change 3924902 by Rolando.Caloca

	DR - vk - Fix crash running infiltrator

Change 3925209 by Rolando.Caloca

	DR - vk - Fix bug with dynamic buffers
	- Remove old defines

Change 3925300 by Rolando.Caloca

	DR - vk - Allow packed uniforms as dynamic UBs (with r.Vulkan.DynamicGlobalUBs)

Change 3925627 by Rolando.Caloca

	DR - vk - Move DynamicOffsets into the pipeline state

Change 3925834 by Rolando.Caloca

	DR - vk - Cache per stage information

Change 3925835 by Daniel.Wright

	Fixed DisplayName for UParticleModuleCollisionGPU

Change 3925897 by Rolando.Caloca

	DR - vk - Split update descriptors loop

Change 3926488 by Rolando.Caloca

	DR - vk - 16MB for ring buffer on desktop, 8 MB for mobile

Change 3928168 by Guillaume.Abadie

	Cherry-pick 3917219: Implements r.DOF.RecombineQuality

Change 3928173 by Guillaume.Abadie

	Cherry-pick 3927888: Enables r.DOF.HybridScatter.BackgroundCompositing and r.DOF.HybridScatter.ForegroundCompositing to work when both enabled.

Change 3928216 by Rolando.Caloca

	DR - vk - Fix Android
	- Fix static analysis

Change 3929119 by Rolando.Caloca

	DR - vk - Rename some classes for clarity
	- Fix read-only cvar

Change 3929151 by Rolando.Caloca

	DR - vk - Rename class

Change 3930046 by Rolando.Caloca

	DR - Temp fix Vulkan flickering grass

Change 3930148 by Rolando.Caloca

	DR - vk - Only update dirty descriptors
	- Use dynamic descriptors for packed global uniform buffers

Change 3930998 by Guillaume.Abadie

	Packs shader permutation in different XGE submissions.

Change 3931079 by Rolando.Caloca

	DR - vk - Fixes for Android and non-real ubs platforms

Change 3931942 by Krzysztof.Narkowicz

	Depth rendering - When EarlyZPassMode is set to DDM_AllOccluders, dynamic objects need also to test bUseAsOccluder just like static ones

	#jira none

Change 3932819 by Daniel.Wright

	[Integrate] Scene Textures uniform buffer
	* Base Pass Uniform Buffer now contains a Scene Textures uniform buffer.  Previously the translucent base pass had to check ~40 loose scene texture parameters every draw.
	* FMeshMaterialShader's must now bind PassUniformBuffer and supply a valid pass uniform buffer.  For most passes this is just FSceneTextureUniformParameters.
	* FRendererModule::DrawTileMesh can now cleanly set dummy scene texture resources, just by configuring how the pass uniform buffer is created.
	* Moved scene texture shader functions out of Common, into SceneTexturesCommon which must be manually included by shaders that want to use them
	* Separate Mobile Scene Textures uniform buffer to silo the platform complexities

	Moved DBuffer inputs out of FDeferredPixelShaderParameters and into FOpaqueBasePassUniformParameters

	Removed per-frame material uniform expressions.  GameTime material node with period is now implemented with an fmod in the shader, without the use of MaterialFloat, so that it will happen at full precision.
	* Per-frame expressions were used when the GameTime material node had a period, to do the fmod on the CPU where 32 bit precision is guaranteed, for mobile GPU's where pixel shader precision is sometimes less than 32fp.

	Moved forward shading data into the Base Pass Uniform Buffer
	Removed instanced stereo support for the light cull grid - will have to be reimplemented without changing SRV's per draw
	Base pass sets View Uniform Buffer from DrawRenderState instead of choosing which one to set per-draw

	Fixed padding in nested uniform buffer structs
	Skip SRV members on Feature Level SM4 and below

Change 3932964 by Rolando.Caloca

	DR - vk - Renderdoc on Android

Change 3933095 by Daniel.Wright

	Moved FSceneTextureUniformParameters out of the opaque base pass uniform buffer.
	* Base Pass shaders now enable SCENE_TEXTURES_DISABLED when compiling for a material of any domain other than MD_Surface.  These are used when rendering thumbnails of a material in a different domain, which could be opaque, but the opaque base pass drawing policy does not bind a scene textures uniform buffer, so the shader must not bind it.
	* Opaque materials can no longer use EyeAdaptation.

Change 3933096 by Daniel.Wright

	Better d3d11 assert message when a uniform buffer was not set by the renderer

Change 3933176 by Rolando.Caloca

	DR - vk - Prefer mailbox if available

Change 3933271 by Ryan.Vance

	#jira UE-55936
	Fixed missing referenced uniform bindings on AR pass-through camera shaders.

Change 3934000 by Guillaume.Abadie

	Fixes Win32 build in ShaderCompilerXGE.cpp

Change 3934299 by Guillaume.Abadie

	Fixes a bug in DOF's reduce operator that was casusing color leaking between background and foreground.

Change 3934699 by Daniel.Wright

	Added bAffectDistanceFieldLighting to landscape

Change 3935190 by Daniel.Wright

	Forward Light Grid SRV's use StructuredBuffer on Metal, instead of 'invariant Buffer', which throws off RemoveUniformBuffersFromSource parsing

Change 3935606 by Daniel.Wright

	Removed LightmapPolicy::Set which was needed for vertex lightmaps
	Renamed FVertexFactory::Set to SetStreams to make it findable

Change 3936510 by Rolando.Caloca

	DR - vk - Update glslangValidator.exe to 1.0.65.1 for dumped debug SPIRV shaders

Change 3936545 by Richard.Wallis

	Clone of CL's (3925763, 3925430, 3925424, 3925385, 3925278) Mark Satt's Xcode fixes from task stream //Tasks/UE4/Dev-UERNDR-354-mtlpp/

	Plus XCode 9.2 compile fix in ApplicationPlatformCompilerPreSetup.h for -Wunused-lambda-capture.

Change 3938061 by Daniel.Wright

	Vulkan: Added support for SRV's in Uniform Buffers

Change 3938123 by Daniel.Wright

	Vulkan: Slightly better assert for null resources in uniform buffer

Change 3939197 by Rolando.Caloca

	DR - vk - Disable custom memory mgmt

Change 3939677 by Rolando.Caloca

	DR - vk - Fix static analysis warning

Change 3939809 by Rolando.Caloca

	DR - vk - Fixes for async compute

Change 3939875 by Rolando.Caloca

	DR - vk - Support for -vktrace

Change 3939977 by Rolando.Caloca

	DR - vk - Skip a condition during gather UBs
	- Set up efficient compute async var
	- Fix validation cmd line

Change 3939982 by Rolando.Caloca

	DR - vk - Revert mipchain

Change 3939984 by Rolando.Caloca

	DR - vk - Remove unnecessary asserts

Change 3940082 by Rolando.Caloca

	DR - vk - Custom mem mgr

Change 3940475 by Rolando.Caloca

	DR - vk - Fix DFAO (indirect draw offset)

Change 3940555 by Rolando.Caloca

	DR - vk - Minor fixes

Change 3940675 by Rolando.Caloca

	DR - vk - Fix indirect type mismatch

Change 3941111 by Rolando.Caloca

	DR - Renderpass bGeneratingMips

Change 3941847 by Daniel.Wright

	Fixed Volumetric Lightmaps on Static geometry only working if the geometry had been built with Surface Lightmaps before

Change 3941978 by Rolando.Caloca

	DR - vk - Minor fixes for presenting on compute queue

Change 3942074 by Rolando.Caloca

	DR - vk - Remove some RHI stalls
	- Fixed swap chain stat

Change 3943946 by Daniel.Wright

	Fixed Texcoord0 on Volume materials on a particle sprite, including SubUV particles.

Change 3944065 by Daniel.Wright

	Fixed SceneDepth collision getting broken on GPU particles when a scene capture is rendering

Change 3944158 by Daniel.Wright

	Fixed ViewUniformShaderParameters accessing GEngine->PreIntegratedSkinBRDFTexture too early during slate loading screen

Change 3944865 by Rolando.Caloca

	DR - vk - Prep for render passes

Change 3945196 by Rolando.Caloca

	DR - Move render pass validate to cpp

Change 3945202 by Rolando.Caloca

	DR - vk - Some fixes for using real render passes

Change 3945357 by Rolando.Caloca

	DR - Fix bad condition

Change 3946295 by Yuriy.ODonnell

	Added a sentinel member to FLightMap, which is initialized in the ctor and reset in the dtor. Sentinel is then checked in FLightCacheInterface::GetLightMapInteraction().
	This aims to shed some more light on a hard-to-repro crash, which is suspected to be a use-after-free bug: http://crashreporter/Buggs/Show/1785593

Change 3946407 by Rolando.Caloca

	DR - vk - Prep for refactor

Change 3946648 by Rolando.Caloca

	DR - vk - Fixes for async compute (wip)

Change 3947299 by Rolando.Caloca

	DR - vk - FIx static analysis

Change 3948434 by Rolando.Caloca

	DR - vk - Fix exiting with parallel

Change 3948928 by Rolando.Caloca

	DR - vk - Fix enabling draw markers for tools

Change 3949021 by Rolando.Caloca

	DR - vk - Buffer tracking layer

Change 3949602 by Rolando.Caloca

	DR - vk - static analysis fix

Change 3949757 by Rolando.Caloca

	DR - vk - Remove bogus parameter

Change 3949810 by Rolando.Caloca

	DR - vk - Move waits for cmd buffer

Change 3950270 by Guillaume.Abadie

	Implements dedicated gather pass for foreground hole filling to avoid being VGPR bound in foreground gather pass, but still being hable to amend foreground.

Change 3950272 by Rolando.Caloca

	DR - vk - Minor refactor for semaphores

Change 3950279 by Guillaume.Abadie

	Oups... fixes build

Change 3950298 by Rolando.Caloca

	DR - vk - Gather wait semaphores in the cmd buffers

Change 3950371 by Rolando.Caloca

	DR - vk - fixes for async compute

Change 3950597 by Rolando.Caloca

	DR - vk - Fix for clip distance (fixes planar reflections)

Change 3951075 by Rolando.Caloca

	DR - vk - Fix for async compute

Change 3952524 by Guillaume.Abadie

	Some DOF enum refactoring.

Change 3955016 by Daniel.Wright

	Fixed BuiltData package getting renamed into the map package during a content browser folder move, causing a redirector to be incorrectly placed in the map package

Change 3955668 by Guillaume.Abadie

	Fixes a bug where full res coc buffer was computed even if not doing slight out of focus.

Change 3956722 by Guillaume.Abadie

	Fixes a bug where r.DOF.MaximalForegroundBlurringRadius was screen percentage dependent.

Change 3959212 by Guillaume.Abadie

	Prefixes all DOF's shaders files with DOF keyword.

Change 3959705 by Guillaume.Abadie

	Optimises the DOF setup pass outputing half res and full res with LDS downsample.

Change 3959941 by Guillaume.Abadie

	Halfs DOF's hybrid scatter compilation by using a unique downsampling for both foreground and background, instead of 2 reduce passes.

Change 3962273 by Rolando.Caloca

	DR - Fix typos

	#jira UE-56317
	PR #4586

Change 3962615 by Rolando.Caloca

	DR - vk - Compile fix

Change 3962949 by Rolando.Caloca

	DR - Fix DOFDownsample extension

Change 3962993 by Guillaume.Abadie

	Back out changelist 3962949

Change 3963016 by Guillaume.Abadie

	Adds missing DOFDownsample.usf

Change 3963041 by Rolando.Caloca

	DR - vk - Misc changes to help integrate

Change 3964293 by Guillaume.Abadie

	Fixes DOF's setup pass reading outside of the viewport.

Change 3964475 by Guillaume.Abadie

	Collapses DOF's hybrid scatter compilation passes into reduce passes.

Change 3964883 by Daniel.Wright

	Fixed 3d texture in uniform buffer on unsupporting RHI

Change 3964897 by Rolando.Caloca

	DR - Compile fixes

Change 3964914 by Guillaume.Abadie

	Fixes a bug on r.DOF.RecombineQuality=0

Change 3965153 by Guillaume.Abadie

	Fixes compile warning in D3D12Commands.cpp.

Change 3965814 by Rolando.Caloca

	DR - Prep for integration conflict resolve

Change 3965899 by Rolando.Caloca

	DR - Fix odd linkage issue

Change 3966072 by Rolando.Caloca

	DR - More prep for merge

Change 3966163 by Rolando.Caloca

	DR - Merge prep

Change 3966844 by Guillaume.Abadie

	Packs multiple DOF scattered bokeh per instance and uses PT_RectList in DOF for platforms that can.

Change 3967116 by Rolando.Caloca

	DR - Compile fixes for integration

Change 3967273 by Rolando.Caloca

	DR - Use same path for mip generation

Change 3967277 by Rolando.Caloca

	DR - vk - Fix mips on cubemaps

Change 3967693 by Rolando.Caloca

	DR - Copying //UE4/Dev-Main@3912313 to //UE4-DevRendering, missing shaders

Change 3967851 by Rolando.Caloca

	DR - Copying //UE4/Dev-Main@3912313 to //UE4-DevRendering, Engine 2/2

Change 3968083 by Rolando.Caloca

	DR - Integration compile fixes

Change 3968240 by Rolando.Caloca

	DR - Shader compile fixes for integration

Change 3968270 by Rolando.Caloca

	DR - Fix for missing hash calculation

Change 3969426 by Rolando.Caloca

	DR - vk - Fix warning

Change 3969869 by Krzysztof.Narkowicz

	Back out changelist 3946295 - UE-54537 is fixed, so no need for this debug sentinel.
	#jira none

Change 3969944 by Rolando.Caloca

	DR - Warning fix

Change 3970020 by Rolando.Caloca

	DR - Bump after integration

Change 3970052 by Rolando.Caloca

	DR - Fix for mobile

Change 3970236 by Daniel.Wright

	Causing decal shader to recompile to fix a merge bug

Change 3970270 by Daniel.Wright

	Bump shader version from merge

Change 3970339 by Olaf.Piesche

	Replace series of locks/unlocks with a single one for curve injection

	#tests QAGame

Change 3970390 by Rolando.Caloca

	DR - Rename FSceneTextureUniformParameters to FSceneTexturesUniformParameters
	- Remove duplicate method for occlusion queries

Change 3970523 by Rolando.Caloca

	DR - Fix serialization of shaders

Change 3970533 by Arne.Schober

	DR - fix for removing the Speed tree wind when the scene gets deleted. The original enque rendercommand requeues the element onto the renderthread although the call already came from the Renderthread and the scene can get lost in between.

	#jira UE-56322

Change 3971160 by Guillaume.Abadie

	Fixes CompositeEditorPrimtive pass and SelectionOutline pass for VR editor to work with TAAU.

Change 3971516 by Guillaume.Abadie

	Cherry-pick 3912629: Fixes SSR that was computing vigneting according to PrevScreen that could let some outside viewport samples going through when rotating the camera.

	#jira UE-55353

Change 3971594 by Krzysztof.Narkowicz

	Fixed assert inside BindLightMapVertexBuffer. FSplineMeshSceneProxy was calling BindLightMapVertexBuffer for invalid (still not generated) lightmap UV channel after mesh reimport. Simplified assert, as at the moment almost all of the high callsites already clamp lightmap uv channel.
	#jira UE-56321

Change 3971622 by Krzysztof.Narkowicz

	Fixed crash inside Indirect Lighting Cache. Data (reflection captures and lightmap) generation calls ULevel::GetOrCreateMapBuildData(), which can destroy lightmap data if level has legacy data. Last Lightmap generation step recreates this data, but if user cancels lightmap generation - it won't do that.
	#jira UE-56171

Change 3974788 by Rolando.Caloca

	DR - Remove GSupportsGenerateMips

Change 3974789 by Rolando.Caloca

	DR - Remove bogus function

Change 3974986 by Rolando.Caloca

	DR - vk - Tracking fixes

Change 3974989 by Rolando.Caloca

	DR - vk - Don't submit dummy barriers

Change 3975075 by Olaf.Piesche

	Update for particle curve injection improvement, fixing ES2 problems

	#tests QAGame tm-shadermodels, various color curve tests in-editor

Change 3975957 by Uriel.Doyon

	Fixed invalid max texture resolution when using the bake material tools.

Change 3978471 by Daniel.Wright

	New cvar r.SkylightUpdateEveryFrame

Change 3978779 by Rolando.Caloca

	DR - Accessor for texture sizes

Change 3978797 by Rolando.Caloca

	DR - Clean up RHI CopyTexture API

Change 3978832 by Rolando.Caloca

	DR - vk - Workaround for RenderDoc crashing due to Descriptor Pool reset

Change 3978836 by Rolando.Caloca

	DR - vk - Remove generate mips

Change 3979201 by Rolando.Caloca

	DR - vk - RHI CopyTexture. Uses general layout for generating mips

Change 3979204 by Rolando.Caloca

	DR - Use render passes and CopyTexture to generate mips

Change 3979592 by Rolando.Caloca

	DR - Warning fix

Change 3980855 by Krzysztof.Narkowicz

	Optimize bounding sphere radius after non-uniform scale by using bounding box extent.

	#jira UE-56227

Change 3981065 by Rolando.Caloca

	DR - vk - Fix bad layout

	#jira UE-56238

Change 3981346 by Rolando.Caloca

	DR - Copy from 3707257
	Support for not flushing compute jobs (r.D3D11.UAVFlushNV)

Change 3981347 by Rolando.Caloca

	DR - Copy from 3707257
	Don't flush between morph dispatched

Change 3981932 by Mark.Satterthwaite

	Generate the shader hash and function name when a Metal shader error needs to be reported so that even without shader code we get something to go on.

Change 3982442 by Rolando.Caloca

	DR - Fix warning

Change 3982652 by Rolando.Caloca

	DR - vk - Signal semaphore cleanup

Change 3983917 by Richard.Wallis

	Clone of CL 3974146 converted for mtlpp along with extra mtlpp usage suggestions by Mark Satt:

	Fix for black flickering on first paint with weighted material landscape on Mac.  When using AsyncCopyFromBufferToTexture in Metal we put the blit operation on the prologue encoder - however after a draw call using that resource the copy operation should happen after on the current encoder, this keeps the correct order of operations.

	Added Bool return from various Asnyc renderpass resource requests so caller can decide correct further action.  Updated to include the other async functions.

Change 3984409 by Guillaume.Abadie

	Attempts to make static analysis happy again.

Change 3984435 by Nick.Bullard

	Checking in Performance Test level provided to us by Tor Frick based on UE-44841.
	This has been utilized for checking issues against Aftermath performance impact.
	The Map includes 2 Level Book marks, most testing has been done against Bookmark 1 view, in fullscreen, in game mode

Change 3985087 by Mark.Satterthwaite

	Make sure that the particle scratch buffer is large enough to hold all the data for the curve texture we are rendering to, otherwise a full set of curves will start scribbling memory after 64Kb (the curve texture is 256Kb of data - 512x512x4 as sizeof(RGBAUInt8) == 4). This happens in ElementalDemo.

Change 3985201 by Rolando.Caloca

	DR - Fix bad CopyTexture

Change 3985258 by Mark.Satterthwaite

	Try and detect orientation changes so that we don't blow-up on iOS due to a huge mismatch between the drawable texture for the display and the scene's depth-stencil target. I can't just fiddle with the depth-stencil texture itself without running  the risk of obliterating in-use data and really we shouldn't permit such a mismatch anyway but it is fallout from 3620990.

	#jira UE-55756

Change 3986449 by Rolando.Caloca

	DR - vk - Update & consolidate Vulkan headers to 1.1.70.1
	Consolidate SDK into one

Change 3986571 by Guillaume.Abadie

	Makes PVS-Studio happy again in DOF.

Change 3987039 by Yuriy.ODonnell

	Initial implementation of tracing profiler to show CPU and multiple GPUs on the same timeline. Currently only supported on DX12 platforms.

	Use `TracingProfiler frames=N` console command to trigger a capture of the next N frames. Trace is saved to disk as a JSON file into `Saved/Profiling/Traces` directory.
	Trace file uses Google Tracing format and can be visualized in Chrome built-in profiler (chrome://tracing).

	`r.GPUStatsChildTimesIncluded=1` CVar makes timing scopes hierarchical.
	`TracingProfiler.BufferSize=N` CVar controls the size of the tracing buffer, which may need to be increased for long traces (default is 65k events). Only can be set at startup.

Change 3987074 by Yuriy.ODonnell

	Implemented timestamp calibration on DX11. Calibration is only performed when tracing profiler session starts.

Change 3987160 by Yuriy.ODonnell

	Added thread naming and ordering to the tracing profiler output

Change 3987331 by Mark.Satterthwaite

	Remove the Nvidia hack to retain resource references in command-buffers for UE-46604 as the mtlpp refactor provides stronger resource lifetime guarantees.

	#jira UE-46604

Change 3987754 by Mark.Satterthwaite

	Fix MetalRHI memory reporting in non-default path.

	PR #4568

Change 3988184 by Arciel.Rekman

	Linux: Fix editor OpenGL performance (UE-55960).

	- GetCurrentThreadId() calls became much more frequent with the OpenGL RHIT refactor.
	- We used to only cache that value in monolithic builds, because having per-thread static variables in dynamic libraries is risky due to OS limits.
	- This change adds dynamically-managed per-thread cache for non-monolithic builds.

	#jira UE-55960

Change 3988394 by Rolando.Caloca

	DR - vk - Improve memory mgmt
	- Use 256MB pages for Device heap (or 1/8th if less).
	- Remove texture allocations not going through resource manager

Change 3988405 by Marcin.Undak

	Fix VulkanQuery crash on exit #codereview rolando.caloca #codereview arciel.rekman #rb arciel.rekman

Change 3988567 by Rolando.Caloca

	DR - vk - Support for packed global UBs on pci aperture heap

Change 3988668 by Rolando.Caloca

	DR - vk - Remove old comments

Change 3988956 by Marcin.Undak

	RecordPerformance: added option to skip building/cooking before tests #rb none #codereview arciel.rekman

Change 3989161 by Yuriy.ODonnell

	Static analysis error fix

Change 3989196 by Guillaume.Abadie

	Fixes a crash in light shaft's TAA pass.

	#jira UE-57366

Change 3989207 by Yuriy.ODonnell

	Refactored FRealtimeGPUProfilerFrame to avoid splitting profile events when calculating exclusive times of scopes. This allows tracing profiler to retain the hierarchical view of the data, while keeping CSV and GPU Stat system behavior intact.

Change 3989469 by Rolando.Caloca

	DR - vk - Fix for bad index; fix for bad transition

Change 3989772 by Yuriy.ODonnell

	Implemented timestamp calibration on Vulkan

Change 3990040 by Marcus.Wassmer

	Aftermath enabled by default.
	Removed unnecessary warning for other vendors

Change 3990064 by Mark.Satterthwaite

	Ensure that packed globals are reuploaded when the command-encoder is restarted - don't simply invalidate the existing parameters. This properly handles cases where a single logical render-pass is broken into multiple command-encoders and/or command-buffers - otherwise all shaders must reset all parameters each time. When we move between frames we *do* want to perform a full state reset though as previous frame globals are treated as invalid.

Change 3990080 by Mark.Satterthwaite

	Change the way we invalidate the visibility buffer between command-buffers and command-encoders so that on iOS you can reuse the same buffer within the same command-buffer, but not across more than one. The code provides an exception to this rule when running under the MetalRHI validation tools which can break each draw call into its own buffer.

Change 3990084 by Mark.Satterthwaite

	Get MetalStatistics compiling again.

Change 3990381 by Arciel.Rekman

	Bring back D3D12 in RecordPerformance.

Change 3991113 by Rolando.Caloca

	DR - Fix crash on RHI thread on mobile preview
	- Check RHI objects are not null in the PSO initializer

Change 3991191 by Ryan.Vance

	#jira UE-55952

	Reimplemented instanced stereo for forward lighting cull grid after the srv/ub clean up.

Change 3991343 by Rolando.Caloca

	DR - Copy from 3911492
	UE4 - Disabled parallel mobile bass pass by default. This is experiemental and not known to be useful on any mobile platform.

Change 3991375 by Mark.Satterthwaite

	Proper copyright assignment in the mtlpp debugger header.

Change 3993151 by Daniel.Wright

	Fix RTDF resource transition found by Rolando

Change 3993818 by Rolando.Caloca

	DR - Missed file

Change 3993923 by Krzysztof.Narkowicz

	Fixed crashes inside RemoveSpeedTreeWind() and RemoveSpeedTreeWind_RenderThread().
	FStaticMeshComponentRecreateRenderStateContext didn't flush deferred render updates causing stale RenderData to be left:
	1. Thumbnail manager called SetStaticMesh(nullptr), which added StaticMeshComponent to deferred render updates.
	2. UStaticMesh::Build called FStaticMeshComponentRecreateRenderStateContext and destroyed DenderData, but didn't touch Thumbnail's manager StaticMeshComponent as it was nullptr.
	3. This resulted in a StaticMeshComponent with stale RenderData pointer.

	#jira UE-54544

Change 3994033 by Rolando.Caloca

	DR - vk - Reworked layers & extensions, as we were not doing it properly
	- Remove -vulkanstandardvalidation and -novulkanstandardvalidation as they are not needed anymore

Change 3994275 by Mark.Satterthwaite

	Change to linking against mtlpp via AddEngineThirdPartyPrivateStaticDependencies and marking its header with THIRD_PARTY_* macros in the vain hope that might convince the remote compilation code to distribute the module to the remote machine when building MetalRHI.

	#jira UE-57507

Change 3994365 by Mark.Satterthwaite

	Pilfer some code from the old MetalHeap file to handle calculating texture memory size on older macOS and iOS builds when running with stats or LLM enabled.

	#jira UE-57513

Change 3994382 by Rolando.Caloca

	DR - vk - Some missing locks during image tracking

Change 3994422 by Rolando.Caloca

	DR - vk - Remove bogus shader format

Change 3995530 by Rolando.Caloca

	DR - vk - Fix for crash when validation is enabled

Change 3995531 by Rolando.Caloca

	DR - vk - Fix static analysis

Change 3995532 by Rolando.Caloca

	DR - vk - Added support for r.Vulkan.SaveValidationCache

Change 3995610 by Uriel.Doyon

	Texture Streaming Changes and Fixes:
	- Using the small FOV items (like scopes) now only affect visible primitives (through "r.Streaming.MaxHiddenPrimitiveViewBoost").
	- Static components added after the level is registered in the streaming manager are now handled correctly (fixes the low quality on the chests)
	- Dynamic components do not need to register to the streaming manager anymore.
	- Optimized dynamic component management by removing duplicate entries in the update list.
	- Added a pregarbage collect pass to the dynamic component management to optimize GC handling.
	- Added a budget reset logic whenever the scene requirements change significantly.
	- PIE worlds now have correct visibility information.
	- Fixed possible invalid memory access when processing the streaming manager slave views.
	- Refactored the incremental level texture data build to prevent new components from being unhandled.
	- Removed StreamingManager callbacks for NotifyActorSpawned() and NotifyPrimitiveAttached()
	- Added a StreamingManager callback NotifyPrimitiveUpdated(), to be used whenever a primitive streaming state must be updated.

	#jira none

Change 3995908 by Arciel.Rekman

	Fix compile errors when using new Vulkan queries.

Change 3995990 by Arciel.Rekman

	More compile fixes to new Vulkan queries.

	- MSVC did not catch this, clang did.

Change 3996101 by Rolando.Caloca

	DR - vk - Win32 compile fix

Change 3996323 by Mark.Satterthwaite

	Use the right include path to export the mtlpp headers.

	#jira UE-57507

Change 3996392 by Arciel.Rekman

	Vulkan: fix crash on start when using new queries.

	- CommandBufferManager was not yet set at that point and the code in queries relied on it.

Change 3996585 by Rolando.Caloca

	DR - Slight improvement to GL being black, but just a temporary 'workaround' as it's not correct.

Change 3998806 by Arciel.Rekman

	Fix Linux build (UE-57602).

	#jira UE-57602

Change 3998866 by Arciel.Rekman

	SubwaySequencer: fix old shader platform name.

Change 3998947 by Mark.Satterthwaite

	Silence deprecation warnings in CEF on macOS now that we've moved to 10.12 as the minimum.

	#jira UE-57577

Change 3998951 by Mark.Satterthwaite

	Fix last of the deprecation errors that I am aware of for macOS 10.12.

	#jira UE-57581

Change 3998984 by Mark.Satterthwaite

	Build mtlpp for iOS 9.0 not 9.3.

	#jira UE-57586

Change 3999065 by Rolando.Caloca

	DR - vk - Make sure we use version 1.0.0

	#jira UE-57521

Change 3999071 by Arne.Schober

	DR - [UE-55433, UE-57361] Hack SNORM support in OpenGL by re-interpreting UNORM. Underlying data is always SNORM.

	#jira UE-55433, UE-57361

Change 3999494 by Rolando.Caloca

	DR - Enable r.UnbindResourcesBetweenDrawsInDX11 in debug
	- Clear compute resources when r.UnbindResourcesBetweenDrawsInDX11 is enabled

Change 4000197 by Krzysztof.Narkowicz

	Mesh simplifier - normalize TexCoordWeights using min/max TexCoord range. This fixes precision issues for very big TexCoord values and allows to optimize for all TexCoord channels when channels have values of different magnitudes (e.g. non standard TexCoord data).
	#jira UE-54935

Change 4000305 by Yuriy.ODonnell

	Suppress PVS Studio warning V547 (Expression is always true) related to Aftermath

	Reported issue to PVS team and to NVIDIA. Confirmed false positive, fix coming in future PVS version (v6.24).

	#jira UE-57579

Change 4000853 by Arciel.Rekman

	Linux: fix not calling CrashReportClient (UE-57678).

	#jira UE-57678

Change 4001504 by Rolando.Caloca

	DR - vk - Fix transition

Change 4002460 by Krzysztof.Narkowicz

	Toggle for contant shadow length in word space
	Exposed contact shadows to Blueprints
	#jira none

Change 4002608 by Rolando.Caloca

	DR - vk - Fix static analysis
	- Fix potential debug image tracking crash
	- Comment out unused methods

Change 4002615 by Rolando.Caloca

	DR - vk - Allow r.Vulkan.WaitForIdleOnSubmit to be set at startup (e.g. in ConsoleVariables.ini)
	Previously, if your map needed to UpdateSkyCaptureContents on startup, an ensure would fail if GWaitForIdleOnSubmit was set.
	PrepareForCPURead needs to wait for the command buffer to finish before trying to read the results back, but the wait has already happened when r.Vulkan.WaitForIdleOnSubmit is set. Trying to wait again correctly complains that the command buffer is not in the correct state. So, skip the WaitForCmdBuffer call when r.Vulkan.WaitForIdleOnSubmit is set.

Change 4002640 by Rolando.Caloca

	DR - vk - Missing support for CVarDefaultBackBufferPixelFormat

Change 4002919 by Guillaume.Abadie

	Implements DOF's temporal upsampling pass for better dynamic resolution stability.

Change 4002984 by Guillaume.Abadie

	Integrates Sebastian Aaltonen's ALU optimisations for TAAU.

Change 4003112 by Olaf.Piesche

	Fir for TBB stall (resulting in severe hitches and hangs in the editor with stats active); tested multiple scenarios and encountered no hitches.

	#tests QAGame PerformanceTest and RenderTest map with various stats on and off

Change 4003159 by Mark.Satterthwaite

	Undo parts of changelist 3970553 - the ref-counted pointer approach to returning textures to the pool is not working as expected so we'll remove that. It'll be faster on the CPU without it and everything works thanks to the changes this CL made to the way textures were released.

	#jira UE-57538

Change 4003287 by zachary.wilson

	Adding reflection capture content to TM-LightingScenarios

Change 4003395 by Arne.Schober

	DR - Fix unitzialised value when clicking Go To in the editor
	#jira UE-57048

Change 4003425 by Rolando.Caloca

	DR - vk - Fix for new occlusion queries

Change 4003530 by Arne.Schober

	DR - Disable GPU Benchmark in headless configurations

	#jira UE-57673

Change 4003717 by Rolando.Caloca

	DR - vk - Fix for depth not store, stencil store

Change 4003719 by Rolando.Caloca

	DR - Minor switch to render pass

Change 4003720 by Mark.Satterthwaite

	Don't suballocate private memory buffers on Vega and only Vega as there is something wrong with the blits in those cases but I can't capture a GPU trace to find out what right now (the driver is broken) - could be a bug in my code but this works on Polaris and Nvidia so it will need to be filed as a radar for AMD.
	Remove the FMetalBufferChunk from FMetalBuffer and simply store a pointer to the owning Heap/Magazine allocator. The FMetalResourceHeap now calls a new Release function to return the buffer to the allocator which will be faster on the CPU.

	#jira UE-57659

Change 4003854 by Mark.Satterthwaite

	Undo parts of 3990064 and try a different approach to get the uniforms to upload and remain available in the right places. As the original bug has been lost to time we should keep an eye out for missing buffer bindings by running under the Metal validation layer periodically.

	#jira UE-57576

Change 4004709 by Rolando.Caloca

	DR - Support for D3D 11, 12 & Vulkan for UAVs off Index Buffers

Change 4005149 by Guillaume.Abadie

	Adds shader permutation to avoid clamping input buffer UV in DOF's gather pass.

Change 4005284 by Uriel.Doyon

	Resaved volume texture assets with proper engine version.

	#jira UE-57534

Change 4005286 by Guillaume.Abadie

	Reduces constant setup in DOF's gather pass.

Change 4005359 by Rolando.Caloca

	DR - vk - Fix annoying warning

Change 4005363 by Rolando.Caloca

	DR - Fix android not finding vulkan shaders

Change 4005457 by Rolando.Caloca

	DR - vk - Fix swapchain crash

Change 4005473 by Patrick.Kelly

	UE-57135: Editor crash if set Reflection Capture Resolution to be 64 and New a Default level

	Codde by Daniel
	Tested by Patrick

Change 4005474 by Rolando.Caloca

	DR - vk - Remove glsl code from shaders. Packaged QAGame goes from 176MB to 162MB

Change 4005759 by Krzysztof.Narkowicz

	Fixed a bug, where reflection capture build is called, even though we are in mobile preview mode.
	#jira UE-57743

Change 4005774 by Mark.Satterthwaite

	Update the wave intrinsics to avoid implicit bool->uint conversion that Apple don't like.

	#jira UE-57750

Change 4005974 by Mark.Satterthwaite

	Don't use cubemap array types on iOS Metal as they aren't available on all devices and we need to maintain backward compatibiliy for years to come.

	#jira UE-57083

Change 4006056 by Mark.Satterthwaite

	Remove the use of the PrimitiveType argument from Metal draw calls.

	#jira UE-57822

Change 4006139 by Mark.Satterthwaite

	- Move the render-pass functions into the MetalRHI implementation for later alteration.
	- Implement Index buffer UAVs for Metal - makes them more like vertex-buffers so this is one more step on the road to a unified buffer base-class implementation.

Change 4006215 by Mark.Satterthwaite

	Metal's begin & end render/compute pass API implementation will take some time, but for now make it not depend on the parent stub implementation.

Change 4006394 by Mark.Satterthwaite

	In lieu of a real instruction count just use the number of lines in the "Main" function of the shader as the instruction count for Metal.

	#jira UE-57551

Change 4006493 by Mark.Satterthwaite

	MetalRHI can currently support 4-component formats for Buffer UAVs - this might need some thought in the future as the API evolves but we might as well take advantage while we can.

Change 4006495 by Daniel.Wright

	Integrate from Refactor branch
	* New FMaterialRenderProxy function GetMaterialWithFallback which provides both the FMaterialRenderProxy and FMaterial.  Needed when falling back to default material, so that proxy and material resource match.
	* Local vertex factory uniform buffer

Change 4006851 by Brian.Karis

	Fix for joined charts forming an L to inflate both axii.

	Thanks to Jess Kube of The Coalition.

Change 4006852 by Brian.Karis

	Fix for hard coded reflection capture cube map size. Should fix light static light aliasing in captures

Change 4006918 by Brian.Karis

	New ByteBuffer functionality. Memcpy and scatter upload. Can implement GPU side TArray reflection.

	Not yet used by checked in code. WIP optimization.

Change 4007246 by Guillaume.Abadie

	Creates lower quality permutation for DOF's gathering pass, without Coc based weighting of the samples, and lower number of gathering ring for fast accumulator.

Change 4007291 by Guillaume.Abadie

	Exposes more DOF scalability settings.

Change 4007328 by Guillaume.Abadie

	Optimises DOF's half res only setup pass using gather4

Change 4007627 by Richard.Wallis

	Fix for when Magic Mouse cannot zoom in World Composition editor.  Missing default SNodePanel::OnMouseMove behaviour.  Tested using a classic 2xbutton + wheel mouse and a Mac MagicMouse.

	#jira UE-57030

Change 4007682 by Richard.Wallis

	No video when playing HLS streaming video on Mac.  2 Issues, FPS was zero making duration for video sample buffer nonsense and Video Track dimensions were going to zero on the AVAsset once fully initialized when playing HSL streams.  Now cache relevant details and handle zero frame rate.

	Notes:
	- Caching the frame rate is not as important as we could look it up each time and fix for zero - ignoring that at the moment.
	- Assume we DO NOT want the FrameSize to be the last fetched video frame size from the AvfMediaVideoSampler as I think that is the video quality for streaming video and not the media frame size.
	- Renamed a variable in the AvfMediaVideoSample - was called FrameRate but it was the FrameDuration by that point.

	#jira UE-56734

Change 4007731 by Rolando.Caloca

	DR - Disable byte buffers on non-hlsl based platforms

	#jira UE-57851

Change 4007741 by Rolando.Caloca

	DR - Disable byte buffers on hlslcc platforms

Change 4007782 by Mark.Satterthwaite

	Force Metal shaders, including the stdlib, to recompile.

Change 4007918 by Rolando.Caloca

	DR - vk - Some static asserts

Change 4008404 by Arciel.Rekman

	Do not crash on incompatible Vulkan drivers (UE-57521).

	#jira UE-57521

Change 4008442 by Daniel.Wright

	Better comments on ERHIFeatureLevel expectations

Change 4008494 by Arne.Schober

	DR - moved bDeletedThroughDeferredCleanup before begincleanup to catch cases where the reference is added twice to the array. also removed finishcleanup as all they ever did was deleting the pointer anyway, and it sould be adfded if such functionallity is ever required fom outside of the regular destructor.

	#jira UE-57754

Change 4008730 by Mark.Satterthwaite

	After the most recent changes to handling uniform buffer dirty bits in MetalRHI we should guard against attempts to set an unbound uniform buffer.

	#jira UE-57870

Change 4008949 by Brian.Karis

	Fix compile warning

Change 4008951 by Brian.Karis

	Added LTC LUT textures

Change 4009326 by Guillaume.Abadie

	Compiles out DOF's gathering bokeh simulation on platform other than desktop.

Change 4009380 by Krzysztof.Narkowicz

	Moved area light code before the contact shadows, so contact shadows use representative light's direction.
	Merged all contact shadows shader code.
	Contact shadows keep constant screen space length independent of FoV settings.
	Contact shadows for translucents.
	Contact shadows for eye.

Change 4009555 by Guillaume.Abadie

	Splits DOFCocTile.usf in two.

Change 4009999 by Yuriy.ODonnell

	MallocStomp can now be enabled on certain platforms using '-stompmalloc' command line argument.

	Previously it was necessary to modify MallocaStomp.h and re-compile the engine.
	Currently supported platforms: Win64, Mac, Linux.

	Replaced hard-coded page size with FPlatformMemory::GetConstants().PageSize.

Change 4010288 by Rolando.Caloca

	DR - vk - Fix for vertex streams

Change 4010289 by Krzysztof.Narkowicz

	D3D12 - fixed depth bounds bug, where depth bounds wasn't properly set to [0;1] after disabling.

	#jira UE-57510

Change 4010297 by Rolando.Caloca

	DR - vk - Remove some functions for android

Change 4010315 by Rolando.Caloca

	DR - vk - Remove create info macro

Change 4010451 by Rolando.Caloca

	DR - vk - Reuse samplers
	- Infiltrator goes from 5759 to 24 samplers!

Change 4010627 by Rolando.Caloca

	DR - vk - Fix missing values for tracking swapchain validation

Change 4011924 by Guillaume.Abadie

	Implements tile based early return optimisation on DOF's postfiltering method.

Change 4011941 by Guillaume.Abadie

	Shaves some ALU in DOF's accumulator for LowQuality permutation.

Change 4012093 by Yuriy.ODonnell

	Disable MallocStompOverrunTest() in static analysis config, as it intentionally performs an out-of-bounds access.

Change 4012195 by Rolando.Caloca

	DR - vk - Fix for mobile backbuffer layout

Change 4012202 by Rolando.Caloca

	DR - vk - Don't use staging buffers on UMA

Change 4012467 by Rolando.Caloca

	DR - Remove redundant check

Change 4012486 by Rolando.Caloca

	DR - Fix missing transition

Change 4012518 by Guillaume.Abadie

	Implements fast shader permutation for DOF's TAA pass.

Change 4013084 by Arciel.Rekman

	Fix for Linux clock discrepancy.

	- Causing at least one precision issue, possibly more.

	(Edigrating 4003273, 4012462 from //UE4/Dev-Editor/... to //UE4/Dev-Rendering/...)

Change 4013266 by Uriel.Doyon

	Fixed crash when setting SceneDepthTextureNonMS and not having valid depth buffers in the  SceneContext.

Change 4013626 by Uriel.Doyon

	Fixed crash in the lighting build when creating a blueprint of the ALight and placing a light component in it.
	#jira UE-51672

Change 4013805 by Rolando.Caloca

	DR - Fix more missing transitions

Change 4014128 by Arne.Schober

	DR - Do not create LocalVFUniformBuffer when running without MVF

	#jira UE-57929

Change 4014193 by Uriel.Doyon

	Editing component transforms now invalidate the component's lighting cache.

	#jira UE-48134

Change 4014282 by Rolando.Caloca

	DR - vk - Remove extra validation during dump

Change 4014584 by Uriel.Doyon

	Duplicated static meshes now generate a new GUID to prevent possible issues with lightmass.
	#jira UE-49064

Change 4014604 by Uriel.Doyon

	UStaticMesh  postduplicate now only generates a new GUID if !bDuplicateForPIE.

Change 4015460 by Guillaume.Abadie

	Composes separate translucency within DOF's recombine pass.

Change 4015571 by Guillaume.Abadie

	Refactors tonemapper to use global shader permutation API, that adds permutation for HDR output device rather than dynamic branching that some shader compiler are not very well optimizing.

Change 4015984 by Krzysztof.Narkowicz

	Fixed crash inside DFAO resource allocation, when DFAO viewport has zero area.

	#jira UE-58000

Change 4016056 by Mark.Satterthwaite

	Fix Mac Metal shader compilation of texture cube arrays.

Change 4016062 by Richard.Wallis

	Convert things like Space, Delete, F6 etc to unicode so they display correctly on the Mac menu rather than first letter of word.  Added the default Mac commands to the GenericCommands so we get a Chord overwrite message and stop things like cmd+ q / w / h from getting bound.

	#jira UE-46999

Change 4016109 by Mark.Satterthwaite

	One unified Metal buffer implementation - will make further changes a heck of a lot easier.

Change 4016221 by Patrick.Kelly

	UE-57617: Ensure changing viewmode to ShaderComplexity while in -game

Change 4016238 by Guillaume.Abadie

	Makes clang happy again in Tonemapper.

Change 4016309 by Mark.Satterthwaite

	More *_RenderThread implementations for MetalRHI.

Change 4016414 by Mark.Satterthwaite

	And MetalRHI version of CreateStructuredBuffer_RenderThread...

Change 4016498 by Mark.Satterthwaite

	Don't hold on to the uniform buffers bound to the hull shader when switching to a tessellated draw call as they'll have the wrong buffer layout.

	#jira UE-57930

Change 4017394 by Juan.Canada

	OpenGL: Fixed shading artifacts due incorrect UNORM/SNORM conversions in skin/skincache/computetangent shaderss.
	#jira UE-57691

Change 4017522 by Rolando.Caloca

	DR - vk - Remove unused code path (old mip generation detection)

Change 4017539 by Rolando.Caloca

	DR - vk - Fix for sky lighting mips showing green on AMD

Change 4017542 by Arciel.Rekman

	Moved appCountTrailingZeros to a non-SSE header (fixes ARM64 build).

	- Arguably WITH_SLI shouldn't apply to Linux on ARM but the fact that the function wasn't available is bad on its own.

Change 4017827 by Guillaume.Abadie

	Optimises DOF's scattering cost by a third.

Change 4017835 by Rolando.Caloca

	DR - Only allow a render pass to generate mips for one color render target

Change 4017889 by Mark.Satterthwaite

	Cache all the Metal state objects to avoid hitting the API unnecessarily.

Change 4018251 by Mark.Satterthwaite

	Fix broken rendering on Metal that tracked back to the innocuous looking changes in CL #4006495 (no blame attached - these changes are entirely reasonable) and cause various bugs in QAGame's TM-DistanceFields, ElementalDemo and probably more. Doesn't fix broken SpeedTree rendering :(.

	MetalRHI was allowing uniform buffers to blow away linear texture buffers when the constant buffer has been elided due to dead-code elimination. This problem can manifest without linear textures if the uniform buffer contains both constant data and a resource-table but the shader doesn't use any of the constant data. That's because Metal doesn't separate constant buffers from any other kind of buffer unlike D3D which separates all the slots out - and Metal doesn't provide enough buffers to emulate the D3D arrangement. So far this has only manifested in the MVF + Linear Texture case but a more robust solution will be necessary long term.

Change 4018514 by Guillaume.Abadie

	Implements r.DOF.Scatter.MinCocRadius.

Change 4018553 by Guillaume.Abadie

	Implements r.DOF.Scatter.MaxSpriteRatio to control the budget upperbound of DOF's scattering

Change 4020369 by Yuriy.ODonnell

	Disable MallocStompOverrunTest in all static analysis configs (using USING_CODE_ANALYSIS macro)

	Previously was only disabled for PVS-Studio.

Change 4020620 by Arciel.Rekman

	Fix XboxOne CIS (fallout of appCountTrailingZeros move).

Change 4020949 by Guillaume.Abadie

	Configures DOF in scalability settings.

Change 4021593 by Rolando.Caloca

	DR - vk - Support for Aftermath style api on AMD

Change 4021740 by Rolando.Caloca

	DR - vk - Change log output

Change 4022008 by Uriel.Doyon

	Fixed renderthread stalls when streaming texture mips on low end systems.

Change 4022135 by Rolando.Caloca

	DR - vk - Fix last mip's layout during mip chain creation

Change 4022607 by Jian.Ru

	Speculative fix for a bug where an invalid vertex buffer is deferenced
	#jira UE-56229

Change 4022890 by Rolando.Caloca

	DR - Fix reference count not getting released

Change 4023540 by Mark.Satterthwaite

	Avoid some pointless retain/release calls on Metal Encoders.

Change 4023796 by Marcus.Wassmer

	Tell users they are over the maximum size when allocating very large rendertargets.

Change 4025337 by Yuriy.ODonnell

	Improved use-after-free detection mechanism and physical memory usage of MallocStomp on Windows.

	MallocStomp on Windows will now reserve virtual address space for every allocation and then commit physical pages only to the valid usable part.
	Physical pages will be unmapped on Free, but virtual address space will not be released and therefore will never be re-used.

	Virtual address space is allocated from the OS in blocks of 1GB and then linearly sub-allocated.
	This reduces VA space usage, as VirtualAlloc returns blocks on 64KB granularity even if we just need 4KB. As a small bonus, this also reduces number of syscalls per allocation.

	This dramatically increases accuracy of use-after-free detection, but consumes significant amount of memory for the OS page table.
	Virtual memory limit for a process on Win10 is 128 TB, which means we can afford to keep virtual memory reserved for a long time.
	Running Infiltrator demo consumes ~700MB of virtual address space per second.

	Additionally, committing physical pages only for the usable part of the entire virtual block reduces physical memory usage by ~30% compared to old behavior,
	which allocated and committed entire block of pages via BinnedAllocFromOS and then marks border page as non-accessible.

Change 4026047 by Rolando.Caloca

	DR - Fix test/shipping

	#jira UE-58148

Change 4026150 by Krzysztof.Narkowicz

	Force proper ordering of buffer visualization materials - after tonemapping (so exposure doesn't influence it) and before editor stuff like icons.
	#jira UE-57992

Change 4026226 by Rolando.Caloca

	DR - Fix static analysis

	#jira UE-58150

Change 4026354 by Jian.Ru

	Debug check trying to catch a crash. Only enabled in editor build
	#jira UE-50111

Change 4026655 by Rolando.Caloca

	DR - Fix for static analysis

	#jira UE-58149

Change 4026763 by Rolando.Caloca

	DR - Remove references to defunct CCT to avoid confusing licensees

Change 4027167 by Uriel.Doyon

	Fixed possible out of bound buffer access when serializing with FDuplicateDataWriter.

	#jira UE-56509

Change 4027850 by Jian.Ru

	Prevent log spam
	#jira UE-50111

Change 4029546 by Rolando.Caloca

	DR - Compile fixes

Change 4029624 by Yuriy.ODonnell

	Addressed static analysis errors in MallocStomp

	- VirtualAlloc return value is now explicitly checked.
	- C6250 is suppressed, as VirtualFree does not release address space by design.

Change 4030225 by Yuriy.ODonnell

	Static analysis warning fix: make sure declaration of Sleep() is consistent between Windows headers and TBB

	The complexity with this particular case is that the warning is generated in synchapi.h, which is included by some Windows headers.
	If a module includes TBB and then Windows platform headers, static analyzer will report this warning.
	Suppressing it would require wrapping all instances of Windows header includes in third-party macros.

	Current pragmatic solution is to modify the Sleep() declaration in TBB header to be consistent with Windows and to report the issue to Intel for a permanent fix.

Change 4030440 by Rolando.Caloca

	DR - Fix crash on mobile

	#jira UE-58222

Change 4030570 by Daniel.Wright

	Allow null SRV's in uniform buffers for feature levels that don't support SRV's in shaders

Change 4030618 by Arne.Schober

	DR - missing tangent/normal sign conversion after integration from main
	#jira UE-58224

Change 4031588 by Rolando.Caloca

	DR - vk - Fix compile error when missing vkCmdWriteBufferMarkerAMD

Change 4032145 by Mark.Satterthwaite

	Fix UE-58268 by only emitting the base_instance/base_vertex variables required to fix-up the instance/vertex ID values to match D3D when the Metal version is 1.1 or higher, earlier versions don't support these features.

	#jira UE-58268

Change 4032209 by Rolando.Caloca

	DR - Fix crash on EngineTest: Mesh Batch's UserIndex is not a union anymore

Change 4033178 by Guillaume.Abadie

	Fixes FXAA sampling outside viewports, that was causing black outline on bottom and right edge of the screen when ViewSize != BufferSize, problematic for some screenshot automated test.

	#jira UE-58151

Change 4034489 by Daniel.Wright

	Fixed UStaticMeshComponent modifying its UStaticMesh when undoing a change.  This caused a crash when other static mesh components using the same mesh asset were rendered, since their rendering state was not recreated.  A component should not modify its asset during PostEditUndo.
	 * This behavior has been present for a long time but was previously hidden because only the vertex factory of the mesh asset is cached in static draw lists, not any of its rendering resources (eg vertex declaration).

Change 4035157 by Uriel.Doyon

	Fixed deadlock in the streaming code when running with -onethread.
	#jira UE-58299

Change 4035198 by Rolando.Caloca

	DR - vk - Fix issue when an older SDK was installed, UBT would pick it (should pick the newer of ThirdParty\Vulkan or installed SDK).

	#jira UE-58267

Change 4035730 by Arne.Schober

	DR - Fix missing Fog parameters during LightScattering Injection

	#jira UE-57608

Change 4035843 by Daniel.Wright

	Reimplemented support for EyeAdaptation node in opaque materials

Change 4036837 by Marcus.Wassmer

	Replace some of the screenshots to match new un-tonemapped buffer visualization

Change 4036980 by Rolando.Caloca

	DR - vk - Fix deadlock contention during mem allocation on Linux

Change 4037225 by Guillaume.Abadie

	Fixes jittering selection outline.

	#jira UE-58350

Change 4038056 by Marcus.Wassmer

	roll back changelist 4026150.  breaks a bunch of automated tests by cutting off half the image.
	Change can go back in later with that part fixed also

Change 4038296 by Jian.Ru

	Static analysis fix
	#jira UE-58377

Change 4038402 by Ben.Marsh

	Suppress IncludeTool warnings caused by CL 3998947.

Change 4038514 by Arne.Schober

	DR - Fix case with MVF where instance offset is not supported by the API (in this case only foliage OpenGL and TvOS), usually the buffers are offsetted instead but with MVF we do not use offsetted buffers, therfore the offset needs to be passed into the shader although we are drawing with offset of 0.

	#jira UE-57652

Change 4038747 by Marcus.Wassmer

	Back out changelist 3853645, causing us to lose shadows in the shaderhair test

Change 4040138 by Rolando.Caloca

	DR - Fix compile warning

Change 4041614 by Rolando.Caloca

	DR - vk - Fix for Oculus module

	#jira UE-58267

Change 3810277 by Daniel.Wright

	Ray Traced Distance Field shadows use a two pass tile culling algorithm with no tile max - fixes flickering from tile overflow in dense areas or with a low sun angle.  Costs .2ms on PS4.
	The distance field scene buffers now use float4 on PS4 and Xbox, saves .1ms on PS4.

Change 3817029 by Uriel.Doyon

	Added UVolumeTexture, which use 3D textures. Compressed formats are supported on DX11, DX12, PS4 and XB1.
	Projects targetting OpengGL don't have access to compressed formats (as the implementation has texture tiling issues).
	Add "r.AllowVolumeTextureAssetCreation" set as 0 by default, which controls whether volume texture can be sampled in materials and whether they can be created from 2D texture assets.
	Platform not supporting BC7, will now fallback on RGBA8 instead of DXT to preserve quality, in an attemps to increase usage of BC7.

	#jira UE-32263

Change 3819960 by Michael.Lentine

	Expose UEPhysics Clothing Parameters through UI.

Change 3823401 by Rolando.Caloca

	DR - Add NumQueriesInBatch to RHIBeginOcclusionQueryBatch

Change 3844805 by Arne.Schober

	DR - Increased Intermediate normal of Umodel and Skelmesh from 8bit Unorm Compressed to float. A resave/rebuid/reimport of the meshes is recommended to recover some lost precision.
	Fixed an issue with compressed (packed) normals on the GPU which were off by one integer representation. Also switched from UNORM to SNORM to get a discrete zero representation and removed some mads from all the VertexShaders.

Change 3847283 by Marcus.Wassmer

	Extra fixes from Uriel

Change 3876607 by Rolando.Caloca

	DR - Use render passes when running occlusion queries
	- Removes the RHI(Begin|End)OcclusionQueryBatch API

Change 3903799 by Daniel.Wright

	[Integrate] Pass Uniform Buffers
	* All pass-constant shader inputs should go into the appropriate pass uniform buffer, instead of being set per-draw
	* Moved many per-draw base pass parameters over to the Base Pass Uniform Buffer
	* Opaque and Translucent base pass shaders have different uniform buffers, which allows compile errors when accessing an invalid resource (eg GBuffer in Opaque), instead of silently falling back to GBlackTexture

	Uniform buffers can now contain nested structs with UNIFORM_MEMBER_STRUCT()
	* This allows composing a uniform buffer at a particular update frequency out of many features, with encapsulation of each feature's parameters in a struct.
	* Eg deferred fog uses FFogUniformParameters, but so does translucency in the base pass, where FFogUniformParameters is reused nested inside the base pass uniform buffer.
	* Resources can now be located anywhere in the uniform buffer.  Padding is inserted to the cbuffer representation to keep memory layouts matching.  In the future the cbuffer could be compacted.
	* RemoveUniformBuffersFromSource() which works around HLSLCC lack of struct initializers now handles nested structs

Change 3917500 by Rolando.Caloca

	DR - Change depth bounds so only the enable bit is in the PSO, allow min/max to be dynamically modified

Change 3964907 by Guillaume.Abadie

	Implements RectList topology support in RHI.

Change 3979171 by Mark.Satterthwaite

	Copying //Tasks/UE4/Dev-UERNDR-354-mtlpp to Dev-Rendering (//UE4/Dev-Rendering):

	Rewrites MetalRHI in terms of mtlpp, which is a C++ wrapper library built around Metal's Objective-C API that attempts to reduce overheads and eliminate resource lifetime errors.

	Regarding mtlpp:
	- The mtlpp library uses C++ constructor/destructor and smart-pointer style management of Objective-C retain/release calls to prevent over- and under-release problems.
	- To reduce Objective-C overheads the mtlpp library caches the internal C-function that implements the Objective-C selectors for the most commonly used Metal protocol types and calls the function directly - this avoids objc_msgSend which does this look-up dynamically and thus improves CPU performance slightly.
	- Another advantage is that mtlpp provides infrastructure to extend the Metal API slightly to help improve MetalRHI - the two important aspects are mtlpp::CommandBufferFence which provides a consistent CPU<->GPU synchronisation primitive and sub-buffer allocations from mtlpp::Buffer which allow for far superior memory management.
	- Validation functionality is also provided by mtlpp to detect CPU vs. GPU data races and resource lifetime validation - this is expensive and is thus optional and compiled out from Shipping binaries that should be used when performance is most critical. The validation only works between resource modification and *submitted* command-buffers - anything that is being actively encoded on the CPU is ignored and it remains the responsibility of the application to validate the order of operations when encoding.

	Apple Platform:
	- LLM support which tracks Objective-C objects is enabled only on macOS - we don't have the necessary libraries to intercept and override the internal system calls on iOS.

	MetalRHI:
	- All the types are switched over, (mostly) insuling the external API from the horror of Metal and Objective-C.
	- Buffers are now managed quite differently, small buffers are allocated from a magazine allocator that allocates in fixed blocks from a larger parent buffer, intermediate sized buffers are allocated from a simple heap allocator that wraps a larger buffer and anything of reasonable size (>2Mb) will use the pooled allocator. This *radically* reduces the number of buffer resources, by as much as a factor of 10, because they are now sub-allocated without the need to use MTLHeap or MTLFence so they are performance equivalent to the existing implementation on the GPU and much faster on the CPU. Total memory use is approximately the same.
	- Vertex & index buffer management has been updated to reflect changes in the management and to avoid reallocating buffers which provide a Linear Texture (for SRVs) unless strictly necessary. This ensures that even in cases where a dynamic buffer is updated multiple times in a frame it will still work acceptably well.
	- The Metal ring-buffer implementation is completely different again, this time it can use Managed memory on macOS which allows for much better performance on eGPUs which will be more and more important for Mac.
	- Everyone that needs to wait on a command-buffer fence (rather than a command-buffer itself) now use mtlpp::CommandBufferFence, which prevents race conditions between the different command-buffer handlers (which sometimes execute out of order).
	- LLM tracking should now report the same data as the MetalRHI stats group for buffer & texture allocations - there is no segmentation for Vertex/index/Structured/Uniform allocations in Metal so these numbers are going to be wrong and will need to be rethought.
	- What will be unseen are the number of small but important resource usage fixes that avoid stale resources from being bound to the device after the point at which they become invalid. This should eliminate a class of errors where the GPU uses a resource pointer that is modified by the CPU and was necessary to satisfy the new mtlpp validation code.

	Other:
	- Remove the Metal focused workarounds from the ClothBuffer resource binding and related vertex-buffer SRV - these were put in when MetalRHI/MetalShaderFormat couldn't handle float->uint conversions correctly and they should now.
	- Fix a validation error caused by trying to render a 0-sized scissor rect which is invalid in Metal and simply pointless elsewhere.
	- Consistency of disabling the Manual Vertex Fetch behaviour in shaders.

	#jira UERNDR-354

Change 3979312 by Rolando.Caloca

	DR - Remove bogus bKeepOriginalSurface parameter in CopyToResolveTarget

Change 4005122 by Rolando.Caloca

	DR - Support for PS4 Index Buffer UAVs

Change 4016298 by Guillaume.Abadie

	Fixes DOF hybrid scattering on platforms that supports RectList topology.

Change 4018575 by Guillaume.Abadie

	Optimises DOF's reduce pass when doing scattering compilation.

Change 4020317 by Guillaume.Abadie

	Implements WaveBroadcastIntrinsics.ush.

[CL 4042226 by Marcus Wassmer in Main branch]
2018-05-01 10:36:33 -04:00
Ben Marsh
13d012685f Merging copyright update from 4.19 branch.
#rb none
#rnx
#jira

[CL 3818977 by Ben Marsh in Staging-4.19 branch]
2018-01-02 15:30:26 -05:00
Chris Bunner
77adbcb22a Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3809756)
#rb None
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3629223 by Rolando.Caloca

	DR - Rollback //UE4/Dev-Rendering/Engine/Source/Runtime/VulkanRHI to changelist 3627847

Change 3629708 by Rolando.Caloca

	DR - vk - Redo some changes from DevMobile
	3601439
	3604186
	3606672
	3617383
	3617474
	3617483

Change 3761370 by Arne.Schober

	DR - Added CityHash to use with conatiners and stuff. It provides good performance and high quallity across multiple platforms.

Change 3761437 by Guillaume.Abadie

	Optimises motion blur compute shader for consoles.

Change 3761483 by Guillaume.Abadie

	Fixes D3D11 RHI lying to dynamic resolution heuristic with t.MaxFPS.

Change 3761995 by Mark.Satterthwaite

	Add the Metal compiler path to the local .pch filename to avoid problems when Xcode moves.

Change 3761996 by Mark.Satterthwaite

	Emit more details when a pixel shader is found to have no outputs at all which Metal doesn't permit. More likely this is a bug in the shader compiler not configuring the in-out mask correctly...

	#jira UE-52292

Change 3761999 by Mark.Satterthwaite

	No need to avoid tessellation for FMetalRHICommandContext::RHIEndDrawIndexedPrimitiveUP anymore - that was from back when the tessellation logic was replicated in each RHI*Draw* implementation.

	#jira UE-51937

Change 3762181 by Joe.Graf

	Changed MaxShaderJobBatchSize to 25 on Mac as it reduced shader compile time by 21%

Change 3762607 by Mark.Satterthwaite

	Remove accidentally included changes from 3761995.

Change 3762612 by Mark.Satterthwaite

	Enable the explicit sincos intrinsic for Metal to avoid instances of UE-52477 that can cause shaders to compile incorrectly through hlslcc.
	#jira UE-52477

Change 3762772 by Michael.Lentine

	Move RHI calls to render thread.

Change 3763021 by Richard.Wallis

	Remove shader cache tool project and implementation.
	#jira UE-51613

Change 3763082 by Guillaume.Abadie

	More SceneTexture, SceneColor and SceneDepth automated tests

Change 3763111 by Richard.Wallis

	Clone of CL 3763033 (Release-4.18):
	Fix for crash upon launching packaged game on Mac with Share Material Shader Code enabled.
	#jira UE-52121

Change 3763657 by Michael.Lentine

	Invalidate ddc for skeletal mesh render data so that the duplicated vertex render structures are properly serialized.

Change 3763727 by Jian.Ru

	Fix Player Collision view mode. It is caused by checking an uninitialized vertex buffer so the check always fail.
	#jira UE-52052

Change 3763738 by Guillaume.Abadie

	Implements SSR input post process material location.

Change 3764271 by Mark.Satterthwaite

	Allow ControlPointPatch lists to flow through MetalRHI as it was setup to handle this transparently - the VSHS compute shader will convert them to triangles to draw. Report the same warning as in the pipeline creation stage as this hasn't been formally validated.

	#jira UE-52454

Change 3764316 by Daniel.Wright

	Added AVolumetricLightmapDensityVolume - gives local control over Volumetric Lightmap density.  Dropping the top mip outside of the play area in Monolith saves 20Mb (35Mb original).
	Volumetric Lightmap no longer refines around static translucent geometry - saves 5Mb in Monolith
	Reworked brick culling by error mechanism.  Now compares error to interpolated parent lighting instead of the brick average - prevents dropping constant value bricks which are near a wall and cause leaking due to parent interpolation after being culled.

Change 3764318 by Daniel.Wright

	Missing file

Change 3764321 by Daniel.Wright

	Shader compiling memory optimizations
	* Editor memory: Sharing uniform buffer includes and GeneratedInstancedStereo.ush per FShaderType (was previously duplicated per FShader job)
	* SCW input size: Sharing uniform buffer includes and SharedEnvironment per batch
	* 7.6Gb of shader job inputs in memory -> .5Gb (13x less) when doing a full shader compile of Paragon Editor
	* 13.8Gb written into worker input files -> 2.9Gb (4.7x less).  Global shaders are never batched when sent to SCW so unoptimized by these changes.

Change 3764595 by Daniel.Wright

	Added VolumetricLightmapDensityVolume asset icons

Change 3764701 by Michael.Lentine

	Add duplicated vertices merging for meshmerge.

Change 3766002 by Guillaume.Abadie

	Fixes a crash in translucency.

Change 3766007 by Guillaume.Abadie

	Oups.... Fixes compilation failure.

Change 3766697 by Guillaume.Abadie

	Giant refactor of global shader interface for upcoming native support of permutation.

	CL generated by python script.

Change 3767205 by Chris.Bunner

	Deferring FMaterial::RenderingThreadShaderMap update to render-thread rather than assumption commands have been flushed.

	#jira UE-50652

Change 3767207 by Chris.Bunner

	Clamp fetched texture coordinates to those available on the mesh.

Change 3767209 by Chris.Bunner

	PR #4203: Early-outs in UMaterialInstance parameter setters (Contributed by stefanzimecki)

	#jira UE-52193

Change 3767772 by Mark.Satterthwaite

	MetalShaderFormat will no longer fallback to text shaders when you ask it to compile to bytecode but the bytecode compiler is not available (either locally or remotely) - this ensures that the DDC can't be poisoned by incorrectly configured clients. The Editor is already setup such that if the remote shader compiler is not configured & Xcode is not available locally the shader-compiler will be invoked to generate text shaders.

	#jira UE-52554

Change 3768604 by Guillaume.Abadie

	Polish up with new global shader function signature.

Change 3768993 by Guillaume.Abadie

	Fixes r.Upscale.Panini cvars

Change 3769478 by Mark.Satterthwaite

	Move the ue4_stdlib.metal & PCH into a temporary directory that exists for the lifetime of the SCW on the remote side as well as the local one and add this path as an include directory.
	#jira UE-52587

Change 3769703 by Mark.Satterthwaite

	For all Metal platforms >= Metal v1.2 transform mul(a,b) into fma(a,b,0) to prevent the Apple compiler reordering operations differently between the base & depth passes which results in variance in the position output.
	For iOS disable fast-math when the vertex-shader uses World-Position-Offset because there are additional problems on the iOS shader compiler that result in position variance even with the above fix - WPO performance will suffer but I don't have any alternatives.
	Remove the depth-offset hack from the depth-only vertex shader again.

	#jira UES-5651

Change 3769763 by Mark.Satterthwaite

	Handle swizzle's in the hlslcc fma identification pass so that we reduce the number of instructions and the platform compiler can't break the instructions up.

Change 3769849 by Mark.Satterthwaite

	Fix CIS error.

Change 3770517 by Richard.Wallis

	Fix for crash when creating a new media texture (AppleIntelHD5000GraphicsMTLDriver!SamplerStage::bindSamplerToTexture()).  Missing texture resource for binding.  Old InitDynamicRHI() code has been refactored out into seperate functions which leaves us on Mac with a NULL resource initially after creation which Metal doesn't like.  This fix puts InitDynamicRHI down the default setup/clear path which inits default resources - I don't think we should use a global dummy in this instance as this is a render target.

	#jira UE-51940

Change 3770688 by Uriel.Doyon

	Fixed texture resolution returning 0 when running blueprint construction scripts at cook time.

Change 3771115 by Mark.Satterthwaite

	Report errors from failed attempts to compile global shaders or we can't see why things fail on non-Windows platforms.

Change 3771263 by Mark.Satterthwaite

	Change the way ManualVertexFetch is enabled on Metal platforms so that it is enabled when targeting Metal v1.2 and higher (macOS 10.12+/iOS 10+). This brings iOS in the Desktop Forward renderer back into line with the Mac.

	#jira UERNDR-300

Change 3773472 by Guillaume.Abadie

	Fixes a crash on PIE of SimpleComposure project.

Change 3773475 by Guillaume.Abadie

	Fixes bug in editor viewport caused by SSR input changes.

Change 3774677 by Arne.Schober

	DR - Deprecated SetLocal from the RHICmdlist
	Fixed some unnecessary PSO collisions.

Change 3777037 by Mark.Satterthwaite

	Remove incorrect change that caused a reference to "accurate::sincos" to appear in some Metal shaders rather than "precise::sincos".

Change 3777122 by Mark.Satterthwaite

	Back out changelist 3777037 - I'm blind and wasn't seeing the real problem was a stale shader cache...

Change 3777196 by Mark.Satterthwaite

	Fix text-shader compilation on iOS 10 - maybe iOS 9 too (untested!).

	We need our own make_scalar type-trait template for ue4_stdlib.metal so that we still compile with older iOS runtime compilers and we can't use as_type to directly implement the packHalf2x16/unpackHalf2x16 intrinsics for these older runtime compilers either.

Change 3779098 by Rolando.Caloca

	DR - vk - Fix query index

Change 3779275 by Mark.Satterthwaite

	Silence the Metal runtime compiler warning caused by use of a deprecated enum value when running text shaders compiled for Metal v1.0/1.1 on a Metal v1.2+ OS.

	#jira UE-52554

Change 3779427 by Rolando.Caloca

	DR - vk - Fix for allocator contention

Change 3779608 by Uriel.Doyon

	Fixed invalid access in the resave package commantlet when building texture streaming material data for materials enabling tesselation.

Change 3784496 by Mark.Satterthwaite

	Temporarily disable USE_OBJECT_COMPOSITING_TILE_CULLING  for Metal shader compilation only - other platforms are unaffected - as it isn't working properly for some reason. need to work out what's up but don't want Distance Fields to be completely snookered in the interim.

	#jira UE-52952

Change 3784608 by Rolando.Caloca

	DR - Copy 3784588
	- Fix for drivers returning out of date swapchains during resizes

Change 3784734 by Mark.Satterthwaite

	Real fix for UE-52952 - MetalShaderFormat wasn't propagating the full thread-group value.

	#jira UE-52952

Change 3784741 by Mark.Satterthwaite

	More Metal debugging commandline options "-metalfastmath" & "-metalnofastmath" to force fast-math on or off for all shaders, must be using runtime-compiled shaders (i.e. -metalshaderdebug or r.Shaders.Optimise=0) to take effect.

Change 3787103 by Guillaume.Abadie

	Kills BuiltinSamplers UB

Change 3787207 by Guillaume.Abadie

	Sorry, compile fix that were fine with local changes...

Change 3787396 by Marcus.Wassmer

	PR #4271: UE-52901: Set VIS_Max meta to hidden (Contributed by projectgheist)

Change 3788028 by Peter.Sumanaseni

	Working linear HDR exr output from sequencer

Change 3788536 by Mark.Satterthwaite

	Track whether the Metal shader uses the discard_fragment function as when this is used but without any other outputs we know we need to bind at least one render-target or a depth-stencil surface but we don't know which. This lets us correctly error when we encounter a shader with no outputs at all which Metal doesn't permit.
	#jira UE-52292

Change 3788538 by Mark.Satterthwaite

	Let's try mitigating UE-46604 on Nvidia by retaining resource references in the command-buffer. This shouldn't be necessary and isn't typically on other vendors but we haven't been able to reproduce this reliably enough to get to the bottom of it.

	#jira UE-46604

Change 3789083 by Guillaume.Abadie

	Implements global shader permutations. Example in ScreenSpaceReflections.cpp.

Change 3789090 by Guillaume.Abadie

	Fixes linux build.

Change 3789106 by Guillaume.Abadie

	Fixes compilation failure in niagara plugin.

Change 3789274 by Guillaume.Abadie

	Avoid hit proxies to clobber TAA's hitsory.

	#jira UE-52968

Change 3789380 by Guillaume.Abadie

	Back out changelist 3789083: global shader permutation because compilation failure in clang.

Change 3789648 by Guillaume.Abadie

	Relands global shader permutation, with clang support.

Change 3789712 by Guillaume.Abadie

	Fixes TestImage show flag with TAAU on.

	#jira UE-53061

Change 3791593 by Guillaume.Abadie

	Reinvalidates shaders with shader permutations.

Change 3791884 by Daniel.Wright

	Added BP setter for LowerHemisphereColor

Change 3791886 by Daniel.Wright

	Added LightmapType to PrimitiveComponent
	* ForceVolumetric allows forcing static geometry to use Volumetric Lightmaps, which can be useful on instanced foliage where seams are prevalent.  Lightmass internal caching still requires lightmap UVs and reasonable lightmap resolution.
	* ForceSurface replaces bLightAsIfStatic
	Improvements to Volumetric Lightmap quality needed for static geometry
	* Stationary light shadowing is now dilated inside geometry
	* Now doing two dilation passes since samples near geometry see inside due to ray start bias
	* Refinement around geometry uses an expanded cell bounds when the geometry is going to use Volumetric Lightmaps, since cross-resolution stitching causes leaking
	Lightmass debug primitives are now tied to a swarm task instead of global - allows debugging of Volumetric Lightmap tasks

Change 3792256 by Guillaume.Abadie

	Fixes a bug where permutation was not actually serialised in FShader, so was ending up recompiling shader at every load.

Change 3792884 by Marcus.Wassmer

	Copying //UE4/Partner-AMD to Dev-Rendering (//UE4/Dev-Rendering)

Change 3793200 by Marcus.Wassmer

	Copying //UE4/Partner-IDV-SpeedTree to Dev-Rendering (//UE4/Dev-Rendering)
	Speedtree 8 support

Change 3793206 by Brian.Karis

	Added color grading control BlueCorrection to correct for artifacts with "electric" blues due to the ACEScg color space. Bright blue desaturates instead of going to violet.

	Added color grading control ExpandGamut which expands bright saturated colors outside the sRGB gamut to fake wide gamut rendering.

	ACES changes.

Change 3793344 by Marcus.Wassmer

	Fix editortest compile

Change 3794285 by Guillaume.Abadie

	Serializes PermutationId according to archive rendering version to avoid issues with old material that were serializing a shader map into UObject.

Change 3794307 by Guillaume.Abadie

	Resaves uassets that were modified between 3789648 and 3794285

Change 3794627 by Mark.Satterthwaite

	Implement two components for MTLPP, an IMP cache for Objective-C selector implementations & an interposition framework for those same selectors:

	- imp_SelectorCache & friends provide the IMP caching for each of the Metal protocols which constitute most of the API, so far I've not covered the Metal classes used for the various descriptor/initializer types. Each type has its own IMPTable which caches the selector's implementation pointer and provides the mechanism to hook that implementation. As Objective-C is runtime dynamic this look up must be performed on the actual Class value returned by an object at runtime - you can't do this at compile time. Even things like NSString which appear compile-time static are really not as NSString is an alias for a class-cluster (NSString, NSMutableString, __NSInlineString and more).
	- The interpose directory contains MTI* files which are the framework for interposing all the functions in Metal's runtime API - I deliberately omit the descriptor classes & read-only functions as there's no benefit to interposing them - which I can build off to create a trace tool or a superior validation layer. Right now this is Mac only as there'll be some problems to solve for iOS/tvOS due to difference in linking requirements - not insurmountable.
	- Rebuild MTLPP's implementation of the C++ wrapper classes around the IMPTable's - this means we avoid all the objc_msgSend overhead for all the classes and functions whose implementations are cached. Right now the IMPTable is going to incur a look-up for all non-copy/move constructors which is suboptimal - ideally the Metal IMPTables would be cached in the Device object as they will be consistent within a single Device.
	- Sort out the MTLPP availability logic - it now exports the availability warnings to the caller and internally just blithely assumes it may call the functions, the caller is responsible for ensuring that calls are made only on appropriate devices & OSes. This reduces MTLPP complexity and better fits how MetalRHI works.
	- Fix a number of retain/release bugs that were lying dormant in MTLPP but exposed by the switch to IMPTables.
	- Add tvOS support.

	Next up, put this into MetalRHI and start fixing all the fallout.

Change 3794631 by Mark.Satterthwaite

	Missed updating mtlpp's build.cs for TVOS.

Change 3794651 by Uriel.Doyon

	UPointLightComponent::GetUnitsConversionFactor() now takes the cone angle as parameter. This allows to fix spotlight unit conversion when using lumens.

Change 3794720 by Guillaume.Abadie

	Fixes a bug in Global{Bilinear,Trilinear}ClampedSampler that was actually doing a Point sampling.

Change 3794749 by Mark.Satterthwaite

	Fix mtlpp.build.cs paths.

Change 3794856 by Mark.Satterthwaite

	Fix some shadowing warnings.

Change 3795484 by Daniel.Wright

	Implemented the Spherical Harmonic windowing algorithm from 'Stupid Spherical Harmonics (SH) Tricks'
	New WorldSettings Lightmass property VolumetricLightmapSphericalHarmonicSmoothing controls the global amount of smoothing applied

Change 3795590 by Brian.Karis

	Area light fixes

	Fixed order of operations. This helps mixing of SourceRadius, SourceLength, and SoftSourceRadius.

Change 3796832 by Marcus.Wassmer

	Correct shouldcache condition for new resolve shader

Change 3796884 by Marcus.Wassmer

	Doing it right this time.

Change 3797196 by Mark.Satterthwaite

	More updates to MTLPP to make things simpler and reduce the number of spurious Objective-C warnings that are emitted because of the way we are using the runtime.

Change 3797200 by Daniel.Wright

	Lightmass now uses the highest density VolumetricLightmapDensityVolume settings that affect any part of a cell

Change 3797221 by Daniel.Wright

	Reduced default SphericalHarmonicSmoothing based on RoboRecall tests.  Now only active with strong direct lighting from static lights by default.

Change 3797411 by Brian.Karis

	Disable ExpandGamut for old tone mapper.

Change 3797462 by Mark.Satterthwaite

	More build warnings silenced after changing to the lowest possible deployment target OS for each library.

Change 3797585 by Mark.Satterthwaite

	Range-based-For support in the NSArray wrapper.

Change 3797836 by Mark.Satterthwaite

	Even more forward-declarations to avoid system headers poking through to the including code from mtlpp.

Change 3798027 by Mark.Satterthwaite

	Fix handling of nil objects, on which no functions may be called, command-buffer retention and IMP declaration.

Change 3798154 by Mark.Satterthwaite

	Fix some egregious memory leaks that rewriting to use mtlpp exposed before we carry on - don't want these slipping into 4.19.

Change 3800990 by Mark.Satterthwaite

	Typedef all the completion-handler callback types in mtlpp to make future me's life easier.

Change 3801400 by Chris.Bunner

	Improving automated test errors on failure to generate report data.

Change 3801726 by Mark.Satterthwaite

	Correct some function availability and the command-buffer error status in mtlpp.

Change 3801808 by Chris.Bunner

	Added DefaultScalability.ini to EngineTest that forces all quality levels to Engine default Epic for now to improve consistency.

Change 3801862 by Marcus.Wassmer

	Update automated tests with color gamut change

Change 3802214 by Chris.Bunner

	When running automated tests in and editor-locked PIE viewport, skip resizing as the editor can't handle this.
	Added bindable delegate called when ScreenshotRequest is processed - Useful to allow screenshots to override and restore settings per capture.

	#jira UE-53188

Change 3802243 by Chris.Bunner

	Added button to automated test screenshot browser to add or replace all outstanding test reports if appropriate.
	DeleteAllReports button is now only enabled whilst there are reports in the list.

Change 3802372 by Chris.Bunner

	Updating more test screenshots.

Change 3803683 by Chris.Bunner

	Adding more logging and multiple attempts to automated test report network save.
	Added small wait on repeated operations that are known to fail.

Change 3803826 by Rolando.Caloca

	DR - vk - Fix merge issue

Change 3804181 by Chris.Bunner

	Tentative fix for CIS test failure.

Change 3804236 by Chris.Bunner

	Additional logging for case where file write silently fails, report platform-specific error.

Change 3804303 by zachary.wilson

	Cleaning up assets in QAGame saved with empty engine versions to resolve warnings seen when launching on

Change 3804410 by Chris.Bunner

	Added additional logging when automated screenshot test fails due to size mismatch.
	Mismatched bounds are colored red in the delta.

Change 3804455 by Mark.Satterthwaite

	Fix a small number of persistent memory leaks on the Mac build that slowly consume more and more memory as you use the Editor - interacting with menu's was particularly egregious as each NSMenu would leak after you move away.

	#jira NA

Change 3804667 by Chris.Bunner

	Speculative CIS fixes.

Change 3806008 by Chris.Bunner

	Partially reimplementing backed-out CL 3804181 to improve consistency of how automated screenshot test settings are applied/restored.

	#tests CIS preflight job 8174412

Change 3806909 by Mark.Satterthwaite

	Use the vertex-shader's in-out mask to ensure that we only validate legitmate vertex-streams in Metal's DrawIndexedPrimitive implementation.

	#jira UE-53046

Change 3807059 by laz.matech

	Checking in QAGame Rendering Map, QA-PhysicalLightingUnits, for testing Physical Light Units.
	Wanted to get this in before copy up.

	#Jira none

Change 3807726 by Chris.Bunner

	Removed a check that we can't fix up. The check hits unbound buffers which it assumes means a failure but is actually due to m.v.fetch. We don't have the information available to know which are which removed from the input without reading from the shader.

	#jira UE-53046

Change 3807800 by Guillaume.Abadie

	Fixes some warning in shader headers.

Change 3807804 by Guillaume.Abadie

	Back out changelist 3807800

Change 3807807 by Guillaume.Abadie

	Relands shader header warnings.

Change 3808046 by Chris.Bunner

	Dropping a new automated test error back to a warning as this may lead to genuine issues being ignored in the short term.

Change 3809579 by Chris.Bunner

	Back out changelist 3774677.

	#jira UE-53483

Change 3809620 by Chris.Bunner

	Updating animated cloth test screenshot.

Change 3803629 by Chris.Bunner

	Rebuilt CornellBox and DistanceField test maps, updated screenshots.

Change 3787045 by Guillaume.Abadie

	Moves some global samplers to Common.ush

Change 3809756 by Chris.Bunner

	Updating animated cloth test screenshot.

[CL 3809764 by Chris Bunner in Main branch]
2017-12-15 12:47:47 -05:00
Chris Bunner
d6e57b4ca3 Copying //UE4/Dev-Automation to //UE4/Dev-Main (Source: //UE4/Dev-Automation @ 3792497)
#rb
#lockdown Nick.Penwarden

============================
  MAJOR FEATURES & CHANGES
============================

Change 3776794 by Chris.Bunner

	Fixed inverted check.

Change 3778396 by Chris.Bunner

	By default functional screenshot tests now enable camera cut and a fixed tonemap/exposure.
	Existing tests in PostProcessing have had the FixedTonemapping flag disabled.
	Updated all existing screenshots against the new fixed gamma ground truth.

Change 3778592 by Chris.Bunner

	Updating PostProcess screenshots that managed to collide mid P4 add.

Change 3778793 by Chris.Bunner

	Override the secondary screen percentage (used for high DPI) when taking screenshots. This is necessary for consistent results between machines.

Change 3781715 by Chris.Bunner

	Updating Windows screenshots.

Change 3781717 by Chris.Bunner

	Fixes for eye adaptation and tonemapping override consistency between test types and run modes.

Change 3783199 by Chris.Bunner

	Added separate add/replace screenshot buttons to know if we're working with a matching platform tier or a fallback.

Change 3783228 by Chris.Bunner

	When incoming screenshots are different sizes create a delta of the minimum shared dimensions but still force a failure. The UI is more consistent showing any delta, even if it's almost pure white.

Change 3783712 by Chris.Bunner

	Rebuilt translucency lighting test map and updated screenshot results.

Change 3784010 by Chris.Bunner

	Adding Mac-specific PostProcessing screenshots.

Change 3787456 by Chris.Bunner

	Improving name matching consistency of test blacklist entries.

Change 3787522 by Chris.Bunner

	Updating Mac-specific screenshots.

Change 3787583 by Chris.Bunner

	Updating Mac-Specific screenshots.

Change 3787832 by Chris.Bunner

	Fixing-up NaNs in two saved level's HLOD world settings.

Change 3789147 by Chris.Bunner

	Updating Sequencer sub-levels which still had NaNs in World Settings.

Change 3791454 by Chris.Bunner

	Deleted ancient screenshot re-introduced by Fortnite merge.

Change 3781713 by Chris.Bunner

	Updating platform unique screenshots - Tessellation, fixed vs variable screenshot size, Niagara simulation.

Change 3776756 by Chris.Bunner

	Initial pass at hierarchical screenshot testing.
	Deleted existing platforms automated test screenshots.

Change 3784051 by Chris.Bunner

	Updated CableActor screenshots for new capture defaults.

Change 3787092 by Chris.Bunner

	Added blacklist as "AutomationTestBlacklist" in Engine.ini.
	Formatting fix-up in existing automation test config.
	Removed workaround cvar for physicalized animation tests failing on platforms.

[CL 3792526 by Chris Bunner in Main branch]
2017-12-06 14:51:13 -05:00
Andrew Grant
ca24b4e26d Copying Orion-Staging @ 3748653 (Orion/Dev-General @ 3722124) to //UE4/Main
#lockdown Nick.Penwarden
#rb none


Change 3720210 on 2017/10/25 by Olaf.Piesche

	Fixing dynamic material params for ribbons

	#!codereview scott.kennedy
	#!rb none
	#!tests scott's test ribbon

Change 3720073 on 2017/10/25 by robomerge

	#!ROBOMERGE-AUTHOR: frank.fella
	Niagara - Fix a crash where a UNiagaraSystem has been GCed at runtime and there is still a system simulation ticking for it.

	#!Tests Minion automated tests no longer crash randomly.
	#!rb SimonT

	#!ROBOMERGE-SOURCE: CL 3719901 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3719233 on 2017/10/25 by robomerge

	#!ROBOMERGE-AUTHOR: philip.buuck
	[OR-45889] Ability fail widget will no longer fire if you are dead and have a passive (which is failing to activate while you are dead).

	#!rb Matt.Schembari
	#!tests PIE

	[QAREVIEW] Ensure the ability fail widget and its attached sounds do not trigger on death

	#!ROBOMERGE-SOURCE: CL 3719016 in //Orion/Release-44/... via CL 3719072 via CL 3719091
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3718474 on 2017/10/25 by Yannick.Lange

	Niagara: Only show isolate menu items on track context menu if it is a system.
	Rename "Isolate toggle" to "Isolated".
	#!rb none
	#!codereview Shaun.Kime
	#!tests n/a

Change 3718095 on 2017/10/25 by Yannick.Lange

	Niagara: Fix crash when not having dynamic parameter in material.
	#!rb none
	#!codereview Shaun.Kime
	#!tests n/a

Change 3718069 on 2017/10/25 by Yannick.Lange

	Niagara: Remove material member from material parameter node and add helper function for getting material dynamic parameter expression.
	#!rb none
	#!codereview Shaun.Kime
	#!tests n/a

Change 3717545 on 2017/10/24 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.lamb
	Removed read / write locks from PipelineStateCache.

	#!rb Andrew.Grant, Gil.Gribb
	#!test paragon ps4.

	#!ROBOMERGE-SOURCE: CL 3716445 in //Orion/Release-44/... via CL 3716701
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3716928 on 2017/10/24 by Shaun.Kime

	The cooked dusk minions on PS4 don't have an index buffer, previously causing us to crash. We now fail to initialize the skeletal mesh data interface if this happens. This change also reworks  the skeletal mesh data interface to be more like what Simon is already working on, getting rid of some places where we were skinning. Additionally, I have disabled the parallel pretick and posttick logic.Many more checks have been added to try and detect bad situations at runtime.

	#!rb olaf.piesche, simon.tovey
	#!fyi olaf.piesche, simon.tovey, frank.fella
	#!tests am now able to run Test_minionWave on PS4

Change 3715712 on 2017/10/24 by Yannick.Lange

	Niagara: Set display name of if node to "If" instead of "NiagaraNodeIf".
	#!rb none
	#!codereview Shaun.Kime
	#!tests n/a

Change 3715430 on 2017/10/23 by Shaun.Kime

	Rather than make a unique decision each time we bind a VM function about whether or not we need previous positions, we initialize the decision with the results of last time. The value defaults to false in the constructor, so we're still behaving as we did before, but this time asking for UV info last won't initialize the data to no longer want the previous position even though we later ask for it.

	#!rb none
	#!fyi simon.tovey
	#!tests from Tim Elek - testMinion map get minions spawned then run down the lane and "setteamnum 1" crashes everytime

Change 3715368 on 2017/10/23 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Merging 3714121 from //Orion/Release-44 to Main (//Orion/Main)
	#!tests #!rb none

	#!ROBOMERGE-SOURCE: CL 3715255 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3715226 on 2017/10/23 by Shaun.Kime

	Getting rid of an ensure for Nan's and switching to a log warning. This keeps it from polluting long term runs in the debugger. It seems like at least one of the Niagara systems on minions generates Nan's.

	#!rb none
	#!fyi simon.tovey, olaf.piesche, frank.fella
	#!tests ran in PIE

Change 3714645 on 2017/10/23 by Yannick.Lange

	Niagara: Add ability to create particle system from this emitter in content browser.
	#!rb Shaun.Kime
	#!tests n/a

Change 3714200 on 2017/10/23 by Olaf.Piesche

	Niagara: Fixing rendering of GPU simulated emitters; store SRV instead of data buffers, so we can point the VF at the correct buffer based on sim target

	#!codereview simon
	#!rb none
	#!tests Orion Niagara assets

Change 3713341 on 2017/10/23 by Yannick.Lange

	Niagara: Fix NiagaraNodeIF output pins cannot be deleted.
	Fix NiagaraNodeIF output pins cannot be renamed.
	#!jira UE-50193
	#!jira UE-50193
	#!rb Shaun.Kime
	#!tests n/a

Change 3713133 on 2017/10/23 by Yannick.Lange

	Niagara: Isolate emitters in sequencer UI.
	- Added being able to extend the sequencer track context menu with a delegate.
	- Added entry in track context menu to toggle the selected emitters isolation state.
	- Added entry in track context menu to isolate all the selected emitters and turn isolation off for all non-selected emitters.
	#!rb Shaun.Kime
	#!tests n/a

Change 3712445 on 2017/10/22 by robomerge

	#!ROBOMERGE-AUTHOR: shaun.kime
	UVScale, UniformAorBFloat, and LinearColorAlongVector added.

	#!rb none
	#!tests new autotest added

	#!ROBOMERGE-SOURCE: CL 3712444 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3712420 on 2017/10/21 by robomerge

	#!ROBOMERGE-AUTHOR: shaun.kime
	Fixing issue where if you disabled Acceleration Force it would cause a compile error saying that it could find a default for Physics.Force but not in the parameter map. This was because of a simple error of using the index of the pin instead of the value of the pin when routing around the disabled node. In interpolated spawn scripts, there are two parameter maps, the spawn and update. If you always look in 0, which you would if you just use the pin index, you'd never find the Physics.Force variable in parameter map at entry 1.

	#!rb none
	[CODEREVIEW] frank.fella
	[FYI] simon.tovey, olaf.piesche, wyeth.johnson
	#!tests created an emitter, disabled Acceleration Force.. still compiled.

	#!ROBOMERGE-SOURCE: CL 3712419 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3711602 on 2017/10/20 by robomerge

	#!ROBOMERGE-AUTHOR: shaun.kime
	Fix for issue where we were getting a check due to the mesh not being set up properly. We now catch the error and don't try and do the bad operation. The log will have something like:

	LogNiagara: SkeletalMesh data interface has no valid mesh. Failed InitPerInstanceData

	#!jira UE-51511
	#!rb Simon.Tovey
	#!tests n/a

	#!ROBOMERGE-SOURCE: CL 3711601 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3711288 on 2017/10/20 by robomerge

	#!ROBOMERGE-AUTHOR: eric.ketchum
	[Justice] Ultiamte VFX in Niagara work, includes GeneratePositionEvent Module work

	#!rb: None

	#!tests: PIE

	[CODEREVIEW] Scott.Kennedy, Tim.Elek, Simon.Tovey, Shaun.Kime

	#!ROBOMERGE-SOURCE: CL 3711285 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3711197 on 2017/10/20 by Olaf.Piesche

	Fix for ribbon facing issue; VF assumed local space particles in the ribbon, now it assumes world space (the most common case); TODO: deal with local space properly

	#!rb none
	#!tests minion projectile ribbon trail

Change 3710634 on 2017/10/20 by Mic.Rooney

	Moving some Facial Animation stuff around so I can use some of their importing logic inside Orion Dialogue asset importing.

	#!RB: none
	#!Test: tested/built locally ran preflight Editor/Monolithics build.
	#!review-3710635 @andrew.grant, @david.ratti, @thomas.sarkanen

Change 3709686 on 2017/10/20 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.lamb
	Added some more timerguards for slow timer manager tick objects.
	Commented out for now.
	#!rb Trivial
	#!test Paragon Cooked ps4.

	#!ROBOMERGE-SOURCE: CL 3709683 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3708958 on 2017/10/19 by Shaun.Kime

	Back out changelist 3708456 .. this was an unintentional change
	#!rb none
	#!tests n/a

Change 3708839 on 2017/10/19 by Shaun.Kime

	Merging CL 3708835
	Fixing Scott's common crash with adding an emitter with autocompile off

	#!rb frank.fella
	#!tests n/a

Change 3708784 on 2017/10/19 by Shaun.Kime

	Merging CL 3708782

	//Orion/Main/... to //Orion/DevGeneral/...

	#!rb none
	#!tests n/a

Change 3708600 on 2017/10/19 by robomerge

	#!ROBOMERGE-AUTHOR: mieszko.zielinski
	Made bots in Ultimate movement mode not ignore all enemies but instead use a very small radius for enemy selection #!Orion

	#!rb none
	#!test golden path

	#!ROBOMERGE-SOURCE: CL 3706947 in //Orion/Release-44/... via CL 3708165
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3708473 on 2017/10/19 by Shaun.Kime

	Merging Frank's changes for team color support from Main to Dev-General
	#!rb Frank.Fella
	#!tests test_minionwave worked

Change 3708456 on 2017/10/19 by Shaun.Kime

	Particles.Random set to 0.0

	#!rb none
	#!tests n/a

Change 3708455 on 2017/10/19 by Shaun.Kime

	Merging using //Orion/Dev-General/_To_//Orion/Dev-Niagara
	#!rb none
	#!tests passed minion fx autotest

Change 3707648 on 2017/10/19 by Shaun.Kime

	Temporary render thread safety code for emitter instances and it's dataset until a more thorough refactor/safety pass can be made.
	Defer deletion of dataset to RT.
	Ensure resets don't mess with data inflight RT commands are using.
	Checkin on behalf of Simon Tovey

	#!jira OR-45423
	#!rb Simon.Tovey
	#!tests ran through the LaneMinionFXTests successfully on PC

Change 3707096 on 2017/10/19 by robomerge

	#!ROBOMERGE-AUTHOR: shaun.kime
	CameraOffset for sprites. Had to bless some new images due to Simon's off by one frame render fix from a few days ago.

	#!rb none
	#!tests automated tests pass

	#!ROBOMERGE-SOURCE: CL 3707088 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3706726 on 2017/10/19 by Rob.Cannaday

	Merge XMPP resource version to use version 2 instead of version 3
	#!rb trivial
	#!tests compile
	#!ROBOMERGE: Main, 44, Tencent

Change 3706349 on 2017/10/19 by Josh.Markiewicz

	#!UE4 - Cross Voice code review feedback
	- fixed up broken stack vs queue
	- fixed GetRoomId returning int32 instead of uint64
	- fixed switch room logic
	- more/better logging
	- more comments
	#!jira TEN-301
	#!review-3681404 @sam.zamani, @rob.cannaday
	#!rb none
	#!tests local cheat codes

Change 3705453 on 2017/10/18 by robomerge

	#!ROBOMERGE-AUTHOR: arne.schober
	Initzalize missing Cubemaps with Zero index to avoid inconsistencies between platforms (like PS4 where a negative index will access the memory shead of the array)
	#!RB Daniel.Wright
	#!Tests LaunchOnPs4

	#!ROBOMERGE-SOURCE: CL 3704845 in //Orion/Release-44/... via CL 3704847
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3705399 on 2017/10/18 by robomerge

	#!ROBOMERGE-AUTHOR: scott.kennedy
	Default Niagara emitter changed color property to better default value.
	Updated basic glow emitter
	Added energy bubble base emitter
	put a little more polish into siege minion impact FX.

	#!ROBOMERGE-SOURCE: CL 3704654 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3704426 on 2017/10/18 by Shaun.Kime

	Standardizing our null and zero checks for the sprite and mesh renderers trying to prevent OR-45423

	#!rb simon.tovey
	#!fyi hunter.kent
	#!tests ran test_minionwave with no crashes on PC, needs QA to bang on it to be sure

Change 3703288 on 2017/10/18 by Olaf.Piesche

	Simon's change to avoid recreation of vertex buffers; should also fix uninitialized gpu buffer crash

	#!rb olaf.piesche, simon.tovey
	#!tests minion test map PC and PS4

Change 3701373 on 2017/10/17 by robomerge

	#!ROBOMERGE-AUTHOR: shaun.kime
	Passing the wrong shader into ribbon vertex factories when setting shader constants for pixel shader.

	#!rb Olaf.Piesche
	#!tests test_minionwave runs

	#!ROBOMERGE-SOURCE: CL 3701371 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3701108 on 2017/10/17 by Hunter.Kent

	Added a "New Minions (nomcp)" option to the Mode dropdown in the BuildLauncher tool so that Devs can test the new minions on PS4 more easily.

	#!RNX
	#!Test PS4
	#!rb @tim.elek
	#!review-3701110 @andrew.grant, @daniel.lamb

Change 3701044 on 2017/10/17 by robomerge

	#!ROBOMERGE-AUTHOR: jon.lietz
	- white space fixes
	- added in more detail to logging
	- fixed dragon GC to not hide when the mesh is hidden

	#!rb none
	#!tests complies and logging is updated
	[FYI] Billy.Rivers, Eric.Ketchum, Fredrik.Seehuusen

	#!ROBOMERGE-SOURCE: CL 3700996 in //Orion/Release-44/... via CL 3701002
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3700900 on 2017/10/17 by Shaun.Kime

	Integrating possible crash fix from Dev-Niagara to Dev-Gen
	#!rb none
	#!tests n/a
	#!fyi Olaf.Piesche

Change 3700492 on 2017/10/17 by Shaun.Kime

	Merging using //Orion/Dev-General/_To_//Orion/Dev-Niagara
	#!rb none
	#!tests done in branch

Change 3700217 on 2017/10/17 by Olaf.Piesche

	Fix for potential crash in sprite renderer

	#!rb none
	#!tests minion test map

Change 3700216 on 2017/10/17 by Benn.Gallagher

	Fix for crash using Ghost's E on Rampage due to posable mesh being set as the master pose component. Clothing simulation assumed derivative of skeletal mesh component so was failing to correctly map its bones to the master.
	#!rb Lina.Halper
	#!jira OR-45226
	#!tests PIE + Standalone games hitting Rampage with Ghosts E

Change 3699660 on 2017/10/17 by Jason.Bestimt

	#!ORION_DG - Fixes to UnrealHitchParser edge cases

	#!RB:none
	#!Tests: Ran on Logs from QA

	#!CodeReview: ben.salem

Change 3699462 on 2017/10/17 by Shaun.Kime

	Merging using //Orion/Dev-General/_To_//Orion/Dev-Niagara
	#!tests preflight ok
	#!rb none

Change 3699010 on 2017/10/17 by Jeff.Williams

	Merging //Orion/Main to Dev-General (//Orion/Dev-General) @3698920
	#!rb none
	#!tests none

Change 3698519 on 2017/10/16 by Olaf.Piesche

	Sawtooth ribbon fix; may well fix other potential ribbon rendering artifacts

	#!rb none
	#!tests minion wave test map

Change 3698380 on 2017/10/16 by Shaun.Kime

	Updating logic to now support the autoattachment

	#!rb none
	#!tests autotests pass..

Change 3698263 on 2017/10/16 by Olaf.Piesche

	Assume degrees for sprite rotation

	#!rb none
	#!codereview shaun.kime
	#!tests test sprite emitter

Change 3697652 on 2017/10/16 by Olaf.Piesche

	Fixing crappy FP math for alternating vertex IDs ffor ribbon expansion

	#!rb none
	#!tests minion test map

Change 3696906 on 2017/10/15 by Shaun.Kime

	Fixing the spurious missing required attribute errors that were occuring for Scott on Friday. These were a result of a bad assumption in the code. The scripts input array can include more than just this emitter's scripts and as such we cannot assume that all the input scripts should be checked against the Emitter's renderers. Now we only check this emitter's scripts against the renderers.

	#!rb none
	#!tests now no longer generates invalid errors
	#!fyi frank.fella, olaf.piesche, simon.tovey

Change 3695456 on 2017/10/13 by Olaf.Piesche

	Fix for potential ribbon crash and end-of-ribbon rendering artifacts

	#!rb none
	#!codereview scott.kennedy
	#!tests minion wave test map

Change 3694545 on 2017/10/13 by Andrew.Grant

	Fix for low frequency async loading crash (OR-42535)

	#!rb gil.gribb
	#!tests comppiled

Change 3694176 on 2017/10/13 by Jeff.Williams

	Plugin manifest name changed to DLCFile name
	#!rb none
	#!tests compile, stage

Change 3693582 on 2017/10/12 by Don.Eubanks

	Fixing PS4 Compile warning (constructor init order not matching member define order)

	#!rb none
	#!tests Compile Shipping Client PS4
	#!fyi olaf.piesche

Change 3693516 on 2017/10/12 by Olaf.Piesche

	Niagara: Remove mesh renderer assert, replace with early out

	#!rb none
	#!tests niagara mesh test asset

	Merging

	//Orion/Dev-Niagara/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraRendererMeshes.cpp

	to //Orion/Dev-General/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraRendererMeshes.cpp

Change 3693051 on 2017/10/12 by Ben.Salem

	Adding parser for any logs with dumphitches enabled. Run UnrealHitchParser <logfile> to receive a logfile_hitches.txt file containing only the hitches in the log, plus reference lines to their location in the original log.
	#!rb Clayton.Langford
	#!tests Parsed a 5mb log with dumphitches down to 23k of hitch data.

Change 3692912 on 2017/10/12 by Olaf.Piesche

	Merging: Niagara ribbon tiling distance

	#!rb none
	#!tests ribbon test asset

Change 3692835 on 2017/10/12 by Shaun.Kime

	Synching with Dev-Niagara, specifically CL 3692821 which made InitialMeshRotation respect local space flags.

	#!rb none
	#!fyi scott.kennedy, wyeth.johnson
	#!tests n/a

Change 3692751 on 2017/10/12 by Shaun.Kime

	Removing script that shouldn't have come over.

	#!rb none
	#!tests n/a

Change 3692746 on 2017/10/12 by Shaun.Kime

	Merging using //Orion/Dev-General/_To_//Orion/Dev-Niagara

	#!rb none
	#!tests opened test level and created new emitter/system

Change 3692616 on 2017/10/12 by Don.Eubanks

	OR-45131

	Marking SRetainerWidget and our Orion-specific VirtualWindow (child of the RetainerWidget when bUseRetainerWidget is true) as SelfHitTestInvisible so they don't interfere with our HUD tooltip mouse picking.

	#!rb dan.hertzka
	#!tests Compile DebugGame Editor Win64 / Shipping Client PS4 / PIE
	#!codereview nick.darnell

Change 3691912 on 2017/10/12 by robomerge

	#!ROBOMERGE-AUTHOR: jeff.williams
	Merging //Orion/Dev-General to Main (//Orion/Main) to [at 3689865] #!rb none
	#!tests compile, editor

	#!ROBOMERGE-SOURCE: CL 3691870 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3690944 on 2017/10/11 by Jeff.Williams

	Adding Plugin Config .ini's to DLC paks. Building pluginmanifests per-DLC.
	#!rb Daniel.Lamb
	#!tests Compile, build

Change 3688989 on 2017/10/10 by Lina.Halper

	LOD sync of attached/parent
	#!rb: Laurent.Delayen
	#!tests: price with shotgun skin/PIE/editor

Change 3687592 on 2017/10/09 by Ben.Salem

	Increase the number of times we run each shallow test to make sure our numbers are reliable. Improve shallow FX perf logger to be able to handle multiple runs of the same test.
	#!rb clayton.langford
	#!tests Ran sparrow shallow tests.

Change 3686560 on 2017/10/09 by Shaun.Kime

	Flipping the min/max values to be standard
	#!rb none
	#!tests n/a

Change 3686046 on 2017/10/09 by Shaun.Kime

	Merging latest from Dev-Niagara in preparation for Effects team  work on Monday

	#!rb none
	#!tests successful preflight
	#!fyi Andrew.Grant, Simon.Tovey, Frank.Fella, Olaf.Piesche, Scott.Kennedy, Tim.Elek

Change 3685613 on 2017/10/07 by robomerge

	#!ROBOMERGE-AUTHOR: simon.tovey
	Implementing vector field matrix inverse fix from CL3675167 to 43.3.

	#!rb none
	#!tests none
	#!lockdown  andrew.grant

	#!ROBOMERGE-SOURCE: CL 3684339 in //Orion/Release-43.3/... via CL 3684340 via CL 3684342
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3685603 on 2017/10/07 by robomerge

	#!ROBOMERGE-AUTHOR: thomas.ross
	RotationalContent Improvements
	- Fixed potential bug where tags could be updated when not intended on RotationalContentManager
	- Fix for PIE assert
	- Moved DebugParsing checks to all cases of InitializingTagsFromMCP so that connecting to MCP or returning to the main menu would not overwrite a console / manually set debug option.
	- Removing config tag from RotationalContentOverrides in OrionGlobals.

	New Halloween Gauntlet Test
	- Adding in Halloween Gauntlet Test to facilitate launching halloween overriden builds easily. Run by typing Halloween into the custom text box.

	#!rb none
	#!tests local builds / editor / PIE

	#!ROBOMERGE-SOURCE: CL 3682813 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3685408 on 2017/10/07 by ben.salem

	Fixing robomerge error in DevGen

	#!CodeReview: ben.salem, jason.bestimt, andrew.grant, jeff.williams

	Unresolved conflicts. ben.salem, please merge this change by hand.
	//ROBOMERGE_ORION_Dev_General/OrionGame/Build/OrionBuild.xml

	--------------------------------------
	Merging using DevGen->Release43.3
	Repairing mailer for nightly Perf tests, fixing email headers.
	#!tests run in devgen
	#!rb none
	#!lockdown andrew.grant

	#!ROBOMERGE-SOURCE: CL 3680914 in //Orion/Release-43.3/... via CL 3680919 via CL 3680922
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3685073 on 2017/10/06 by Andrew.Grant

	Merging 3680922 //Orion/Main to Dev-General (//Orion/Dev-General)

	#!tests #!rb na

Change 3684717 on 2017/10/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fixed issue where GT & RT times in profile info were reversed :(

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3680128 in //Orion/Release-43.2/... via CL 3680129 via CL 3680130 via CL 3680235
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3684512 on 2017/10/06 by Laurent.Delayen

	Added 'PlayRateBasis' to SequencePlayer node, to scale PlayRate without having to do more expensive BP code.

	#!rb lina.halper
	#!tests minion AnimBP nativization

Change 3684059 on 2017/10/06 by Max.Preussner

	Orion: Fixed ability videos not loading on PS4 and/or not looping

	#!fyi stephan.jiang
	#!jira OR-44682
	#!rb none
	#!rnx
	#!tests none

Change 3683538 on 2017/10/06 by David.Ratti

	batch all non-trickle gold and XP gameplay cues into single compact RPC call. Fixes issues where rpc throttling would prevent gold/xp number pops over large groups of minions.

	-Fixes enemy heroe kills/assists never showing XP pops. We now pass the avatar actor as the Source Actor into ::AwardXP (like we do for ::AwardCardXP). This was causing XP pops to only show for minions and not players.

	-Fixes case where killing minions with badass was not displaying pops (prediction key issue)

	#!rb none
	#!tests editor, pie
	#!review-3683539 @Matt.Schembari

Change 3683364 on 2017/10/06 by Andrew.Grant

	Changed warning to info

	#!tests #!rb na

Change 3681999 on 2017/10/05 by Bart.Hawthorne

	Implement live spectating feature. Clients can join a match using a custom key by setting their custom key and using the "JoinAsSpectator" console command. This will be replaced with proper UI later. The client is able to watch a match from start to finish (or join in the middle), then they will see the end game sequence and return to the title screen at match completion.

	#!rb cody.haskell
	#!fyi ben.zeigler, matt.schembari, matt.kuhlenschmidt, paul.moore
	#!jira OR-44111
	#!tests Golden path, live spectated numerous matches.

Change 3681403 on 2017/10/04 by Josh.Markiewicz

	#!UE4 - base pass for Tencent Cross SDK
	- basic testing done with enter/exit/switch room
	- basic testing of ShowUI
	- checked in disabled
	#!rb duck
	#!tests see above
	#!jira TEN-301
	#!review-3681404 @sam.zamani, @rob.cannaday

Change 3680623 on 2017/10/04 by David.Ratti

	Rework for how max movement speed is calculated.

	The design is now "only strongest movement speed slow affects player speed". Movement speed buffs are unaffected : they are still accumulated along with the strongest slow.

	Combat Slows (Shooting, jump penalties) are now aggregated within Max Movement Speed, so the same rules apply. If a slow of greater magnitude is active, Combat Slows will effectively be ignored. Likewise, if a combat slow is stronger than a debuff slow, the debuff slow will effectively be ignored.

	Directional Slows (penalty for strafing or backpeddaling) are treated in a similar way. There are some subtleties here, but basically directional slows are only applied if they would be "the strongest" slow.

	GE Slows that are not contributing (due to not being the strongest active slow) will still appear to be "on" and applied. (Their GCs will still play, they are not inhibited, handles to them are still valid, etc).

	Suggested methods for inspection:
	AbilitySystem debug hud (Home/End)
	p.VisualizeMovement (displays final calculated movement speed)
	Orion.Movement.DirectionalScaleDebug (displays directional slow movement scalar)

	Technical information:
	1. Changes the way attribute mods are qualified. Rather than qualifying inside the mod prior to evaluating, we qualify all mods within an FAggregator first, then allow a custom callback to run which can further muck with the mods IsQualified bool, then we evaluate like normal except that we just check the IsQualified bool.

	2. Added a concept of Aggregator Evaluate Meta Data that can be set per aggregator. This is data that is instrinc to the aggregator rather than passed in by the person evaluating.  It may make sense to have this be a shared ptr to reduce memory footprint if this struct grows.

	3. Added a notification for attribute sets when an aggregator is created for one of their attributes.

	4. Added ForEachMod functions in the aggregators to iterate over all mods (while getting the channel and mod op which are otherwise not known to the actual FAggregatorMod)

	5. Added FAggregatorEvaluateMetaDataLibrary which can store common/shared functions for this type of extension.

	#!tests pie
	#!rb FrankG
	#!codereview Fred.Kimberley, Billy.Bramer
	#!fyi colin.fogle
	#!QAReview
	#!RN
	#!designchange

Change 3680580 on 2017/10/04 by Ben.Salem

	Repair email titles for various reports.
	#!rb none
	#!tests Reran tests.

Change 3680438 on 2017/10/04 by Dan.Hertzka

	GameplayAbilities now pass along their SourceObject when creating the effect context for a new effect
	- Fixes the HUD status effect feed not showing sources for a lot of itemization abilities

	Also added the tag to prevent showing a feed entry for the Lifesteal received from the first major agi pip

	#!rb Dave.Ratti
	#!tests OrionEntry PIE - equipped Sand Speeder

	#!QAReview: This should address the majority of cases where a card/gem effect buff doesn't show the source item. There are still a number of unaddressed cases, but these will largely be content one-offs from here on

Change 3680344 on 2017/10/04 by robomerge

	#!ROBOMERGE-AUTHOR: marcus.wassmer
	Speculative disable of defragging on volumetric lightmap textures.
	#!rb andrew.grant
	#!test monolith2 ps4

	#!ROBOMERGE-SOURCE: CL 3678624 in //Orion/Release-43.3/... via CL 3678628
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3680302 on 2017/10/04 by Shaun.Kime

	Integration from DevNiagara.
	Some character and card blueprints were changed in a minor way when they called their parent Burst, Loop, etc. as Blueprints cannot have an unattached array pin and Gameplay cues now have an Additional Niagara Particle Systems array.

	#!rb none
	#!fyi Scott.Kennedy, Olaf.Piesche, Simon.Tovey, Frank.Fella, Andrew.Grant, Tim.Elek
	#!tests passed PS4 test level (not submitted, but ported from DevNiagara). Automated tests pass.

Change 3679946 on 2017/10/04 by Laurent.Delayen

	Fix for OR-44826. Old minions would crash because their LODs would reduce bone counts, and LowerBodyBoneIndices wasn't properly reset between LOD switches.

	#!rb lina.halper
	#!FYI andrew.grant
	#!tests monolith2 old minions

Change 3679938 on 2017/10/04 by Daniel.Lamb

	Allowed foliage cullall option to be modified by scalability options.
	#!rb Trivial
	#!test Compile paragon editor

Change 3679563 on 2017/10/04 by Jon.Lietz

	OR-43599

	- added support for WaitForAttributeChange, WaitForAttributeChangeWithComparison, WaitForAttributeChangeThreshold, and WaitForAttributeChangeRatioThreshold to support tracking on an extrnal source. This way you can track when that extranal sources attribute changes and respond to it.

	#!rb Dave.Ratti
	#!review-3679564 @John.Nielson
	#!tests added these waits to hot pursuit and they worked as expected

Change 3679006 on 2017/10/03 by Ben.Salem

	Try to fix broken nightly mailer issues for FX tests.
	#!rb none
	#!tests Preflighted a shallow fx pass successfully in EC.

Change 3677845 on 2017/10/03 by Andrew.Grant

	Added an ensure to guard against OR-44826 while further investigations occur

	#!tests compiled
	#!rb none

Change 3677443 on 2017/10/03 by John.Nielson

	Fix to OrionOR-44394, Log Warnings related to Phase GC when loading into game as Phase.

	Made it so that gameplayCue's async loads are cancelled when Unloaded (in UnloadGameplayCueNotify).

	#!RB: None
	#!Test: Pie, Uncooked
	#!review-3677445: @David.Ratti

Change 3676748 on 2017/10/02 by Laurent.Delayen

	Minions: split body layer is now done in mesh space, to maintain upper body orientation.

	#!FYI ray.arnett, lina.halper
	#!rb none
	#!test lane minion test map

Change 3675950 on 2017/10/02 by Don.Eubanks

	Added several new supported tags / status effects to the Floating Status Effect Text system.

	Added support for providing a list of Instigating actors when a status effect begins, the list isn't super perfect (overlapping status effects can result in an instigator appearing in multiple lists) but it should be pretty good for now.  This paves the way for us to squelch status effects unless they are initiated by the player.

	Added ScaleOverDistance curve support for floating numbers / text.

	Inverted the Instigator / Target checkboxes for XP in the DamageNumberManager per @matt.schembari request to support his work while I had the asset checked out.

	#!rb matt.schembari
	#!tests Compile DebugGame Editor Win64 / Shipping Client PS4

Change 3675186 on 2017/10/02 by Mic.Rooney

	Support for other anim curve driving audio types (right now specifically DialogueWave)

	#!RB: none
	#!Test: compiled editor/monolithics/withoutunity and tested locally.
	#!review-3675187 @andrew.grant, @david.ratti, @thomas.sarkanen

Change 3675167 on 2017/10/02 by Shaun.Kime

	Changed unsafe InverseFast() to an Inverse()

	#!jira OR-44671
	#!rb Simon.Tovey
	#!tests n/a

Change 3674888 on 2017/10/02 by David.Ratti

	GGP V2
	* Major refactor of the GGP system though this first check in is a scaled back integration from original plans. Primarily to stabilize the system and improve designer work flows before possibly going deeper for a "Completely unified" integration.


	Item System:
	* Simple Ability Keyword Data now directly references gameplay effect to apply, effectively removing Gameplay Effect Keywords.
	* Qualifier and Gameplay Effect parameters now use the FAutoExportScalableFloat structure which automatically hooks up the values to spreadsheets. (GGP is used to surface these parameters for the auto hookup).

	Ability System:
	* SetByCaller magnitudes are now copied over anytime a GE applies another GE. When an ability applies a GE it also brings over its SetByCaller Magnitude tags from the GE that granted it (if granted bya  GE)


	#!rb none
	#!tests editor pie cooked
	#!review-3674889 @Jon.Lietz

Change 3674170 on 2017/09/30 by Mieszko.Zielinski

	Fixed a bug in OrionToggleableNavLinkProxy resulting from an overly optimistic assumption that Navmesh and Gameplay levels are being saved in sync #!Orion

	Had to make OrionToggleableNavLinkProxy's nav poly ID caching happen on map load.

	#!rb none
	#!test golden path
	#!OR-44738

Change 3672937 on 2017/09/29 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Changed Gauntlet filecopy to a single thread to see if it addresses issue with PS4 files

	#!tests 3compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3670237 in //Orion/Release-43/... via CL 3670243 via CL 3670244 via CL 3670245 via CL 3670246
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3672867 on 2017/09/29 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Restored previous behaviour of integer numbers being formatted as "1" and not "1.00"

	#!tests ran game, checked playlist analytic
	#!rb nikdel

	#!ROBOMERGE-SOURCE: CL 3669417 in //Orion/Release-43/... via CL 3669556 via CL 3669557 via CL 3669558 via CL 3669559
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3672575 on 2017/09/29 by robomerge

	#!ROBOMERGE-AUTHOR: david.ratti
	Remove warning that can happens normally with backwards compat replays
	#!rb none
	#!tests compile

	#!ROBOMERGE-SOURCE: CL 3667518 in //Orion/Release-43.3/... via CL 3667520
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3672548 on 2017/09/29 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.lamb
	Fixed crash in the editor caused by trying to build hlods with StaticMeshComponents that don't have a static mesh assigned.
	#!rb Andrew.Grant
	#!test Editor building hlods

	#!ROBOMERGE-SOURCE: CL 3667059 in //Orion/Release-43.3/... via CL 3667060
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3672542 on 2017/09/29 by Andrew.Grant

	Merging

	#!rb #!tests na

Change 3672390 on 2017/09/29 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Changed memreport settings for frontend tests

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3666239 in //Orion/Release-43/... via CL 3666240 via CL 3666241 via CL 3666242 via CL 3666243
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3672385 on 2017/09/29 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Reworked and pretty much final PipelineState cache code

	- various comments incorporated
	- namespaced functions
	- removed redundant class and replaced with ref pointer

	#!tests soaked a lot
	[at daniel.lamb,] [at arne.schober] #!rb none

	#!ROBOMERGE-SOURCE: CL 3666233 in //Orion/Release-43/... via CL 3666235 via CL 3666236 via CL 3666237 via CL 3666238
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3672281 on 2017/09/29 by Rob.Cannaday

	Add user ID to OnNetworkCheatDetected
	#!jira TEN-272
	#!jira TEN-273
	#!jira TEN-274
	#!rb rob.cannaday
	#!tests Win64 AI match, simulate cheat detected by cheat command
	#!review-3672282 @ian.fox @sam.zamani

Change 3671688 on 2017/09/29 by Frank.Gigliotti

	Added ability to set developer comment when adding native tags.

	#!RB David.Ratti
	#!Tests None

Change 3670409 on 2017/09/28 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fix for dump type made while doing cleanup

	#!tests compiled Win64, PS4, ran PS4
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3664048 in //Orion/Release-43/... via CL 3664049 via CL 3664050 via CL 3664873
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3670399 on 2017/09/28 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fixed race condition in pipeline state cache

	Cache now trims every 60 secs to reduce memory. Saves ~95MB in a 60m game of Paragon

	(Couple of extra tweaks planned, but this should be GTG for a v43 release)

	#!rb codereviewed
	#!tests soaked locally, lots

	#!ROBOMERGE-SOURCE: CL 3663603 in //Orion/Release-43/... via CL 3663605 via CL 3663607 via CL 3664870
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3669802 on 2017/09/28 by Andrew.Grant

	From Dev-Framework

	#!jira UE-49858 Fix performance regression deleting many actors at once. It was redundantly serializing packages repeatedly to look for actor references, so now we cache that once per package and only display the slow dialog/p4 check when needed
	#!rb michael.noland
	#!codereview andrew.grant
	#!tests na

Change 3669709 on 2017/09/28 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	Restored LoadTimesObjectVersion even though it is no longer used, packages saved with it will issue a warning in the cooker
	#!rb none
	#!TESTS none

	#!ROBOMERGE-SOURCE: CL 3664407 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3669177 on 2017/09/28 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	[Copy] Reflection Captures support Lighting Scenarios without recapturing
	 * Reflection Captures are now part of the Map Build
	 * Modifying a capture in editor will display a preview, but game can only display built captures (black for unbuilt with screen message)
	 * Reflection Capture build data moved to the BuildData package
	 * Building lighting / reflection captures no longer dirties ULevels
	* Sky lights which capture the scene now work correctly with Lighting Scenarios
	* Lighting Scenarios must now be loaded for each time they are made visible (no switching back and forth while keeping both loaded)
	#!rb Marcus.Wassmer
	#!TESTS Paragon editor Monolith02

	#!ROBOMERGE-SOURCE: CL 3662969 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3669124 on 2017/09/28 by Daniel.Lamb

	Merging //Orion/Main/Engine/Shaders/Public/ShaderVersion.ush
	to //Orion/Dev-General/Engine/Shaders/Public/ShaderVersion.ush

	Fix cook in devgeneral

	Bumped shader version to invalidate stale uniform buffer name.
	#!rb none
	#!TESTS none
	#!fyi Daniel.Wright

Change 3667906 on 2017/09/27 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	[Copy] Fixed HandleLegacyMapBuildData not getting called on P maps loaded in the editor, which apparently was dropped in an integration error, causing all legacy maps (before the BuildData change) to lose their built lighting.
	#!rb none
	#!TESTS QAGame

	#!ROBOMERGE-SOURCE: CL 3662475 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3667899 on 2017/09/27 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	[Copy] Remove unused SM4 reflection capture cubemap
	#!rb none
	#!TESTS none

	#!ROBOMERGE-SOURCE: CL 3662462 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3667894 on 2017/09/27 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	[Copy from Brian] SM4 fallback for reflection captures.
	#!rb none
	#!TESTS none

	#!ROBOMERGE-SOURCE: CL 3662449 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3667859 on 2017/09/27 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	[Copy from Brian] Removed old rasterized deferred reflection env path.
	Removed reflection compute shader. Replaced with PS. Small perf gain.
	#!rb none
	#!TESTS none

	#!ROBOMERGE-SOURCE: CL 3662439 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3667852 on 2017/09/27 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	[Copy] Fixed missing include
	#!rb none
	#!TESTS none

	#!ROBOMERGE-SOURCE: CL 3662396 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3667807 on 2017/09/27 by Daniel.Lamb

	Tencent DLC can now remap the plugin content to the game root directory.
	#!rb Ben.Marsh
	#!test Paragon regioncl dlc build, preflight ps4, win64 standard build + test

Change 3667753 on 2017/09/27 by Clayton.Langford

	Adding automated test for capturing fx perf for lane minions. Also adding a Gauntlet node to run the test nightly, added test map to the cook list, updated the SpawnMinion phase to use new minion assets, and fixed an issue with the spawn timer.

	#!RB Ben.Salem, Adric.Worley
	#!tests PIE, local synced client/server, and Gauntlet's RunAutomaticTest.bat

Change 3667408 on 2017/09/27 by Jordan.Walker

	Optimization to bakedNormal layer blend on Low end material quality
	-uses simple multiply and add normal map blend

Change 3667388 on 2017/09/27 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	[Copy] Moved Volumetric Lightmap textures out of FScene and into FPrecomputedVolumetricLightmapData so their lifetime can match the MapBuildData.  This allows tossing the source BulkData in game after RHI texture creation even though switching lighting scenarios does Release/InitializeRenderingResources multiple times.
	#!rb none
	#!TESTS QAGame on console

	#!ROBOMERGE-SOURCE: CL 3662389 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3667383 on 2017/09/27 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.wright
	[Copy] CPU interpolation of Volumetric Lightmaps for the mobile renderer.  They use a scene cache based on interpolation position, since the precomputed lighting buffer for movable objects is recreated every frame.
	#!rb none
	#!TESTS QAGame

	#!ROBOMERGE-SOURCE: CL 3662383 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3667265 on 2017/09/27 by Daniel.Lamb

	Fixed crash in the editor caused by trying to build hlods with StaticMeshComponents that don't have a static mesh assigned.
	#!rb Uriel.Doyon
	#!test Editor building hlods

Change 3667159 on 2017/09/27 by Mieszko.Zielinski

	Added simple logging to BT loading allowing us to identify missing BB keys #!Orion

	#!test golden path
	#!rb Lukasz.Furman

Change 3665944 on 2017/09/26 by Dan.Hertzka

	Fix PS4 compile

	#!rb none
	#!tests compile PS4

Change 3665590 on 2017/09/26 by Daniel.Lamb

	Fix for DLC cooking everything when it should only cook the DLC.
	#!rb None
	#!test None

Change 3665569 on 2017/09/26 by Dan.Hertzka

	New status effect feed for the new HUD:
	- Now placed in the mid-upper-left side of the HUD
	- Biggest difference from before is that there are now names associated with each effect
	- If we can determine the ability it came from (and it has a name/icon), we show that as well. This doesn't work for any card effects yet.

	Cleaning:
	- Deleted all of the old buff widget classes & codepaths
	- Removed redundant properties from StatusEffectDisplayInfo
	- Added BuffStatusTags and DebuffStatusTags to AttributeViewItem. This allows us to associate the effects that modify an attribute with the attribute itself. Allowed me to remove about half of the entries in StatusEffectDisplayData

	Also:
	- Consolidated all of the events on FActiveGameplayEffect into a single struct. Since we don't want to allow non-const access to any other part of the active effect, each of these has an individual getter on the ASC. This is pretty obnoxious when you want to bind multiple events. There is now a getter for the event set of an active effect on the ASC. This allows more convenient non-const native access to these events
	- Added an event for when the inhibition of an effect changes. This is important for UI to know when an effect is no longer relevant (despite never being actually removed)

	@todo: Add support for showing the item ability names that are responsible for effects (note that this will be the ability, not the name of the item. The name of the item will be a lot harder.)

	#!rb Don.Eubanks
	#!tests OrionEntry PIE with some cards and hero abilities

	#!QAReview - Please keep an eye on this to make sure it works as expected during normal play. I wasn't sure how to test stack counts - not sure which status effects actually support that. They should show up though if any do. Please also verify that this still works/appears correctly during the tutorial.

	#!lockdown Billy.Rivers

Change 3665555 on 2017/09/26 by Daniel.Lamb

	AudioStreaming mpsc queue fix up.
	#!rb Andrew.Grant
	#!test Compile paragon client / editor.

Change 3665517 on 2017/09/26 by Daniel.Lamb

	Suspect fix for OR-44619
	#!jira OR-44619
	#!test Paragon editor compile
	#!rb Trivial

Change 3664346 on 2017/09/26 by Jon.Lietz

	- making LifeSpanCallback inside UDecalComponent virtual so sub classes can override how Decals handle fade out.
	- Adding in UOrionDecalComponent to replace the use of UDecalComponent, for the most part they are the same the only thing we needed to change was the LifeSpanCallback() if the Owner is a AOrionGameplayCueNotify_Actor we dont call Super::LifeSpanCallback() that would result in the GC getting destroyed but now call GameplayCueFinishedCallback() so our gameplay cues will recycle as desired.
	- Updated all GC's data to use the new decal class
	- removed the option to place UDecalComponent as BP comp and only left our new UOrionDecalComponent

	#!rb Dave.Ratti
	#!reivew Dave.Ratti
	#!tests used characters that had decal comps in the GC and they recylce as expected.
	#!QAReview please check the effected abilities and cues, I tested and everything looks fine to me up a deeper check is needed.

Change 3664099 on 2017/09/26 by Jon.Lietz

	OR-44510

	- bringing over engine fixes for the Enum Redirector from Dev-Framework

	#!rb none
	#!tests compiles and warnings are gone

Change 3663019 on 2017/09/25 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.lamb
	Gil: fixed race condition in the PipelineStateCache
	#!rb Daniel.Lamb
	#!test paragon ps4 with higher repro modified build
	#!lockdown Andrew.Grant
	#!jira OR-44441

	#!ROBOMERGE-SOURCE: CL 3659463 in //Orion/Release-43/... via CL 3661481 via CL 3661489 via CL 3661497
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3663014 on 2017/09/25 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Quick fix to remove a redundant copy of the PipelineStateInitializer (saves 16MB over a 10min game) incase we need to submit a build before the more extensive changes are ready.

	#!tests ran locally
	#!rb [at daniel.lamb] [at arne.schober]

	#!ROBOMERGE-SOURCE: CL 3658907 in //Orion/Release-43/... via CL 3661480 via CL 3661488 via CL 3661494
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3663004 on 2017/09/25 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Changed dev check for extra commandline args from /data to /temp0

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3658497 in //Orion/Release-43/... via CL 3661478 via CL 3661486 via CL 3661492
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3662999 on 2017/09/25 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Gauntlet - Fixed DateTime used for folders not being set

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3658390 in //Orion/Release-43/... via CL 3661477 via CL 3661485 via CL 3661491
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3662255 on 2017/09/25 by Sam.Zamani

	#!tencent
	- fix for link error due to missing define of static OnNetworkCheatDetected delegate

	#!rb none
	#!tests none

Change 3662073 on 2017/09/25 by Sam.Zamani

	#!tencent
	Added new global network delegates callback FNetworkCheatDetected for when cheating is detected on a server
	Possible options

	#!jira TEN-275 TSS detect and expose punish user callbacks

	KickClient - User should be booted from the current game session via disconnect
	KickMatch - User received info about being punished (eg. ban type etc)
	PunishInfo - User received info about being punished (eg. ban type etc)

	#!rb rob.cannaday
	#!tests none

Change 3659487 on 2017/09/22 by Josh.Markiewicz

	#!Orion - removed NUTFortnite* files because they have been moved into Fortnite specific plugin
	#!review-3659190 john.barrett, ryan.gerleve

Change 3659485 on 2017/09/22 by Josh.Markiewicz

	#!UE4 - removed OSSUtils dependencies from NUTUnrealEngine4 since the refactor moved dependencies into game specific plugins
	#!fyi john.barrett, ryan.gerleve

Change 3659184 on 2017/09/22 by Josh.Markiewicz

	#!UE4 - delete EpicSurvey module
	#!fyi justin.sargent, nick.darnell
	#!rb none

Change 3658697 on 2017/09/22 by Ryan.Gerleve

	Fixes for server-side Tencent anti-cheat library integration:
	-Fix DLL loading to properly call tss_sdk_load and use the correct paths on Linux as well as Windows
	-Add getter for the TssSdkAntiInterf object
	-Enable server anti-cheat in editor builds

	#!codereview sam.zamani
	#!rb none
	#!tests enabled Tencent OSS, built & ran server

Change 3658200 on 2017/09/22 by Graeme.Thornton

	Manual copy of CL 3587584 from Dev-Core

	Logging improvements for pak signature check failures
	 - Added "PakCorrupt" console command which corrupts the master signature table
	 - Added some extra log information about which block failed
	 - Re-hash the master signature table and to make sure that it hasn't changed since startup
	 - Moved the ensure around so that some extra logging messages can make it out before the ensure is hit
	 - Added PAK_SIGNATURE_CHECK_FAILS_ARE_FATAL to IPlatformFilePak.h so we have a single place to make signature check failures fatal again

	#!rb none
	#!tests been in Dev-Core and Main for a while now. Compile tests in Dev-General

Change 3657970 on 2017/09/22 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Added Trim() delegate hook to PipelineStateCache so accumulated memory is freed on a hard level transition.

	We've noticed this memory growing considerably overtime and while it may reach a ceiling eventually it was still increasing after 60m of Paragon. This should at least reset it upon the end of each game,

	[at marcus.wassmer,] [at arne.schober] #!rb none
	#!tests cycled 6-7 levels of Paragon

	#!ROBOMERGE-SOURCE: CL 3657965 in //Orion/Release-43/... via CL 3657967 via CL 3657968 via CL 3657969
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3657914 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Non-shipping: test and dev builds now check testkit's data drive for a commandline override. Not sure if this will work as-is, but shouldn't cause any harm if not and it needs to go into a pkg build for testing...

	#!tests stepped through in non-pkg build
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3657910 in //Orion/Release-43/... via CL 3657911 via CL 3657912 via CL 3657913
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3657906 on 2017/09/21 by Andrew.Grant

	Improved some logging

	#!tests used locally
	#!rb none

Change 3657891 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Formalized idea of multiple test passes in Gauntlet. Current pass and total passes are provided to nodes incase they want to perform custom processing

	Fixed issue with -dev mode on PS4 not updating symbols

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3657887 in //Orion/Release-43/... via CL 3657888 via CL 3657889 via CL 3657890
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3657867 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	[NULL MERGE]
	Re-locked network CL to 3652780

	#!tests #!rb na

	#!ROBOMERGE-SOURCE: CL 3657221 in //Orion/Release-43/... via CL 3657359 via CL 3657366 via CL 3657374
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3657857 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: jason.bestimt
	#!ORION_43 - Removing start up dialog that warns of non-optional instructions - OR-44444

	#!RB:arciel.rekman
	#!Tests:Compiled

	[CODEREVIEW] daniel.lamb, andrew.grant, arciel.rekman, benjamin.crocker, matthew.coleman, joe.graf

	#!ROBOMERGE-SOURCE: CL 3657058 in //Orion/Release-43/... via CL 3657355 via CL 3657364 via CL 3657370
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3657852 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fix for case-insensitivity causing title.json not to be staged

	#!rb daniel.lamb, bob.tellez
	#!tests ran packaging script, verified contents match v42

	#!ROBOMERGE-SOURCE: CL 3657054 in //Orion/Release-43/... via CL 3657353 via CL 3657363 via CL 3657369
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3657831 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: jason.bestimt
	#!ORION_43 - Removing popcnt version of CountBits to repair pre-Nehalem processors

	We can worry about a more permanent solution after we get this live.

	#!RB:none
	#!Tests: Compiled

	[CODEREVIEW] daniel.lamb, andrew.grant, ben.marsh, marcus.wassmer

	#!ROBOMERGE-SOURCE: CL 3656206 in //Orion/Release-43/... via CL 3657325 via CL 3657333 via CL 3657338
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3657824 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	[CODEREVIEW] andrew.grant, jason.bestimt, jeff.williams

	Unresolved conflicts. andrew.grant, please merge this change by hand.
	//ROBOMERGE_ORION_Release_43_1/Engine/Binaries/Win64/UnrealCEFSubProcess.exe
	//ROBOMERGE_ORION_Release_43_1/Engine/Binaries/Win64/UnrealCEFSubProcess.pdb

	--------------------------------------
	Built new UnrealCEFSubprocess client
	Changed OrionBuild.xml to build the shipping version of the above.

	The first should definitely fix out store issue. It's not clear to me if the latter will because if this artifact was being staged I'd expect to see UnrealCEFSubProcess-Win64-Development etc be distributed and it's not. This suggests to me we just stage what's in P4 and not the result of this step, but further investigationds will be needed to vet this.

	[at justin.sargent,[at benjamin.crocker,[at wes.fudala]]]

	#!ROBOMERGE-SOURCE: CL 3656066 in //Orion/Release-43/... via CL 3657319 via CL 3657332 via CL 3657337
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3657488 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: anton.migulko
	LIGHTING AND assets update

	#!ROBOMERGE-SOURCE: CL 3656996 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3656388 on 2017/09/21 by Laurent.Delayen

	Added default GetAxisVector static function to EAxisOption

	#!rb none
	#!FYI thomas.sarkanen
	#!tests lane minions test map

Change 3656387 on 2017/09/21 by Laurent.Delayen

	Initialize FAnimInstanceProxy with default constructor.

	#!rb none
	#!fyi lina.halper, thomas.sarkanen
	#!tests lane minion test map

Change 3656003 on 2017/09/21 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	[NULL MERGE]
	Locked net version to 3650578 for patching

	benjamin.crocker
	#!tests #!rb na

	#!ROBOMERGE-SOURCE: CL 3655998 in //Orion/Release-43/... via CL 3656000 via CL 3656001 via CL 3656002
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3654403 on 2017/09/20 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.lamb
	Merge DevCore -> Orion Release-43 CL 3641450
	UE4 - Switch PS4 over to atomics that issue a full memory barrier. UE4 assumes atomics have memory barriers.
	#!rb Daniel.Lamb
	#!test Compile
	#!lockdown Andrew.Grant

	#!ROBOMERGE-SOURCE: CL 3654399 in //Orion/Release-43/... via CL 3654400 via CL 3654401 via CL 3654402
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3654356 on 2017/09/20 by Andrew.Grant

	Merging 3653658 from Dev-Rendering

	#!tests compiled, ran editor
	#!rb marcus.wassmer

Change 3653914 on 2017/09/20 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Bumped script version to reprocess autosdks (installs debugger for CoreFileAPI access).

	#!rb none
	#!tests ran locally

	#!ROBOMERGE-SOURCE: CL 3653910 in //Orion/Release-43.1/... via CL 3653911 via CL 3653912
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3652495 on 2017/09/19 by Andrew.Grant

	Editgration of VR fix in 3643776 from Release-4.17

	#!tests #!rb na

Change 3652244 on 2017/09/19 by Sam.Zamani

	#!tencent
	Disable launcher checks if "-q" is on command line indicating QQ id when launched via TCLS launcher
	Added "-q" to whitelist of command line params for shipping builds
	Skip update URI routing to Epic Launcher for tencent builds since they use TCLS launcher

	#!rb rob.cannaday
	#!tests none

Change 3651493 on 2017/09/19 by buildmachine

	BuildPhysX.Automation: Deploying PhysX & APEX & NvCloth Linux_x86_64-unknown-linux-gnu libs.
	#!rb none
	#!lockdown Nick.Penwarden
	#!tests none

Change 3651490 on 2017/09/19 by buildmachine

	BuildPhysX.Automation: Deploying PhysX & APEX & NvCloth Linux_aarch64-unknown-linux-gnueabi libs.
	#!rb none
	#!lockdown Nick.Penwarden
	#!tests none

Change 3651489 on 2017/09/19 by buildmachine

	BuildPhysX.Automation: Deploying PhysX & APEX & NvCloth Linux_arm-unknown-linux-gnueabihf libs.
	#!rb none
	#!lockdown Nick.Penwarden
	#!tests none

Change 3651445 on 2017/09/19 by robomerge

	#!ROBOMERGE-AUTHOR: jason.bestimt
	#!ORION_43 - Integrating CL 3651124 from Release-4.17 to remove -ffast-math flag

	#!RB:none
	#!Tests:none

	[CODEREVIEW] dmitry.rekman, daniel.lamb, andrew.grant

	#!ROBOMERGE-SOURCE: CL 3651441 in //Orion/Release-43/... via CL 3651443 via CL 3651444
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3651059 on 2017/09/19 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Removed code to archive load-order during tests

	#!tests #!rb na

	#!ROBOMERGE-SOURCE: CL 3651056 in //Orion/Release-43/... via CL 3651057 via CL 3651058
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3651043 on 2017/09/19 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Changed error parsing from tests to put cause ahead of file info

	#!tests ran self-test
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3651034 in //Orion/Release-43/... via CL 3651041 via CL 3651042
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3649683 on 2017/09/18 by Andrew.Grant

	Bulk-merge of oustanding changes in Main to DG

	#!tests #!rb na

Change 3649345 on 2017/09/18 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.lamb
	Integrate fix for eidtor crash when switching between low and high scaleability options.
	#!rb Olaf.Piesche
	#!test Paragon editor

	#!ROBOMERGE-SOURCE: CL 3643174 in //Orion/Release-43/... via CL 3643214 via CL 3643240
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3649335 on 2017/09/18 by robomerge

	#!ROBOMERGE-AUTHOR: jason.bestimt
	#!ORION_43 - OR-44257 - Fix for hair not working
	It is valuable to use the proper variable when doing Boolean logic :/  Cut-n-paste error from bit-packing conversion.

	#!RB:daniel.lamb
	#!Tests:Re-tested in cooked build

	[CODEREVIEW] daniel.lamb

	#!ROBOMERGE-SOURCE: CL 3643061 in //Orion/Release-43/... via CL 3643211 via CL 3643237
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3649231 on 2017/09/18 by robomerge

	#!ROBOMERGE-AUTHOR: jason.bestimt
	#!ORION_43 - Bit packing skel mesh cache variable and then reverting sound cue changes to avoid collision with AaronM

	#!RB:none
	#!Tests:none

	[CODEREVIEW] daniel.lamb, aaron.mcleran, marc.audy

	#!ROBOMERGE-SOURCE: CL 3642166 in //Orion/Release-43/... via CL 3643199 via CL 3643231
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3649211 on 2017/09/18 by robomerge

	#!ROBOMERGE-AUTHOR: marcus.wassmer
	Fix 'lowest' shadow settings (simple forward rendering)
	#!rb arne.schober
	[FYI] Daniel.Wright
	#!tests monolith

	#!ROBOMERGE-SOURCE: CL 3642119 in //Orion/Release-43/... via CL 3643196 via CL 3643228
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3649141 on 2017/09/18 by Stephan.Jiang

	Tagging files that shouldn't be merged up to Main, upon next engine merge should accept source.

	  -- These are hacks for ability videos to work before we have the new Sequencer updates
	  -- CLs contain those hacks: 3649066, 3649049, 3648752, 3648748

	#!fyi Andrew.Grant, Max.Preussner
	#!rb none
	#!test compile

Change 3649087 on 2017/09/18 by Thomas.Ross

	Merging //UE4/Dev-Framework/ CL#!3646428 using //UE4/Dev-Framework_to_//Orion/Dev-General
	#!rb none
	#!tests none
	#!fyi Andrew.Grant,Jeff.Williams,dan.oconnor

Change 3649066 on 2017/09/18 by Max.Preussner

	WmfMedia: Fix for multiple media sessions being created when repeatedly opening media sources

	#!rb stephan.jiang
	#!rnx
	#!tests none

Change 3649049 on 2017/09/18 by Max.Preussner

	Media: Changed audio sample rate warning to verbose log

	#!fyi stephan.jiang
	#!rb none
	#!rnx
	#!tests none

Change 3648752 on 2017/09/18 by Max.Preussner

	WmfMedia: Fixed race condition in media sound wave

	#!rb none
	#!rnx
	#!tests none

Change 3648748 on 2017/09/18 by Max.Preussner

	WmfMedia: Hack for preventing flicker between media source switching

	Do not merge to Dev-Main!

	#!rb stephan.jiang
	#!rnx
	#!tests none

Change 3648596 on 2017/09/18 by Bart.Hawthorne

	More Oodle batch file fixes - cleaned up the changelist description and removed the changelist parameter since the branch parameter is enough.

Change 3648575 on 2017/09/18 by Sam.Zamani

	#!tencent
	Fix for missing library calls when initializing TSS anti cheat SDK

	#!rb none
	#!tests compiles win64 server

Change 3648556 on 2017/09/18 by Jeff.Williams

	Null Merging //Orion/Main to Dev-General (//Orion/Dev-General) @3642084

	Clearing up robomerge


	#!rb none
	#!tests none

Change 3648533 on 2017/09/18 by clayton.langford

	Unblocking RM.

	#!CodeReview: clayton.langford, jason.bestimt, andrew.grant, jeff.williams

	Unresolved conflicts. clayton.langford, please merge this change by hand.
	//ROBOMERGE_ORION_Dev_General/Engine/Source/Programs/AutomationTool/NotForLicensees/Gauntlet/Gauntlet.Automation.csproj

	--------------------------------------
	Backing out 3641723 for now due to nontrivial merge conflicts. Did not back out change to DefaultEditor.ini since this change is unrelated to the conflict and essential for existing tests to run properly.

	#!RB Adric.Worley
	#!tests none

	#!ROBOMERGE-SOURCE: CL 3642084 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3648219 on 2017/09/18 by Sam.Zamani

	#!tencent
	fixed Tencent module thirdparty dll runtime dependency paths
	fixed DLLHandle not being set

	#!rb none
	#!tests none

Change 3647998 on 2017/09/18 by Clayton.Langford

	Reorganized CardFXTests to the appropriate location for this branch as part of the merge associated with 3645763.

	#!tests compiled
	#!rb Adric.Worley

Change 3647817 on 2017/09/18 by James.Golding

	Mirror fix from 4.18 release stream (CL 3647799) to Dev-General
	Fix out-of-bounds access of cloth mapping data during CPU skinning
	#!rb benn.gallagher
	#!jira UE-49628
	#!fyi benn.gallagher
	#!tests convert RiftMage to static mesh

Change 3647749 on 2017/09/18 by Benn.Gallagher

	Small change to windows memory intrinsics in PhysX to avoid VS compilation bug on windows causing restrict parameters to bleed the restrict into the calling scope.

	This caused matrix transposition to fail after the data was copied in using memcpy

	BuildPhysX.Automation: Deploying PhysX & APEX Win64 libs.
	#!rb none
	#!tests Editor reimport of clothing assets

Change 3646242 on 2017/09/15 by Tyler.Cole

	Revert shared engine LocalMCP scripts.

Change 3646153 on 2017/09/15 by robomerge

	#!ROBOMERGE-AUTHOR: jason.bestimt
	#!ORION_43 - Caching off HasActiveClothingAssets for SkeletalMeshes and ShouldApplyInteriorVolumes for SoundCues in non editor builds

	#!RB:daniel.lamb
	#!Tests: Ran cooked Client

	[CODEREVIEW] daniel.lamb, Benn.Gallagher, lina.halper, marc.audy

	#!ROBOMERGE-SOURCE: CL 3641934 in //Orion/Release-43/... via CL 3641936 via CL 3641940
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3646125 on 2017/09/15 by robomerge

	#!ROBOMERGE-AUTHOR: arne.schober
	OR - Sorting Primitive Components to increase I-Cache utilization and to keep the branch prediction alive during initviews.
	#!RB Marcus.Wassmer
	#!tests automated performance tests

	#!ROBOMERGE-SOURCE: CL 3641873 in //Orion/Release-43/... via CL 3641882 via CL 3641886
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3645861 on 2017/09/15 by clayton.langford

	#!CodeReview: clayton.langford, jason.bestimt, andrew.grant, jeff.williams

	Still need to move OrionTest.CardFXTest.cs to the correct location and generate the proper includes in the GauntletExtra csproj file. Will do this in a separate CL as advised by JeffW.

	Unresolved conflicts. clayton.langford, please merge this change by hand.
	//ROBOMERGE_ORION_Dev_General/Engine/Source/Programs/AutomationTool/NotForLicensees/Gauntlet/Gauntlet.Automation.csproj

	--------------------------------------
	Adding more card types to the automated tests. We now support all cards with an active ability and valid target types. This brings us to a current total of 40 cards for now, but new cards that fit the criteria will automatically be included once they are added.

	To execute the tests, either run a gauntlet test for CardFXTests or enterthe following command from the frontend: Automation RunTests OrionPerf.Effects.Cards

	Known issues: The following cards do not properly confirm their abilities and so produce invalid results: StaticTrap, LampLighter, ProtectiveSentry, and AstralLeap. Disabling these cards is nontrivial as the tests are automatically generated.

	#!tests ran local client/server, preflighted
	#!rb Ben.Salem
	#!rnx
	[FYI] Sean.Tobin, Hunter.Kent, Edward.King

	#!ROBOMERGE-SOURCE: CL 3641723 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3644062 on 2017/09/14 by Aaron.McLeran

	#!jira OR-44171 Some looping sounds are extremely loud
	#!rb Ethan.Geller
	#!tests run paragon, run near water river, don't observe looping sound being very loud

Change 3643901 on 2017/09/14 by Laurent.Delayen

	Integrated CL #!3604725 to fix bug with opening state machines from anim graph.

	#!rb none
	#!tests fixes bug
	#!FYI lina.halper

Change 3643641 on 2017/09/14 by Rob.Cannaday

	Fix unreachable code detected
	#!rb rob.cannaday
	#!tests Win64 compile

Change 3643326 on 2017/09/14 by Sam.Zamani

	#!tencent
	- temp disabled TerSafe.dll loading until staging issues can be resolved

	#!rb none
	#!tests none

Change 3643039 on 2017/09/14 by Sam.Zamani

	#!tencent
	- temp disabled TSS on servers due to linux build issues

	#!rb none
	#!tests none

Change 3642438 on 2017/09/13 by Rob.Cannaday

	Handle new analytics param types (number, string, etc)
	Stub implementation of FAnalyticsProviderETTencent DefaultAttrs
	#!rb rob.cannaday
	#!tests Win64 vs AI match

Change 3641655 on 2017/09/13 by Sam.Zamani

	#!tencent
	WIP added tss_sdk.dll (server) and TerSafe.dll (client)

	JIRA TEN-262 StoryAnti-Cheat SDK - TerSafe.dll 3rd party module for client
	JIRA TEN-197 StoryTSS SDK 3rd party module for dedicated servers

	#!rb none
	#!tests PC run with RegionCN.pak enabling tencent mode

Change 3641559 on 2017/09/13 by Bart.Hawthorne

	Fix up oodle dictionary generation scripts

	#!rb none
	#!jira none

Change 3641550 on 2017/09/13 by robomerge

	#!ROBOMERGE-AUTHOR: john.nielson
	Added more temp logging in attempt to find OrionOR-43600: Master Bug: Some hero ability FXs are missing in v43

	#!rb: none
	#!test: Pie

	#!ROBOMERGE-SOURCE: CL 3641546 in //Orion/Release-43/... via CL 3641548 via CL 3641549
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3641393 on 2017/09/13 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	We'd lilke to start using this on PS4 but the cost is very high (link-times are 60-90m!) so it needs to be something that is enabled selectively on the farm. I think we're going to consider it analogous to "Arxan" where it's on by default for Nightly/Standard builds in Release branches, but can be flipped off for quick turnarounds and is off in dev.

	Currently LTCG/LTO on PS4 is driven purely by bEnableLTOPerfBuilds / bEnableLTODevBuilds project settings. This change allows it to be specified as a command line UBT argument, and also preps the ground for targets to specify their own PGO file which would be used when LTO is enabled

	- Changed UBT option from -NoLTCG to -LTCG (I didn't see how it's possible to turn this on, since the default is false and adding the option also turns it false)
	- Added PGOInput option to TargetRules and passed through to compile environment
	- Updated UEBuildPS4.cs to that bAllowLTCG=true overrides settings in the ini file about what targets to have LTCG on for
	- Updated PS4 toolchain to use both LTO and PGO depending on what was set

	#!tests soaked locally, preflighted
	#!rb codereviewed

	FWIW here are before/after results for LTCG.

	Orion Performance report from 3 games and 1441.51 seconds
	MVP:    2.83 (Min: 2.05, Max: 3.22)
	HPM:    4.29 (Min: 4.24, Max: 4.37)
	AvgH:   2.77ms (Min: 2.08ms, Max: 4.16ms)
	GT:     12.88ms (Min: 12.68ms, Max: 13.25ms)
	RT:     13.71ms (Min: 13.48ms, Max: 14.08ms)
	GPU:    14.39ms (Min: 14.21ms, Max: 14.50ms)

	Orion Performance report from 3 games and 1440.49 seconds
	MVP:    1.42 (Min: 1.02, Max: 1.94)
	HPM:    3.25 (Min: 2.75, Max: 3.62)
	AvgH:   2.08ms (Min: 2.08ms, Max: 2.08ms)
	GT:     11.93ms (Min: 11.64ms, Max: 12.47ms)
	RT:     12.80ms (Min: 12.54ms, Max: 13.24ms)
	GPU:    14.10ms (Min: 13.91ms, Max: 14.27ms)

	#!ROBOMERGE-SOURCE: CL 3641352 in //Orion/Release-43/... via CL 3641354 via CL 3641357
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3640885 on 2017/09/13 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Limited warning to once every 10 secs.

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3640377 in //Orion/Release-43/... via CL 3640380
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3640875 on 2017/09/13 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fixed shipping config issue

	#!tests #!rb na

	#!ROBOMERGE-SOURCE: CL 3640328 in //Orion/Release-43/... via CL 3640362
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3640870 on 2017/09/13 by robomerge

	#!ROBOMERGE-AUTHOR: mieszko.zielinski
	Fixing CIS builds #!Orion

	The builds were failing because InitAsyncThread is being run as part of UHT, which doesn't usually include -DebugFX parameter, and warnings reported by UHT during reflection code generation are treated as errors.

	[CODEREVIEW] John.Nielson
	#!rb none
	#!test compilation

	#!ROBOMERGE-SOURCE: CL 3640310 in //Orion/Release-43/... via CL 3640361
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3640783 on 2017/09/13 by robomerge

	#!ROBOMERGE-AUTHOR: john.nielson
	More temporary logging for finding the missing FX issue.

	#!rb: none
	#!Test: Pie

	#!ROBOMERGE-SOURCE: CL 3640089 in //Orion/Release-43/... via CL 3640352
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3639910 on 2017/09/12 by Rob.Cannaday

	Build fix for AnalyticsETTencent
	#!rb rob.cannaday
	#!tests compile Win64 DebugGame Editor

Change 3639565 on 2017/09/12 by Laurent.Delayen

	SkeletalMeshComponent::InitAnim doesn't call Update and Eval anymore, but instead initializes transforms with cheaper ref pose, and relies on regular ticking for updating the pose, so we can take advantage of visibility related optimizations. Also RecalcRequiredBones uses correct predicted LOD level instead of defaulting to 0.

	#!rb lina.halper
	#!FYI lina.halper
	#!tests minion test lane, dropping meshes in a level, testing masterpose component at runtime.

Change 3639228 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Tools - Added ability to postmortem a PS4 devkit for last crash

	#!rb run locally
	#!tests none

	#!ROBOMERGE-SOURCE: CL 3639226 in //Orion/Release-43/... via CL 3639227
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3639075 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: jeff.williams
	Specifically requesting 'all' configuration, to avoid missing manifest in jar.

	#!ROBOMERGE-SOURCE: CL 3639072 in //Orion/Release-43/... via CL 3639074
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3639022 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: dan.hertzka
	Remove dependency on the editor style set in the WidgetReflector
	- Fixes a crash when trying to use the reflector in a client cooked build
	- Also updated Focusable column name to shared var

	#!rb none
	#!tests Widget Reflected in a cooked build

	#!ROBOMERGE-SOURCE: CL 3639020 in //Orion/Release-43/... via CL 3639021
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3638984 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: john.nielson
	Added some more temp logging to get to the bottom of the missing FX issue.  OR-43600 : Master Bug: Some hero ability FXs are missing in v43

	#!rb: none
	#!test: Pie

	#!ROBOMERGE-SOURCE: CL 3638982 in //Orion/Release-43/... via CL 3638983
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3638696 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Swapped problematic ensure to LogError, made draft obey notimeouts.

	#!tests compiled
	#!rb none
	[at daniel.lamb]

	#!ROBOMERGE-SOURCE: CL 3638693 in //Orion/Release-43/... via CL 3638695
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3638644 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Third time's the charm

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3638620 in //Orion/Release-43/... via CL 3638636
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3638628 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Removed ensure in a PS4 friendly way

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3638550 in //Orion/Release-43/... via CL 3638551
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3638583 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Removed ensure to get a cook

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3638476 in //Orion/Release-43/... via CL 3638478
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3638545 on 2017/09/12 by Bart.Hawthorne

	Add analytics for oodle compression percentages

	#!rb ryan.gerleve, wes.hunt
	#!tests ran a 2 person game with dedicated server and verified analytics were reported
	#!jira OR-26386

Change 3638172 on 2017/09/12 by robomerge

	#!ROBOMERGE-AUTHOR: marcus.wassmer
	Duplicate 3620803
	Partial Fix for Dither Opacity Mask
	#!rb none
	#!tests PC monolith

	#!ROBOMERGE-SOURCE: CL 3637837 in //Orion/Release-43/... via CL 3637838
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3637643 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: jeff.williams
	Fixing version stream to Main

	#!ROBOMERGE-SOURCE: CL 3637373 in //Orion/Release-43/... via CL 3637466
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3637524 on 2017/09/11 by Andrew.Grant

	Merging EngineTest and latest Gauntlet using //Orion/Dev-General/_To_//UE4/Orion-Stating

	#!tests build Win64 editor, ran tests locally
	#!rb none

Change 3637402 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Gauntlet -  Restored logging of runoptions when not verbose

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3636838 in //Orion/Release-43/... via CL 3636840
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3637357 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Made 'none' test specify Attended

	#!rb Daniel.Lamb
	#!tests compiled

	#!ROBOMERGE-SOURCE: CL 3636811 in //Orion/Release-43/... via CL 3636812
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3637305 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: john.nielson
	Added temporary debug logging cmd line option for finding Jira OrionOR-43600

	#!RB: none
	#!Test: Pie
	[at David.Ratti]

	#!ROBOMERGE-SOURCE: CL 3636730 in //Orion/Release-43/... via CL 3636732
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3636549 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: jason.bestimt
	#!ORION_43 - Integrating CL 3633162 from Dev-Rendering to guard around potential issues

	#!RB:none
	#!Tests:none

	[CODEREVIEW] uriel.doyon

	#!ROBOMERGE-SOURCE: CL 3636541 in //Orion/Release-43/... via CL 3636542
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3636507 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: dan.hertzka
	[OR-44013] & [OR-43780] - Hamstrung the old long-form rich text formatting functions to remove unsupported formatting immediately. Will be cleaning up API and usages in DG.

	Also:
	- Added distance formatting type for simple ability description values (will automatically append u to the value)
	- SimpleAbility description values can now go up to two decimal places

	Engine:
	- Modified FGameplayTag::ImportTextItem to account for redirects when establishing TagName

	#!rb Matt.Schembari
	#!tests PIE OrionEntry & FrontEndScene - various bug repros

	#!ROBOMERGE-SOURCE: CL 3636370 in //Orion/Release-43/... via CL 3636412
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3636372 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.lamb
	Implement fast particle pool memory.
	Default is 2mb, automatically cleans up oldest used pool slots.
	Estimated 1/4 time for STAT_PARTALLOC.
	#!rb Jason.Bestimt
	#!test paragon ps4 cooked

	#!ROBOMERGE-SOURCE: CL 3636045 in //Orion/Release-43/... via CL 3636048
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3636319 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fixed issue with fatal error message not being shown in reports.

	Fixed issue where some cancelled tests reported as succeeded

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3635951 in //Orion/Release-43/... via CL 3635955
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3636264 on 2017/09/11 by robomerge

	#!ROBOMERGE-AUTHOR: jason.bestimt
	#!ORION_43 - Integrating CL 3609090  && 3621546 from Dev-Rendering to help with Render Thread mip map streaming performance

	#!RB:none
	#!Tests: Ran client cooked build

	[CODEREVIEW] daniel.lamb, andrew.grant, Uriel.Doyon
	[QAREVIEW]

	#!ROBOMERGE-SOURCE: CL 3635817 in //Orion/Release-43/... via CL 3635819
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3635288 on 2017/09/10 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Added CleanDevices command and task that runs nightly in Dev-Gen to remove old builds from devices
	Fixed missing - in SoloSmoke args that were causing trailing params to be lost

	#!tests preflighted, ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3635286 in //Orion/Release-43/... via CL 3635287
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3635145 on 2017/09/09 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Bumped script version to pick up SDK change for patch packages
	#!rb none
	#!tests none

	#!ROBOMERGE-SOURCE: CL 3635143 in //Orion/Release-43/... via CL 3635144
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3635097 on 2017/09/09 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Added cleardevices option to Gauntlet that removes all devices after running.

	Added to Orion build scripts

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3635090 in //Orion/Release-43/... via CL 3635091
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3634985 on 2017/09/09 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Cleaned up some logging around device failures

	Attempt to handle "Too Many Connections" error at a lower level

	Added removeall command to PS4DevkitUtil (not yet used)

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3634983 in //Orion/Release-43/... via CL 3634984
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3634897 on 2017/09/09 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Checking in change to timeouts to test theory

	#!tests ran test locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3634895 in //Orion/Release-43/... via CL 3634896
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3634765 on 2017/09/08 by robomerge

	#!ROBOMERGE-AUTHOR: marcus.wassmer
	Scrape another .05ms out of GPU particle simulation.

	#!rb none
	#!tests ps4 monolith

	#!ROBOMERGE-SOURCE: CL 3634763 in //Orion/Release-43/... via CL 3634764
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3634422 on 2017/09/08 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fix for Gauntlet shutdown issue on builders
	Fix for BP editing crash from Dev-Framework

	#!tests ran locally
	#!rb none!

	#!ROBOMERGE-SOURCE: CL 3634313 in //Orion/Release-43/... via CL 3634314
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3634139 on 2017/09/08 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Gauntlet - provision devices on demand. Cuts down logging and reduces issue of kits having too many TM connections when tests on different branches are running

	#!tests ran locally with single and file-based devices
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3633919 in //Orion/Release-43/... via CL 3633921
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3633799 on 2017/09/08 by robomerge

	#!ROBOMERGE-AUTHOR: laurent.delayen
	Fixed crash when on Turrets, when changing their MeshUpdate mode to Montages only.

	#!rb none
	#!tests monolith02 turrets
	[CODEREVIEW] lina.halper

	#!ROBOMERGE-SOURCE: CL 3633600 in //Orion/Release-43/... via CL 3633601
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3633647 on 2017/09/08 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Possible fix for OR-43926 from Arne

	#!tests ran locally, observed no ensures or negative side-effects in UI or HUD
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3633278 in //Orion/Release-43/... via CL 3633281
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3633637 on 2017/09/08 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Upped timeout for editorbased tests
	#!tests #!rb none

	#!ROBOMERGE-SOURCE: CL 3633271 in //Orion/Release-43/... via CL 3633274
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3632565 on 2017/09/08 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Removed some test code...
	#!tests #!rb none

	#!ROBOMERGE-SOURCE: CL 3632563 in //Orion/Release-43/... via CL 3632564
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3632385 on 2017/09/07 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	More improvements to device handling.
	Specifically PS4 targets now force-kill other connection if they're not in use, and fixed an edge case where devices could be left in TM and cause problems.

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3632383 in //Orion/Release-43/... via CL 3632384
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3632177 on 2017/09/07 by robomerge

	#!ROBOMERGE-AUTHOR: thomas.ross
	Merging CL#!3631888 from //UE4/Dev-Framework to //Orion/Dev-Release-43
	#!rb none
	#!test local commandlet

	#!ROBOMERGE-SOURCE: CL 3632175 in //Orion/Release-43/... via CL 3632176
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3632131 on 2017/09/07 by robomerge

	#!ROBOMERGE-AUTHOR: marcus.wassmer
	Fix a bug with new local vector-field only project setting
	#!rb none
	#!tests ps4 monolith

	#!ROBOMERGE-SOURCE: CL 3632127 in //Orion/Release-43/... via CL 3632130
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3632034 on 2017/09/07 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fixed issue where problem devices were reset each attempt

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3632029 in //Orion/Release-43/... via CL 3632032
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3631812 on 2017/09/07 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	More improvements to device management in Gauntlet

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3631602 in //Orion/Release-43/... via CL 3631604
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3631787 on 2017/09/07 by robomerge

	#!ROBOMERGE-AUTHOR: laurent.delayen
	Fix for OR-42922, reset TickRecords when doing 'OnlyTickMontagesWhenNotRendered' since the montage will appear to have jumped when regular ticking resumes.

	#!rb none
	[CODEREVIEW] martin.wilson
	#!test bot game

	#!ROBOMERGE-SOURCE: CL 3631532 in //Orion/Release-43/... via CL 3631536
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3631251 on 2017/09/07 by Andrew.Grant

	Additional device selection improvements

	#!tests #!rb na

Change 3630861 on 2017/09/07 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Imrpoved device selection to randomize pick order, exclude devices that failed on the last round, and provide more info as to the constraints of the pool

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3630857 in //Orion/Release-43/... via CL 3630858
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3630620 on 2017/09/07 by Laurent.Delayen

	RigidBody anim node: Maintain Bone Velocity transfers through LOD changes. Refactored bone velocity transfer to be queued one frame, while we let final animation pose through. Added support for transferring angular velocity. If update rate is less than 30FPS, break down update into several iterations (max 4). This is to support URO, which can update animations at 15 FPS for minions.

	#!rb Ori.Cohen
	#!codereview benn.gallagher
	#!tests lane minions test map

Change 3629990 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: daniel.lamb
	Fix for gpu hang on ps4.
	#!rb Marcus.Wassmer
	#!test Paragon cooked ps4
	#!jira OR-43835

	#!ROBOMERGE-SOURCE: CL 3629890 in //Orion/Release-43/... via CL 3629891
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629980 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Moved some missed code to FDebug::HasAsserted()

	#!tests na
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3629794 in //Orion/Release-43/... via CL 3629795
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629975 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: marcus.wassmer
	Project optimization to only support local vector fields.
	separate 'stat emitters' into 'stat emitters' and 'stat emittersrt' to separate gamethread cost from renderthread cost.
	#!rb olaf.piesche
	#!tests monolith ps4/pc

	#!ROBOMERGE-SOURCE: CL 3629782 in //Orion/Release-43/... via CL 3629783
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629917 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: marcus.wassmer
	Fix for sizebyspeed on ps4
	#!rb Simon.Tovey
	#!tests pc

	#!ROBOMERGE-SOURCE: CL 3629660 in //Orion/Release-43/... via CL 3629661
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629620 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Always get the rest result from nodes, this is where UnrealTestNode parses logs for errors

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3629618 in //Orion/Release-43/... via CL 3629619
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629554 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Restored screenshot support to gauntlet (now driven externally)

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3629551 in //Orion/Release-43/... via CL 3629553
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629495 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: don.eubanks
	Stat panel will only show stat changes or improvements that come from Item sources (cards / gems)

	#!rb dan.hertzka
	#!tests Compile DebugGame Editor Win64 / Shipping Client PS4 / PIE
	[RN] Card Shop now only considers Attribute Point effects and Card effects when calculating the bonuses for stats on the stats panel.  No more giant HP/MP regen numbers when standing in base!

	#!ROBOMERGE-SOURCE: CL 3629334 in //Orion/Release-43/... via CL 3629337
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629468 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Replaced global access to bHasAsserted to FDebug::HasAsserted() and added FDebug::IsEnsuring()

	Changed GameThreadWaitForTask so it won't timeout if an ensure is ocurring on a different thread.

	#!tests ran locally
	#!rb none
	[at marcus.wassmer]

	#!ROBOMERGE-SOURCE: CL 3629246 in //Orion/Release-43/... via CL 3629296
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629410 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	[CODEREVIEW] andrew.grant, jason.bestimt, jeff.williams

	Unresolved conflicts. andrew.grant, please merge this change by hand.
	//ROBOMERGE_ORION_Main/Engine/Plugins/Runtime/PacketHandlers/CompressionComponents/Oodle/Source/ThirdParty/NotForLicensees/Oodle/Oodle.Build.cs

	--------------------------------------
	Fix for generating project files
	#!tests GPF
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3629088 in //Orion/Release-43/... via CL 3629174
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629369 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Ignore pak signing if fileopenorder is specified (temp? workaround for deadlock in Orion tests)

	#!rb none
	#!tests verified signing is disabled and game gets to main menu with -fileopenlog
	[at graeme.thornton]

	#!ROBOMERGE-SOURCE: CL 3628814 in //Orion/Release-43/... via CL 3628816
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3629254 on 2017/09/06 by Laurent.Delayen

	URO: ensure we don't skip more frames than desired when switching LODs.

	#!rb lina.halper
	#!codereview martin.wilson, benn.gallagher
	#!test lane minions test map

Change 3629191 on 2017/09/06 by Laurent.Delayen

	Added CopyAndAssign to BoneContainer. To help transfer Cached Poses through LOD transitions.

	#!rb lina.halper
	#!codereview martin.wilson
	#!test lane minions test map

Change 3629130 on 2017/09/06 by Laurent.Delayen

	AnimInstance: tweaked debug display of AnimSequences, and added DeltaTime to AnimInstance debug.

	#!rb none
	#!tests lane minion test map

Change 3628300 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fixed exception that could occur during tests if all devices were in use
	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3628298 in //Orion/Release-43/... via CL 3628299
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3627915 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Undoing Oodle check for the time being

	#!tests #!rb none

	#!ROBOMERGE-SOURCE: CL 3627913 in //Orion/Main/...
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3627875 on 2017/09/06 by Jason.Bestimt

	#!ORION_DG - Merge of CL#! 3626655 from Dev-Framework to fix assetimportdata loading (allowing for re-import of curve tables)

	#!RB:none
	#!Tests:none

	#!CodeReview: andrew.grant, alex.gillies, colin.fogle, benjamin.crocker
	#!ROBOMERGE: MAIN, 43

Change 3627694 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Improved warnings

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3627691 in //Orion/Release-43/... via CL 3627693
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3627642 on 2017/09/06 by robomerge

	#!ROBOMERGE-AUTHOR: david.ratti
	More logging for OR-43892 and OR-43779
	#!rb none
	#!tests compile

	#!ROBOMERGE-SOURCE: CL 3627640 in //Orion/Release-43/... via CL 3627641
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3627247 on 2017/09/05 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Removed check that turns out to be bogus

	#!tests #!rb none

	#!ROBOMERGE-SOURCE: CL 3627245 in //Orion/Release-43/... via CL 3627246
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3627240 on 2017/09/05 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Added compile-time check for presence of Oodle files to prevent future hard-to-debug-runtime-failures

	#!tests compiled OrionClient
	[at daniel.lamb] #!rb none

	#!ROBOMERGE-SOURCE: CL 3627237 in //Orion/Release-43/... via CL 3627239
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3627211 on 2017/09/05 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Added ensure for OR-43777

	#!tests compiled
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3627209 in //Orion/Release-43/... via CL 3627210
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3626839 on 2017/09/05 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Added wait to PS4DevkitUtil before trying to postmortem crashdump

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3626833 in //Orion/Release-43/... via CL 3626837
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3626755 on 2017/09/05 by Rob.Cannaday

	Merge //Orion/Release-Tencent to //Orion/Dev-General
	Some features need to be re-implemented as noted by #!ifdef TODO_TENCENT
	TODO:  Figure out how to have OnlineSubsystemTencent be Enabled by default in OrionGame.uproject, some calls to IOnlineSubsystem::IsLoaded(TENCENT_SUBSYSTEM) will return true even though the OSS is disabled by config because the module itself is loaded
	#!rb sam.zamani
	#!lockdown andrew.grant
	#!tests Win64 vs AI match, QA smoke test
	#!fyi sam.zamani

Change 3626285 on 2017/09/05 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fixed BaseDir argument not being correctly applied in tests

	Added check for LowLevelFatalError to log parser. Don't consider RequestExit's clean if StaticShutdownAfterError was called

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3626280 in //Orion/Release-43/... via CL 3626284
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3626221 on 2017/09/05 by robomerge

	#!ROBOMERGE-AUTHOR: david.ratti
	Queue OnRep_ReplicatedMovement for simulated proxy OrionChars for a single end of frame call. This is to address when clients can't keep up with server's send rate and end up processing multiple packets / actor bunches in a single frame. Rather than handling multiple bunches with movement updates and calling OnRep_ReplicatedMovement every time, this will call the OnRep once at the end of the frame.

	Can be toggled off via UOrionRuntimeOptions::bQueueSimulatedProxyOnRepMovement

	#!rb none
	#!tests verified OnRep_Movement doesn't show up in profiler when client running at < 60hz

	[at Laurent.Delayen] [FYI] [at Andrew.Grant]

	#!ROBOMERGE-SOURCE: CL 3626215 in //Orion/Release-43/... via CL 3626219
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3625925 on 2017/09/05 by Laurent.Delayen

	If using URO with bShouldUseLodMap and we're missing higher LOD numbers into our LOD Map, use highest available settings (below our current LOD number). Instead of defaulting to high quality (eval every frame), which is certainly not what we want.

	#!rb benn.gallagher
	#!codereview martin.wilson, lina.halper
	#!tests lane minion map

Change 3624051 on 2017/09/02 by Andrew.Grant

	Fixed issue with test params not being set.

	Went through OrionBuild.xml and added explicit configs arguments to tests where missing. Also set order of args to tests as "-platform -config" to improve readability.

	#!tests preflighted
	#!rb none
	#!review-3624052 @ben.salem

Change 3623907 on 2017/09/02 by Andrew.Grant

	Fixed usesyncedbuild option being broken in Gauntlet

	#!codereview @daniel.lamb
	#!tests compiled
	#!rb none

Change 3623906 on 2017/09/02 by David.Ratti

	Fix some issues where GameplayCues played on an OrionBaseActor wouldn't be properly translated for skin overrides

	#!rb none
	#!test future wukong pie

Change 3623766 on 2017/09/01 by Daniel.Wright

	[Copy] Volume materials on static meshes now voxelize the mesh's Object space bounding box
	#!rb none
	#!Tests PC QAGame

Change 3623518 on 2017/09/01 by Don.Eubanks

	Fix for Shipping Client PS4

	#!rb none
	#!tests Compile Shipping Client PS4
	#!fyi daniel.lamb andrew.grant

Change 3623515 on 2017/09/01 by Daniel.Wright

	[Copy] Volume materials applied to static meshes operate on the object's bounding sphere
	#!rb none
	#!TESTS QAGame PC

Change 3623503 on 2017/09/01 by Daniel.Wright

	[Copy] Fixed ObjectRadius in Volume domain materials
	#!rb none
	#!TESTS none

Change 3623102 on 2017/09/01 by Marcus.Wassmer

	Add GT (gamethread), AT (async task), RT (renderthread) to stuff in 'stat particles' to make things easier to understand
	#!rb none
	#!tests monolith on PS4
	#!fyi olaf.piesche,tim.elek

Change 3623096 on 2017/09/01 by Marcus.Wassmer

	checkslow -> check to find issues with ILC
	#!rb none
	#!tests ran monolith on ps4

Change 3622744 on 2017/09/01 by Laurent.Delayen

	RigidBody anim node: Added option 'bTransferBoneVelocities' to transfer bone velocities to simulation upon start, so ragdolls transition seamlessly from kinematic (animation) to simulation. (just linear velocity for now).
	Added 'bFreezeIncomingPoseOnStart' option to freeze incoming pose and stop ticking/evaluating rest of the AnimGraph. Also prevents animation animating non simulated bodies.
	Take gravity from movement component if present, to inherit custom gravity scaling.
	Use proper animation deltatime, rather than world deltatime, as that would cause the simulation to run in slow motion when URO was used.
	If LOD enables new bodies, they are now initialized during simulation.
	Only write transforms from simulated bodies. Stop considering children of simulated bodies, since SkelControl system handles that by default.
	Cached MeshBoneIndexToBodyIndex on initialization to avoid linear search during InitializeBoneTransforms, on LOD change.
	Added AnimStats for PreUpdate, Update and Eval.

	#!rb ori.cohen
	#!codereview ori.cohen, lina.halper, benn.ghallager
	#!tests lane minion test map

Change 3622743 on 2017/09/01 by Laurent.Delayen

	Added UpdateComponentPose_AnyThread and EvaluateComponentPose_AnyThread to AnimNode_SkeletalControlBase to allow overriding these in child classes.

	#!rb lina.halper
	#!tests lane minion test map

Change 3622742 on 2017/09/01 by Laurent.Delayen

	'showdebug animation' now shows current LOD, various counters to know if Update/Eval/Cachebones/Init was called. Also URO settings.
	Renamed DisplayDebugCustom to DisplayDebugInstance.

	#!rb lina.halper
	#!tests lane minion test map

Change 3622738 on 2017/09/01 by Laurent.Delayen

	Removed unused USkinnedMeshComponent::AnimUpdateRateSetParams

	#!rb lina.halper
	#!tests lane minion test map

Change 3622666 on 2017/09/01 by Jian.Ru

	Fix incorrect grouping when FHierarchicalStaticMeshSceneProxy::GetDynamicMeshElements
	#!jira UE-48972, OR-43455
	#!rb Chris.Bunner
	#!tests editor

Change 3622579 on 2017/09/01 by Andrew.Grant

	Fixed shutdown issues with some tests being detected as errors

	Simplied and cleanup some things in state management of tests.

	#!tests ShortSOloGame test locally
	#!rb none

Change 3622322 on 2017/09/01 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fix for OR-40366 from v43

	#!tests compiled
	#!rb Aaron.McLeran

	#!ROBOMERGE-SOURCE: CL 3620707 in //Orion/Release-42.4/... via CL 3621208 via CL 3622295
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3621054 on 2017/08/31 by Andrew.Grant

	Merging Gauntlet refactor from //Orion/Dev-General/_To_//UE4/Orion-Stating

	#!tests preflighted
	#!rb none

Change 3620755 on 2017/08/31 by Daniel.Lamb

	Added a pooling system for FDynamicSkelMeshObjectDataGPUSkin.  Doesn't add a lot of memory over head.  Cleans out every few allocations.
	#!rb Jason.Bestimt
	#!test Cooked paragon ps4

Change 3620541 on 2017/08/31 by Ben.Salem

	Tag all nightly gauntlet report emails with [NightlyAuto] for easier sorting.
	#!rb none
	#!tests compiled.

Change 3620443 on 2017/08/31 by Mieszko.Zielinski

	Extended EQSTestingPawn with an option to specify its nav agent properties to affect navigation-related EQS tests/features #!UE4

	#!rb none
	#!test golden path

Change 3620428 on 2017/08/31 by Aaron.McLeran

	#!jira OR-40366 Bringing fix from FN and Anim-Phys to Dev-General

	#!rb Ethan.Geller
	#!tests there is no internal repro. Rare crash online. Confirmed fixed in FN crash reports.

Change 3620411 on 2017/08/31 by Mieszko.Zielinski

	Fix to removal of simuli sources from the AISense_Sight #!UE4

	Made sure given source gets removed from ObservedTargets.

	#!rb none
	#!test golden path

Change 3620343 on 2017/08/31 by Ben.Salem

	Add hitch reporting into FX tests. Layout is definitely WIP but we want the data in those reports to iterate on.
	#!rb clayton.langford
	#!tests ran shallow and normal FX tests, generated hitches to display.

Change 3620050 on 2017/08/31 by Luke.Thatcher

	[ORION] [PS4] [^] Merging compile fix in UEBuildPS4.cs (CL 3619919) from //UE4/Dev-Console/... to //Orion/Dev-General/...
	 - USE_DEFRAG_ALLOCATOR was not always defined in all cases.

	#!rb Daniel.Lamb
	#!tests none

Change 3619836 on 2017/08/31 by Andrew.Grant

	Merging //UE4/Main @ 3613306 (largely 4.17 fixes and an update from rendering team)

	#!tests preflighted, ran locally
	#!rb none

Change 3618597 on 2017/08/30 by Dan.Hertzka

	Fixed Additive UI materials not being affected by the widget opacity
	- We needed to multiply the sampled color by the alpha of the vertex color

	Also added fade in anim for scoreboard when showing after the endgame cinematic

	#!rb Nick.Darnell
	#!tests Widget alpha affects additive materials

Change 3618441 on 2017/08/30 by Laurent.Delayen

	Added AnimInstance::DisplayDebugCustom, to display custom debug info before AnimGraph display.

	#!rb lina.halper
	#!tests lane minions

Change 3618404 on 2017/08/30 by Paul.Moore

	- Update to new MMS client API from Fortnite.
	- Add MMS API plugin.
	#!rb none
	#!tests matchmaking, v2 MMS matchmaking, draft lobby.
	#!lockdown andrew.grant

Change 3618167 on 2017/08/30 by Marcus.Wassmer

	Fix fog on PS4, also volume texture clears.
	#!rb luke.thatcher
	#!fyi Jordan.Walker
	#!tests ran monolith on ps4

Change 3617911 on 2017/08/30 by Andrew.Grant

	Fix for OR-43401, lighting remaining unbuilt

	#!tests ran cook, verified that lighting for bp components is now correctly found.
	#!rb marc.audy

Change 3617765 on 2017/08/30 by Andrew.Grant

	Fix for lighting always being unbuilt on some blueprints

	#!tests cooked data and verified BP components have the correct transform and receive cached lighting data
	#!rb marc.audy, bp-team

Change 3617757 on 2017/08/30 by Laurent.Delayen

	clang fix

	#!rb none
	#!tests none

Change 3617700 on 2017/08/30 by Laurent.Delayen

	Added PreEvalSkelControl_AnyThread to SkelControlBase, to allow capture of incoming pose before SkelControl is evaluated.

	#!rb lina.halper
	#!tests lane minions map

Change 3617695 on 2017/08/30 by Laurent.Delayen

	Added Empty() to FBaseCompactPose and FCSPose, to release allocated arrays.

	#!rb lina.halper
	#!tests test lane minions map

Change 3616757 on 2017/08/29 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Fix for OR-43459 from Laurent

	#!tests na
	#!rb Lina.Halper, Andrew.Grant

	#!ROBOMERGE-SOURCE: CL 3615643 in //Orion/Release-42.3/... via CL 3615645 via CL 3615649
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3616745 on 2017/08/29 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	[NULL MERGE]
	Locked net version to 3609966 in anticipation of patch

	#!rb #!tests na

	#!ROBOMERGE-SOURCE: CL 3615584 in //Orion/Release-42.3/... via CL 3615592 via CL 3615597
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3616551 on 2017/08/29 by Daniel.Lamb

	Fix memory leak in paragon.
	#!rb Andrew.Grant
	#!test Paragon ps4

Change 3613700 on 2017/08/28 by Andrew.Grant

	Integrated r.Shadow.UnbuiltPreviewInGame support from Dev-Rendering (reduces cost of rendering unbuilt lighting). Set to off for Orion

	Renabled r.Cache.UpdatePrimsTaskEnabled

	#!tests ran locally
	#!rb none

Change 3613694 on 2017/08/28 by Andrew.Grant

	Added -teamsize argument to Orion none test.

	#!tests ran None test :)
	#!rb none

Change 3613638 on 2017/08/28 by Ben.Salem

	Hide threshold colors for Perf tests on Thread times when in development. Add hyperlinks to description videos for Shallow tests. Support for linking new videos on other tests is already in for when videos are created.
	#!rb clayton.langford
	#!tests Ran shallow and deep test for multiple characters.

Change 3612731 on 2017/08/28 by Chris.Bunner

	[DUPLICATE] CL 3572421 - Edge case in lazyobjptr assignment failing for landscape collision components which causes grass data to be flushed during cook.
	#!rb
	#!fyi Robert Manuszewski, Andrew.Grant, Daniel.Lamb
	#!tests Cooking/running simple scene with grass foliage
	#!jira UE-48698, OR-42612

Change 3612695 on 2017/08/28 by Andrew.Grant

	Added longtimeouts option that uses TimeoutMultiplierForUnoptimizedBuilds value for net connections to solve issue where nomcp can timeout due to non-async loading

	Moved Gauntlet-in-shipping determination to OrionClient.Target.cs so it can be enabled with other things.

	#!tests ran NoneTest with -nomcp
	#!rb none

Change 3612002 on 2017/08/27 by Andrew.Grant

	Fix for crash seen during nightly tests

	#!tests baseline perf didn't crast 3/3
	#!rb none

Change 3611980 on 2017/08/27 by Andrew.Grant

	PS4DevkitUtil post-mortem improvements to logging
	#!tests run ShortSoloGame
	#!rb none

Change 3611758 on 2017/08/26 by Andrew.Grant

	Fix for warning

	#!tests #!rb na

Change 3611737 on 2017/08/26 by Andrew.Grant

	Merging optimizations 3517039, 3545241, & 3545347 from Dev-Rendering

	3517039 -

	GitHub #!2655: Optimization for shadow map resolution selection for spot lights

	* Use the radius of the inscribed sphere at the cone end as the spot light's screen radius

	Note: slight drop of shadow quality of spot lights may occur when they are far away from the camera. This is intended, since before this optimization they tend to be always rendered with the maximum shadow map resolution (2048), which is very costly

	3545241 -

	Fixed spotlight whole scene shadows using a radius 2x too long

	3545347 -

	Fixed shadow occlusion culling broken by shadowmap caching change.  FProjectedShadowKey is now computed correctly for whole scene shadows and SDCM_StaticPrimitivesOnly shadowmaps will fall back to the query for a SDCM_MovablePrimitivesOnly, since the static primitives shadowmap's query is not issued every frame.
	#!rb none
	#!tests compiled

Change 3611718 on 2017/08/26 by andrew.grant

	#!CodeReview: andrew.grant, jason.bestimt, jeff.williams

	Unresolved conflicts. andrew.grant, please merge this change by hand.
	//ROBOMERGE_ORION_Dev_General/Engine/Source/Programs/AutomationTool/NotForLicensees/Gauntlet/Unreal/Gauntlet.UnrealLogParser.cs

	--------------------------------------
	Improved parsing of callstacks and errors in test logs
	Added unit test for error parsing

	#!tests ran locally, unit tests
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3611709 in //Orion/Release-42.3/... via CL 3611710 via CL 3611711
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3611704 on 2017/08/26 by robomerge

	#!ROBOMERGE-AUTHOR: andrew.grant
	Test fixes - addresses issue with memory report failing

	#!tests ran locally
	#!rb none

	#!ROBOMERGE-SOURCE: CL 3611695 in //Orion/Release-42.3/... via CL 3611702 via CL 3611703
	#!ROBOMERGE-BOT: ORION (Main -> Dev-General)

Change 3611683 on 2017/08/26 by Andrew.Grant

	Upgraded PS4 SDK to 4.508.111

	#!tests SoloGames locally
	#!rb none

Change 3611466 on 2017/08/25 by Andrew.Grant

	Changed none test to use monolith02 by default

	#!tests compiled
	#!rb none

Change 3611167 on 2017/08/25 by Laurent.Delayen

	Reset UpdateCounter in AnimProxy when initialized, to force an update if rendered without updated.

	#!rb none
	#!tests lane minions
	#!codereview martin.wilson

Change 3610850 on 2017/08/25 by dan.hertzka

	Unclog Robomerge

	#!rb none
	#!tests none

Change 3610325 on 2017/08/25 by Andrew.Grant

	Compile fix for PS4

	#!tests compiled
	#!rb none

Change 3610018 on 2017/08/25 by Laurent.Delayen

	UE-48827, OR-43346, OR-43345 Fix for SingleNodeInstances not getting ticked properly. Due to them not increasing UpdateCounter, and forcing a tick even if we're doing parallel ticking later.

	#!rb lina.halper
	#!tests venus ult on minion lane test map

Change 3609967 on 2017/08/25 by Daniel.Lamb

	Merging using //Fortnite/Main/->//Orion/Dev-General/
	Bringing across several changes to the texture streamer and budgets from fortnite so as to reduce our garlic memory pool slack for PS4.

	CL 3526904 [FORTNITE] [PS4] [!] Fix blurry textures in shipping.
	 - The texture streaming manager has additional logic in shipping builds which caused textures to never stream back in once they had streamed out.
	 - Added an extra flag to reset mip bias values when texture memory budget is increased.
	#!rb Uriel.Doyon
	#!jira FORT-45385
	#!jira FORT-47739

	CL 3505459 [FORTNITE] [PS4] [~] Memory savings for Fortnite on PS4.
	 - Disabled LLM. This was increasing the libc heap from 32MB to 100MB in builds with STATs enabled.
	 - Reduced Libc heap size from 32MB to 8MB. The game only uses 2-3 MB of this heap space, so additional memory is wasted.
	 - Removed "RESERVED_MEMORY_SIZE" allocation. This is just wasting 1 MB unnecessarily. There is already ~1.5 MB of unallocated direct memory due to alignment requirements of the garlic/onion heaps.
	#!jira FORT-45229
	#!rb Ben.Woodhouse


	CL 3564368
	LLM Changes

	Summary:
	LLM now has 3 stat pages, stat LLM for engine allocations, LLMPlatform for OS allocations and LLMOverhead.
	Changes where LLM hooks into the various allocation functions and pools.
	Added more LLM tracking scopes.
	Changed the way LLM gets its internal memory.
	Writing stats out to csv
	Fixed a few bugs with the tracker code

	Details:
	* re-enabled LLM by default in Dev builds for XB1 and PS4
	* Reduced overhead to 30MB when LLM is defined in but disabled (this will be removed in a future update)
	* track allocations made from the defrag pool (PS4)
	* track non-drfrag pool garlic allocations (PS4)
	* track allocations made from PS4 malloc
	* combined the RHI and Malloc trackers into the Default tracker
	* changed stat groups to LLM, LLMPlatform and LLMOverhead
	* OnLowLevelAlloc how takes a default tag to be used is no tag scope has been set
	* XMemAlloc now uses AllocationType if no LLM scope has been set
	* renamed VirtualMap to LLMMap
	* added global function pointers for LLMMap to use to allocate memory. Using malloc to allocate memory meant that we couldn't track that memory using LLM. LLM now uses the lowest level OS function depending on the platform. If the platform doesn't set these fiunction pointers LLM will be disabled.
	* support for tracking allocations that move in memory (for the PS4 defrag allocator)
	* support for tracking explicit memory without pausing the tracker
	* LLMCsvWriter for writing out the LLM stats periodically. Enable with -LLMCSV command line arg
	* fixed check in FNameToTag. It was checking the wrong value when verifying the name index
	* show a warning on screen if LLM has been enabled without debug memory enabled (on consoles)
	* fixed program size tracking
	* fixed bug with tag scopes being tracked in all trackers. This caused allocations to be counted in stats that were not shown in the tracker. The tracker is now passed in to the scope.
	* optimised FLLMScopedTag so that it only calls the singleton once when disabled (instead of 3 times)
	* fixed problem in the Pause feature. It now only pauses the specified tracker instead of all of them.
	* fixed compile error when LLM_ALLOW_ASSETS_TAGS is disabled
	* changed default alloc size for LLMMap to 16K
	* Added lots more LLM scopes renamed some of the existing ones
	* made FMemBlock::Allocators private and added accessor functions, which include LLM tracking.
	* fixed LLM alignment tracking in CustomVirtualAlloc
	* implemented LLM on XB1 so that it properly tracks D3D12Allocations
	* added tracking to allocations that come from FMemBlock (excluding the defrag heap alloc) and removed tracking from Growable allocator
	* tracking of render targets
	* fixed LLM pool total column value.

	#!rb luke.thatcher

	CL 3565905
	[ATHENA] [PS4] [^] Merging new PS4 memory system from //UE4/Dev-Console/... to //Fortnite/Dev-Athena/...

	3458941 - Initial submission of new PS4 memory allocator.
	3485054 - Finer grain scope locks. Prevents contention stalls between threads where possible.
	3498440 - Flexible and framebuffer memory fallbacks
	3515704 - Add stats to new PS4 memory system.

	UEBuildPS4.cpp changes reimplemented as edit. Cannot merge as Dev-Athena's copy is too old to merge properly.

	#!rb Ben.Woodhouse

	CL 3580934
	[FORTNITE] [PS4] [+] Support different garlic and onion heap sizes in the old memory system for base and neo.
	 - Neo has 512 MB more direct memory than a base kit.
	 - Increased the garlic heap size by 416 MB on Neo, and CPU heap by 96 MB.

	#!rb Marcus.Wassmer
	#!jira FORT-50206

	CL 3590180
	[FORTNITE] [PS4] [!] Allow fallback to MallocBinned2 when Libc mspace heaps are exhausted.
	 - Since FORCE_ANSI_ALLOCATOR is not defined, the Libc heap only had 8 MB.
	 - Platform and 3rd party libraries that make libc malloc/free calls could potentially crash OOM if we exhausted the pool.
	 - Now, when no memory is left in the mspace heaps, we call into the base allocator (MallocBinned2). This has the added benefit that we should get proper OOM crashes/logs if a libc allocation fails.

	#!jira FORT-49700
	#!rb Aaron.McLeran

	CL 3593920
	[FORTNITE] [PS4] [!] Fix 4 GB CPU memory limit in old PS4 memory system.
	 - Incorrect bitmask usage was truncating the available memory value to 32 bits.

	 - Also includes some minor refactoring to make parts more readable.
	 - Removed PS4_USE_FLEXIBLE_FIRST. Dead code that doesn't compile.

	#!rb Jonathan.Fitzpatrick
	#!jira FORT-50918

	CL 3597577
	[FORTNITE] [PS4] [~] Modified the way memory is allocated on Playstation to make more memory available to the CPU.
	 - Previously the amount of texture memory wasnÆt fixed due to the way the defrag memory is allocated on PS4. This meant we had to have a significant amount of slack.
	 - With the new configuration, we have a guaranteed texture memory pool, so the slack can be significantly smaller, meaning we can give more memory to the CPU, which is where most of our memory pressure is.

	#!rb Stewart.Lynch
	#!jira FORT-50825
	#!jira FORT-49688
	#!jira FORT-49695
	#!jira FORT-50054

	CL 3601951
	[FORTNITE] [PS4] [!] Fix memory stats in the old PS4 memory system
	 - Physical memory stat now includes garlic and onion allocations. CPU OOMs will result in "AvailablePhysical" being close to 0.
	 - Added garlic, onion and defrag stats to the platform memory stats struct.
	 - Added fixed pool sizes to platform memory stats.
	 - Modified the Fortnite heartbeat logging to include extra details of PS4 fixed sized pools.

	#!rb Stewart.Lynch
	#!jira FORT-52910


	#!test preflight with baseline performance memory report tests, local tests on neo
	#!rb Luke.Thatcher

Change 3608480 on 2017/08/24 by Uriel.Doyon

	Instanced static mesh lightmaps are now updated correctly after lighting scenario changes
	#!jira UE-48522
	#!tests Build lighting, loaded maps
	#!rb michel.dupuis

Change 3608407 on 2017/08/24 by Andrew.Grant

	Reintegrated ROlando's cloth optimizations

	#!tests #!rb none

Change 3608349 on 2017/08/24 by Rolando.Caloca

	O - Cloth vertex buffers no longer generate dummy vertices
	#!rb Lina.Halper
	#!fyi James.Golding
	#!tests Check obj list memory with multiple characters, tested animations

Change 3607815 on 2017/08/24 by Laurent.Delayen

	Fixed crash when displaying a two bone IK gizmo for a node that hadn't had a chance to evaluate or had a zero alpha.
	https://jira.it.epicgames.net/browse/OR-43186

	#!rb none
	#!tests Price hand two bone IK
	#!codereview lina.halper, thomas.sarkanen

Change 3607770 on 2017/08/24 by Andrew.Grant

	Fixed bug with peak memory being missing in BaselinePerf tests and time being wrong

	#!tests ran locally, updated parser test
	#!rb none

Change 3607546 on 2017/08/24 by Jian.Ru

	Add more control to chromatic aberration effect
	#!jira UE-47138
	#!rb Brian.Karis
	#!tests editor

Change 3607270 on 2017/08/24 by Andrew.Grant

	Mirroring 3605735  from FN to address bug with MIC deduplication

	#!tests compiled
	#!rb none

Change 3607082 on 2017/08/24 by Laurent.Delayen

	Moved up Paragon functionality to cycle between targets with PageUp and PageDown for 'showdebug' commands.
	List of targets is contextual (For example 'showdebug animation' will consider all visible actors with an AnimGraph).
	Current debug Target is highlighted in a green bounding box.
	Paragon now supports 'ShowDebugForReticleTargetToggle <class>' to have 'showdebug' for Actors aimed at by the player.
	Paragon maintains feature to track AbilitySystemComponents across Targets. But Cycling is restricted to visible actors.
	Target cycling in Paragon now works for all 'showdebug' tags, not just ASCs and Animation.

	#!rb dave.ratti
	#!tests lane minion test map, debugging individual minions
	#!codereview jon.lietz

Change 3606772 on 2017/08/24 by David.Ratti

	Spot edigrate CL 3606417 for accurate CurveTable memory tracking
	#!rb none
	#!tests none

[CL 3748735 by Andrew Grant in Main branch]
2017-11-09 18:22:55 -05:00
Jian Ru
0592ae3dda Key changes:
- Disable texture streaming
- AScreenshotFunctionalTest now reads back from game viewport directly when taking screenshot
- AFunctionalUIScreenshotTest now render into a custom render target using FWidgetRenderer so that UI screenshot can be captured at fixed size
- Add a new class, AScreenshotFunctionalTestBase, that handles screenshot common functions. AScreenshotFunctionalTest and AFunctionalUIScreenshotTest now derive from it
#rb Chris.Bunner
#codereview Chris.Bunner
#lockdown nick.penwarden

[CL 3647910 by Jian Ru in Main branch]
2017-09-18 10:40:18 -04:00