Commit Graph

176 Commits

Author SHA1 Message Date
Chris Bunner
ab9d8e35b1 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3388261)
#lockdown Nick.Penwarden
#rb None

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3358140 on 2017/03/22 by Rolando.Caloca

	DR - Fix copy to cube face
	- Compile fix when using dump layer
	- Add new error enum

Change 3358301 on 2017/03/22 by Mitchell.Wilson

	Initial check in of LODs in InfiltratorForward. First pass on optimization in level. Adding a visibility track for SceneCapture2D in tunnel section.

Change 3358477 on 2017/03/22 by Mitchell.Wilson

	Updating Skeletal Mesh DPW_Robot_Export to resolve screen size being too low for LOD1. Cleaned up LOD1 which was showing some visible popping when transitioning.

Change 3358529 on 2017/03/22 by Mark.Satterthwaite

	Globally disable clang's "constant-logical-operand" warning when running under Distcc - it is much easier and less invasive than constantly fixing the code.

Change 3358745 on 2017/03/22 by Mark.Satterthwaite

	Disable another warning (parentheses-equality) under Distcc because again the separation of preprocessing from compilation means it turns up where it isn't expected.

Change 3358837 on 2017/03/22 by Joe.Graf

	Merge of pull request #3214 for the RenderDocPlugin

	#CodeReview: matt.kuhlenschmidt, marcus.wassmer
	#rb: marcus.wassmer

Change 3359112 on 2017/03/22 by Ben.Salem

	Update perf monitor to include frame time by default. Also, use only  game/PIE world timers when in editor, instead of all worlds combined.

	#tests Ran several Showdown test runs with plugin!

Change 3359363 on 2017/03/22 by Joe.Graf

	First pass at non-unity & no pch compilation

Change 3359449 on 2017/03/22 by Joe.Graf

	Added missing null check when exporting a EXR on Linux (UE-40268)

	#CodeReview: dmitry.rekman
	#rb: n/a

Change 3360349 on 2017/03/23 by Guillaume.Abadie

	Fixes TAA's AA_FORCE_ALPHA_CLAMP causing DOF layouts.

	#jira UE-42920

Change 3360405 on 2017/03/23 by Marcus.Wassmer

	Better method for detecting Kepler

Change 3360718 on 2017/03/23 by Daniel.Wright

	Planar reflections handle views smaller than the render target in a general way
	* Fixes planar reflections with adaptive pixel density (ViewFamily size larger than actual views combined)
	* Planar reflections are now supported in splitscreen

Change 3360758 on 2017/03/23 by Daniel.Wright

	[Copy] Added new light property bCastVolumetricShadow, which defaults to true for directional and sky lights, but false for point / spot lights as supporting volumetric fog shadowing has significant GPU overhead

Change 3360762 on 2017/03/23 by Daniel.Wright

	[Copy] Texture flags are now properly routed to RHICreateTexture3D from the render target pool

Change 3360768 on 2017/03/23 by Daniel.Wright

	[Copy] Disabled GPUProfiler histogram by default, controlled by r.ProfileGPU.ShowEventHistogram

Change 3360770 on 2017/03/23 by Daniel.Wright

	[Copy] Disabled fast clears on CustomDepth, saves .2ms on xbox

Change 3360771 on 2017/03/23 by Daniel.Wright

	[Copy] Particle lights no longer force tiled deferred lighting.  Tiled deferred lighting is only used if enough unshadowed lights + particle lights are on screen.  Saves 1.5ms Xbox with one particle light.

Change 3360774 on 2017/03/23 by Daniel.Wright

	[Copy] Distance field cvar comments

Change 3360782 on 2017/03/23 by Daniel.Wright

	[Copy] Disabled selection color on Volume materials

Change 3360795 on 2017/03/23 by Daniel.Wright

	[Copy] Volume materials now specify Albedo and Extinction, which is more intuitive than Scattering and Absorption.  Albedo is [0-1] reflectance, while Extinction is a world space density.

Change 3360799 on 2017/03/23 by Daniel.Wright

	[Copy] Cinematic scalability levels get 2x volumetric fog resolution in x and y

Change 3360806 on 2017/03/23 by Daniel.Wright

	[Copy] Fixed volumetric fog being offset when viewport min is not 0

Change 3360809 on 2017/03/23 by Daniel.Wright

	[Copy] Volumetric fog now adds a bias to the inverse squared light falloff denominator, prevents extreme aliasing from the hotspot.  Can be controlled with r.VolumetricFog.InverseSquaredLightDistanceBiasScale.

Change 3361651 on 2017/03/23 by Brian.Karis

	Higher quality sharp SSR at quality 4

Change 3361678 on 2017/03/23 by Brian.Karis

	Fresnel darkens diffuse for clearcoat.

Change 3361683 on 2017/03/23 by Brian.Karis

	Fixed SSR artifact

Change 3361691 on 2017/03/23 by Brian.Karis

	Chagned min roughness limit

Change 3361707 on 2017/03/23 by Brian.Karis

	Added inverse film tone map

Change 3361726 on 2017/03/23 by Brian.Karis

	Better precision inverse

Change 3361758 on 2017/03/23 by Brian.Karis

	Material flag normal curvature to roughness is no longer forward only.

Change 3361765 on 2017/03/23 by Brian.Karis

	Update ACES

Change 3361774 on 2017/03/23 by Brian.Karis

	Cleaned up alpha support and disabled screen edge clipping.

Change 3362478 on 2017/03/24 by Guillaume.Abadie

	Cherry pick 3316084's PostProcessing.cpp: Fixes a bug in Circle DOF where the apply pass was no longer using the downres DOF's TAA output.

	#author Brian.Karis

	#jira UE-42920

Change 3362738 on 2017/03/24 by Rolando.Caloca

	DR - Hide scene capture on IF

Change 3362890 on 2017/03/24 by Guillaume.Abadie

	Renames r.SceneAlpha to r.PostProcessing.PropagateAlpha

Change 3363665 on 2017/03/24 by Mark.Satterthwaite

	PR #3414: Add command line option "-noheartbeatthread" to disable heart beat thread (Contributed by JeffRous)

Change 3363866 on 2017/03/24 by Arne.Schober

	DR - Updated NVAPI
	#RB Marcus.Wassmer

Change 3364300 on 2017/03/24 by Brian.Karis

	SSR use dynamic velocity

Change 3364372 on 2017/03/24 by Brian.Karis

	Fix changing off axis projection velocities.

Change 3364373 on 2017/03/24 by Brian.Karis

	Enabled velocity drawing in scene captures

Change 3365531 on 2017/03/27 by Guillaume.Abadie

	Computes the material's screen position material expression directly from the pixel shader SvPosition

Change 3365764 on 2017/03/27 by Chris.Bunner

	Lowering severity of crash for missing values in scalability.ini.

	#jira UE-41331

Change 3365916 on 2017/03/27 by Guillaume.Abadie

	Exposes the viewport offset within the view property material expression

Change 3365979 on 2017/03/27 by Brian.Karis

	Fixed skylight intensity from double applying

Change 3365987 on 2017/03/27 by Brian.Karis

	Stopped post process indirect lighting intensity from scaling skylight reflections

Change 3365991 on 2017/03/27 by Brian.Karis

	Fix for static analysis

Change 3366028 on 2017/03/27 by Daniel.Wright

	Volumetric fog supports static shadowing from Stationary lights
	* Using bilinear on static shadowmap depths + 1 PCF to smooth out results

Change 3366029 on 2017/03/27 by Daniel.Wright

	Static shadow depth maps for Stationary point and spot lights are 2x higher res by default (4x more texels), which is more appropriate for volumetric fog

Change 3366055 on 2017/03/27 by Guillaume.Abadie

	Cherry picks 3251469: Implements scene capture component's CaptureSortPriority to control GPU execution order in order to manage inter dependencies.

Change 3366447 on 2017/03/27 by Simon.Tourangeau

	Fix IES light profile importer.
	- Bug in the LM-63-1986 format importer.

Change 3366836 on 2017/03/27 by Brian.Karis

	ClearUAV now supports int types

Change 3367435 on 2017/03/28 by Benjamin.Hyder

	Submitting Decal Automation map for initial approval

Change 3367572 on 2017/03/28 by Chris.Bunner

	Changed ClampedPow {max(abs(x),0.00001)} to PositiveClampedPow {max(x,0)} to give more expected results to Power node in material graphs.

	#jira UE-42989

Change 3367756 on 2017/03/28 by Olaf.Piesche

	Niagara material usage flags

Change 3367835 on 2017/03/28 by Marcus.Wassmer

	Fix crash when TileRenderer runs before anything else.  Make explicit behavior when rendering at a time when there is no valid scene.

Change 3367837 on 2017/03/28 by Marcus.Wassmer

	Missed a file.

Change 3367838 on 2017/03/28 by Richard.Wallis

	Updated items from original shelved version by Mark Satt:

	- Added MetalBackend.cpp to change main function string to have an initial crc + code length zero's

	**Description below taken from Mark Satt's original verison of this in CL3343280**

	Updated for Dev-Rendering's PSOs & integrates Richard's work on RHI shader libraries.

	Replace the FShaderCache's cook-time binary shader cache with Dmitriy Dyomin's standalone FShaderCodeLibrary that saves all shader byte-code arrays to files named by the FSHAHash. This de-duplicates shaders so we only ever store the byte code once. Includes optional support for generating a platform specific library file - which Metal implements to provide a single Metal library. The platform-native implementation can perform more de-duplication and in the case of Metal has lower file overheads and will compress more efficiently.

	- All of the support code for the FShaderCache's cook caching is gone, which affects all platforms. The FShaderCodeLibrary is currently  supported by Cook-By-The-Book but can be used with iterate or child cookers - only DLC cooking requires further work.
	- With further modifications it should be possible to support Cook-on-the-Fly as well (output directories would be needed in FShaderCodeLibrary::InitForCooking) and the file-access pattern should be changed to use async. IO so that Material loading is not considered complete until all required byte-code arrays are loaded into the FShaderCodeLibrary.
	- For Metal archiving shaders this way will compile with debug information and the FShaderCodeLibrary, with some help from extensions to IShaderFormat, will save the debug information out into separate files during cooking - these can then be used to debug the game without having to locally recompile, recook & repackage but the shipped byte-code is stripped. Global shader caches are also subject to de-duplication in the library in order to support Metal's shader stripping.
	- File Move operations need to respect the 'Replace' flag - for FShaderCodeLibrary to work we need Move to be atomic.
	- This bumps the object version and will cause all content to recook.
	- Native library support is optional - only Metal currently implements one, but so could Vulkan and D3D12. For Metal the big advantages are further de-duplication where different materials generate the same MetalSL text but a different FSHAHash, that the single Metal library has lower overhead and that as a single file it all compresses far better (esp. with LZMA - 5x smaller).

Change 3367854 on 2017/03/28 by Mark.Satterthwaite

	Don't track or record draw call resources for non-OpenGL shader platforms in the shader-cache as it is unnecessary and makes it slower on the CPU than it needs to be.

Change 3367877 on 2017/03/28 by Brian.Karis

	Fixed linux build hopefully

Change 3368001 on 2017/03/28 by Mark.Satterthwaite

	Compile fixes from Richard's checkin caused by not having visibility to all platforms from my original shelves.

Change 3368019 on 2017/03/28 by Mark.Satterthwaite

	And another fix for Windows compilation of MetalShaderFormat.

Change 3368042 on 2017/03/28 by Mark.Satterthwaite

	And a couple of simpler MSVC errors.

Change 3368271 on 2017/03/28 by Mark.Satterthwaite

	Make SceneRenderTargets compile again.

Change 3368691 on 2017/03/28 by Daniel.Wright

	[Copy from BenW] Renamed r.Shadow.MaxCSMShadowResolution to r.Shadow.MaxCSMResolution to match scalability inis

Change 3369689 on 2017/03/29 by Marcus.Wassmer

	Fix non editor compile for now

Change 3369862 on 2017/03/29 by Marcus.Wassmer

	Get the rest of the things compiling again.

Change 3369896 on 2017/03/29 by Chris.Bunner

	Enabling AMD HDR support by default.

	#jira UE-42113

Change 3370535 on 2017/03/29 by Marcus.Wassmer

	DR - Fix template explicit instantiation for ClearUAV permutations
	#RB Brian.Karis, Arne.Schober

Change 3370704 on 2017/03/29 by Rolando.Caloca

	DR - Rewrote GPU Skin Cache
	- Per section buffers
	- Limited memory per non-editor worlds (control with r.SkinCache.SceneMemoryLimitInMB)
	Copied from 3370529

Change 3371389 on 2017/03/30 by Richard.Wallis

	Remove temp working directories after archive packages built.

Change 3371641 on 2017/03/30 by Rolando.Caloca

	DR - Copy 3371640 (fix mem leak)

Change 3372436 on 2017/03/30 by Uriel.Doyon

	Added flags in UPrimitiveComponent to keep track of its state in the streaming manager.
	This allows to avoid unnecessary callback and processing in begin destroy reattach and being destroy logic.

	Removed the limitation of only processing UMeshComponent when handling spawed primitive.
	This releases the level manager from having to manage dynamic primitives.
	This improves performance by not having to manage dynamic references in the level manager.

	Primitives managed as dynamic now have a callback when ever their proxy is udpated, handling
	many cases automatically where previously a manual callback to notify would have been required.

	Fixed an issue where primitives with no reference to streaming textures would loose they dynamic state
	because of lack of references in the streamer.

Change 3372740 on 2017/03/30 by Chris.Bunner

	[Experimental] Partial compute post process pipeline (r.PostProcess.PreferCompute).
	StencilSceneTexture added to deferred list.
	A few known issues to be fixed in a follow-up CL.

Change 3372765 on 2017/03/30 by Uriel.Doyon

	Disabled concurrent call to NotifyPrimitiveUpdated while we don't have a safe concurrent update

Change 3372979 on 2017/03/30 by Richard.Hinckley

	#jira UE-43501
	The stencil buffer can now use single-channel bitmasks that ignore depth. This makes it possible to detect overlaps between stencil objects.

Change 3373053 on 2017/03/30 by Simon.Tourangeau

	LPV Fade support
	- mostly integrated from CL 2959511

Change 3373272 on 2017/03/30 by Uriel.Doyon

	Added support for the concurrent update of dynamic primitives by the streaming manager.

Change 3373450 on 2017/03/30 by Rolando.Caloca

	DR - FNT - Fix bad data for odd texcoord channels used on skin cache passthrough factory
	Copy 3373364

	#jira UE-43492

Change 3373470 on 2017/03/30 by Marcus.Wassmer

	Nvidia Aftermath support

Change 3374187 on 2017/03/31 by Chris.Bunner

	Volume texture support for CombineLUTs/Tonemap compute pass.
	Refactored common param code to shared sub-class in CombineLUTs and Tonemap PS/CS.
	Skip compute post process out-of-bounds writes.
	Unsigned type conversion fixes.
	Trimmed compute post process shader inputs.

Change 3374233 on 2017/03/31 by Chris.Bunner

	Removed several redundant post process compute fences and resource transitions.
	Added testing CVar to force compute post processes to async (r.PostProcess.ForceAsyncDispatch).

Change 3374412 on 2017/03/31 by Rolando.Caloca

	DR - Fix static analysis

Change 3374544 on 2017/03/31 by Richard.Wallis

	FShaderCache Parallel-Context-Aware Merged with FShaderCache Single Library.

	Future Work
	- This was done before Engine PSO were in so this now needs a refector in the recording and playback on pipeline states instead an emulate PSO in OpenGL Driver.
	- Remove FShaderCacheState and replace the logic with FGraphicsPipelineStateInitializer which should be able to record from the RHI current pipeline state
	- This would reduce the Locking required as it's naturally per thread/context and only the final record would need a lock

Change 3374588 on 2017/03/31 by Richard.Wallis

	Windows Compile Fixes

Change 3374810 on 2017/03/31 by Benjamin.Hyder

	updating recommended GPU drivers

Change 3375207 on 2017/03/31 by Rolando.Caloca

	DR - vk - Fixed swapchain format selection for some Linux platforms

Change 3375248 on 2017/03/31 by Rolando.Caloca

	DR - vk - Prefer D32S8

Change 3375495 on 2017/03/31 by Rolando.Caloca

	DR - vk - Update to sdk 1.0.42.2

Change 3375496 on 2017/03/31 by Rolando.Caloca

	DR - Force compiling with updated Vulkan SDK

Change 3375636 on 2017/03/31 by Mark.Satterthwaite

	Copying Metal improvements from task stream, with some modifications:
	- Off-by-default implementations for MTLFence & MTLHeap, including some small changes to the RHI interface for parallel contexts.
	- Support for Apple's Instruments "Points of Interest" tool.
	- Consolidation of some Mac & iOS compiler, memory and thread handling code.
	- Fixes for Metal not having implicit buffer SRV typecasting for DistanceField effects.
	- Improvements to the internal FMetalDebug layer, still off by default.
	- Limited support for Xcode automatic code-signing for iOS/tvOS.
	- Minimisation of render-target changes in some rendering code, esp. SceneOcclusion, DBufferDecals.
	- Added RHISetResourceAliasability_RenderThread to FDynamicRHI for RHIs to implement simple render-target aliasing.
	- Added FApplePlatformObject, a custom block allocator for Objective-C types (with NSZombie support) which is now used in MetalRHI to decrease allocation costs of Objective-C types.
	- Smattering of lesser fixes.

Change 3375654 on 2017/03/31 by Mark.Satterthwaite

	Incremental Windows build fix.

Change 3375656 on 2017/04/01 by Mark.Satterthwaite

	Correct extern declaration, including the module export macro which Mac unhelpfully doesn't enforce (for now...).

Change 3375797 on 2017/04/01 by Mark.Satterthwaite

	Nullability qualifiers to fix Mac build-farm compilation: perversely this is not a problem for local builds...

Change 3375798 on 2017/04/01 by Mark.Satterthwaite

	Fix the first mis-merge in ParticleGpuSimulation - these changes clearly weren't properly resolved in the task-stream.

Change 3375835 on 2017/04/01 by Mark.Satterthwaite

	Try again with nullability and fix the occlusion changes as the PSO work wasn't merged correctly.

Change 3376143 on 2017/04/02 by Mark.Satterthwaite

	Switch back to flat dSYMs for Dev-Rendering - they don't work with Instruments etc. but they are required by our build system.

Change 3376324 on 2017/04/03 by Chris.Bunner

	Fixed cvar re-registration log spam and flagged a testing-only cvar as such.

Change 3376726 on 2017/04/03 by Benjamin.Hyder

	Submitting initial HDR test map (WIP)

Change 3376756 on 2017/04/03 by Guillaume.Abadie

	Fixes scene captures ordering's backward compatibility.

	Before, 2d scene captures were rendered before cube scene captures. The CaptureSortPriority broke backward compatibility by settings this new member to 0 in the USceneCaptureComponent's constructor. Since it is a higher come first policy, this CL set the default of this value to 1 in USceneCaptureComponent2D's constructor.

Change 3377378 on 2017/04/03 by Arne.Schober

	DR - Fix ShaderRecompiling over and over again
	#RB Chris.Bunner

Change 3377512 on 2017/04/03 by Daniel.Wright

	[Copy] Fixed profilegpu in d3d12 - initialize FLongGPUTaskPS when it is safe to do so, and fixed FSlateRHIRenderer's incorrect usage of draw events

Change 3377518 on 2017/04/03 by Daniel.Wright

	[Copy] Distance field atlas coalesces updates to reduce RHIUpdateTexture3D memory overhead on d3d12

Change 3377526 on 2017/04/03 by Daniel.Wright

	[Copy] "Ran out of GPU queries!" log only happens once

Change 3377535 on 2017/04/03 by Daniel.Wright

	[Copy] Fixed unreferenced local variable

Change 3377539 on 2017/04/03 by Daniel.Wright

	[Copy] Xbox One RHIGetResourceInfo takes ESRAM into account - fixes render target pool 'VRamInKB request failed' messages

Change 3377546 on 2017/04/03 by Daniel.Wright

	[Copy] Added r.LightMaxDrawDistanceScale for local light scalability

Change 3377553 on 2017/04/03 by Daniel.Wright

	[Copy] Removed NEW_ESRAM_ALLOCATOR define and old unused path

Change 3377560 on 2017/04/03 by Daniel.Wright

	[Copy] Fixed two d3d12 refcounting bugs causing -norhithread crashes

Change 3377565 on 2017/04/03 by Daniel.Wright

	[Copy] Fixed Xbox One deleting GPU resources before the GPU is done reading from them (GRHINeedsExtraDeletionLatency was false)

Change 3377572 on 2017/04/03 by Daniel.Wright

	[Copy] Disabled point / spot lights with MaxDrawDistance on LowPC

Change 3377586 on 2017/04/03 by Daniel.Wright

	Fixed compile error

Change 3377699 on 2017/04/03 by David.Hill

	FFT Code.  Moved over from raven and refactored

	#review-3374589 @guillaume.abadie

Change 3377910 on 2017/04/03 by David.Hill

	GPU FFT: Fix Linux Build
	adding a missing template<> to an IMPLEMENT_SHADER_TYPE

Change 3378751 on 2017/04/04 by Marcus.Wassmer

	HQ particle lights now spawn attached to the same socket as their parent module.

Change 3378819 on 2017/04/04 by Richard.Wallis

	Should be no need to protect shader cache against RHI thread now.

Change 3378823 on 2017/04/04 by Richard.Wallis

	FRHIShaderLibrary Opaque Type

	- Base FRHIShaderLibrary has no Create*Shader functions and is passed to Overloaded RHICreate*Shader functions instead of creation directly through the library.
	- Assumed that only Native libraries will end up in the RHICreate*Shader functions.
	- ShaderCache and ShaderCode Libraries now inherit from a common factory interface.

Change 3378883 on 2017/04/04 by Arne.Schober

	DR - Fix DCC build

Change 3378885 on 2017/04/04 by Richard.Wallis

	Metal resource cast compile fix post merge.

Change 3378946 on 2017/04/04 by Chris.Bunner

	SM4 assert fix.

Change 3378953 on 2017/04/04 by Chris.Bunner

	Fixed type-correctness on legacy BreakMA material nodes and set more flexible formats to global attributes which should result in much more forgiving graphs for users.
	Allowed material nodes to opt out of mask-based pin coloration.
	#tests Compiled most Paragon materials + QAGame test maps.

	#jira UE-39885

Change 3379189 on 2017/04/04 by Arne.Schober

	DR - Fix aftermath staging

Change 3379229 on 2017/04/04 by Arne.Schober

	DR - Fix missing include

Change 3379374 on 2017/04/04 by Mark.Satterthwaite

	Revert an accidentally merged change in MacPlatformProcess that relies on further changes from the Metal task stream.

Change 3379505 on 2017/04/04 by Rolando.Caloca

	DR - Fix mismatched interpolators

Change 3379539 on 2017/04/04 by Mark.Satterthwaite

	No FFT for any hlslcc platform - the IR for one or more RWTexture2D isn't quite right...

	#jira UE-43626

Change 3379561 on 2017/04/04 by Rolando.Caloca

	DR - Fix root signature issues on D3D12 PC

Change 3379590 on 2017/04/04 by Mark.Satterthwaite

	Back out changelist 3379539 & change the shader slightly instead, the HLSLCC library generates bogus IR when you have an inout RWTexture.

	#jira UE-43626

Change 3379917 on 2017/04/04 by Uriel.Doyon

	Fix to input mismatch

Change 3380578 on 2017/04/05 by Chris.Bunner

	Shader type fixes.

	#jira UE-43652

Change 3380639 on 2017/04/05 by Rolando.Caloca

	DR - Expose GetOrCreate PSO and document

Change 3380821 on 2017/04/05 by Guillaume.Abadie

	Fixes a crash in USceneCaptureComponent::UpdateDeferredCaptures()

	#jira UE-43642

Change 3381092 on 2017/04/05 by Guillaume.Abadie

	Cherry pick 3362517: Implements TAA's scene color unpremultiplication from alpha channel to reduce DOF alpha channel temporal ghosting.

	This CL take the oportunity to transform AA_ALPHA to an compile time enumeration, and add a basic TAA compile time configuration validation to improve readability of the different TAA passes' configurations.

Change 3381300 on 2017/04/05 by Mark.Satterthwaite

	Quick fix for changes to MetalRHI's render-thread safe texture creation not correctly handling AVFoundation video player handing us an IOSurface.

	#jira UE-43597

Change 3381359 on 2017/04/05 by Guillaume.Abadie

	Back out changelist 3381092

Change 3381421 on 2017/04/05 by Mark.Satterthwaite

	Amended CL #3380995 from Richard Wallis to address crash in the Material Editor under the validation layer - when there are no textures bound the default pass descriptor assigns store actions, which means we can't override them with our deferred store actions.

	#jira UE-43689

Change 3381422 on 2017/04/05 by Mark.Satterthwaite

	Absolute time queries can't be batched in Metal but I also can't rely on them being started with a call to BeginQuery - only EndQuery.

	#jira UE-43691

Change 3381503 on 2017/04/05 by Daniel.Wright

	More intuitive controls for Volumetric Fog
	* Removed ScatteringScale / AbsorptionScale on Exponential Height Fog and added Albedo / Extinction
	* InscatteringColorCubemap is now supported by Volumetric Fog
	* Particle lights have a default VolumetricScatteringIntensity of 0 to avoid trailing
	* Tweaked GVolumetricFogDepthDistributionScale better for nearby details
	* Volume Materials have twice the interpolators available

Change 3381527 on 2017/04/05 by Mark.Satterthwaite

	Disable Private GPU storage for PVRTC texture formats on iOS Metal - these require more changes to the blit-encoder usage as PVRTC has strange requirements.

Change 3381671 on 2017/04/05 by Mark.Satterthwaite

	Better error message for failure to compile shaders remotely from PC for Metal.

Change 3381769 on 2017/04/05 by Rolando.Caloca

	DR - Added lock texture array 2d on Vulkan

Change 3382003 on 2017/04/05 by Mark.Satterthwaite

	Remove the automatic Metal aliasing/re-use when releasing some resource types as it doesn't work as intended.

Change 3382030 on 2017/04/05 by Zachary.Wilson

	Fix compiling Metal text shaders from PC broken in merge from task stream.
	#submitter mark.satterthwaite

	#jira UE-43652

Change 3382880 on 2017/04/06 by Mark.Satterthwaite

	Michael Trepka's CL #3379927:
	VolumetricFogVoxelization implementation for Mac

Change 3383315 on 2017/04/06 by Mark.Satterthwaite

	Partially revert CL #3382003 - the emulated Metal heaps require invoking makeAliasable in order to reclaim memory.

	#jira UE-43739

Change 3384639 on 2017/04/07 by Marcus.Wassmer

	Move ShaderResource version bump to RenderingObjectVersion

Change 3384704 on 2017/04/07 by Mark.Satterthwaite

	Compile fix for merge.

Change 3384933 on 2017/04/07 by Rolando.Caloca

	DR - Fix skin cache crash with BP (copy 3384714)

Change 3385104 on 2017/04/07 by Mark.Satterthwaite

	Fix MetalRHI's abs(int2) handling - it can't be translated to fabs(int2) as that won't compile. Also rebuild hlslcc for my sanity.

	#jira UE-43783

Change 3385105 on 2017/04/07 by Mark.Satterthwaite

	Force a shader rebuild to ensure that everybody picks up the fix for #jira UE-43783

	#jira UE-43783

Change 3385118 on 2017/04/07 by Arne.Schober

	DR - [OR-37359] - Fix disapearing Decals when StencilLod Fade is enabled
	#RB none

Change 3385149 on 2017/04/07 by Marcus.Wassmer

	Fix skincache motion blur

Change 3385189 on 2017/04/07 by Rolando.Caloca

	DR - Fix swapchain format for editor on Vulkan

Change 3385287 on 2017/04/07 by Mark.Satterthwaite

	Enable SM5 on Intel as of 10.12.4 and later.

Change 3385347 on 2017/04/07 by Rolando.Caloca

	DR - Temp fix for GL4 corruption on editor
	#jira UE-43785

Change 3385363 on 2017/04/07 by Rolando.Caloca

	DR - Actually fix all win platforms for GL bug
	#jira UE-43785

Change 3385557 on 2017/04/07 by Arne.Schober

	DR - [UE-43205] - Fix mesh paint
	#RB none

Change 3385608 on 2017/04/07 by Daniel.Wright

	Fixed SampleCmp being used on a non-depth texture, causing a d3d error

Change 3385980 on 2017/04/10 by Rolando.Caloca

	DR - Remove transition functions RHIClearColor* RHIClearDepthStencilTexture

Change 3386042 on 2017/04/10 by Rolando.Caloca

	DR - Fix metal merge issue

Change 3386157 on 2017/04/10 by Rolando.Caloca

	DR - Remove VS2013 libs generation off hlslcc & glslang (to match main)

Change 3386356 on 2017/04/10 by Chris.Bunner

	Resolving merge errors.

Change 3386414 on 2017/04/10 by Chris.Bunner

	Resolved merge issue in RendererScene.cpp.

Change 3386700 on 2017/04/10 by Mark.Satterthwaite

	Silence documentation warnings.

Change 3387178 on 2017/04/10 by Chris.Bunner

	Removed invalid mask correction on MakeMA material nodes.

Change 3388177 on 2017/04/11 by Marcus.Wassmer

	Disable ensure that is no longer relevant now that we bind clear colors on texture creation

Change 3388261 on 2017/04/11 by Chris.Bunner

	Static analysis fix.

[CL 3388266 by Chris Bunner in Main branch]
2017-04-11 10:32:07 -04:00
Ryan Vance
8044633af9 Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3383750)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3012064 on 2016/06/13 by Nick.Whiting

	Merging Main -> DevVR

Change 3048060 on 2016/07/13 by Nick.Whiting

	Integrating CL 3045721 from //depot/Partners/Google/AndroidVR-DevVR
	Upgrade Android and iOS GVR SDK to the latest.
	Fix the flipped vignette issue when using Unreal's post processing distortion.
	Change the Daydream & Cardboard mode to use scanline racing.
	Deprecate the ability to turn off individual UI elements.

Change 3235307 on 2016/12/14 by Keli.Hlodversson

	Filter out excluded HMD modules during FEngineLoop:PreInitHMDDevice. The final selection still happens in UEngine::InitializeHMDDevice as all HMD plugins have not been loaded during PreInit

Change 3235308 on 2016/12/14 by Ryan.Vance

	#jira UEVR-478

	Monoscopic far field improvements

	Shader changes are now gated behind the read only cvar vr.MonoscopicFarField. Changing this requires a shader compile.
	Moved the mono rendering mode to the cvar vr.MonoscopicFarFieldMode. This is writable, so users can enable/disable mono rendering on the fly if the above cvar is enabled.
	Only write to the alpha channel in the mobile base pass if the object is opaque and MONOSCOPIC_FAR_FIELD is defined.
	Addressed code review comments.

Change 3235397 on 2016/12/14 by Keli.Hlodversson

	[Oculus] Only enable GearVR platform on Windows if Oculus service is running
	Original author: Loren.McQuade

Change 3235762 on 2016/12/14 by Keli.Hlodversson

	Add explicit parentheses to placate the build bots.

Change 3242318 on 2016/12/21 by Ryan.Vance

	Working around pixel density crash.

Change 3242522 on 2016/12/21 by Ryan.Vance

	Missing flag clear so our adaptive test was always returning true.

Change 3243173 on 2016/12/22 by Ryan.Vance

	Integrating post present callback implementation from 4.14.1

Change 3248633 on 2017/01/05 by Keli.Hlodversson

	Copying //Tasks/UE4/Dev-VR-Refactoring to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)

Change 3248723 on 2017/01/05 by Keli.Hlodversson

	Fix after merge. EnablePositionalTracking no longer exists.

Change 3249484 on 2017/01/06 by Keli.Hlodversson

	Add missing includes

Change 3249714 on 2017/01/06 by Keli.Hlodversson

	Remove monolithic header include

Change 3249980 on 2017/01/06 by Keli.Hlodversson

	SteamVR: Remove leftover unused WindowMirrorMode member variable

Change 3252432 on 2017/01/10 by Keli.Hlodversson

	Submitting change by Loren McQuade to fix monolithic builds.

	Unshelved from pending changelist '3251436':

Change 3257373 on 2017/01/13 by Keli.Hlodversson

	#jira UEVR-411: Finish renaming/removing/remodelling the remaining Oculus (Rift+GearVR) commands
	#jira UEVR-412: Rename and merge remaining Morpheus console commands
	#jira UEVR-417: Remove Exec from IHeadMountedDisplay

Change 3269971 on 2017/01/24 by Jeff.Fisher

	UEVR-498 move controller is missing world to meters
	UEVR-522 PS4 motion controller worldscale support.
	-Passing world to meters scale into getControllerOrientationAndPosition because the thing asking about it ought to be part of a world, and know what it should be.  This also avoids making PS4 motion controllers dependent on the HMD.  Note Google VR Controller doesn't do position, so doesnt' care about scale.  Oculus already had internal threadsafe tracking of world scale, so I left that.  Steam handles world scale below our input level.
	-Also adding PlayerIndex member to FSceneView so we can figure out which view the MotionControllerComponent should get its worldscale from for the late render thread update.
	#jira UEVR-498
	#review-3384107

Change 3288308 on 2017/02/06 by Jeff.Fisher

	UEVR-517 Detect MotionController Connectivity
	-PS4 can only track 2 controllers and 1 hmd.  Support for dealing with that is needed.
	-Also need to support multiple motion controller components mapped to a single controller.  Licencees have done that before.
	-Created a new interface IMotionTrackingSystemManagement, and implements it for PS4Tracker on PS4.
	-Created a MotionTrackedDeviceFunctionLibrary to expose that interface to blueprint.
	-With those one can enable and disable tracking on ps4 controllers and query their state to stay within the controller tracking limit.
	-PS4Tracker also keeps a blackboard of the enable/disable state so that one can enable or disable controllers that have not been connected yet, and have them enable tracking or not when they are connected.
	-DS4 controller no longer jumps back to 000 if it loses tracking.
	#review-3384107
	#jira UEVR-517

Change 3288309 on 2017/02/06 by Keli.Hlodversson

	Add file missing from CL#3257373.

Change 3288311 on 2017/02/06 by Jeff.Fisher

	UEVR-517 Detect MotionController Connectivity - Test content.
	-tm-motionControllers has a third mode where all playstation motion controllers for player 0 are availalbe.  You can toggle them to track or not with ctrl-P,G,L,R for pad, gun, leftmove, rightmove or with alt-P,G,L,R.  Ctrl tests doing so via MotionControllerComponent.  Alt tests doing so by player index and controller type enum.
	-ctrl-A disables tracking of all controllers
	-alt-A disables tracking of all controllers for player 0
	-ctrl-D toggles enabling new controllers by default
	-Also fixed one button not working in one of the other test modes for the Aim (gun) controller.
	-The controller 'models' have an arrow out the front.  It is black if disabled.  Red if enabled, but no tracker is active, yellow if tracked but inertial only, and green if fully tracked by the camera.
	-This logic is in the QA_MoCoAll blueprint.

Change 3291601 on 2017/02/07 by Jeff.Fisher

	UEVR-536 PSVR motion controller tracking problem with multiple controllers
	-Previous code called GetRelativeTransform from the render thread, but the game thread could update it at any time.  This caches that transform so that it can be safely used in the render thread.
	#jira UEVR-536
	#review-3384107 @Ryan.Vance

Change 3292460 on 2017/02/08 by Jeff.Fisher

	PS4 sceVrTrackerGetResult() error warning logging improved, and explanatory comment added.

Change 3308771 on 2017/02/17 by Keli.Hlodversson

	Rename GoogleVR console commands
	#jira UEVR-412

Change 3309156 on 2017/02/17 by Keli.Hlodversson

	Track changes in r.ScreenPercentage on GoogleVR and set RenderTargetSize accordingly.

Change 3311999 on 2017/02/20 by Keli.Hlodversson

	Create a default implementation for RecordAnalytics.

	Also create an initial stub for FHeadMountedDisplayBase for future default implementations of common HMD functionality.
	Make implementing IHeadMountedDisplay::GetDeviceName mandatory instead of defaulting to "Unknown"
	#jira UE-21878
	#jira UEVR-213

Change 3313467 on 2017/02/20 by Ryan.Vance

	#jira UE-41604

	3278583
	pCustomPresent->AllocateRenderTargetTexture may return false, if we blindly return true we can end up with an invalid render target since the fall back sceneviewport will be skipped.

	3278536
	Adding ovrError_NoHmd to our sanity check in OnStartGameFrame.

Change 3314002 on 2017/02/21 by Keli.Hlodversson

	Fix compilation on PS4 and Linux

Change 3326722 on 2017/03/01 by Jeff.Fisher

	Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
	Integrating 4.15 from main.

Change 3327567 on 2017/03/01 by Jeff.Fisher

	UEVR-588 Oculus crash on "stereo on" when the proximity sensor is not triggered.
	Duplicating from Release-4.15 cl 3327481, 3327542
	-Don't ovr_SubmitFrame when the layers need to be recreated.  They stay dirty until rendering is unpaused.
	#jira UEVR-588

	#review-3384107

Change 3328098 on 2017/03/01 by Jeff.Fisher

	4.15 merge fixes
	-Fixed deprecated enum name function usage.
	-Fixed world scale usage in GoogleVRController.
	-Fixed compile break in PS4Tracker.

Change 3328271 on 2017/03/01 by Jeff.Fisher

	2.15 merge
	-restroging GoogleVRController::GetWorldToMetersScale... cause it is used everywhere.

Change 3328307 on 2017/03/01 by Jeff.Fisher

	4.15 merge
	-More googlevr worldscale fixes.

Change 3328312 on 2017/03/01 by Jeff.Fisher

	4.15 merge
	-removing 2 unused includes

Change 3330610 on 2017/03/02 by Jeff.Fisher

	4.15 merge
	-fixing linux build

Change 3333952 on 2017/03/06 by Keli.Hlodversson

	Implement common stereo layer management base class and use it in SteamVR and PS4. Fixes an outstanding bug in SteamVR where texures are updated every frame regardles of whether the continous update flag is set or not.

	#jira UEVR-628
	#jira UE-42555

Change 3334961 on 2017/03/07 by Keli.Hlodversson

	Add missing include to fix non-unity builds

Change 3336200 on 2017/03/07 by Keli.Hlodversson

	Fix compilation issues. (https://ec-01.epicgames.net/commander/link/jobDetails/jobs/7568252?jobName=UE4+Dev-VR+-+CL+3334961+-+Nightly+Build&s=Jobs)
	* Pre VS2015 compilers don't like mixing wide and unmarked strings in concatenation. Unfortunately LOCTEXT hides the call to the TEXT macro, completely hinding the prefix (which only gets added to the first fragment.)
	* Switch apparently doesn't know how to format a size_t for analytics either.
	Also: Typo in backwards compatibility command name alias

Change 3337347 on 2017/03/08 by Jeff.Fisher

	UE-42631 Stereo off while prox sensor uncovered causes low framerate
	-Setting maxfps appropriately on 'stereo on/off'.
	#review-3384107
	#jira UE-42631

Change 3338385 on 2017/03/08 by Ryan.Vance

	r.DisableDistortion was only being used for the mobile renderer

Change 3342301 on 2017/03/10 by patrickr.donovan

	Test updates to TM-VRSmoke.
	Increased lightmap resolution on QA_MeshTypes meshes to improve readbility and reliablility of tests involving said asset.
	Rebuilt lighting.

Change 3348133 on 2017/03/15 by Ryan.Vance

	Moving mono cvars to scene rendering to avoid cross module references. There's not a good reason to have them in the hmd module anyway.

Change 3348836 on 2017/03/15 by Ryan.Vance

	Direct multi-view support for gear vr
	Monoscopic far field with multi-view (blit and direct) support for gear vr
	Support for translucent objects on both sides of the mono clip plane (due to a sorting issue, objects that straddle the plane composite incorrectly)
	Fixed missing discards/clears in the multi-view blit

Change 3348843 on 2017/03/15 by Ryan.Vance

	Fixing color/depth target size mismatch when screen percentage scaling results in a size that isn't divisible by 16.

Change 3349276 on 2017/03/16 by Keli.Hlodversson

	Fixing compile errors in GoogleVR after merge from main.

Change 3350932 on 2017/03/16 by Ryan.Vance

	Re-enabling the gearvr plugin on windows.

Change 3351977 on 2017/03/17 by Jeff.Fisher

	Fixing masked member variable.

Change 3352314 on 2017/03/17 by Ryan.Vance

	We need to ensure that we don't select different lod levels for each eye.

Change 3352993 on 2017/03/17 by Nick.Whiting

	Integrating CL 3345824 from Android-DevVR to Dev-VR.  Support for device depth pass in SceneCaptureComponent2D

Change 3355185 on 2017/03/20 by Nick.Whiting

	Added ability to disable the autoloading splash screen, which would prevent the hide splash screen node from ever working

Change 3355676 on 2017/03/20 by Nick.Whiting

	PR #3384: [GNUX] SteamVR, OpenGL patch. (Contributed by yaakuro), with some minor modifications

Change 3357286 on 2017/03/21 by Jeff.Fisher

	Fixing GenerateProjectFiles, looks like the .config. was removed from these references in main some time ago.

Change 3357435 on 2017/03/21 by Jeff.Fisher

	Fixing editor build break, looks like a merge mistake.

Change 3359960 on 2017/03/23 by Keli.Hlodversson

	Prevent potential crash when drawing tracking sensor location. Also only fetch HMD location once instead of once per tracking sensor.

Change 3361230 on 2017/03/23 by Jeff.Fisher

	Fixing linux build opengl include problem... maybe.

Change 3361638 on 2017/03/23 by Jeff.Fisher

	Another guess at fixing linux build.

Change 3364224 on 2017/03/24 by Keli.Hlodversson

	Initial implementation of UEVR-576 - Base emulated layer implementation

	#jira UEVR-668 - Base emulated layer implementation: Initial framework for overrideable default implementation
	#jira UEVR-669 - Base emulated layer implementation: Face Locked Layers Support
	#jira UEVR-670 - Base emulated layer implementation: Tracker Locked Layers Support
	#jira UEVR-671 - Base emulated layer implementation: World Locked Layers Support
	#jira UEVR-672 - Base emulated layer implementation: Add support for optionally rendering face locked layers into a separate layer

Change 3364242 on 2017/03/24 by Keli.Hlodversson

	SteamVR layers do not support negatve Layer priorities

Change 3364263 on 2017/03/24 by Jeff.Fisher

	Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
	Monoscopicfarfieldrendering was just 'accept source', Ryan is going to look at fixing it up.

Change 3364472 on 2017/03/24 by Jeff.Fisher

	Merge fix

Change 3364475 on 2017/03/24 by Jeff.Fisher

	Fixing gearvr include.

Change 3364486 on 2017/03/24 by Jeff.Fisher

	merge fix

Change 3364532 on 2017/03/24 by Ryan.Vance

	pso update for mono rendering and stereo layers.

Change 3364599 on 2017/03/24 by Ryan.Vance

	Oculus changes for SI1.12

Change 3365159 on 2017/03/26 by Jeff.Fisher

	include fix

Change 3365182 on 2017/03/26 by Jeff.Fisher

	include fix

Change 3366087 on 2017/03/27 by Ryan.Vance

	Remaining files from Oculus changes for SI1.12 merge request.
	Fixing a bug in OnlineSubsystem.
	Temporarily changing the eye padding change to be a shader clear to work around a clear color binding issue.

Change 3366492 on 2017/03/27 by Ryan.Vance

	#jira UE-43294
	Moved the clear before we setup state for drawing the mirror window content. It was stomping over state after the pso changes.
	Going to leave the shader clear in the rift prerender for clearing the eye padding for now.

Change 3366929 on 2017/03/27 by Ryan.Vance

	Fixing compile error

Change 3368549 on 2017/03/28 by Jeff.Fisher

	Merging Change: 3357998 from //UE4/Partner-Google-VR/Engine/... to Dev-VR
	Upgrade Google VR Plugin to v1.3:
	*Upgraded GVR NDK to 1.30.0
	*Changed some BlueprintFunction to use BlueprintPure
	*Add the missing bDaydream flag in UEDeployAndroid.cs
	#review-3384107

Change 3368975 on 2017/03/28 by Ryan.Vance

	CIS clean up
	#jira UE-43428, UE-43429, UE-43426, UE-43427

Change 3369028 on 2017/03/28 by Ryan.Vance

	This is not exacly 'correct', but it's at least what the code was trying to do.

Change 3370203 on 2017/03/29 by Ryan.Vance

	Adding gear vr controller component support.

Change 3370918 on 2017/03/29 by Ryan.Vance

	Merging 3370569 using Partner-Google-VR_to_DevVR

Change 3371030 on 2017/03/29 by Ryan.Vance

	Fixing linux build errors

	#jira UE-43426

Change 3371036 on 2017/03/29 by Ryan.Vance

	Oculus 4.16 integration.
	Not terribly happy with the use of std::string. They promised to clean this up for the next release.

Change 3373495 on 2017/03/30 by Jeff.Fisher

	Merging from Dev-Main, in preparation for 4.16

Change 3373578 on 2017/03/30 by Jeff.Fisher

	build break, one comma short

Change 3373870 on 2017/03/31 by Jeff.Fisher

	Include order fix.

Change 3374001 on 2017/03/31 by Keli.Hlodversson

	Use DefaultStereoLayers as base for Morpheus implementation.
	#jira UEVR-709 #jira UE-42919
	#rb: Jeff.Fisher

Change 3374004 on 2017/03/31 by Keli.Hlodversson

	Fix rendering for the default Stereo Layers implementation on mobile.
	Depth test was set to "Never" instead of "Always"
	Destination texture on GLES is flipped on the Y axis, the coordinates are reversed in the shade when compiled on the relevant platforms.

Change 3375125 on 2017/03/31 by Jeff.Fisher

	UE-43506 Ensure using VRPreview with GoogleVR
	-Removed the ensure, there is code in there to handle that case, and it works.
	#jira UE-43506

Change 3375294 on 2017/03/31 by nick.bullard

	Resaving Plugin content to resovle "saved with empty engine version"

	#jira UE-43537

Change 3375480 on 2017/03/31 by Jeff.Fisher

	UEVR-9 PSVR: Social Screen Support
	-Experimental social screen support for 4.16.
	-This does the basics of driving output through the Aux port in the proper format for display on the mirror monitor.
	-Only supports 30fps on the mirror monitor.  60fps will require the implementation of sony system dialogs to deal with incompatable system features (video streaming, remote play).
	-There is a project setting in Morpheus, under experiemental bEnableSocialScreenSeparateMode.  This must be set to true to use this feature.  When it is false we avoid allocating the back buffers.
	-MorpheusFunctionLibrary blueprints now have a node "SetSocialScreenMode" which can switch between SystemMirror (hardware supported mirroring), SeparateTest (alternates black and white), SeparateTexture (displays a texture, eg a render target, specified via blueprint), and SeparateMirror(puts the hmd render buffer on screen - which is both eyes, like a debug mode).
	-Also finally updated the bEnabled flag in project settings to tell people it's only for PC.
	#jira UEVR-9
	#review-3384107

Change 3375540 on 2017/03/31 by Ryan.Vance

	#jira UE-43504

	Fixing android build break when using a 64 bit isa.

Change 3375655 on 2017/03/31 by Jeff.Fisher

	Fixing missing RGBAToYUV shader problem
	-This at least unblocks our process.  Will revisit before zbr.

Change 3375820 on 2017/04/01 by Jeff.Fisher

	Fixing linux build warning about HAS_MORPHEUS

Change 3376050 on 2017/04/02 by Jeff.Fisher

	 UE-43515 Step 'UE4Editor Static Analysis Win64' - Module.OnlineSubsystemOculus.cpp Warnings
	-Temporary fix for static analysis annotation warnings in OnlineSubsytemOculus. Longer term plan is to eliminate the use of the headers that trigger the warnings.
	-Just wrap all standard headers in static analysis disables.

	#jira UE-43515

Change 3376609 on 2017/04/03 by Jeff.Fisher

	Fixing rgbatoyuvshader include.

Change 3377001 on 2017/04/03 by Jeff.Fisher

	UE-43547 Launch On PS4 fails during Run command - Missing global shader FRGBAToYUV420CS
	- shader c++ must be compiled so that it can be cooked for ps4.

	#jira UE-43547

Change 3379858 on 2017/04/04 by Jeff.Fisher

	Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
	pulling main this should get us ps4 sdk 4.508

Change 3379938 on 2017/04/04 by Ryan.Vance

	#jira UE-43548

	If stereo layers are not being used, don't setup overlay targets as we will never clear/initialize them.
	The clear happens as part of the default layers PostRenderView_RenderThread call which wont be called if layers aren't being used in the scene.

Change 3381519 on 2017/04/05 by Jeff.Fisher

	UEVR-733 PS4 sdk 4.500 hmd connection api changes break hmd connect.
	-Handling failure of sceHmdGetDeviceInformation if the hmd is powered off.  It now returns an error code about an invalid handle in that case, rather than reporting unready.  We just treat the error code like an unready status.
	#jira UEVR-733
	#review-3384107

Change 3382019 on 2017/04/05 by Ryan.Vance

	Linux: add Vulkan support from dev editor: 3381593

Change 3382021 on 2017/04/05 by Ryan.Vance

	SteamVR on Linux using Vulkan
	OpenVR rev to 1_0_6

	PR #3412: [GNUX] Initial support for SteamVR using Vulkan on GNUX platform. (Contributed by yaakuro)

Change 3382076 on 2017/04/05 by Ryan.Vance

	Fixing linux steamvr lib path. It changed to something less silly in 1.0.6
	Removing the steamvr plugin from the white list for linux. It's looking for a runtime that no one will have installed.

Change 3383237 on 2017/04/06 by Ryan.Vance

	#jira UE-43732
	Fixing Android compile issues. We can't wrap portions of a macro with a definie. This should probably be some sort of recursive macro thing since there's so much overlap. Good enough for now.

Change 3383353 on 2017/04/06 by Ryan.Vance

	Fixing include cycles.

Change 3383509 on 2017/04/06 by Jeff.Fisher

	Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
	merging the stuff from dev-mobile

[CL 3384106 by Ryan Vance in Main branch]
2017-04-06 22:03:51 -04:00
Luke Thatcher
22b2ad89ea Copying //UE4/Dev-Console to //UE4/Dev-Main (Source: //UE4/Dev-Console @ 3378220)
#lockdown Nick.Penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3301794 on 2017/02/14 by Josh.Adams

	Fixed a crash with clothing on platforms that don't support NV_CLOTH

Change 3302696 on 2017/02/14 by Chad.Garyet

	adding dev-console json

Change 3306418 on 2017/02/16 by Ben.Woodhouse

	Fix prepass/basepass zfighting, caused by bad vertex welding in depth-only indexbuffer. Requires bumping the staticmesh DDC key
	Duplicated from Fortnite/Main CL 3302965
	#jira UE-34332

Change 3308922 on 2017/02/17 by Josh.Adams

	- Disabled the game analytics anon usage data sent to Epic on the console platforms

Change 3311506 on 2017/02/20 by Keith.Judge

	Replicate fix for FD3D12UniqueDescriptorTable leak in async compute contexts from another branch.

Change 3313445 on 2017/02/20 by Josh.Adams

	- Various Vulkan fixes:
	  - Compiles in Linux
	  - Many cubemap bugs squashed
	  - Changed the scratch reflection cubemap clear to SetRenderTargestsAndClear, instead of SetRenderTarget() / Clear()
	  - Added compute fences

Change 3314916 on 2017/02/21 by Josh.Adams

	- Fixed an issue with 4 and 8 vertex instanced particles using the wrong VertexFactory objects (D3D didn't even need separate VFs due to the VertexDecl updating the stride at draw call time)

Change 3315398 on 2017/02/21 by Ben.Woodhouse

	Fix GPUTestbed packaging

Change 3316340 on 2017/02/22 by Ben.Woodhouse

	Duplicate hotfix from Release-4.15:
	CL 3316322
	Fix for GPU Cubemap copy crash - Guard for invalid indices before marking cubemap indices as removed
	#jira UE-42165

Change 3317345 on 2017/02/22 by Ben.Woodhouse

	Integrate from //UE4/Main/...@3316239

Change 3319186 on 2017/02/23 by Josh.Adams

	Added /VIRTUALIZEDIRECTX option to XgConsole for XGE shader compiling to work  on remote machines without DX installed

Change 3323514 on 2017/02/27 by Chad.Garyet

	adding populate ddc for dev-console, removing RDU agent type

Change 3335889 on 2017/03/07 by Luke.Thatcher

	[CONSOLE] [STREAMS] [^] Merge //UE4/Main (CL 3335229) to //UE4/Dev-Console

	#tests Build Win64 Editor, run QAGame editor, Launch on PS4.

Change 3336550 on 2017/03/07 by Ben.Woodhouse

	Duplicate CL 3336456
	#jira UE-42468
	Fix a bug in the rendertargetpool handling of fastVRAM targets, reported on UDN

Change 3340385 on 2017/03/09 by Ben.Woodhouse

	Optimized fastVRAM layout and configurability. CVars can be configured based title rendering requirements and resolution
	With these changes, we try to store the GBuffer in Fast VRAM if possible. Transient/non perf critical surfaces are now disabled by default
	In content w/ dynamic lighting @ 900p we see a 1.8ms gain. In RenderTestMap QAGame @ 1080p we see 0.4ms gains (further improvements may be possible with additional tweaking).

Change 3355982 on 2017/03/21 by Ben.Woodhouse

	Duplicate from CL 3354688:
	Fix async SSAO not actually running asynchronously. This was because bHZBBeforeBasePass  was set to false even though we had a full prepass (EDepthDrawingMode::DDM_AllOpaque), so we didn't process it until after the basepass.
	This saved 0.6ms in GPUTestbed

Change 3356166 on 2017/03/21 by Ben.Woodhouse

	Duplicate from 3347033
	Subsurface postprocess optimization, courtesy of Mike O'Connor at Iron Galaxy Studios.

	Add a branch to reduce bandwidth. Halved the cost of the setup pass according to PIX (0.3ms to 0.15ms)

Change 3360243 on 2017/03/23 by Luke.Thatcher

	[CONSOLE] [STREAMS] [^] Merge //UE4/Main (CL 3358685) to //UE4/Dev-Console

	#tests Build Win64 Editor, run FortGPUTestbed editor, Launch on PS4.

Change 3365746 on 2017/03/27 by Joe.Barnes

	- Handle NULL source data.
	- Log failed surround conversion.

Change 3368022 on 2017/03/28 by Ben.Woodhouse

	Cherry pick reflection capture hotfix from release-4.15 CL 3365830:
	Fixed reflection capture crash when repeatedly adding/removing captures
	Previously we used an array of indices (CubemapIndicesRemovedSinceLastRealloc) to keep track of indices which had been removed, however this caused issues when those indices were reused by subsequent allocations before the array was reallocated
	The new method uses a simple bitfield to track usage (one bit per cubemap slot index).
	Also fixed order(N^2) index search in the index allocator - now just a fast bit scan

	#jira UE-42165
	#jira UE-42911

Change 3371568 on 2017/03/30 by Luke.Thatcher

	[CONSOLE] [STREAMS] [^] Merging //UE4/Dev-Main (CL 3371054) to Dev-Console (//UE4/Dev-Console)

Change 3372780 on 2017/03/30 by Joe.Barnes

	Add support for multi-channel ADPCM encoding. Format based on game side ADPCM decompressor.

Change 3374847 on 2017/03/31 by Ben.Woodhouse

	Fix shipping warning
	#jira UE-43522

Change 3376442 on 2017/04/03 by Ben.Woodhouse

	Fix FortGPUTestbed animnotify cook errors (delete the offending animnotifies)

[CL 3378288 by Luke Thatcher in Main branch]
2017-04-04 09:10:29 -04:00
Marcus Wassmer
2826204161 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3357411)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3244756 on 2017/01/03 by Marcus.Wassmer

	Copying //Tasks/UE4/Dev-Niagara@3244743 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3248667 on 2017/01/05 by Olaf.Piesche

	Resaving default asset because of engine verison issue; maybe unnecessary, but resaving niagara engine content to be sure

	#jira UE-40160

Change 3249324 on 2017/01/06 by Marcus.Wassmer

	Resave with an actual version to stop cook warning

Change 3249611 on 2017/01/06 by Marcus.Wassmer

	Just remove warning-causing niagara data for now.

Change 3308052 on 2017/02/16 by Rolando.Caloca

	DR - Check for Vulkan SDK, and only use it if it's newer or the same as the headers we distribute

Change 3308109 on 2017/02/16 by Rolando.Caloca

	DR - Upgrade glslang to 1.0.39.1

Change 3308111 on 2017/02/16 by Rolando.Caloca

	DR - Update Vulkan distribution to 1.0.39.1

Change 3308153 on 2017/02/16 by Rolando.Caloca

	DR - Updated glslang libs

Change 3308842 on 2017/02/17 by Rolando.Caloca

	DR - Fixed copy/paste

Change 3310007 on 2017/02/17 by Chris.Bunner

	Back out CL 3221219 - causing MIC generation issues and superseded by CL 3273971.

	#jira UE-37792

Change 3310154 on 2017/02/17 by Chris.Bunner

	Assert when attempting to add a custom material attribute already in the base attributes list.

Change 3310155 on 2017/02/17 by Chris.Bunner

	PR #3231: Validate material index before accessing (Contributed by projectgheist)

	#jira UE-41774, UE-41788

Change 3310162 on 2017/02/17 by Chris.Bunner

	PR #3252: Added MobileMaterialInterface to UsedMaterials (Contributed by projectgheist)

	#jira UE-41823, UE-41950

Change 3310176 on 2017/02/17 by Chris.Bunner

	Merging CL 3233886: AMD HDR support (requires r.AMDSupportsHDRDisplayOutput=1 in ini).
	Update to AGS 5.0.5.
	Partial code tidy up.

Change 3310187 on 2017/02/17 by Chris.Bunner

	Preserve constant expressions rather than always casting after translating a material attribute. Losing the notion of constant means we can't correctly detect used properties and falsely enable e.g. PDO. Happened because of the incorrect component masks in BreakMaterialNodes which then had to be downcast to the correct type which is done as an inline fragment rather than swizzle expression.

	#jira UE-41594

Change 3310215 on 2017/02/17 by Chris.Bunner

	Prevent SpeedTree node compiling for skeletal meshes (not supported as uses more UV sets than available).
	More descriptive error for missing Cubemap UV input on TextureSample material node .

	#jira UE-33098

Change 3310838 on 2017/02/18 by Joe.Graf

	Moved some private functions to public for a licensee

	#CodeReview: matt.kuhlenschmidt
	#rb: n/a

Change 3311876 on 2017/02/20 by Rolando.Caloca

	DR - Expose skin cache cvar r.SkinCache.AccumulationBufferSizeInKB

	#jira UE-42014

Change 3314139 on 2017/02/21 by Rolando.Caloca

	DR - Minor cleanup pass
	- Remove FVulkanPendingState
	- Renamed some classes for clarity
	- Hoist pending UAVs for flush out to pending compute state

Change 3314642 on 2017/02/21 by Rolando.Caloca

	DR - Some more renaming

Change 3315431 on 2017/02/21 by Ben.Salem

	Properly set default values for test time out and tick. We now will default to ticking once per second, and tracking the macro stats of GPU/Render/Game thread time.

	#tests Ran showdown demo several times

Change 3316710 on 2017/02/22 by Rolando.Caloca

	DR - hlslcc - Fix refract intrinsic

Change 3316718 on 2017/02/22 by Rolando.Caloca

	DR - hlslcc - Built libs to pick up change from 3316710 - refract fix

Change 3316820 on 2017/02/22 by Benjamin.Hyder

	updating Tm-TrigNodes map

Change 3317192 on 2017/02/22 by Benjamin.Hyder

	Updating QA-Decals map

Change 3317528 on 2017/02/22 by Benjamin.Hyder

	Updating QA-Decals map

Change 3317639 on 2017/02/22 by Benjamin.Hyder

	Updating Decal on Complex Mesh example in QA-Decals

Change 3317764 on 2017/02/22 by Benjamin.Hyder

	Final updates to QA-Decals

Change 3318319 on 2017/02/22 by Rolando.Caloca

	DR - minor reorg/rename

Change 3318379 on 2017/02/22 by Rolando.Caloca

	DR - more cleanup

Change 3321181 on 2017/02/24 by Rolando.Caloca

	DR - Fix GL bug

Change 3321247 on 2017/02/24 by Rolando.Caloca

	DR - Fix misc bugs

Change 3321898 on 2017/02/24 by Chris.Bunner

	Only issue clear TLV dispatch if required.

	#jira UERNDR-193

Change 3321904 on 2017/02/24 by Chris.Bunner

	Added comment for potential future optimization.

Change 3322013 on 2017/02/24 by Uriel.Doyon

	Fixed separate translucency being affected by Gaussian DOF
	#jira UE-40489

Change 3322517 on 2017/02/24 by Uriel.Doyon

	Fixed issue with InvestigateTexture command removing budget limit.
	Fixed StreamingBounds show flag not working. It nows shows the streaming bound for the currently selected textures.
	#jira UE-40485

Change 3323470 on 2017/02/27 by Chad.Garyet

	Removing DDC job from dev-rendering

Change 3323479 on 2017/02/27 by Chad.Garyet

	Removing RDU agent type

Change 3323519 on 2017/02/27 by Chad.Garyet

	removing NCL/LHR/SEA agent types to clean up space

Change 3323639 on 2017/02/27 by Benjamin.Hyder

	More updates to QA-Decals

Change 3324207 on 2017/02/27 by Uriel.Doyon

	Fixed typo ScaleTexturesByGlobalMyBias ->  ScaleTexturesByGlobalMipBias
	Removed bad merge in FStreamingTextureLevelContext::GetBuildDataIndexRef

Change 3324396 on 2017/02/27 by Uriel.Doyon

	Fixed an issue with the Streaming Bounds show flag interferring with the static level data initialization
	#jira UE-40485

Change 3325227 on 2017/02/28 by Chris.Bunner

	Fix-up AMD AGS libs.

Change 3325566 on 2017/02/28 by Uriel.Doyon

	Fixed possible out-of-bound access in GetUsedTexture() when passing ERHIFeatureLevel::Num

Change 3326009 on 2017/02/28 by Uriel.Doyon

	Better fix for 3325566, as the previous fix would ignore the material instance overrides.

Change 3327058 on 2017/03/01 by Benjamin.Hyder

	Preparing TM_Shadermodels map for automation

Change 3328222 on 2017/03/01 by Chris.Bunner

	Prevent decals from drawing in separate translucency pass. Whilst user control and material relevance were already removed, if the flag was checked before being disabled (by swapping to decal domain) this was still being read in the render loop, now explicitly ignores decals.

	#jira UE-42449, UE-42446

Change 3329848 on 2017/03/02 by Uriel.Doyon

	Added some extra logs to help track UE-42168

Change 3329977 on 2017/03/02 by Rolando.Caloca

	DR - Fix bad clear value

Change 3330008 on 2017/03/02 by Benjamin.Hyder

	More preparations for QA-Decals automation

Change 3330754 on 2017/03/02 by Daniel.Wright

	Prominent comment explaining reflection env async compute usage and why it's not overlapped with anything

Change 3331451 on 2017/03/03 by Marc.Olano

	Manually unroll simplex noise loop to avoid PSO bug on AMD/Metal

Change 3331839 on 2017/03/03 by Rolando.Caloca

	DR - hlslcc - add missing file to project

Change 3332247 on 2017/03/03 by Rolando.Caloca

	DR - Fix for integrated intel
	PR #3305
	#jira UE-42393

Change 3332259 on 2017/03/03 by Rolando.Caloca

	DR - Fix bad index into pixel formats
	PR #3237
	#jira UE-41855

Change 3332305 on 2017/03/03 by Rolando.Caloca

	DR - OpenGL SRV for index buffers
	PR #3271
	#jira UE-32618

Change 3332313 on 2017/03/03 by Rolando.Caloca

	DR - Fix for integrated intel (properly)
	PR #3305
	#jira UE-42393

Change 3332317 on 2017/03/03 by Rolando.Caloca

	DR - OpenGL SRV for index buffers (properly)
	PR #3271
	#jira UE-32618

Change 3332368 on 2017/03/03 by Rolando.Caloca

	DR - Minor fixes so -sm4 and -sm5 can be used on windows with OpenGL/Vulkan

Change 3333690 on 2017/03/06 by Daniel.Wright

	[Copy] Changing movable skylight properties no longer affects static draw lists

Change 3333693 on 2017/03/06 by Daniel.Wright

	[Copy] Added 'r.AOListMeshDistanceFields' which dumps out mesh distance fields sorted by memory size, useful for directing content optimizations

Change 3333705 on 2017/03/06 by Daniel.Wright

	[Copy] Mesh distance fields are now 8 bit fixed point by default, but can be changed back to 16 bit floating piont with a project setting.
	* 8 bit uses half memory but introduces error for thin surfaces or large meshes.

Change 3333721 on 2017/03/06 by David.Hill

	DecalProxy:
	Copy float FadeScreenSize to FDeferredDecalProxy for use in the render thread.  This avoids  pointer chasing to the UDecalComponent (game thread component).

Change 3333772 on 2017/03/06 by Daniel.Wright

	[Copy] Scene motion blur data is only updated for the main renderer frames.  Fixes scene captures and planar reflections breaking object motion blur.

Change 3333790 on 2017/03/06 by Daniel.Wright

	[Copy] Mesh distance field generation uses Embree, for a 2.5x speedup
	* Can switch back to old kDOP generation with 'r.DistanceFieldBuild.UseEmbree 0' for debugging

Change 3333822 on 2017/03/06 by Daniel.Wright

	[Copy] Moved mesh distance field code into MeshDistanceFieldUtilities.cpp
	* Moved FMeshUtilities to its own header so the 8k line MeshUtilites.cpp file can be further split up

Change 3333827 on 2017/03/06 by Daniel.Wright

	[Copy] Range compress 8bit distance fields - gets one extra bit of precision on average

Change 3333828 on 2017/03/06 by Daniel.Wright

	[Copy] Raised High ShadowQuality to 2048 as 1024 for CSM is way too low

Change 3333831 on 2017/03/06 by Daniel.Wright

	Non-editor compile fix

Change 3333836 on 2017/03/06 by Daniel.Wright

	[Copy] Workaround for gobal distance field volume textures being bloated by 4x on PS4 due to the recommended tiling modes.  They now use a 2d tiling mode which avoids the bloat, saving 96Mb.

Change 3333843 on 2017/03/06 by Daniel.Wright

	[Copy] Added OcclusionExponent to skylight component
	* Useful for brightening up indoors without losing contact shadows as MinOcclusion does

Change 3333845 on 2017/03/06 by Daniel.Wright

	[Copy] Capsule shadow BP functions

Change 3333850 on 2017/03/06 by Daniel.Wright

	[Copy] Added OcclusionCombineMode to skylight component

Change 3333854 on 2017/03/06 by Daniel.Wright

	[Copy] Gnm properly registers clears as GPU work so those events show up in profilegpu

Change 3333857 on 2017/03/06 by Daniel.Wright

	[Copy] Clear light attenuation for local lights with a quad covering their screen extents
	* Clearing the entire light attenuation buffer costs .1ms on PS4.  This optimization lowers the minimum cost of a shadow casting light from .15ms -> .03ms.
	* Shadowed lights in Fortnite with 25 lights 3.7ms -> 1.42ms on PS4

Change 3333860 on 2017/03/06 by Daniel.Wright

	[Copy] Flush deferred deletes when reallocating distance field atlas to reduce peak memory

Change 3333861 on 2017/03/06 by Daniel.Wright

	[Copy] Disable all distance field features on Intel cards as HD 4000 hangs in the RHICreateTexture3D call to allocate the large atlas

Change 3333869 on 2017/03/06 by Daniel.Wright

	[Copy] Volumetric Fog using a volume texture mapped to the camera frustum
	* Volumetric fog can be enabled on an Exponential Height Fog component with additional controls
	* Lights have a VolumetricScatteringIntensity
	* New cvars r.VolumetricFog, r.VolumetricFog.GridPixelSize, r.VolumetricFog.GridSizeZ, r.VolumetricFog.DepthDistributionScale
	* Lighting features supported:
	   * Directional light with CSM and a light function
	   * Point / spot lights without shadows / light functions / IES profiles
	   * Skylight with occlusion from distance fields
	* Analytical height fog covers the view range past where the volumetric fog ends
	* Temporal reprojection is used on the volumetric fog scattering and extinction to achieve stability
	* Translucency integrates properly into volumetric fog
	* Height fog StartDistance is not supported by volumetric fog and should be set to 0.

Change 3333894 on 2017/03/06 by Daniel.Wright

	[Copy] Initialize GDummyVolumetricFogGlobalDataUniformBuffer outside of parallel rendering

Change 3333902 on 2017/03/06 by Daniel.Wright

	[Copy] Better handling of volumetric fog enabled with distance of 0

Change 3333903 on 2017/03/06 by Daniel.Wright

	[Copy] Fixed volumetric fog trying to render light functions for a point light

Change 3333908 on 2017/03/06 by Daniel.Wright

	[Copy] Volumetric materials
	* Added new material domain Volume, which can output Scattering, Absorption and Emissive.  All properties are in world space densities.
	* Particle systems using the Volume domain are voxelized based on their ParticlePosition and ParticleRadius
	* Volumetric fog integration is now energy conservative - scattering is integrated against transmission over the depth of each slice.
	* Added bOverrideLightColorsWithFogInscatteringColors to exponential height fog, which can be enabled to make Volumetric Fog match Height fog more closely

Change 3334134 on 2017/03/06 by Daniel.Wright

	[Copy from Michael Trepka] Added Embree 2.14.0 and changed MeshUtilities to use it as this solves issues with Embree leaking TLS keys. UnrealLightmass is still using older Embree 2.7.0 until we can find time to properly test it with the new version. Also, invalidated distance field DDC to force it to rebuild with updated Embree.

Change 3334420 on 2017/03/06 by Daniel.Wright

	Fixed RTDF shadows

Change 3335467 on 2017/03/07 by Benjamin.Hyder

	Initial submission of QA-Decals map to EngineTest

Change 3335556 on 2017/03/07 by Daniel.Wright

	Changed mesh distance field default format back to R16f

Change 3338020 on 2017/03/08 by Daniel.Wright

	Disable volumetric fog in vertex shaders for feature levels which don't support it

Change 3339394 on 2017/03/09 by Chris.Bunner

	Correctly handle material texture translation error edge case.

	#jira UE-42579, UE-42670

Change 3339992 on 2017/03/09 by Daniel.Wright

	Only compile volumetric fog shaders on supporting platforms

Change 3341858 on 2017/03/10 by Arne.Schober

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

	#RB Rolando.Caloca, Marcus.Wassmer, Daniel.Wright, Nick.Penwarden, Mark.Satterthwaite

Change 3342004 on 2017/03/10 by Arne.Schober

	Copying //UE4/Dev-Rendering-PSO to Dev-Rendering (//UE4/Dev-Rendering)
	Fix unity build

	#RB Marcus.Wassmer

Change 3343307 on 2017/03/13 by Marcus.Wassmer

	Update showflags when we are guaranteed it will happen in all possible ways to spawn the scenecapture. (drag into editor, PIE, -game, etc)

Change 3343732 on 2017/03/13 by Rolando.Caloca

	DR - Vulkan compute pipeline & refactor

Change 3344846 on 2017/03/14 by Rolando.Caloca

	DR - Android compile fixes

Change 3344883 on 2017/03/14 by Rolando.Caloca

	DR - Add missing stencil load/store to PSO initializer

Change 3344985 on 2017/03/14 by Rolando.Caloca

	DR - Made load/store actions uint8

Change 3345141 on 2017/03/14 by Rolando.Caloca

	DR - vk - Rework render pass hash

Change 3345304 on 2017/03/14 by Benjamin.Hyder

	Updating TM-Distancefields map to include TemplateFloor mesh

Change 3345387 on 2017/03/14 by Rolando.Caloca

	DR - Add _RenderThread calls for Create*Shader so RHIs can choose not to stall when creating

Change 3345388 on 2017/03/14 by Rolando.Caloca

	DR - Do not stall when creating shaders on Vulkan

Change 3345722 on 2017/03/14 by Chris.Bunner

	PR #3357: MinimalAPI add to many material expressions (Contributed by DeanoC)

	#jira UE-42752

Change 3345723 on 2017/03/14 by Chris.Bunner

	Reduce log verbosity causing spamming during  landscape editing.

	#jira UE-42714

Change 3345725 on 2017/03/14 by Chris.Bunner

	[Duplicate 3341860] Fixed material translation error with multiple connections from custom interpolator nodes.

Change 3345726 on 2017/03/14 by Chris.Bunner

	Typo fixes.

Change 3345732 on 2017/03/14 by Rolando.Caloca

	DR - Decouple vertex declaration off BSS

Change 3345746 on 2017/03/14 by Chris.Bunner

	Added sign() intrinsic material graph node and delisted material function workaround.

Change 3346042 on 2017/03/14 by Chris.Bunner

	Implement missing size query interface for FRenderTargetResources.

	#jira UE-41672

Change 3346387 on 2017/03/14 by Daniel.Wright

	[Copy] Added VolumetricScatteringIntensity to particle lights

Change 3346389 on 2017/03/14 by Daniel.Wright

	[Copy] Clamp Volumetric material attributes to fp16 range to avoid INFs
	Disable volumetric fog when the fog show flag is disabled

Change 3346392 on 2017/03/14 by Daniel.Wright

	[Copy] Fixed skylight being much too bright on volumetric fog

Change 3346406 on 2017/03/14 by Daniel.Wright

	[Copy] CSM resolution is now controlled by r.Shadow.MaxCSMResolution.
	* Changed HighPC to use 1024 MaxShadowResolution (max for all non-CSM shadows), saves 60Mb in Fortnite

Change 3346412 on 2017/03/14 by Daniel.Wright

	[Copy] TexCreate_ReduceMemoryWithTilingMode for translucency lighting 3d textures, saves 13Mb

Change 3346414 on 2017/03/14 by Daniel.Wright

	[Copy] TexCreate_ReduceMemoryWithTilingMode for volumetric fog 3d textures, saves 13Mb

Change 3346415 on 2017/03/14 by Daniel.Wright

	[Copy] Missing file from cl 3338451

Change 3346421 on 2017/03/14 by Daniel.Wright

	[Copy] Fixed NaNs in volumetric fog due to rendering when height fog is disabled
	* Volumetric fog converts NaNs to black now so they don't spread

Change 3346422 on 2017/03/14 by Daniel.Wright

	[Copy] Fixed NaN in volumetric fog with low density values

Change 3346423 on 2017/03/14 by Daniel.Wright

	[Copy] Changed default VolumetricFogScatteringDistribution to .2

Change 3346430 on 2017/03/14 by Daniel.Wright

	[Copy] New translucent material option to compute fog per pixel instead of the default per vertex

Change 3346432 on 2017/03/14 by Daniel.Wright

	[Copy] Moved Volumetric Fog parameters to view uniform buffer for translucency pass
	Fixed lifetimes of temporary Volumetric Fog render targets

Change 3346526 on 2017/03/14 by Daniel.Wright

	[Copy] Volumetric Fog supports point and spot light shadows
	* These lights are injected separately so that per-light resources can be bound (shadow depth map, static shadow depth map)
	* Forward lighting of local lights can be forced with 'r.VolumetricFog.InjectShadowedLightsSeparately 0'
	* Shadowed lights come at a cost: 2.9ms for volumetric fog on 970 -> 4.2ms with shadowing

Change 3347053 on 2017/03/15 by Rolando.Caloca

	DR - android compile fix

Change 3347384 on 2017/03/15 by Rolando.Caloca

	DR - Fix merge issue

Change 3347643 on 2017/03/15 by Marcus.Wassmer

	Fix some bugs with the 'disable stationary skylight ffor the project' feature.
	Fixes lighting in Persona on Paragon.

Change 3347979 on 2017/03/15 by Rolando.Caloca

	DR - Allow to automatically apply cached rendertargets to PSO initializer

Change 3348024 on 2017/03/15 by Rolando.Caloca

	DR - Remove NullPS on Vulkan to avoid deadlock

Change 3348303 on 2017/03/15 by Rolando.Caloca

	DR - Fix for debugging SCW with material SRT

Change 3348357 on 2017/03/15 by Marcus.Wassmer

	Fix stencildither and a stencilref bug that was probably breaking decals sometimes.

Change 3348549 on 2017/03/15 by Marcus.Wassmer

	Hopefully fix static analysis for potential nullptr access.

Change 3348614 on 2017/03/15 by Marcus.Wassmer

	Duplicate some switch changes to fix crash on launch.

Change 3349369 on 2017/03/16 by Gil.Gribb

	Fixed botched merge

Change 3349947 on 2017/03/16 by Rolando.Caloca

	DR - Fix for mismatched primitive type

Change 3349956 on 2017/03/16 by Benjamin.Hyder

	initial updates to TM-DistanceFields map

Change 3350151 on 2017/03/16 by Rolando.Caloca

	DR - Fix UT compile issue

Change 3350155 on 2017/03/16 by Rolando.Caloca

	DR - Catch mismatched primitive type on PSOs on D3D11

Change 3350192 on 2017/03/16 by Daniel.Wright

	Fix for point light shadow depths rendering with wrong cull mode due to PSO refactor

Change 3350736 on 2017/03/16 by Daniel.Wright

	Fixed formatting from merge

Change 3350881 on 2017/03/16 by Rolando.Caloca

	DR - Fix texture arrays as UAVs on Metal

Change 3350927 on 2017/03/16 by Rolando.Caloca

	DR - Fix warning

Change 3350935 on 2017/03/16 by Daniel.Wright

	Fix for materials with non-Surface domains being skipped in mesh passes

Change 3351583 on 2017/03/17 by Marcus.Wassmer

	Fix clang platforms

Change 3351917 on 2017/03/17 by Marcus.Wassmer

	Fix linux compile

Change 3351973 on 2017/03/17 by Marcus.Wassmer

	Fix mismatched rendertargetformat

Change 3352038 on 2017/03/17 by Daniel.Wright

	Enabled GetAndOrCreateGraphicsPipelineState ensures in Development for testing

Change 3352110 on 2017/03/17 by Marcus.Wassmer

	Fix missing RT PSO apply

Change 3352695 on 2017/03/17 by Arne.Schober

	DR - Remove PSO Rendertarget check in DX12 Resolve with Shader.
	#RB Rolando.Caloca

Change 3352960 on 2017/03/17 by Arne.Schober

	DR - Fix some things that slipped trough the PSO merge
	#RB none

Change 3353150 on 2017/03/18 by Rolando.Caloca

	DR - compile fix

Change 3353205 on 2017/03/18 by Arne.Schober

	DR - Fix Incremental Compile and PS4 runtime error where CMASK is not allowed for ThickTile Mode

	#RB none

Change 3353207 on 2017/03/18 by Arne.Schober

	DR - Fix Confusion

	#RB none

Change 3355183 on 2017/03/20 by Nick.Bullard

	Fixed up Content orginzation for Decals automation tests in EngineTest

Change 3355627 on 2017/03/20 by Arne.Schober

	DR - [UE-43094] - removed ensure in comporiton graph as control of the clear color cannot be gurantueed.

Change 3356342 on 2017/03/21 by Marcus.Wassmer

	Fix clang errors

Change 3356591 on 2017/03/21 by Arne.Schober

	DR - Fix ensure message
	#RB none

Change 3356873 on 2017/03/21 by Arne.Schober

	DR - Fix comparission of undefined values in RendertargetApply Check

Change 3357261 on 2017/03/21 by Marcus.Wassmer

	Fix LinuxEditor compile

Change 3357294 on 2017/03/21 by Marcus.Wassmer

	Add missing SSE functions

Change 3357351 on 2017/03/21 by Frank.Fella

	Fix win32 and linux compiler errors

Change 3357370 on 2017/03/21 by Arne.Schober

	DR - disable ensure in test builds

	#RB Marcus.Wassmer

[CL 3357449 by Marcus Wassmer in Main branch]
2017-03-21 17:46:52 -04:00
Marcus Wassmer
05c8e44220 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3284600)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3276199 on 2017/01/27 by Rolando.Caloca

	DR - Typo fixes

Change 3277152 on 2017/01/30 by Chris.Bunner

	Fixed typos in various engine material functions (contributed by Luos and KVogler).

Change 3277700 on 2017/01/30 by Olaf.Piesche

	#jira UE-38060 - inconsistent ribbon trails
	When advancing source particle index, make sure it's not already in use by another trail

Change 3278069 on 2017/01/30 by Daniel.Wright

	[Copy] Added LODDistanceFactor to SceneCaptureComponent
	* Can be used to make scene captures and planar reflections much cheaper to render if the scene has good LODs setup

Change 3278094 on 2017/01/30 by Daniel.Wright

	[Copy] Scene color resolves are restricted to the views.  Fixes inefficiency with adaptive pixel density where the views don't match the view family size.

Change 3278140 on 2017/01/30 by Daniel.Wright

	[Copy] When using a full prepass, the base pass no longer writes depth.
	* Saves .3ms of SceneDepthResolve on 970 GTX with MSAA.  Also allows masked materials to get EarlyZ in the base pass.
	* Fixed primitives with bUseAsOccluder=false being excluded from a full depth pass in static draw lists
	* Added 'r.BasePassWriteDepthEvenWithFullPrepass' for verifying that the base pass depths match the prepass depths

Change 3278166 on 2017/01/30 by Daniel.Wright

	[Copy] Quad overdraw viewmode works in the forward renderer

Change 3279100 on 2017/01/31 by Chris.Bunner

	CVar null checks.
	#jira UE-41096

Change 3279409 on 2017/01/31 by Rolando.Caloca

	DR - vk - Fix for validation

Change 3279624 on 2017/01/31 by Rolando.Caloca

	DR - Move defines out of cs into h
	#fyi Arne.Schober,Ben.Woodhouse

Change 3279895 on 2017/01/31 by Ben.Salem

	Modified PerformanceMonitor to take all of its config from defaultgame.ini
	#tests Ran several tests successfully.

Change 3279906 on 2017/01/31 by Ben.Salem

	Had a weird spurious declare in the config parsing function. Fixed it.
	#tests compiled.

Change 3280451 on 2017/01/31 by Arne.Schober

	Fix Dx12 in content examples where M_Light_Bulb_Glass taking a lot of resources (9 CBVs)

Change 3281592 on 2017/02/01 by Mark.Satterthwaite

	Update Metal SRV support to include structured-buffers which are now used by DistanceField rendering systems.

Change 3281850 on 2017/02/01 by Gil.Gribb

	Merging //UE4/Dev-Main to Dev-Rendering@3281582 (//UE4/Dev-Rendering)

Change 3282353 on 2017/02/01 by Benjamin.Hyder

	built lighting for QA-LightsStatic

Change 3282549 on 2017/02/01 by Arne.Schober

	Fix DX12 crash on SkinMaterial

Change 3282637 on 2017/02/02 by Marcus.Wassmer

	Probably fix non-unity build

Change 3283125 on 2017/02/02 by Marcus.Wassmer

	Fix linux case sensitivity.

[CL 3284689 by Marcus Wassmer in Main branch]
2017-02-02 21:54:05 -05:00
Rolando Caloca
f92fc1f2ad Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3274304)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3250856 on 2017/01/09 by Daniel.Wright

	Only showing instruction count for 'Base pass shader' now

Change 3250943 on 2017/01/09 by Rolando.Caloca

	DR - Async Compute PSO creation

Change 3251036 on 2017/01/09 by Rolando.Caloca

	DR - Add r.AsyncPipelineCompile
	- Dispatch on any thread
	- Wait for completion event

Change 3251058 on 2017/01/09 by Ben.Woodhouse

	Fix for PSO creation D3D error with NumRenderTargets. Add code to compute the correct number of valid rendertargets to prevent an issue during PSO creation when NumRenderTargets is >0, but none of the formats are valid (all formats are DXGI_UNKNOWN)
	#jira UE-40332

Change 3251141 on 2017/01/09 by Ben.Woodhouse

	Duplicated from Fortnite CL 3243458:
	D3D12 memory optimization -  The d3d12 buddy suballocator  is very wasteful for allocations above 4KB, but the vast majority of allocations are smaller . In the default buffer allocator this was causing 149MB of waste in 340MB of allocations. Moving the max allocation size threshold down to 4KB from 512KB saved 100MB of memory wastage memory.

	On PC, buffers are 64KB aligned, so we need the threshold to be higher to avoid additional wastage.

	Add PIX memory tracking instrumentation for buddy allocators so we can track the memory properly in PIX

Change 3251142 on 2017/01/09 by Ben.Woodhouse

	Duplicated from Fortnite 3243496
	memory optimisation: use NULL-terminated ansi strings instead of unicode FStrings for symbols, saving 118MB. Previously the strings were loaded from disk as ansi and then converted to FStrings (slowly), before finally being converted them back to ansi strings before being used. In addition to reducing memory overhead, this change reduces complexity and improves startup time.

Change 3252323 on 2017/01/10 by Rolando.Caloca

	DR - Gfx async PSO creation prep

Change 3252474 on 2017/01/10 by Daniel.Wright

	Added 'Compile Unreal Lightmass' to error message

Change 3252589 on 2017/01/10 by Daniel.Wright

	Back out bulk data for distance fields from cl 3241990 which causes distance fields to be corrupt in Fortnite

Change 3252790 on 2017/01/10 by Daniel.Wright

	Added InscatteringColorCubemapAngle to exponential height fog

Change 3252843 on 2017/01/10 by Uriel.Doyon

	Propper fix for UE-40211, where texture streaming bound defrag and async tasks could interact in coherent ways.
	The bound defrag is now done outside of the async work logic.

Change 3252866 on 2017/01/10 by Mark.Satterthwaite

	Fix Metal shader pipeline hash collisions caused by deferring MTLFunction construction until PrepareToDraw so that we may use Function-Constants to specialise the shader source without generating additional permutations. This is required to generate proper tessellation shaders which are specialised against the index-buffer usage & type (none, uint16, uint32). While we're here amend the hash functions to make better use of the existing hash functions to improve the distribution and hopefully reduce the possibility of collisions in future.
	#jira UE-40357

Change 3254511 on 2017/01/11 by Rolando.Caloca

	DR - PSO stats

Change 3255958 on 2017/01/12 by Mark.Satterthwaite

	Reimplement RQT_AbsoluteTime for Metal - pretty sure I did this before, but somehow it got lost. When a RQT_AbsoluteTime is inserted into the command-stream, insert a command-buffer completion handler to record the time of completion & submit the command-buffer immediately. This breaks command-buffers so is noticeably slower and if inserted in a pass that can't be restarted will fail but is currently the only option available. This is sufficient to support the GPUBenchmark used by Scalability. To make this more efficient I've refactored the FMetalCommandBufferFence implementation so that we use a single shared-ptr object containing the command-buffer and a dispatch semaphore, rather than allocating one for each query. The semaphore allows for timed-waits where previously we'd block until completion, unlike the other APIs that report failure after a fixed interval (2s for RQT_AbsoluteTime, otherwise 0.5s). Sadly not all drivers support this abuse of the Metal API, so replace the GL-based workaround for not having time queries with one that just guesses based on RHI device details. Radars will be filed.
	#jira UE-40554

Change 3256329 on 2017/01/12 by Olaf.Piesche

	#jira UE-38615

	Assert shouldn't be necessary; in fact, it causes a crash when exporting emitters, since in that case we're changing the template at runtime.

Change 3256371 on 2017/01/12 by Uriel.Doyon

	Reenabled texture streaming bound defrag as the fix is in CL 3252843

Change 3257032 on 2017/01/13 by Daniel.Wright

	Added fastClamp to fastmath.usf

Change 3257111 on 2017/01/13 by Daniel.Wright

	Disabled bAffectDistanceFieldLighting on DefaultPawn, fixes VisualizeMeshDistanceFields in game

Change 3257112 on 2017/01/13 by Daniel.Wright

	DFAO optimizations
	* Changed the culling algorithm to produce a list of intersecting screen tiles for each object, instead of the other way around.  Each tile / object intersection gets its own cone tracing thread group so wavefronts are much smaller and scheduled better.  3.63ms -> 3.48ms (.15ms)
	* Replace slow instructions in inner loop with fast approximations (exp2 -> sqr + 1, rcpFast, lengthFast) 3.25ms -> 3.09ms (.16ms)
	* Moved transform from world to local space out of the inner loop (sample position constructed from local space position + direction) 3.09ms -> 3.04ms
	* Compute shader for ClearUAV 3.04ms -> 2.62ms (.42ms)

Change 3257113 on 2017/01/13 by Daniel.Wright

	Better distance field memory stats

Change 3257326 on 2017/01/13 by Uriel.Doyon

	Workaround to support cases where several textures have the same lighting GUID.

Change 3257448 on 2017/01/13 by Daniel.Wright

	Removed legacy features Distance Field Specular Occlusion, Distance Field Surface Cache AO, PreCullTriangles

Change 3257616 on 2017/01/13 by Daniel.Wright

	Distance field mesh visualization now uses a cone containing the entire tile to cull objects with, making the results stable

Change 3257657 on 2017/01/13 by Daniel.Wright

	Mesh distance fields are stored zlib compressed in memory until needed for uploading to GPU
	* 81Mb of backing memory -> 32Mb in GPUPerfTest, atlas upload time 29ms -> 893ms

Change 3258063 on 2017/01/14 by Rolando.Caloca

	DR - vk - Refactor descriptor set reuse in prep for more changes

Change 3258715 on 2017/01/16 by Daniel.Wright

	Added VisualizeGlobalDistanceField show flag

Change 3258827 on 2017/01/16 by Daniel.Wright

	Global distance field update regions are clipped against others to reduce redundant updates.

Change 3258959 on 2017/01/16 by Benjamin.Hyder

	Updating Planar Reflection example material in TM-Shadermodels

Change 3259270 on 2017/01/16 by Daniel.Wright

	[Copy] 'r.MSAACount 1' now produces no MSAA or TAA.  'r.MSAACount 0' can be used to toggle TAA on for comparisons.

Change 3259652 on 2017/01/16 by Uriel.Doyon

	Better support for static primitive becoming dynamic.

Change 3260107 on 2017/01/17 by Ben.Woodhouse

	Fix FMonitoredProcess to prevent infinite loop in -nothreading mode
	#jira UE-40717

Change 3260594 on 2017/01/17 by Daniel.Wright

	Added a new global distance field (4x 128^3 clipmaps) which caches mostly static primitives (Mobility set to Static or Stationary)
	* The full global distance field inherits from the mostly static cache, so when a Movable primitive is modified, only other movable primitives in the vicinity need to be re-composited into the global distance field
	* Global distance field update cost with one large rotating object went from 2.5ms -> .2ms on 970GTX and 4.6ms -> .3ms.  Worst case full volume update is mostly the same.
	* Adds 12Mb for the new volume textures

Change 3260956 on 2017/01/17 by Daniel.Wright

	Structured buffers for DF object data
	* Full global distance field clipmap composite 3.0ms -> 2.0ms due to scalarized loads

Change 3261296 on 2017/01/17 by Daniel.Wright

	Exposed MaxObjectsPerTile with 'r.AOMaxObjectsPerCullTile' and lowered the default from 512 to 256, saves 17Mb of object tile culling data structures
	Removed unnecessary UAV transitions preventing object and global cone tracing from overlapping, saves ~.1ms

Change 3262036 on 2017/01/18 by Ben.Salem

	V0 of Perf monitor plugin for easily consumable stat csvs. With plugin enabled, enter PerformanceMonitor help into the console to get usage details.

Change 3262056 on 2017/01/18 by Chris.Bunner

	Remove inverse tonemapping when rendering HDR output.
	#jira UE-40728

Change 3262661 on 2017/01/18 by Rolando.Caloca

	DR - Add missing SetStencilRef() and SetBlendFactor() on most RHIs
	- Fix hash for PSOs

Change 3263674 on 2017/01/19 by Chris.Bunner

	PR #3144: Improved error messages (Contributed by DarkSlot)
	#jira UE-40835

Change 3264150 on 2017/01/19 by Ben.Woodhouse

	Add support for single threaded in FMonitoredProcess. Deprecated IsRunning() in favour of a new Update() method because polling IsRunning is not compatible with -nothreading mode
	#jira UE-40841

Change 3264153 on 2017/01/19 by Ben.Woodhouse

	Integrate latest changes from MS-DX12 CLs 3231395-3262526

	- Added WinPixEventRuntime.tps
	- Includes PIX support, various optimizations (saved 1.3ms in testbed scene)

	CL 3262343:
	Fix depth testing on translucency not working correctly after cl 3231395. This change reapplies the D3D12RHI changes from CL 3231395 because those changes were lost when integrating from //Dev-Rendering/ but also includes the depth fixes:
	 - Fix depth state not being in DEPTH_READ for use as depth read. The issue was HasDepthBits and HasStencilBits wern't intended for SRV formats and always returned false in the SRV case.

	CL 3231395:
	  Update D3D12 RHI:
	 - Fix deferred MSAA path in RHI
	 - Add Pix3.h support
	 - Cleanup SetName usage and remove it from shipping builds.
	 - Fix fence reuse bug. We were signaling MAX UINT (-1) and then waiting for 0, which was always signaled. This change also removes the fence value reset code, there is no need to reset a fence to a previous value.
	 - Use FPlatformAtomics::InterlockedIncrement instead of InterlockedIncrement64
	 - Use InterlockedIncrement() instead of _InterlockedIncrement() and use the FPlatformAtomics:: version.
	 - Fix possible readback heap being evicted while in use. GetQueryData happens on the render thread and isn't tied to a command list so we should always have readback heaps resident.

Change 3264251 on 2017/01/19 by Mark.Satterthwaite

	Modify some asserts in MetalRHI - technically using a store-action of ENoAction on Stencil buffers should make it invalid to restart a render-pass but on Mac it will work because ENoAction won't invalidate anything written. In future we need to use deferred store-actions in Metal so that we can "restart" passes while enforcing correct Load/Store actions.
	#jira UE-40803

Change 3264642 on 2017/01/19 by Daniel.Wright

	Raised GMaxShadowDepthBufferSizeX to max texture resolution on most platforms, was previously 4096.

Change 3265330 on 2017/01/20 by Ben.Salem

	Stop performance plugin from building in Win32.
	#tests recompiled and preflighted

Change 3265678 on 2017/01/20 by Marcus.Wassmer

	Fix bad declaration.
	#3055

Change 3266656 on 2017/01/20 by Mark.Satterthwaite

	Changes to the FShaderCache to restore it and extend it to optionally report on shader de-duplication when generating a binary shader cache (Console Variable: r.BinaryShaderCacheLogging).

	Duplicate & amend CL #3266053 from Trepka:
	Fixed issues with shader cache not working properly with Mac Metal (but it still requires -norhithread to work at all). Enabled the shader cache by default if RHI thread is disabled.

	Amend & integrate RCO's CL #3197085.

Change 3267741 on 2017/01/23 by Rolando.Caloca

	DR - Detect duplicated shader and pipeline types

Change 3268600 on 2017/01/23 by Uriel.Doyon

	Added missing r.Streaming.MaxEffectiveScreenSize config to base texture scability settings.
	Integrated CL 3227368 from Orion stream
	Enabled r.Streaming.UsePerTextureBias by default as this has been tested in Orion for several months.
	Fixed issue with the  InvestigateTexture command which could return invalid reference depending on the timing,
	Added th MaxEffectiveScreenSize settings in the investigate texture command.

Change 3269512 on 2017/01/24 by Richard.Wallis

	Fix for shader binary cache uncompress data size during internal shader log.

Change 3271237 on 2017/01/25 by Ben.Woodhouse

	D3D12 updateTexture2D crash fix

	#jira UE-41059

Change 3271564 on 2017/01/25 by Olaf.Piesche

	#jira UE-40980
	#udn 325525

	Fix uniform buffers for mesh particles; these should really be on the mesh collector, so allocating them as a one frame resource is safe

Change 3271594 on 2017/01/25 by Ben.Woodhouse

	ESRAM support stage 1:
	Implemented noncontiguous ESRAM page allocator replacing XgMemoryLayout API. The allocator allocates non-contiguous ranges of pages and maps them onto a contiguous virtual address range.
	Unlike the previous implementation, this allocator frees pages for reuse when resources are destroyed
	Note: issues with deferred deallocation may prevent reuse in many cases - that will be addressed in the next stage
	Support for the old allocator is still available (for now) via the define NEW_ESRAM_ALLOCATOR
	#fyi rolando.caloca

Change 3272616 on 2017/01/25 by Rolando.Caloca

	DR - Update shader version

Change 3273138 on 2017/01/26 by Ben.Woodhouse

	Fix merge issue with MonitoredProcess.cpp (this arose from an integration made as an edit in dev-rendering, which confused perforce when the change was subsequently integrated from main)

[CL 3274498 by Rolando Caloca in Main branch]
2017-01-26 19:20:49 -05:00
Matthew Griffin
b159571760 Copying //UE4/Release-Staging-4.15 to //UE4/Dev-Main (Source: //UE4/Release-4.15 @ 3267632)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3267632 on 2017/01/23 by Jurre.deBaare

	Marker syncs not working correctly in Blend Spaces
	#fix Ensure that SampleIndexWithMarkers is serialized
	#JIRA UE-40975

Change 3266915 on 2017/01/20 by Arciel.Rekman

	Fix Persona crash on Linux (UE-38790).

	- Static template variable got instantiated into multiple DSOs; probably exacerbated by --as-needed since this does not happen without it.

	#jira UE-38790

Change 3266785 on 2017/01/20 by Ian.Fox

	#OnlineSubsystemLive - Make usage of CachedUsers thread safe.  Duplicates CL 3245390
	#jira UE-40649

Change 3266762 on 2017/01/20 by Rolando.Caloca

	UE4.15 - Fix for reallocating scene color
	#jira UE-40633

Change 3266642 on 2017/01/20 by Lina.Halper

	Downgraded Warning to Info

	#jira: UE-40643

Change 3266532 on 2017/01/20 by Jeff.Campeau

	Fix multiplatform Windows includes defeating the safety check in MinWindows.h

	#jira UE-40778
	#rn Fixed a compile warning on Xbox One when XboxOneMinApi.h was included before MinWindows.h.

Change 3266523 on 2017/01/20 by Marc.Audy

	Fix case where child actor could avoid getting begin play call
	#jira UE-40960

Change 3266474 on 2017/01/20 by Peter.Sauerbrei

	fix for using an API not yet available in iOS 8
	#jira UE-40698

Change 3266339 on 2017/01/20 by Frank.Fella

	Sequencer - Fix UI issues with multi-track section rows.
	+ Don't show an empty sub-track when there are no sections.
	+ Expand parent tracks by default.

	#Jira UE-40487

Change 3266283 on 2017/01/20 by Jeff.Fisher

	UE-40683 GearVR projects rendering black
	-Fix from Remi Palandri
	#jira UE-40683
	#review-3265824 @nick.whiting @ryan.vance

Change 3266264 on 2017/01/20 by Lina.Halper

	Downgraded warning and changed log message

	#jira: UE-40643

Change 3266239 on 2017/01/20 by Peter.Sauerbrei

	fix for virtual joystick not showing up on some devices
	#jira UE-40472

Change 3266084 on 2017/01/20 by Mitchell.Wilson

	Resaving level to have correct starting camera position. Saved in wrong position after fixing a bug.
	#jira UE-40887

Change 3266077 on 2017/01/20 by Matt.Kuhlenschmidt

	Fixed "Wait for Movies to Complete" flag being reversed

	#jira UE-40943

Change 3266076 on 2017/01/20 by Mitchell.Wilson

	Updating occulsion bounds method on P_spark_burst_2 so it is not occluded when spawned inside of the coin mesh in BP_Overview example.
	Updating some post process examples due to changes made with Post Process settings. Film and Scene Color are temporary fixes and are intended to be fully updated in 4.16
	#jira UE-40830 UE-40887

Change 3266034 on 2017/01/20 by Benn.Gallagher

	Fixed crash when reimporting APEX destructibles from apb/x files caused by not allowing the renderer to flush destroy resource commands before emptying an array.
	#jira UE-40911

Change 3266027 on 2017/01/20 by Ian.Fox

	#OnlineSubsystemLive - Fix CreateSession and FindSession each permanently failing after first failure.  Duplicates CL 3262175
	#jira UE-39110

Change 3265906 on 2017/01/20 by Marcus.Wassmer

	Fix GPU particle AFR flickering and optimize injection transfers.
	Duplicate CL's 3260302, 3261252, 3265662, 3265678
	#jira UE-40915

Change 3265873 on 2017/01/20 by Mark.Satterthwaite

	Duplicate CL #3262535:
	Make sure to set rasterizer state when rendering with a material in FSlateRHIRenderingPolicy::DrawElements
	#jira UE-40842

Change 3265857 on 2017/01/20 by Jamie.Dale

	Fixed font pathing issue that could happen in an out-of-source packaged build

	#jira UE-40855

Change 3265675 on 2017/01/20 by Matt.Kuhlenschmidt

	Move Dirt Mask Intensity to the correct post process category

	#jira UE-40851

Change 3265674 on 2017/01/20 by Rolando.Caloca

	UE4.15 - Revert
	#jira UE-40633

Change 3265647 on 2017/01/20 by Mitchell.Wilson

	Updating spawn location of the player pawn after unpossessing character in example 1.10.
	#jira UE-40870

Change 3265612 on 2017/01/20 by Alexis.Matte

	Prevent name clash warning when doing automation test
	#jira UE-40788

Change 3265553 on 2017/01/20 by Matthew.Griffin

	Fixed Shadow variable warning

Change 3265366 on 2017/01/20 by Dmitriy.Dyomin

	Fixed: Vulkan crashes on Adreno Galaxy S7
	#jira UE-40840

Change 3265294 on 2017/01/19 by Dmitriy.Dyomin

	Fixed typo which was causing assert on mobile
	#jira UE-40633

Change 3265111 on 2017/01/19 by Rolando.Caloca

	UE4.15 - Fix for scene color crash
	#jira UE-40633

Change 3264789 on 2017/01/19 by Josh.Adams

	- Redoing a fix from Dev-Plat for UI_BUILD_SHIPPING_EDITOR
	#jira UE-40798

Change 3264780 on 2017/01/19 by Rolando.Caloca

	UE4.15 - Add Morph compute GPU stat
	#jira UE-40891

Change 3264486 on 2017/01/19 by Mark.Satterthwaite

	Fix the crash on startup on Intel GPUs - this is due to Intel Metal forcing SM4 to avoid some drivers bugs in SM5 but I got the condition for initialisation in FMinimalDummyForwardLightingResources wrong so it's attempting to create a RWBuffer for SM4 which won't work.
	#jira UE-40863

Change 3264427 on 2017/01/19 by Rolando.Caloca

	UE4.15 - Track down crash
	#jira UE-40633

Change 3264393 on 2017/01/19 by Aaron.McLeran

	#jira UE-40850

	Re-fixing UE-39650 again in 4.15.

	I hope this bug doesn't regress yet again!

Change 3264364 on 2017/01/19 by Daniel.Wright

	In forward shading SceneCaptureSource modes Normal and BaseColor are replaced with SceneColorHDR as the GBuffer is not available.  This is a silent failure for now as there's no good content error reporting mechanism for scene captures.
	#jira UE-39658

Change 3264284 on 2017/01/19 by Mark.Satterthwaite

	Duplicate CL #3264251:
	Modify some asserts in MetalRHI - technically using a store-action of ENoAction on Stencil buffers should make it invalid to restart a render-pass but on Mac it will work because ENoAction won't invalidate anything written. In future we need to use deferred store-actions in Metal so that we can "restart" passes while enforcing correct Load/Store actions.
	#jira UE-40803

Change 3264282 on 2017/01/19 by Benn.Gallagher

	CIS fix, bad expression that failed to compile Mac
	#jira UE-40716

Change 3264257 on 2017/01/19 by Mike.Beach

	Revising fix in UBlueprint::BeginCacheForCookedPlatformData(), saving off nativization data if the -nativizeAssets param is present (not just if it was enabled in packaging settings).

	#jira UE-40620

Change 3264242 on 2017/01/19 by Daniel.Wright

	[Copy] Sharing IndirectLightingCacheTextureSampler samplers
	#jira UE-40727

Change 3264191 on 2017/01/19 by Ori.Cohen

	Fix heightfield not working with traces underneath.

	#JIRA UE-39819

Change 3264139 on 2017/01/19 by Benn.Gallagher

	Removed collision between clothing in external skeletal mesh components, as clothing simulations could already be in flight and editing collisions while the simulation is running is not supported by APEX
	#jira UE-40716

Change 3264110 on 2017/01/19 by Max.Preussner

	MfMedia: Disabled plug-in on Windows 10, because it is currently broken

	#jira UE-406344

Change 3264108 on 2017/01/19 by Max.Preussner

	MfMedia: Fixed compile errors on Windows 10

	#jira UE-40644

Change 3264099 on 2017/01/19 by Jamie.Dale

	Adding deprecation warning for 4.14 style PO export

	#jira UE-40592

Change 3264089 on 2017/01/19 by Matthew.Griffin

	Reworked DDC commandlet to make sure it actually calls BeginCacheForCookedPlatformData on assets
	Skip doing this for Engine content if -ProjectOnly is set as that takes a long time and isn't necessary for the way we use it
	#jira UE-39968

Change 3264065 on 2017/01/19 by James.Golding

	Fix ModifyCurve node not calling init/update in SourcePose
	#jira UE-40852

Change 3263729 on 2017/01/19 by Alexis.Matte

	Fix a bad condition when filling the material sorting array
	#jira UE-40814

Change 3263704 on 2017/01/19 by Jack.Porter

	Fix compile error in AndroidESDeferredOpenGL.cpp when  " ES Deferred Shading Renderer" is enabled.
	#jira UE-40659

Change 3263627 on 2017/01/19 by Jack.Porter

	Fixed black textures when Vulkan is packaged for ETC1
	#jira UE-40658

Change 3263554 on 2017/01/19 by Jack.Porter

	Fixes to HISMC LOD to use new screen size calculation. Solves issue where HISMC was always rendered at lowest LOD.
	#jira UE-38930

Change 3263535 on 2017/01/19 by Matthew.Griffin

	Removed unnecessary directories to always cook
	Problem was actually down to string asset references not being resolved in file set generation

Change 3263534 on 2017/01/19 by Matthew.Griffin

	Added -SkipPublish parameter to BuildLauncherSample command so that we don't chunk and post preflights

Change 3263267 on 2017/01/18 by Dan.Oconnor

	Fix for editing of TMap/TSet variables in structure editor, async tasks, and when using UK2Node_CommutativeAssociativeBinaryOperator.
	#jira UE-40428

Change 3263219 on 2017/01/18 by Dan.Oconnor

	Fix copy paste error found by UDN user Craig.Wright that could result in fatal bytecode execution
	#jira UE-19425

Change 3262980 on 2017/01/18 by Maciej.Mroz

	#jira UE-40394, UE-40395, UE-40426, UE-40484, UE-40770

	Integrated cl 3262851, 3261613, 3260908 from Dev-Blueprint

Change 3262908 on 2017/01/18 by Ori.Cohen

	When refreshing physics assets, don't do so on components that have no bodies.

	#JIRA UE-40764

Change 3262709 on 2017/01/18 by Matt.Kuhlenschmidt

	Fix a crash if a background blur widget ends up being negative or zero sized

	#jira UE-40820

Change 3262606 on 2017/01/18 by Marc.Audy

	Don't bother the user with force feedback based on where the unpossessed pawn is standing in the world while in simulate mode
	#jira UE-40785

Change 3262416 on 2017/01/18 by Marc.Audy

	Reenable audio threading
	#jira UE-00000

Change 3262125 on 2017/01/18 by Chris.Wood

	Fixed unnecessary truncate in SMenuAnchor::Tick that caused menu placement to wobble
	[UE-40293] - Dropdown selection box jitters when mouse is moved over top of it on Mac

	#jira UE-40293

Change 3262103 on 2017/01/18 by Jamie.Dale

	Merging some cooker fixes

	CL# 3262089 - Fixing RedirectCollector issues with projects outside the UE4 directory
	CL# 3262091 - Guarding against potentially invalid call to FString::Mid
	CL# 3262094 - Cook on the fly builds now resolve string asset references

	#jira UE-40790

Change 3262082 on 2017/01/18 by Chris.Bunner

	Accumulate used particle materials from final mesh material module, not first.
	#jira UE-39953

Change 3261996 on 2017/01/18 by Matthew.Griffin

	Allow Samples to be built in pre-flights if you are specifying an engine version

Change 3261995 on 2017/01/18 by Matthew.Griffin

	Resolve string asset references after loading packages to ensure that we find all required files

Change 3261934 on 2017/01/18 by Allan.Bentham

	Bump shader version to force changes in 3260307 to occur.
	#jira UE-39701

Change 3261842 on 2017/01/18 by Graeme.Thornton

	Manual copy of CL 3253580 from Dev-Core

	Added some validation of the class index in exportmap entries

	#jira UE-37873

Change 3261017 on 2017/01/17 by Mitchell.Wilson

	Resaving all levels to resolve short form string asset reference warnings.
	#jira UE-40732

Change 3260918 on 2017/01/17 by Andrew.Rodham

	Sequencer: Request unloaded levels to be loaded when being made visible through sequencer

	#jira UE-40082

Change 3260909 on 2017/01/17 by Ben.Marsh

	Fix error running "Clean" in installed build.

	#jira UE-40751

Change 3260757 on 2017/01/17 by Jeff.Fisher

	UE-39654 Crash when launching Google VR project
	-Via SwitchGameWindowToUseGameViewport we get an early ResizeViewport which does an early Draw.  This calls GetStereoProjectionMatrix before the game has ticked and fetched the device info we use to build that matrix.
	-In this change we make the call to setup that information in the GoogleVRHMD constructor, to ensure it is done before anything tries to use it.
	-I also added some asserts.
	#jira UE-39654
	#review-3260644

Change 3260637 on 2017/01/17 by Alexis.Matte

	Fix crash when importing skeletal mesh containing a texture or a material using the same name.
	#jira UE-40538

Change 3260630 on 2017/01/17 by Marc.Audy

	When installing a feature pack maintain the include of the template so that any properties inside it are not lost by replacing it with the project's PCH include
	Update all C++ feature packs to include the original project .h in the files that are copied in to the new project
	#jira UE-40730

Change 3260600 on 2017/01/17 by matt.barnes

	Test content for sequencer event tracks

	#jira UE-29618

Change 3260593 on 2017/01/17 by Mieszko.Zielinski

	Made FSupportedAreaData export as part of engine API #UE4

	#jira UE-40739

Change 3260538 on 2017/01/17 by Marc.Audy

	Always display axes in debug info, but show -- for value when we don't yet know the ranges
	#jira UE-40700

Change 3260422 on 2017/01/17 by Marc.Audy

	Expose level streaming incremental unregister component cvars in the engine streaming section of the project settings
	#jira UE-10109

Change 3260392 on 2017/01/17 by Ben.Woodhouse

	Duplicated from CL 3260107:
	Fix FMonitoredProcess to prevent infinite loop in -nothreading mode
	#jira UE-40717

Change 3260358 on 2017/01/17 by Chris.Bunner

	Only validate tonemapper LUT input if actually hooked up.
	#jira UE-40467

Change 3260327 on 2017/01/17 by Frank.Fella

	PlatformMediaSource - Fix Validate to check all specified media sources, and change GetURL to get the url for the current platform when running uncooked.

	#jira UE-40709

Change 3260307 on 2017/01/17 by Allan.Bentham

	Restore metal compiler's shader source serialization code when the shader is to be compiled at runtime.
	#jira UE-39701

Change 3260276 on 2017/01/17 by Alex.Delesky

	#jira UE-40276 - Fixing an issue where a Standalone game launched from the editor cannot toggle fullscreen mode.

Change 3260274 on 2017/01/17 by Chris.Wood

	Added check for null World ptr in AActor::PostEditChangeProperty to fix crash when pasting temporary Actors
	[UE-40492] - Crash after ejecting from PIE session and selecting a component in the details panel

	#jira UE-40492

Change 3260230 on 2017/01/17 by Ben.Woodhouse

	Duplicated from dev-rendering@3232283
	D3D12 - downgrade root signature size warning to a log following a discussion with Microsoft. There's not much we can actually do about it, and it's not relevant to all hardware
	#jira UE-36999

Change 3260096 on 2017/01/17 by Thomas.Sarkanen

	Fixed crash when rendering out a level sequence with layered animations

	When a level contained sequences with layered animations that *werent* taking part in the render (i.e. they were not part of the current master sequence) then their instances were initialized but not ticked. When their components then got a call to evaluate their bone transforms, the cached blends were in an uninitialized state.

	#jira UE-40654 - Render Movie using separate process crashes capture process

Change 3259875 on 2017/01/17 by Dmitriy.Dyomin

	Fixed: SunTemple is washed out in one color on some Android devices
	#jira UE-40689

Change 3259011 on 2017/01/16 by Max.Chen

	Matinee to Level Sequence: Make RegisterTrackConverters pure virtual

	#jira UE-37328

Change 3258992 on 2017/01/16 by Rolando.Caloca

	UE4.15 - Integrate fix for outlines (3258807)
	#jira UE-40690

Change 3258949 on 2017/01/16 by mason.seay

	Disabled TranslatedMass test

	#jira UE-29618

Change 3258860 on 2017/01/16 by Max.Preussner

	Media: Prevent loading of media plug-ins in console apps, such as game servers (OR-34819)

	#jira OR-34819

Change 3258846 on 2017/01/16 by Max.Preussner

	MfMedia: Fixed incorrect tracks being played in multi-track media sources (UE-39703)

	#jira UE-39703

Change 3258813 on 2017/01/16 by Benn.Gallagher

	Added error on import for APEX clothing files that either have no submeshes or have no submeshes with simulated vertices.
	#jira UE-40614

Change 3258771 on 2017/01/16 by James.Golding

	Skip fatal warning in UBodySetup::Serialize if duplicating (e.g. spawning component via SCS with a BodySetup in its template)
	#jira UE-40418

Change 3258747 on 2017/01/16 by Max.Chen

	Sequencer: AddUnique SequencerActorTag to prevent multiple tags being added when spawning/despawning.

	#jira UE-40665

Change 3258630 on 2017/01/16 by Jurre.deBaare

	CIS IfDef issue fix
	#JIRA UE-1234

Change 3258541 on 2017/01/16 by Phillip.Kavan

	[UE-40131] Revised fix that will work for "inclusive" BP nativization with data-only BPs.

	change summary:
	- revised code in UBlueprint::BeginCacheForCookedPlatformData() to also support the "inclusive" nativization method

	#jira UE-40131

Change 3258532 on 2017/01/16 by Max.Chen

	Sequencer: Fix max row index off by one error . This was always incorrect, but it was masked by the fact that FixRowIndices() was called on the track when the UI gets built. That function was removed from the node layer in CL #3252753 and therefore exposed this bug.

	#jira UE-40642

Change 3258505 on 2017/01/16 by Marc.Audy

	Improve messaging when installing vehicle and vehicle adv C++ feature packs
	#jira UE-40647

Change 3258478 on 2017/01/16 by Matt.Kuhlenschmidt

	PR #3131: UE-40567: Added nullcheck to FSplinePointDetails (Contributed by projectgheist)

	#jira UE-40567

Change 3258457 on 2017/01/16 by Jurre.deBaare

	SpeedTree Billboards rendering with Incorrect Material

	#fix Ensure that we add a section info entry for the billboard models/lods during SpeedTree importing
	#jira UE-39677

Change 3258442 on 2017/01/16 by Alexis.Matte

	Skeletalmesh import, make sure we increment the lod index when animation is not imported
	#jira UE-40640

Change 3258431 on 2017/01/16 by Jurre.deBaare

	Back out changelist 3258392
	#fix issue was already resolved
	#jira UE-1234

Change 3258392 on 2017/01/16 by Jurre.deBaare

	Fix for non-unity CIS
	#JIRA UE-1234

Change 3258358 on 2017/01/16 by Matthew.Griffin

	Prevent warning from being shown when XMPP module is not built
	#jira UE-40616
	(I guess LoadModule could be changed to LoadModuleChecked now if they do exist)

Change 3258144 on 2017/01/15 by Marc.Audy

	Fix non-unity CIS errors
	#jira UE-00000

Change 3258141 on 2017/01/15 by zachary.wilson

	Adding testing content for Distance Field Indirect Shadows

	#jira UE-29618

Change 3258049 on 2017/01/14 by Nick.Shin

	UFE sent incorrect header data on missing file

	also, it seems that UFE was written to expect clients to close the connection -- (this should be closed manually -- which will flush the data and then close out the socket -- but, since this is a developer tool... leaving this as-is)

	first, 404 was not sending the required double newline after headers
	second, since connection are not closed manually (server side) send a dummy payload with content-length data

	#jira UE-39992 Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"

Change 3257984 on 2017/01/14 by Aaron.McLeran

	Attempting another fix for static analysis warning in CIS

	#jira UE-40645

Change 3257904 on 2017/01/14 by Aaron.McLeran

	Resolving static analysis warnings reported by CIS

	#jira UE-40645

Change 3257883 on 2017/01/14 by Aaron.McLeran

	Fixing build warning with CL 3257826

	#jira UE-40645

Change 3257826 on 2017/01/13 by Aaron.McLeran

	Integrating fixes from Dev-Framework and Odin to Release-415

	#jira UE-40645

Change 3257654 on 2017/01/13 by Marc.Audy

	Until plugins can drive their own dependencies vehicle and vehicle adv feature packs will not compile automatically and will pop up a message log informing the user of the actions they need to manually take.
	#jira UE-40466

Change 3257608 on 2017/01/13 by John.Pollard

	PC: Assertion Fail with UPackageMapClient::AddNetFieldExportGroup() viewing replays

	#jira OR-34522

Change 3257489 on 2017/01/13 by Mitchell.Wilson

	Removing preview mesh from multiple materials to resolve CIS warnings.
	#jira UE-40628

Change 3257485 on 2017/01/13 by Chris.Babcock

	Don't initialize FMinimalDummyForwardLightingResources for unneeded feature levels (below SM4)
	#jira UE-40602
	#ue4
	#android

Change 3257444 on 2017/01/13 by Matt.Barnes

	Updating test assets for UEQATC-2967

	#jira UE-29618

Change 3257324 on 2017/01/13 by Arciel.Rekman

	Linux: Update runtime CEF lib as well (UE-401413).

	- Followup to CL 3256081.

	#jira UE-40413

	(Merging CL 3257241 from Dev-Platform to Release-4.15)

Change 3257140 on 2017/01/13 by Lina.Halper

	Fix crash with deleting all poses

	#jira: UE-40537

Change 3257066 on 2017/01/13 by Jurre.deBaare

	CIS fix for game builds
	#jira UE-1234

Change 3257056 on 2017/01/13 by Ben.Zeigler

	#jira UE-40318 Fix crash in streamablemanager where callbacks would get called on a deleted manager.
	This is being rewritten in 4.16, so do a quick fix for 4.15 to avoid the crash

Change 3256839 on 2017/01/13 by Jurre.deBaare

	Added conversion of HLOD transition screen size to new transition screen area values
	#fix During serialization patch up the values of transition screen size within the hierarchical lod setups
	#misc Updated the default value to a screen size to screen area equivalent
	#JIRA UE-40518

Change 3256761 on 2017/01/13 by Mieszko.Zielinski

	Fixed EQS debug rendering not clearing previously displayed labels if new request has no labels #UE4

	#jira UE-40589

Change 3256177 on 2017/01/12 by Josh.Adams

	- Moved the MfMedia plugin outside of XboxOne directory, because it's a Windows plugin as well (that happens to also work on XboxOne - all public APIs)
	#jira UE-40391

Change 3256131 on 2017/01/12 by Jamie.Dale

	Fixing log spam when trying to load an empty font data

	#jira UE-40555

Change 3256081 on 2017/01/12 by Arciel.Rekman

	Fixed CEF compatibility problems on Ubuntu 14.04 (UE-40413).

	- Also deleted Debug version of it.
	- Change by yaakuro.

	#jira UE-40413

	(Edigrating CL 3256065 from Dev-Platform to Release-4.15)

Change 3256046 on 2017/01/12 by Jon.Nabozny

	Use PxConvexFlag::eSHIFT_VERTICES when cooking meshes to fix baked in transforms.

	#jira UE-39212

Change 3255939 on 2017/01/12 by mason.seay

	Rebuilt lighting

	#jira UE-29618

Change 3255912 on 2017/01/12 by Olaf.Piesche

	Replicating fix from 3246828 for
	#jira UE-39249

Change 3255909 on 2017/01/12 by Rolando.Caloca

	UE4.15 - Support for choosing discrete AMD GPU
	#jira UE-40546

Change 3255835 on 2017/01/12 by Martin.Wilson

	Fix newly added virtual bones not being on screen.

	#jira UE-40516

Change 3255774 on 2017/01/12 by Mark.Satterthwaite

	Merging 3251926 for Richard.Wallis:
	#jira UE-38828

	Crash after Enabling Forward Shading on Mac and Creating/Editing Materials.

	Using TGlobalResource to avoid constant resource allocation.  Prev fix (in CL 3239454) caused a crash in D3D11 with zero sized resource views.

Change 3255771 on 2017/01/12 by Alexis.Matte

	Fix a crash when re-importing asset with no material
	#jira UE-40510

Change 3255746 on 2017/01/12 by Jon.Nabozny

	Change _DEBUG to PX_DEBUG in ConvexHullLib.cpp

	#jira UE-0000

Change 3255659 on 2017/01/12 by Jon.Nabozny

	Enable Shifting Vertices during Convex Hull cooking to prevent precision issues.

	(Copied CL-3249100 from Dev-Phyics-Upgrade to support new flag)

	#jira UE-39212

Change 3255617 on 2017/01/12 by Ori.Cohen

	Fix crash when computing mass for an async object. Using passed in rigid body instead of assuming SyncRigidActor

	#JIRA UE-40458

Change 3255536 on 2017/01/12 by Jamie.Dale

	Fixed crash when using an object picker against the 'Object' type

	This also optimizes some filter code to avoid filtering when it would be pointless (and just slows things down).

	#jira UE-40408

Change 3255451 on 2017/01/12 by Chris.Wood

	Fixed read only text color in SCommentBubble
	[UE-40384] - Reference Viewer comment text is difficult to read

	Also changed DetermineForegroundColor() method in EditableTextBox classes to fallback on ForegroundColorOverride if it is set and ReadOnlyForegroundColorOverride isn't set.

	#jira UE-40384

Change 3255448 on 2017/01/12 by Chris.Wood

	Removed blinking cursor/caret on read only editable text layouts.
	[UE-40502] - Flashing cursor/caret showing in read-only editable text layouts

	#jira UE-40502

Change 3255445 on 2017/01/12 by Marc.Audy

	Create the dynamic level streaming persistent object correctly outered to the World rather than the transient package to avoid GetWorld() crashing
	#jira UE-00000

Change 3255441 on 2017/01/12 by Jon.Nabozny

	Regenerate collision for the basic Cube mesh to fix resting issues and invalid verts.

	#jira UE-40478

Change 3255407 on 2017/01/12 by Yannick.Lange

	VREditor: - Fix: Assertion Failed crash after pressing F8 in PIE while Foliage Mode was selected
	- Fix: Assertion Failed crash after pressing F8 in PIE while Paint Mode was selected
	- Added extra checks for other possible future cases
	#jira UE-39786 	UE-39789

Change 3255393 on 2017/01/12 by Chris.Bunner

	Duplicating CL 3255244: Removed test variable from MaterialExpressionVectorParameter.
	#jira UE-40517

Change 3255375 on 2017/01/12 by Steve.Robb

	CIS fix.

	#jira UE-39556

Change 3255334 on 2017/01/12 by samuel.proctor

	Corrected QA Container asset to remove pin warning.

	#jira UE-29618

Change 3255319 on 2017/01/12 by james.cobbett

	Fixing motion blur issue with test content for Pose Snapshots.

	#jira UE-29618

Change 3255247 on 2017/01/12 by Nick.Darnell

	Slate - Slate's Tab Manager is now a bit smarter about allowing Focus/BringToFront attention grabbing methods.  In order to make the UI less jumpy it was restricted to only allowing alerts and bring to front to be triggered if you were on the window, or child window of the active application window.

	That can negatively impact cases where a user takes an action (clicks a link ro button saying open/goto this tab), that is on another window.  To work around this limitation, the Tab Manager will also permit the action if Slate is currently processing user input, implying that the action being taken is in direct response to the user pressing a button and interacting with the UI.

	#jira UE-40313

Change 3255236 on 2017/01/12 by Phillip.Kavan

	[UE-40131] Non-native child BPs can now properly override a nativized parent BP's components in a cooked build with exclusive Blueprint class nativiation.

	- Mirrored from //UE4/Dev-Blueprints (CL# 3254024,3254391)

	#jira UE-40131

Change 3255216 on 2017/01/12 by Rolando.Caloca

	UE4.15 - Fix compile issue on Vulkan 1.0.37.0 or newer
	#jira UE-40506

Change 3255206 on 2017/01/12 by Steve.Robb

	Use outer walking IsA() implementation in editor to get around reinstancing and hot reload issues.

	#fyi mike.beach
	#jira UE-39556

Change 3255195 on 2017/01/12 by mason.seay

	Adjusted slope to fix platform discrepancy

	#jira UE-29618

Change 3255086 on 2017/01/12 by Jack.Porter

	Fix XboxOneShaderCompiler.cpp non-unity compilation
	#jira None

Change 3255085 on 2017/01/12 by Jack.Porter

	Missing HTML5 changes from CL 3254907
	#jira UE-39111

Change 3255031 on 2017/01/12 by Jack.Porter

	More iOS GoogleVR changes missing from CL 3254907
	#jira UE-39111

Change 3254991 on 2017/01/12 by Jack.Porter

	Missing file from CL 3254907
	#jira UE-39111

Change 3254907 on 2017/01/11 by Jack.Porter

	Android MSAA changes - use r.MobileMSAA cvar, support more than 2x, fix issues where targets other than scene color were created with MSAA
	#jira UE-39111
	#jira UE-35849
	#jira UEMOB-35

Change 3254810 on 2017/01/11 by Arciel.Rekman

	Linux: fix for crash on exit (UE-40488).

	#jira UE-40488

Change 3254617 on 2017/01/11 by Peter.Sauerbrei

	remake the fix for missing PhysXVehicle library in binary for IOS and TVOS
	#jira UE-39349

Change 3254489 on 2017/01/11 by mason.seay

	Other minor improvements to the map

	#jira UE-29618

Change 3254477 on 2017/01/11 by mason.seay

	Map tweaks to prevent the vehicle from getting stuck

	#jira UE-29618

Change 3254431 on 2017/01/11 by Mitchell.Wilson

	Rebuilt lighting on all StarterContent levels.
	#jira UE-40468

Change 3254333 on 2017/01/11 by mason.seay

	Adjusted lightmap on mesh to remove odd rendering splotches

	#jira UE-29618

Change 3254131 on 2017/01/11 by Rolando.Caloca

	UE4.15 - Missing dumped shaders
	#jira UE-40465

Change 3254126 on 2017/01/11 by Jeff.Fisher

	UE-40422 Vive Motion Controllers unable to Play Haptic Effect
	-Removed an unnecessary remapping of controllerindex to deviceid, they are the same now.
	#jira UE-40422
	#review-3254084

Change 3254046 on 2017/01/11 by Mark.Satterthwaite

	Merging 3233811:
	Fix compiling QA-Material tessellation shaders that don't need to emit from Hull or sample in Domain the HSOut buffer which was confusing MetalBackend.
	#jira UE-39935

Change 3254021 on 2017/01/11 by james.cobbett

	Test content for Pose Snapshot testing

	#jira UE-29618

Change 3253993 on 2017/01/11 by Alexis.Matte

	Fix the morph target import
	#jira UE-40424

Change 3253948 on 2017/01/11 by mason.seay

	Fixed Level BP logic that was causing Access None error

	#jira UE-29618

Change 3253884 on 2017/01/11 by mason.seay

	Updated mesh colors on map.  Disabled motion blur

	#jira UE-29618

Change 3253862 on 2017/01/11 by mason.seay

	Disabled Always Show Mobile Input (turned on by accident)

	#jira UE-29618

Change 3253859 on 2017/01/11 by Mark.Satterthwaite

	Merging 3252866:
	Fix Metal shader pipeline hash collisions caused by deferring MTLFunction construction until PrepareToDraw so that we may use Function-Constants to specialise the shader source without generating additional permutations. This is required to generate proper tessellation shaders which are specialised against the index-buffer usage & type (none, uint16, uint32). While we're here amend the hash functions to make better use of the existing hash functions to improve the distribution and hopefully reduce the possibility of collisions in future.
	#jira UE-40357

Change 3253854 on 2017/01/11 by Mark.Satterthwaite

	Merging 3252859:
	Fix the calculation of Metal tessellation struct alignment and size to use largest member size, so that we don't assert in debug or cause out-of-bounds access in development/shipping.
	#jira UE-40410

Change 3253853 on 2017/01/11 by Mark.Satterthwaite

	Merging 3237394:
	Add Metal-specific permutations of TBasePassHS - they affect the C++ definition on all platforms but are only cached or used on Metal - because the way we compile the combined VS+HS tessellation stage requires that the combined VS + HS HLSL code references the same resources, otherwise we get incorrect resouce bindings and subsequently fail to render properly. Long-term the Metal tessellation code will need to be refactored so that the vertex shader stage is emitted as a separate shader from the hull shader stage as this but will keep cropping back up and continue to complicate the engine.
	#jira UE-39799

Change 3253852 on 2017/01/11 by Mark.Satterthwaite

	Merging 3236850:
	Make changing the Metal Shader Version project setting prompt the user to restart for the changes to take effect.
	#jira UE-39801

Change 3253834 on 2017/01/11 by mason.seay

	Updated mobile input textures to be power of two

	#jira UE-29618

Change 3253807 on 2017/01/11 by Mark.Satterthwaite

	Merging 3232641 & 3236788 & 3233854 & 3249742 from Dev-Rendering:

	3232641:
	- Eliminate redundant state changes in MetalRHI in the state cache.
	- Add a new debug level for setting buffers to nil prior to calls to set*Bytes so that the tool doesn't display incorrect data.
	- Make testing for validation & statistics features use the same EMetalFeatures API as everything else for consistency.
	- Cache the fallback depth-stencil texture in the state cache and ignore it for determining whether a pass can restart - if we are using this texture its contents are worthless anyway.

	3236788:
	Fix 10.11.6 support (aka -nometalv2): the stencil view workaround necessitates a mid-render blit and the way things were setup resulted in the HasValidRenderTargets assert firing. Refactored the code to separate the concept or valid render-states in the cache from active render-states in the render-pass. Now it works as intended and will be needed for 4.15.

	3233854:
	More information about texture type validation errors in Metal.

	3249742:
	Fix missing GPU particles on Mac.
	Pointers getting reused is causing the blendstate equality operator to fail.
	Simple workaround until we have time for a proper fix.

	#jira UE-40200

Change 3253636 on 2017/01/11 by Chris.Wood

	Improved tracking of runtime and debugger attachment for analytics purposes.
	[UE-39780] - Change IsDebugger to WasDebuggerPresent in all crash/AS analytics
	[UE-39777] - Update MTBF IsDebugger state for every heartbeat
	[UE-39778] - UnrealWatchdog to send WasDebuggerPresent state for app if set
	[UE-39779] - UnrealWatchdog to send total run time of process

	Debugger state was previously read once at startup or once at the time of an event. Debugger is now checked during the heartbeat and doesn't reset flag when detached so we know if a session was ever debugged. Also reporting total run time in UnrealWatchdog. Watchdog still doesn't run when debugging but and will never show popups to a debugger user even when forced on with -forcewatchdog.

	#jira UE-39780, UE-39777, UE-39778, UE-39779

Change 3253281 on 2017/01/10 by Dan.Oconnor

	Typo fix caused parameter in local struct definition to shadow the local
	#jira UE-40027

Change 3253231 on 2017/01/10 by Dan.Oconnor

	Mirror of 3253220
	These pins should infer together
	#jira UE-40427

Change 3253125 on 2017/01/10 by Uriel.Doyon

	Brought back CL 3242117 and 3238685, which  got lost on the way:
	- Fix for possiblel check fail when changin mobility of actors.
	- Fix for possible check fail when processing streaming data.
	#jira UE-39996

Change 3252936 on 2017/01/10 by Marc.Audy

	CopyPropertiesForUnrelatedObjects needs to consider path not just name of subobjects when matching them up to copy properties and update references
	Ensure that a reinstanced child actor component ends up pointing at the correct child actor template
	#jira UE-40027

Change 3252886 on 2017/01/10 by Lina.Halper

	Fix for invalid AnimCurves when curve is added while running

	#jira: UE-39826

Change 3252753 on 2017/01/10 by Frank.Fella

	Sequencer - Change track rows to use separate track nodes in the display node tree, fixes key edit issues on animation and audio tracks.

	#jira UE-39836

Change 3252640 on 2017/01/10 by Lukasz.Furman

	fixed NavCollision losing user settings after any property change
	copy of 3252628
	#jira UE-40388

Change 3252614 on 2017/01/10 by Daniel.Wright

	UStaticMeshComponent::InvalidateLightingCacheDetailed uses MarkRenderStateDirty.  Massively speeds up duplication of HISMC with many instances (10+ minutes -> seconds), as InvalidateLightingCacheDetailed gets called for every instance.
	#jira UE-40406

Change 3252609 on 2017/01/10 by mason.seay

	Updated map with text actors for more visual clarity

	#jira UE-29618

Change 3252477 on 2017/01/10 by Daniel.Wright

	[Copy] Fixed race condition with FPrecomputedLightVolume::Data which was exposed when switching lighting scenarios
	#jira UE-39852

Change 3252451 on 2017/01/10 by Daniel.Wright

	Garbage collection calls UWorld>SendAllEndOfFrameUpdates() on all loaded worlds first so that deferred recreate render states happen before any UObjects are deleted
	* Fixes rendering thread crashes in the order of events of 1) SetMaterial 2) GC 3) Rendering command that dereferences the UMaterial
	#jira UE-30089

Change 3252418 on 2017/01/10 by Ben.Zeigler

	#jira UE-40390 Fix crash saving blueprint with an inherited DataTable/CurveTable reference. Delta serialization meant that the necessary name wasn't in the name table, so adding it manually now.

Change 3252410 on 2017/01/10 by Max.Chen

	Sequencer : Filter sections on select in range

	Copy from Dev-Sequencer

	#jira UE-37854

Change 3252385 on 2017/01/10 by Max.Chen

	Sequencer: Update auto tangents when setting key time. This fixes a bug where dragging keys with auto tangents doesn't recompute tangents properly.

	#jira UE-39923

Change 3252360 on 2017/01/10 by Allan.Bentham

	Remove incorrect assert for iOS.
	#jira UE-40385

Change 3252297 on 2017/01/10 by mason.seay

	Test assets for suspending cloth simulation

	#jira UE-29618

Change 3252125 on 2017/01/10 by Mieszko.Zielinski

	Fallout fix after removal of BlackboardKeyUtils::CalculateComparisonResult declaration from the AIModule #UE4

	#jira UE-40099

Change 3251987 on 2017/01/10 by Allan.Bentham

	Fix HQ DoF
	#jira UE-35548

Change 3251856 on 2017/01/10 by Jack.Porter

	Fixed Get Instances Overlapping Box blueprint function due to issue with FBox constructor.
	Added MakeBox and MakeBox2D kismet native functions
	Fixed box overlap test ignoring instance scale
	#jira UE-34409

Change 3251519 on 2017/01/09 by Daniel.Wright

	[Copy] Fixed GLandscapeLayerUsageMaterial getting GC'ed
	#jira UE-40055

Change 3251146 on 2017/01/09 by Lina.Halper

	Fix on stable track data carrying over to pose asset

	- decided to clean up track data in anim sequence since we don't really need that data anymore

	#jira: UE-40351
	#code review: Martin.Wilson

Change 3251056 on 2017/01/09 by Lina.Halper

	fixed crash when pose node contains stale data when updating source.

	#jira: UE-40258
	#code review; Thomas.Sarkanen

Change 3251035 on 2017/01/09 by Mitchell.Wilson

	Removed preview mesh in M_GodRay to resolve CIS warning.
	Relinked textures used in two materials to resolve CIS warnings.
	#jira UE-40350

Change 3250959 on 2017/01/09 by Mitchell.Wilson

	Updating master sequence playback end time so the final audio track can be heard.
	Updating multiple shots to resolve issues with audio not playing back properly.
	#jira UE-40321 UE-40335

Change 3250896 on 2017/01/09 by Andrew.Rodham

	Sequencer: Fixed level visibility not working in PIE

	#jira UE-40082

Change 3250895 on 2017/01/09 by Andrew.Rodham

	Sequencer: Fixed evaluation of overlapping audio and skeletal aninmation sections
	  - Audio and skeletal animation sections now continue to support legacy evaluation order. Overlapping sections of the same priority on the same row will be filtered out such that only the section with the latest start time will be evaluated.

	#jira UE-40320

Change 3250830 on 2017/01/09 by Ben.Woodhouse

	Duplicated from //ue4/Release-4.14

	CL 3238182
	Disable timestamp queries on pre-Maxwell nvidia hardware. Local testing suggests that this is the major cause of instability in the UE4.14 release.

	It's possible that we could be more targeted by only excluding Fermi and older hardware, but identifying fermi hardware by device ID is difficult in practice, since the range overlaps with Kepler.

	#jira UE-38818

Change 3250790 on 2017/01/09 by Lauren.Ridge

	Fixing backspace on VR Editor numberpad menu.

	#jira UE-39770

Change 3250681 on 2017/01/09 by Ben.Woodhouse

	Duplicated from dev-rendering@3249296:
	XB1/Fast semantics:
	Add missing L1/L2 cache flush on transition to readable (or RW). The missing cache flush was causing indeterminism when reading from a texture shortly after writing to it as a render target.
	This fixes bloom and diffuse irradiance issues
	The bug has been there for a while, but CL 3227787 (drawclear early out) caused it to manifest
	#jira UE-39727
	#jira UE-40238

Change 3250680 on 2017/01/09 by Ben.Woodhouse

	Duplicated from dev-rendering@3238664
	Fix dbuffer decal rendering issues in fullscreen on PC. Also fixes crash in editor when viewing dbuffer materials.
	Pass clearcolor in RT params for system textures to workaround a bug with ClearColorTexture not working in fullscreen mode on DX11. Make sure dbuffer targets are bound if we're rendering mesh decals
	#jira UT-6891
	#jira UE-39842
	#jira UE-39949

Change 3250609 on 2017/01/09 by Steve.Robb

	Maximum number of stats-using threads increased to 512.

	#jira UE-38153

Change 3250604 on 2017/01/09 by Andrew.Rodham

	Sequencer: Fixed incorrect seed being used when generating new animation type IDs for object properties

	#jira UE-40327

Change 3250589 on 2017/01/09 by Matthew.Griffin

	Changed publish symbols node to use runtime dependencies instead of manually including the whole PhysX folder
	Avoids unused configs and VS2013 files
	#jira UE-39171

Change 3250578 on 2017/01/09 by Matthew.Griffin

	Removed art tools from released build now that they are available separately on the Marketplace

Change 3250282 on 2017/01/07 by Mieszko.Zielinski

	Fixed UNavigationSystem::bNavigationAutoUpdateEnabled getting ignored by recent addition to related condition in UNavigationSystem #UE4

	Reported by UT team.
	Replication of a fix from Dev-Framework that didn't make it to 4.15 stream

	#jira UE-40324

Change 3250276 on 2017/01/07 by Mieszko.Zielinski

	Fixed not being able to add elements to UAIPerceptionStimuliSourceComponent.RegisterAsSourceForSenses for instances manually placed on the map #UE4

	#jira UE-31711

Change 3250219 on 2017/01/07 by Mieszko.Zielinski

	Extended comment to AISenseConfig_Sight::PeripheralVisionAngleDegrees to make it clear how it works #UE4

	#jira UE-31731

Change 3250147 on 2017/01/07 by Andrew.Rodham

	Added missing includes
	#jira UE-40019

Change 3250096 on 2017/01/06 by Nick.Shin

	refetch on timed out GET/POST requests

	correction to: UE_MakeHTTPDataRequest

	#jira UE-39992  Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"

Change 3249963 on 2017/01/06 by Mieszko.Zielinski

	removed unused and undefined BlackboardKeyUtils::CalculateComparisonResult #UE4

	#jira UE-40099

Change 3249829 on 2017/01/06 by Alexis.Matte

	turn on the material name clash feature for the content browser importer.
	#jira UE-40298

Change 3249791 on 2017/01/06 by andrew.porter

	QAGame:  Added level blueprint logic to QA-Sequencer that lets tester override sequence bindings

	#jira UE-29618

Change 3249755 on 2017/01/06 by Jamie.Dale

	Some fixes for object reference detection and notification when deleting assets

	#jira UE-40121

Change 3249727 on 2017/01/06 by James.Golding

	#jira UE-40242

Change 3249707 on 2017/01/06 by Mitchell.Wilson

	Removing preview mesh with incorrect path from materials to resolve warnings in CIS.
	#jira UE-40311

Change 3249543 on 2017/01/06 by Michael.Dupuis

	#jira UE-40299: validate if UISettings is valid

Change 3249506 on 2017/01/06 by Alexis.Matte

	Make sure we use the correct LodIndex when importing a new LOD in case a previous LOD import fail.
	#jira UE-40240

Change 3249477 on 2017/01/06 by Ori.Cohen

	Fix incorrect warning when moving kinematic objects during simulation.

	#JIRA UE-40290

Change 3249472 on 2017/01/06 by Andrew.Rodham

	Sequencer: Undo now works as expected when editing the properties of a key

	#jira UE-40019

Change 3249390 on 2017/01/06 by Mitchell.Wilson

	Removing preview meshes with improper path from materials to resolve CIS warnings in landscape mountains sample.
	#jira UE-40300

Change 3249317 on 2017/01/06 by Alexis.Matte

	Fix a crash when loading skeletalmesh with no section
	#jira UE-40249

Change 3249294 on 2017/01/06 by Mitchell.Wilson

	Updated defaultengine.ini for Match 3 to resolve warnings in CIS. ServerDefaultMap and TransitionMap had invalid paths.
	#jira UE-40295

Change 3249213 on 2017/01/06 by Chris.Bunner

	Fixed up logic for windowed/fullscreen output display selection when working with HDR. Now selects the most appropriate display if HDR enabled, else current monitor window is on. FullscreenDisplay commandline functions regardless of HDR support.
	#jira OR-33525, OR-33536, OR-33540, OR-33520

Change 3249135 on 2017/01/06 by Martin.Wilson

	Fix root motion issues on additive animations.
	- Fix scale issue on resetting root bone
	- Fix loss of root motion when animation is additive.

	#jira UE-40232

Change 3248522 on 2017/01/05 by Alexis.Matte

	Fix a crash when reimporting morph target. Also fix a crash when initiating ColorVertexBuffer with NULL value
	#jira UE-40201

Change 3248271 on 2017/01/05 by Andrew.Rodham

	Sequencer: Only reset persistent evaluation data when the sequence has changed
	  - This ensures that we don't destroy persistent data that is assumed to still exist (i.e. it was created in ::Setup) from the same sequence

	#jira UE-40234

Change 3248092 on 2017/01/05 by Ben.Marsh

	UBT: Remove the [Obsolete] attribute from methods in TargetRules; the [ObsoleteOverride] attribute gives a much better (and more concise) warning with specific instructions on how to resolve it.

Change 3248091 on 2017/01/05 by Marcus.Wassmer

	Tick renderthreadtickables in -onethread to avoid leaks.
	#jira UE-40248

Change 3248063 on 2017/01/05 by Marc.Audy

	Route FAudioDevice::StopAllSounds to the audio thread if called on the game thread
	#jira UE-40243

Change 3247995 on 2017/01/05 by Maciej.Mroz

	NativizationSummary object is always present.

	manually merged cl#3247985 from Dev-Blueprints
	#jira UE-40035

Change 3247873 on 2017/01/05 by Chad.Garyet

	Adding "Generate QA Labels" buildgraph node and automation script.
	Port of createNewLabel and createMinimumLabel python scripts into UAT
	#jira UEB-725

Change 3247855 on 2017/01/05 by Nick.Shin

	refetch on timed out GET/POST requests

	#jira UE-39992  Quicklaunch UFE HTML5 fails with "NS_ERROR_Failure"

Change 3247737 on 2017/01/05 by Marc.Audy

	static mesh component instance data now correclty inherits from pritive component instance data instead of skipping it and inheriting directly from scene component instance data
	#jira UE-40053

Change 3247723 on 2017/01/05 by mason.seay

	Asset for suspend cloth bug

	#jira UE-29618

Change 3247708 on 2017/01/05 by Mitchell.Wilson

	Updating project settings to disable dbuffer decals to resolve rendering issues in Showdown while using -game -vr
	#jira UE-40195

Change 3247652 on 2017/01/05 by Martin.Wilson

	Fixes for animation notifies window
	-Fix notify not being removed from skeleton
	-Fix crash where editor is not refreshed after notify removal

	#jira UE-40154

Change 3247638 on 2017/01/05 by mason.seay

	Test assets for cloth suspension

	#jira UE-29618

Change 3247630 on 2017/01/05 by Alexis.Matte

	Prevent crash when the import fail and we have no staticmesh created
	#jira UE-40024

Change 3247556 on 2017/01/05 by Ben.Marsh

	Fix non-unity compile error.

Change 3247547 on 2017/01/05 by Jurre.deBaare

	Crash while using the Delete Button in the HLOD Outliner while a Generated Proxy Mesh is opened in the Static Mesh Editor
	#fix Unify path for both delete cluster options in the outliner UI
	#jira UE-40066

Change 3247539 on 2017/01/05 by Benn.Gallagher

	Fixed serialization crash for simplified skeletal meshes leading to corrupted assets that crash on load after skin weight buffer changes.
	#jira UE-40199

Change 3247515 on 2017/01/05 by Allan.Bentham

	Fix inverted planar reflections when mobileLDR
	Fixed incorrect gamma 2 planar reflection rendering when mobileLDR
	#jira UE-32868

Change 3247502 on 2017/01/05 by Dmitriy.Dyomin

	Fixed: Single digit frame rate when sculpting landscape foliage.
	#jira UE-39532

Change 3247232 on 2017/01/04 by Ben.Marsh

	Remove private include from public header. Prevents compiling samples from installed build of the engine without private headers.

	#jira UE-40135, UE-40137, UE-40139, UE-40140, UE-40141, UE-40142, UE-40143, UE-40144

Change 3247002 on 2017/01/04 by Chris.Babcock

	Changed Vulkan hitchy pipeline log message verbosity
	#jira UE-38354
	#ue4
	#android
	#dontbackcopy

Change 3246927 on 2017/01/04 by matt.barnes

	Updating QAGame content to facilitate UEQATC-2969

	#jira UE-29618

Change 3246894 on 2017/01/04 by Mike.Beach

	Mirroring CL 3245322 from Dev-BP

	Fixed a crash when implementing a native interface in a BP

	#jira UE-40155, UE-40203

Change 3246830 on 2017/01/04 by Chris.Bunner

	Allow AllocGBuffer call when in simple-forward so dummy uniform buffer creation can occur.
	#jira UE-39756

Change 3246816 on 2017/01/04 by Jon.Nabozny

	Fix Anim Notifies Tab not opening in Animation Editor.

	#JIRA UE-40134

Change 3246804 on 2017/01/04 by Ori.Cohen

	Touch engine file to trigger re-link.

	#JIRA UE-40156

Change 3246709 on 2017/01/04 by mason.seay

	Updated map

	#jira UE-29618

Change 3246606 on 2017/01/04 by Ori.Cohen

	Fix for sweeps taking too long time (OR-32839).

	- Exhaustive investigation uncovered apparent numerical problems in this code (when compiling with clang 3.9.x with -ffast-math).
	- Current solution can result in overshoot for certain trace extents, but they are not expected to be a practical problem in Unreal.
	- NVidia is aware and will investigate a better solution.

	#tests Compiled Linux server with the changed PhysX and continuously ran bot matches for about a day.
	#JIRA UE-40156

Change 3246571 on 2017/01/04 by Marc.Audy

	Look at the body instance's desired collision enabled value rather than the primitive component's current collision enabled value when determining whether physics state should be created
	#jira UE-39994

Change 3246527 on 2017/01/04 by tim.gautier

	QAGame: BP_MediaPlayer now displays the name of the MediaPlayer plugin currently in use during playback

	#jira UE-29618

Change 3246480 on 2017/01/04 by mason.seay

	Map update

	#jira UE-29618

Change 3246470 on 2017/01/04 by Ori.Cohen

	Guard against infinitely thin geometry which fixes some nans. This showed up as issues in various projects
	#JIRA UE-00000

Change 3246413 on 2017/01/04 by Jon.Nabozny

	Cube asset did not have Tri Meshes. Reimported to fix the issue.
	-- Copied from 3233164 --

	#jira UE-39657

Change 3246388 on 2017/01/04 by Jon.Nabozny

	Set 'p.MoveIgnoreFirstBlockingOverlap' to be enabled by default (3158732). This causes collision behavior to remain unchanged unless people opt in to the new behavior.
	-- Copied from 3239735 (bot health fixed by a different CL) --

	#jira UE-39387

Change 3246352 on 2017/01/04 by Jon.Nabozny

	Fix FPredictProjectilePathParams to use a valid default value for TraceChannel.
	This requires the use of a new bool bTraceWithChannel which is enabled by default.
	-- Copied from 3239765 --

	#JIRA UE-39726

Change 3246341 on 2017/01/04 by Ori.Cohen

	Allow vehicles to inherit from PawnMovementComponent and only use the pawn/ai capabilities when a Pawn owner is used.

	#JIRA UE-39508

Change 3246178 on 2017/01/04 by Andrew.Rodham

	Sequencer: When playback stops naturally, the play position is set to the boundary that caused playback to stop (the end if playing forwards, the start if playing backwards)
	  - This is to reconcile the movie scene sequence player with previous behaviour

	#jira UE-40076

Change 3246102 on 2017/01/04 by Benn.Gallagher

	Fixed single threaded physics dispatcher triggering checks from clothing when running with a CPU with two or fewer cores.
	#jira UE-39811

Change 3246100 on 2017/01/04 by Benn.Gallagher

	Fixed ensure triggered when using root motion with sub instances
	Fixed crash reinstancing an active anim class that had subinstances
	#jira UE-39582
	#jira UE-39579

Change 3246092 on 2017/01/04 by Marc.Audy

	PR #3082: Improve comment for UInputComponent (Contributed by Soleone)
	#jira UE-40098

Change 3246084 on 2017/01/04 by Matthew.Griffin

	Remove bad files

Change 3246076 on 2017/01/04 by Matt.Kuhlenschmidt

	Fixed all non-editable text properties having a double disabled effect.  The text box is read only which prevents edting but still allows copying text from it. This feature had regressed and the disabled effect on top of the read only effect made it too difficult to see the text.

	#jira UE-39652

Change 3246043 on 2017/01/04 by Steve.Robb

	Use of CastChecked instead of Cast in implementations of IStructSerializerBackend::WriteProperty.  This is both more efficient and will hopefully make it easier to diagnose the issue.

	#jira UE-39872

Change 3246032 on 2017/01/04 by Martin.Wilson

	Change FindBoneIndex to FindRawBoneIndex (final bone maps are not built until after all adding is done so they will not be found)

	#jira UE-40105

Change 3246016 on 2017/01/04 by Andrew.Rodham

	Editor: Insert/Duplicate/Delete menu on array properties now only closes itself on click, rather than all menus
	  - This allows us to edit such properties on context menus

	#jira UE-39998

Change 3246005 on 2017/01/04 by Thomas.Sarkanen

	Fixed asset attachment issues in Skeleton Tree

	Assets were being attached uniquely, so only one asset could be attached to a bone/socket. However the calling code didnt know that the unique attachment function just gave up, so the item just got added to the bottom of the tree.
	The attachment filter was not set correctly to allow for bone attatchments, so only sockets could be attached to.
	The attach parent name was not initialized, so assets could not be deleted one at a time.

	#jira UE-40040 - With multiple Preview assets on one bone, only one appears in Skeleton Tree
	#jira UE-40041 - Preview assets appear at the bottom of the skeleton tree

Change 3246002 on 2017/01/04 by Andrew.Rodham

	Sequencer: Fixed actor tick prerequisites not getting set up correctly for master sequences

	#jira UE-39975

Change 3245979 on 2017/01/04 by Andrew.Rodham

	Sequencer: Fixed scrubbing audio tracks not working propertly

	#jira UE-40048

Change 3245978 on 2017/01/04 by Andrew.Rodham

	Sequencer: Fixed dropping a level onto a level visibility section not marking the track as changed, and not correctly creating a transaction

	#jira UE-39998

Change 3245977 on 2017/01/04 by Andrew.Rodham

	Sequencer: Fixed crash caused by lingering persistent evaluation data

	#jira UE-40064

Change 3245971 on 2017/01/04 by Dmitriy.Dyomin

	Fixed: Using Set World Origin Location will cause the player pawn to stutter
	#jira UE-40022

Change 3245725 on 2017/01/03 by Matt.Barnes

	Further improvments on test assets for UEQATC-2963

	#jira UE-29618

Change 3245658 on 2017/01/03 by Arciel.Rekman

	Linux: fix ARM32 build (UE-39913).

	#jira UE-39913

	(Redoing CL 3240982 from Dev-Platform in Release-4.15)

Change 3245577 on 2017/01/03 by Mason.Seay

	More vehicle updates

	#jira UE-29618

Change 3245556 on 2017/01/03 by Matt.Barnes

	Updating test content for UEQATC-2963

	#jira UEQATC-2963

Change 3245461 on 2017/01/03 by mason.seay

	Updating Inertia Tensor Scale to improve Vehicle Handling

	#jira UE-40013

Change 3245442 on 2017/01/03 by Jeff.Fisher

	UEVR-495 Assert when switching to 2d mode. sceHmdReprojectionStart failing.
	-There was a race condition between switching output modes on the render thread and sceHmdReprojectionStart on the RHI thread.  The flush fixes that.  The reprojection would simply have failed that frame previously in shipping which would not matter much as we are switching output modes anyway.
	#jira UEVR-495
	#review-3245374

Change 3245427 on 2017/01/03 by Jeff.Fisher

	UEVR-456 check if we are using camera before doing camera disconnected dialog on PSVR
	-If the tracker is active, but we are tracking nothing (ie we have the morpheus hmd tracking plugin, and started up with it, but switched to 2d mode) don't pop up the camera setup warning until we start trying to track something again.
	-This is useful for apps that have 2d and vr modes.
	#jira UEVR-456
	#review-3245372

Change 3245329 on 2017/01/03 by mason.seay

	Level and vehicle tweaks

	#jira UE-29618

Change 3245275 on 2017/01/03 by Chris.Babcock

	Added EngineVersion to AndroidManfiest.xml metadata
	#jira UE-40123
	#ue4
	#android

Change 3245235 on 2017/01/03 by Guillaume.Abadie

	Cherry picks CL 3234813 from Dev-Rendering: Fixes texture mask static lighting when using GBuffer selective outputs.

	#jira UE-39527

Change 3245183 on 2017/01/03 by Chris.Babcock

	Added missing #undef LOCTEXT_NAMESPACE to some files (contributed by projectgheist)
	#jira UE-40103
	#PR #3085
	#ue4
	#android

Change 3245120 on 2017/01/03 by mason.seay

	Missed some assets

	#jira UE-29618

Change 3245116 on 2017/01/03 by mason.seay

	Mass fucntional test

	#jira UE-29618

Change 3245049 on 2017/01/03 by Ben.Marsh

	PR #3086: Fixed ScriptGeneratorPlugin #includes (Contributed by projectgheist)

Change 3244924 on 2017/01/03 by Ben.Zeigler

	#jira UE-40057 Fix regression in public access for SwapPlayerControllers, from GitHub #3072

Change 3244831 on 2017/01/03 by Mitchell.Wilson

	Fixed hole in collision around level.
	#jira UE-39576

Change 3244817 on 2017/01/03 by Matthew.Griffin

	Change check for files being under engine directory to avoid problems with relative paths
	#jira UE-40096

Change 3244801 on 2017/01/03 by Andrew.Rodham

	Editor: Fixed color picker not working when opened from a details panel on a context menu
	  - When a color picker is opened from a details panel that's on a context menu, it now opens as a sub menu
	  - Added the ability to find an open menu from a widget path to FSlateApplication

	#jira UE-39932

Change 3244776 on 2017/01/03 by Matt.Kuhlenschmidt

	Fix window handle and device context being accessed by scene viewports after the underlying window has been destroyed by the OS.  This is an invalid state on linux and using some vr devices.

	#jira UE-7388

Change 3244672 on 2017/01/03 by Ben.Marsh

	Search all directories containing universal CRT installations from the registry, rather than assuming that the first one found will contain the universal CRT version we want to use. Attempt to fix issues described in PR #3059.

Change 3244668 on 2017/01/03 by Thomas.Sarkanen

	Added "Reimport Animation" and "Export to FBX" to the animation editor toolbar

	Options were in the asset menu before.

	#jira UE-39643 - Missing "Reimport" option for animation assets

Change 3244667 on 2017/01/03 by Thomas.Sarkanen

	Reduced default URO distances in-line with new LOD calculations

	New values should give (roughly) the same effect as the older values with the older system.

	#jira UE-39939 - URO LOD distance factors different with the new screen size metric

Change 3244654 on 2017/01/03 by Matthew.Griffin

	Added functionality to specify Loading Phase for plugin templates
	Changed Blueprint Library Template so that it loads pre loading screen and can be linked correctly in blueprints that use it
	#jira UE-38826

Change 3244631 on 2017/01/03 by Dmitriy.Dyomin

	Fixed: TM_Landscape_LOD Folder does not Live Update contents after generating LODs with Create Per Package Asset
	#jira UE-37368

Change 3244548 on 2017/01/02 by Jack.Porter

	Fix for Post-process Materials rendering incorrectly in editor mobile preview after viewport is resized
	#jira UE-39905

Change 3244389 on 2016/12/30 by Phillip.Kavan

	[UE-39816] Fix broken pin links caused by renaming interface function input/output parameters prior to compiling the interface, but after renaming the function itself.

	Mirrored from //UE4/Dev-Blueprints (CL# 3244388).

	#jira UE-39816

Change 3244248 on 2016/12/29 by laz.matech

	Saved the new sublevel in the persistent level and set it to hidden by default

	#jira UE-29618

Change 3244213 on 2016/12/29 by laz.matech

	Added a sublevel to QA-Sequencer map

	#jira UE-29618

Change 3243857 on 2016/12/27 by samuel.proctor

	Altered Container asset to have proper console input

	#jira UE-29618

Change 3243852 on 2016/12/27 by Mason.Seay

	Forgot config file

	#jira UE-29618

Change 3243847 on 2016/12/27 by mason.seay

	Improved mobile input

	#jira UE-29618

Change 3243536 on 2016/12/24 by Phillip.Kavan

	[UE-39944] Extend the GetClassDefaults node to include output pin exceptions for TSet/TMap properties (i.e. mirror safeguards already in place for TArray).

	Mirrored from //UE4/Dev-Blueprints (CL# 3243210).

	#jira UE-39944

Change 3243535 on 2016/12/24 by Phillip.Kavan

	[UE-39816] Renaming interface input/output parameters will no longer cause broken pin links at interface function call sites in Blueprints that are currently loaded.

	Mirrored from //UE4/Dev-Blueprints (CL# 3243207).

	#jira UE-39816

Change 3243534 on 2016/12/24 by Phillip.Kavan

	[UE-39733] Fix incorrect graph pin value display names for user-defined enum types.

	Mirrored from //UE4/Dev-Blueprints (CL# 3239965).

	#jira UE-39733

Change 3243532 on 2016/12/24 by Phillip.Kavan

	[UE-39854] Fix nativized assets build error when there are no native code dependencies.

	Mirrored from //UE4/Dev-Blueprints (CL# 3239778).

	#jira UE-39854

Change 3243529 on 2016/12/24 by Phillip.Kavan

	[UE-38999] Dump component tree node hierarchy to the output log on error state during widget generation.

	Mirrored from //UE4/Dev-Blueprints (CL# 3239289).

	#jira UE-38999

Change 3243442 on 2016/12/23 by mason.seay

	QAGame cleanup - Replacing copy pose from mesh test assets

	#jira UE-29618

Change 3243215 on 2016/12/22 by Dmitriy.Dyomin

	Fixed: Switching to ES2 feature level preview renders black in editor
	#jira UE-40009

Change 3243185 on 2016/12/22 by Ryan.Vance

	#jira UEVR-478
	Integrating 3235308 Mono changes from DevVR.

Change 3243183 on 2016/12/22 by Ryan.Vance

	#jira UEVR-455
	Integrating 3243173 post present call back implementation from 4.14.1

Change 3243182 on 2016/12/22 by Ryan.Vance

	#jira UE-39269
	Working around a nullptr deref in the Oculus runtime.

Change 3243153 on 2016/12/22 by mason.seay

	WIP map update

	#jira UE-29618

Change 3243128 on 2016/12/22 by andrew.porter

	QAGame: Adding Actor Sequence test content for a crash.

	#jira UE-29618

Change 3243117 on 2016/12/22 by Jeff.Fisher

	UE-34004 GitHub 2659 : Implement support for OpenVR controller roles.
	-Rather than assigning unreal hands to controllers in the order the controllers are connected assign unreal hands to match the ones the API is using.
	-We now defer setting up controllers that are disconnected.  This lets connected controllers, that may have hand preference from steam, occupy their desired hands first.  If a controller is connected later and does not have a role it is assigned to an unoccupied hand or to the right hand.
	-This can still end up ignoring role in the following circumstance (and I can get it to do this): get one controller to prefer'right' and the other to have no preference.  Power off the 'right' prefering controller.  Start the game with only the no-preference controller on.  The game will put that controller in the right slot, because the api gives it no other hints.  Then power on the controller that preferred 'right'.  That controller will now be assigned left, because right is occupied.  I don't see a way around that without the ability to switch which hand a controller is associated with at runtime.
	-This does not yet handle starting with 2 controllers, disconnecting one, then connecting a third controller well.  That did not work before either.  A new Jira was created for that.
	#2659
	#jira UE-34004
	#review-3231154

Change 3243093 on 2016/12/22 by mason.seay

	Some tweaks to vehicle levels

	#jira UE-29618

Change 3243084 on 2016/12/22 by andrew.porter

	QAGame: Cleaned up Sequencer_OverrideBindings

	#jira UE-29618

Change 3243009 on 2016/12/22 by andrew.porter

	QAGame: Renaming actor in Sequencer_OverrideBindings.

	#jira UE-29618

Change 3243003 on 2016/12/22 by andrew.porter

	QAGame: Removing override bindings from level sequence

	#jira UE-29618

Change 3242996 on 2016/12/22 by andrew.porter

	QAGame: Slight tweak to QA-Sequencer.

	#jira UE-29618

Change 3242982 on 2016/12/22 by Marc.Audy

	Properly reenable stats sounds in both game and level editor
	#jira UE-40015

Change 3242959 on 2016/12/22 by mason.seay

	Test map for vehicles and moving meshes

	#jira UE-29618

Change 3242934 on 2016/12/22 by andrew.porter

	QAGame: Adding test content to QA-Sequencer for Override Bindings

	#jira UE-29618

Change 3242870 on 2016/12/22 by Mason.Seay

	QAGame footprint reduction: Clearing out content (were in for old bug reports)

	#jira UE-29618

Change 3242799 on 2016/12/22 by tim.gautier

	QAGame - Adding the following assets for Sequencer Event Track testing:

	-TM-Sequencer_EventTrack + BuildData

	-QA_LightStruct

	-Sequencer_EventTrack

	#jira UE-29618

Change 3242792 on 2016/12/22 by samuel.proctor

	Correcting Container test asset for proper output

	#jira UE-29618

Change 3242727 on 2016/12/22 by Dmitriy.Dyomin

	Fixed: LoadLevelIntstance returns a reference that can't be used to send an interface message
	#jira UE-40005

Change 3242666 on 2016/12/22 by Dmitriy.Dyomin

	Fixed: Packaging Android app for Mali Graphics Debugger v4.3.0 fails
	#jira UE-39534

Change 3242373 on 2016/12/21 by Ori.Cohen

	Allow vehicles to override inertia tensor after any mass properties have changed.
	#JIRA UE-39566

Change 3242323 on 2016/12/21 by Josh.Adams

	- Somehow my last change just got completely lost in the edigrate shuffle. Or something. I have no idea! Rdoing it
	#jira UE-39966

Change 3242286 on 2016/12/21 by mason.seay

	Vehicle Assets and Maps

	#jira UE-29618

Change 3242284 on 2016/12/21 by Marc.Audy

	Fix "stat sounds" not working after PIE completes and a new one is begun
	#jira UE-32743
	#jira UE-39511

Change 3242281 on 2016/12/21 by Ori.Cohen

	Fix multi select being very slow in phat
	#JIRA UE-39559

Change 3242229 on 2016/12/21 by Ben.Marsh

	Fixup workspace for building PhysX.

Change 3242227 on 2016/12/21 by Marc.Audy

	Properly update listener position for stat sounds
	#jira UE-38850

Change 3242218 on 2016/12/21 by Ori.Cohen

	Fix physx html5 compilation APEX issue.

	#JIRA UE-39566

Change 3242174 on 2016/12/21 by Ori.Cohen

	Fix incorrect moment of inertia for convex elements with translation.

	#JIRA UE-39566

Change 3242145 on 2016/12/21 by Ori.Cohen

	Port 4.14 hotfix for vehicle stability

	#JIRA UE-38710

Change 3242139 on 2016/12/21 by Ori.Cohen

	Port 4.14 hotfix:
	Fix crash when setting collision trace in construction script.

	#JIRA UE-39341

Change 3242088 on 2016/12/21 by Alexis.Matte

	Fix the drag and drop material on level instance to drop on the correct material slot
	Fix the serialization of the staticmesh property FMeshSectionInfoMap
	#jira UE-39952

Change 3242081 on 2016/12/21 by Andrew.Rodham

	Sequencer: Make details view focused when resetting inner struct contents to ensure that focus path is valid.

	#jira UE-39851

Change 3242079 on 2016/12/21 by Andrew.Rodham

	Sequencer: Evaluation templates are now only fully rebuilt in PIE, and will not re-cycle track identifiers
	  - This addresses issues with newly compiled tracks recycling the persistent data of old stale tracks.
	  - This commit also ensures we don't fully rebuild templates in the editor when in Sequencer

	#jira UE-39882

Change 3242078 on 2016/12/21 by Andrew.Rodham

	Sequencer: Fixed crash when deactivating a section in sequencer

	#jira UE-39880

Change 3242026 on 2016/12/21 by Josh.Adams

	- Fixed compile errors in tools after NVNRHI move
	#jira UE-39966

Change 3241994 on 2016/12/21 by andrew.porter

	QAGame: Disabled auto play on Sequencer_AnimNotify.

	#jira UE-29618

Change 3241989 on 2016/12/21 by Mitchell.Wilson

	Resolving CIS warnings in Content examples.
	Fixed up redirectors. Moved a texture from developer folder into project and relinked in POM_Debug material. Fixed up BP Commentary Box which was failing to compile. Updated spawn rate on Pulse Ring so it works as intended.
	#jira UE-39984

Change 3241986 on 2016/12/21 by mason.seay

	Vehicle Landscape Test map (mainly for crash investigation)

	#jira UE-29618

Change 3241914 on 2016/12/21 by Josh.Adams

	- Removed invalid and confusing .ini settings
	#jira UE-39982

Change 3241902 on 2016/12/21 by Josh.Adams

	- Moved NVNRHI stuff out of RHI.Build.cs
	#jira UE-39966

Change 3241889 on 2016/12/21 by andrew.porter

	QAGame: Added new level sequence to QA-Sequencer level

	#jira UE-29618

Change 3241884 on 2016/12/21 by Alexis.Matte

	Make sure the color grading cursor follow the mouse by using the exponent value when painting the cursor.
	#jira UE-39834

Change 3241869 on 2016/12/21 by andrew.porter

	QAGame: Adding test content for Sequencer Animation Notifies

	#jira UE-29618

Change 3241809 on 2016/12/21 by Chris.Wood

	Fix non-unity build errors in UnrealWatchdog.
	[UE-39940] - GitHub 3054 : Added EngineBuildSettings.h to UnrealWatchdog.cpp

	PR #3054: Added EngineBuildSettings.h to UnrealWatchdog.cpp (Contributed by ryanjon2040)

	#jira UE-39940

Change 3241806 on 2016/12/21 by Marc.Audy

	Don't unload and then reload streaming levels that are marked to be hidden.
	#jira UE-39883

Change 3241802 on 2016/12/21 by Marc.Audy

	Add new object flag RF_NeedInitialization to indicate that ~FObjectInitalizer and PostInitProperties have not been executed for the object
	Do not allow Modify calls on Objects that have not been initialized
	#jira UE-39731

Change 3241790 on 2016/12/21 by Marc.Audy

	Don't rerun construction scripts when an actor has seamless traveled from another level
	#jira UE-39699

Change 3241789 on 2016/12/21 by Marc.Audy

	Check Owner has a valid world before trying to access Scene (4.14.2)
	#jira UE-39560

Change 3241786 on 2016/12/21 by Marc.Audy

	Fixed crash when seamless travelling in PIE from levels other than the current editor level with a streaming sublevel shared with the current editor level
	#jira UE-39407

Change 3241781 on 2016/12/21 by Mitchell.Wilson

	Fixed up redirectors for SkeletalMesh and Personal Walkthroughs.
	#jira UE-30953

Change 3241747 on 2016/12/21 by mason.seay

	Tag Query test map and assets

	#jira UE-29618

Change 3240938 on 2016/12/20 by Ben.Marsh

	Remaking QFE fixes from 4.14 branch.

Change 3240740 on 2016/12/20 by Ben.Marsh

	Update branch name for analytics.

[CL 3272229 by Matthew Griffin in Main branch]
2017-01-25 16:23:41 -05:00
Marcus Wassmer
5bb93c997e Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3249742)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3232283 on 2016/12/13 by Ben.Woodhouse

	D3D12 - downgrade root signature size warning to a log following a discussion with Microsoft. There's not much we can actually do about it, and it's not relevant to all hardware
	#jira UE-36999

Change 3232641 on 2016/12/13 by Mark.Satterthwaite

	- Eliminate redundant state changes in MetalRHI in the state cache.
	- Add a new debug level for setting buffers to nil prior to calls to set*Bytes so that the tool doesn't display incorrect data.
	- Make testing for validation & statistics features use the same EMetalFeatures API as everything else for consistency.
	- Cache the fallback depth-stencil texture in the state cache and ignore it for determining whether a pass can restart - if we are using this texture its contents are worthless anyway.

Change 3232661 on 2016/12/13 by Mark.Satterthwaite

	Re-enable Metal SM5 & DFAO/DistanceFieldShadowing on Intel for 10.12.2 or later.

Change 3232759 on 2016/12/13 by Ben.Woodhouse

	Fix memory leak on XB1 when calling GPURealloc with count of 0, suggested on UDN
	https://udn.unrealengine.com/questions/326660/gpurealloc-leak.html

Change 3232803 on 2016/12/13 by Ben.Marsh

	Add UT to the populate DDC job, and cook UT and Fortnite for Mac as well.

Change 3232836 on 2016/12/13 by Ben.Marsh

	Split cooks to populate DDC into separate nodes for each platform. May help to reduce number of timeouts on remote VMs.

Change 3232974 on 2016/12/13 by Rolando.Caloca

	DR - Refactor common code to UWorld::RecreateScene
	#jira UE-36719
	PR #2824

Change 3232976 on 2016/12/13 by Ben.Marsh

	Add missing dependency on tools node for Mac cooks. Need to compile SCW first.

Change 3233289 on 2016/12/13 by Olaf.Piesche

	Fixing potentially broken spot/point light fade with old content; initialize new properties properly

Change 3233811 on 2016/12/13 by Mark.Satterthwaite

	Fix compiling QA-Material tessellation shaders that don't need to emit from Hull or sample in Domain the HSOut buffer which was confusing MetalBackend.

Change 3233854 on 2016/12/13 by Mark.Satterthwaite

	More information about texture type validation errors in Metal.

Change 3234650 on 2016/12/14 by Rolando.Caloca

	DR - vk - Fix bad aspect on depth cubemaps

Change 3234651 on 2016/12/14 by Rolando.Caloca

	DR - vk - Fix for 32 bit crash on dump layer

Change 3234813 on 2016/12/14 by Guillaume.Abadie

	Fixes texture mask static lighting when using GBuffer selective outputs.

	#jira UE-39527

Change 3235047 on 2016/12/14 by Uriel.Doyon

	Refactored HLOD texture streaming strategy to separate forced load from visibility.
	Added an incremental update in the last stage of the texture streaming update load to clear any pending work.
	Added an option "All" to the "BuildMateriaTexturelStreamingData" command to force rebuild everything.

Change 3235317 on 2016/12/14 by Uriel.Doyon

	Removed timed primitives in the texture streaming since it was not used and there is now a fallback implementation in UPrimitiveComponent::GetStreamingTextureInfo.

Change 3235431 on 2016/12/14 by Rolando.Caloca

	DR - Fix for Vulkan drawing black

Change 3236788 on 2016/12/15 by Mark.Satterthwaite

	Fix 10.11.6 support (aka -nometalv2): the stencil view workaround necessitates a mid-render blit and the way things were setup resulted in the HasValidRenderTargets assert firing. Refactored the code to separate the concept or valid render-states in the cache from active render-states in the render-pass. Now it works as intended and will be needed for 4.15.

Change 3236850 on 2016/12/15 by Mark.Satterthwaite

	Make changing the Metal Shader Version project setting prompt the user to restart for the changes to take effect.
	#jira UE-39801

Change 3237002 on 2016/12/15 by Benjamin.Hyder

	submitting updated TM-Shadermodels map

Change 3237312 on 2016/12/15 by Rolando.Caloca

	DR - Change more macros to lambdas

Change 3237394 on 2016/12/15 by Mark.Satterthwaite

	Add Metal-specific permutations of TBasePassHS - they affect the C++ definition on all platforms but are only cached or used on Metal - because the way we compile the combined VS+HS tessellation stage requires that the combined VS + HS HLSL code references the same resources, otherwise we get incorrect resouce bindings and subsequently fail to render properly. Long-term the Metal tessellation code will need to be refactored so that the vertex shader stage is emitted as a separate shader from the hull shader stage as this but will keep cropping back up and continue to complicate the engine.
	#jira UE-39799

Change 3237490 on 2016/12/15 by Daniel.Wright

	Fixed ULandscapeComponent::GetUsedMaterials

Change 3237597 on 2016/12/15 by Ben.Woodhouse

	Disable timestamp queries on pre-Maxwell nvidia hardware. Local testing suggests that this is the major cause of instability in the UE4.14 release.

	It's possible that we could be more targeted by only excluding Fermi and older hardware, but identifying fermi hardware by device ID is difficult in practice, since the range overlaps with Kepler.

Change 3237654 on 2016/12/15 by Daniel.Wright

	Non-editor compile fix

Change 3238229 on 2016/12/16 by Rolando.Caloca

	DR - Remove ExcludeRect from inner RHI Clear methods; ensure will happen if trying to use it

Change 3238236 on 2016/12/16 by Rolando.Caloca

	DR - Compile fixes

Change 3238280 on 2016/12/16 by Marc.Olano

	Small optimization to Lanczos-3 upsample shader code.

Change 3238321 on 2016/12/16 by Rolando.Caloca

	DR - Compile fix

Change 3238331 on 2016/12/16 by Rolando.Caloca

	DR - compile fix

Change 3238495 on 2016/12/16 by Marc.Olano

	Replace TEA random number generator with PCG.

	Was only used in #if-disabled reference rendering, but ldoes make better quality reference rendering when enabled.

Change 3238496 on 2016/12/16 by Marc.Olano

	Tone mapping fix for OR-31752, cherry picked from Orion 3208273

	Assumption that green is approximates luminance fails on red/blue HDR content, resulting in ugly black artifacts. Go back to luminance.

Change 3238520 on 2016/12/16 by Rolando.Caloca

	DR - CIS Fix

Change 3238571 on 2016/12/16 by Rolando.Caloca

	DR - CIS fix

Change 3238605 on 2016/12/16 by Daniel.Wright

	Sharing IndirectLightingCacheTextureSampler samplers

Change 3238626 on 2016/12/16 by Daniel.Wright

	Ray Traced Distance Field Shadow optimizations
	* Tighter light space tile culling
	* Skip ray marching pixels before the RTDF cascade near distance, or further than the cascade far distance
	* Depth bounds test on upsample
	* Created FLightTileIntersectionParameters for encapsulation of light tile culling functionality
	* RTDF shadow time went from 1.8ms -> .8ms and 3.1ms -> 1.2ms in FortGPUTestbed on 7870 with these changes

Change 3238652 on 2016/12/16 by Rolando.Caloca

	DR - RHI clear methods no longer have an ExcludeRect, use DrawClearQuad functions instead

Change 3238855 on 2016/12/16 by Rolando.Caloca

	DR - Added FRHITexture2D GetSizeXY

Change 3238881 on 2016/12/16 by Rolando.Caloca

	DR - CIS fix

Change 3239008 on 2016/12/16 by Arne.Schober

	DR - Fixing accidently returning a stackpointer in EnqueueRenderCommands

Change 3239012 on 2016/12/16 by Arne.Schober

	DR - missing file

Change 3239255 on 2016/12/17 by Rolando.Caloca

	DR - Remove shader clears from D3D11

Change 3239690 on 2016/12/19 by Rolando.Caloca

	DR - vk - Misc fixes from 1.0.37.00 SDK warnings

Change 3239964 on 2016/12/19 by Rolando.Caloca

	DR - Fix click on editor not showing selected

Change 3239995 on 2016/12/19 by Rolando.Caloca

	DR - Enable dist field on GL4 & Vulkan SM5

Change 3240162 on 2016/12/19 by Daniel.Wright

	Added EnableDepthBoundsTest / DisableDepthBoundsTest to RHIUtilites to share some common code

Change 3240163 on 2016/12/19 by Daniel.Wright

	Distance field self shadowing controls for hiding world position offset self-shadow artifacts
	* Removed static mesh build settings DistanceFieldBias, which shrunk the distance field, breaking AO and shadows
	* Added DistanceFieldSelfShadowBias, which prevents occlusion close to the surface only, maintaining shadows on the ground and AO on the ground

Change 3240271 on 2016/12/19 by Daniel.Wright

	Use 16 bit indices for distance field objects culled to tiles, when 16 bit will be enough.  Saves 10mb of tile culling buffers.

Change 3240282 on 2016/12/19 by Rolando.Caloca

	DR - Proper fix for hit proxies clear
	- Added missing stencil ref to DrawClearQuad

Change 3240316 on 2016/12/19 by Rolando.Caloca

	DR - vk - Fixed some new 1.0.37.0 warnings

Change 3240354 on 2016/12/19 by Rolando.Caloca

	DR - Dev shaders on sm4/5

Change 3240759 on 2016/12/20 by Rolando.Caloca

	DR - Fix bad crc on GL element declarations

Change 3240895 on 2016/12/20 by Rolando.Caloca

	DR - vk - Swapchain fixes

Change 3241057 on 2016/12/20 by Rolando.Caloca

	DR - vk - Fix resize on desktop

Change 3241112 on 2016/12/20 by Rolando.Caloca

	DR - vk - Fix 1.0.37.0 warnings
	- Ignore some warnings we know we can't fix

Change 3241310 on 2016/12/20 by Rolando.Caloca

	DR - vk - Fix crash

Change 3241417 on 2016/12/20 by Daniel.Wright

	[Copy] Fixed race condition with FPrecomputedLightVolume::Data which was exposed when switching lighting scenarios

Change 3241990 on 2016/12/21 by Daniel.Wright

	Converted DistanceFieldVolume data to BulkData
	* FDistanceFieldVolumeData Serialize time from .7s on PS4 to 0s

Change 3242005 on 2016/12/21 by Daniel.Wright

	Removed unused !USE_DEPTH_RANGE_LISTS path to reduce complexity

Change 3242295 on 2016/12/21 by Bob.Tellez

	Duplicating CL#3242294 from //Fortnite/Main

	#UE4 Re-applying the fix for rendering editor primitives when r.EarlyZPassOnlyMaterialMasking is enabled

Change 3242487 on 2016/12/21 by Marcus.Wassmer

	Fix typo

Change 3243091 on 2016/12/22 by Daniel.Wright

	Fixed too many groups dispatched for TConeTraceScreenGridGlobalOcclusionCS

Change 3243161 on 2016/12/22 by Uriel.Doyon

	New async tasks for the streaming update. Optimizing the biggest frame cost.

Change 3243179 on 2016/12/22 by Uriel.Doyon

	Fixed possible invalid access from the async FNormalizeLightmapTexelFactorTask

Change 3243236 on 2016/12/22 by Daniel.Wright

	Fixed DFAO bilateral upsample
	* Depth buffer was being unbound due to lack of DepthRead_StencilNop

Change 3243452 on 2016/12/23 by Ben.Woodhouse

	Bring back 1024 render query limit workaround on D3D12 which was lost during the merge from partners
	#jira UE-35247

Change 3243512 on 2016/12/23 by Uriel.Doyon

	Improved task system for texture streaming.

Change 3243742 on 2016/12/26 by Rolando.Caloca

	DR - vk - Fix UAV clears
	- Removed old validation layer
	- Print found device layers

Change 3243745 on 2016/12/27 by Rolando.Caloca

	DR - vk - Fix for texture cube arrays
	- Warning for ClearUAVs

Change 3243762 on 2016/12/27 by Rolando.Caloca

	DR - vk - Always use pipeline cache

Change 3244450 on 2016/12/31 by Rolando.Caloca

	DR - vk - Pre reqs for separate transfer queue

Change 3244453 on 2016/12/31 by Rolando.Caloca

	DR - vk - Win32 compile fix

Change 3244756 on 2017/01/03 by Marcus.Wassmer

	Copying //Tasks/UE4/Dev-Niagara@3244743 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3244757 on 2017/01/03 by Marcus.Wassmer

	Niagara is still experimental in non-task branches.

Change 3245059 on 2017/01/03 by Benjamin.Hyder

	Submitting TM-TrigNodes map

Change 3245500 on 2017/01/03 by Olaf.Piesche

	Compile fix #1 for post-merge problems

Change 3245572 on 2017/01/03 by Olaf.Piesche

	(Speculative) fix #2 for post-merge build problem. Hopefully fixes public distribution level error for cross compiler tool.

Change 3245683 on 2017/01/03 by Marcus.Wassmer

	Fix some niagara warnings

Change 3245732 on 2017/01/03 by Marcus.Wassmer

	Fix Niagara compile on clang platforms.
	Fix a few warnings / static analysis things as well.

Change 3246403 on 2017/01/04 by Rolando.Caloca

	DR - vk - Fix bogus warning

Change 3246432 on 2017/01/04 by Marcus.Wassmer

	Copying //Tasks/UE4/Dev-Niagara@3246424 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3246538 on 2017/01/04 by Rolando.Caloca

	DR - vk - Show hitch time for compute psos

Change 3246580 on 2017/01/04 by Rolando.Caloca

	DR - vk - compile fix

Change 3246610 on 2017/01/04 by Rolando.Caloca

	DR - Compute PSO pre reqs

Change 3246707 on 2017/01/04 by Marcus.Wassmer

	Add missing integer operations to UnrealMathDirectX.h

Change 3246786 on 2017/01/04 by Marcus.Wassmer

	Avoid public dependency build errors.  Should probably just remove the DDCUtils module instead

Change 3246828 on 2017/01/04 by Olaf.Piesche

	UE-39249; need to check the view as well as the view family in CheckAndUpdateLastFrame; scene captures use a different family, but each eye for VR uses a different scene view.

Change 3247026 on 2017/01/04 by Rolando.Caloca

	DR - Remove CrossCompilerTool as it's not required anymore

Change 3247086 on 2017/01/04 by Marcus.Wassmer

	Remove includes for Core.h monolithic header

Change 3247227 on 2017/01/04 by Marcus.Wassmer

	Fix typo and compile errors.

Change 3247228 on 2017/01/04 by Marcus.Wassmer

	Use crossplatform intrinsics

Change 3247229 on 2017/01/04 by Marcus.Wassmer

	Implement missing integer NEON operations.
	Change NEON vectorint to match name and sign from other platforms

Change 3247245 on 2017/01/04 by Marcus.Wassmer

	Fixing various warnings/errors from clang platforms (Mac/Linux)

Change 3247331 on 2017/01/04 by Marcus.Wassmer

	More Mac/clang fixes

Change 3247958 on 2017/01/05 by Marcus.Wassmer

	VectorInt < - > Float ops should be conversions not reinterpret cast

Change 3247959 on 2017/01/05 by Marcus.Wassmer

	Add missing ops to non-vector header

Change 3247964 on 2017/01/05 by Rolando.Caloca

	DR - Temp fix for crash
	#jira UE-40211

Change 3248067 on 2017/01/05 by Rolando.Caloca

	DR - Static analysis fixes
	#jira UE-40167

Change 3248284 on 2017/01/05 by Rolando.Caloca

	DR - Linuix Compile fix
	#jira UE-40260

Change 3248288 on 2017/01/05 by Rolando.Caloca

	DR - Linux compile fix
	#jira UE-40264

Change 3248399 on 2017/01/05 by Brian.Karis

	Filtered importance sampling for envmap prefiltering.

	Fixed SSR on clearcoat with skylight only.

Change 3248503 on 2017/01/05 by Rolando.Caloca

	DR - Linux fixes
	#jira UE-40264

Change 3248666 on 2017/01/05 by Brian.Karis

	Fix GL compile error

Change 3248740 on 2017/01/05 by Marcus.Wassmer

	Fix linux and clang errors/warnings

Change 3248851 on 2017/01/05 by Marcus.Wassmer

	Simplest fix for ES2 compile errors

Change 3249217 on 2017/01/06 by Simon.Tovey

	Speculative fix for static analysis warning

Change 3249296 on 2017/01/06 by Ben.Woodhouse

	XB1/Fast semantics:
	Add missing L1/L2 cache flush on transition to readable (or RW). The missing cache flush was causing indeterminism when reading from a texture shortly after writing to it as a render target.
	This fixes bloom and diffuse irradiance issues
	The bug has been there for a while, but CL 3227787 (drawclear early out) caused it to manifest
	#jira UE-39727
	#jira UE-40238

Change 3249300 on 2017/01/06 by Ben.Woodhouse

	Remove workaround for diffuse irradiance (redundant clear). No longer necessary with CL 3249296

Change 3249387 on 2017/01/06 by Rolando.Caloca

	DR - Fix GL clear issues
	#jira UE-40254

Change 3249435 on 2017/01/06 by Ben.Woodhouse

	Duplicated from UT CL 3238664
	Fix dbuffer decal rendering issues in fullscreen on PC. Also fixes crash in editor when viewing dbuffer materials.
	Pass clearcolor in RT params for system textures to workaround a bug with ClearColorTexture not working in fullscreen mode on DX11. Make sure dbuffer targets are bound if we're rendering mesh decals
	#jira UT-6891
	#jira UE-39842

Change 3249721 on 2017/01/06 by Marcus.Wassmer

	Remove final references to non-existent Niagara data

Change 3249742 on 2017/01/06 by Marcus.Wassmer

	Fix missing GPU particles on Mac.
	Pointers getting reused is causing the blendstate equality operator to fail.
	Simple workaround until we have time for a proper fix.

[CL 3249983 by Marcus Wassmer in Main branch]
2017-01-06 17:51:46 -05:00
Gil Gribb
80f6fa5fa7 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3231693)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3219796 on 2016/12/02 by Rolando.Caloca

	DR - vk - Increase timeout to 60ms

Change 3219884 on 2016/12/02 by Daniel.Wright

	Assert to help track down rare crash locking capsule indirect shadow vertex buffer

Change 3219885 on 2016/12/02 by Daniel.Wright

	Fixed saving a package that doesn't exist on disk but exists in p4 at a newer revision when the user chooses 'Mark Writable'

Change 3219886 on 2016/12/02 by Daniel.Wright

	Don't create projected shadows when r.ShadowQuality is 0
	* Fixes crash in the forward path trying to render shadows
	* In the deferred path, the shadowmap was still being rendered and only the projection skipped, now all cost will be skipped

Change 3219887 on 2016/12/02 by Daniel.Wright

	Changed ClearRenderTarget2D default alpha to 1, which is necessary for correct compositing

Change 3219893 on 2016/12/02 by Daniel.Wright

	AMD AGS library with approved TPS
	Disabled DFAO on AMD pre-GCN PC video cards to workaround a driver bug which won't be fixed (Radeon 6xxx and below)

Change 3219913 on 2016/12/02 by Daniel.Wright

	Level unload of a lighting scenario propagates the lighting scenario change - fixes crash when precomputed lighting volume data gets unloaded

Change 3220029 on 2016/12/02 by Daniel.Wright

	Async shader compiling now recreates scene proxies which are affected by the material which was compiled.  This fixes crashes which were occuring as proxies cache various material properties, but applying compiled materials would not update these cached properties (bRequiresAdjacencyInformation).
	* A new ensure has been added in FMeshElementCollector::AddMesh and FBatchingSPDI::DrawMesh to catch attempts to render with a material not reported in GetUsedMaterials
	* Fixed UParticleSystemComponent::GetUsedMaterials and UMaterialBillboardComponent::GetUsedMaterials
	* FMaterialUpdateContext should be changed to use the same pattern, but that hasn't been done yet

Change 3220108 on 2016/12/02 by Daniel.Wright

	Fixed shadowmap channel assignment for stationary lights which are not in a lighting scenario level, when a lighting scenario level is present

Change 3220504 on 2016/12/03 by Mark.Satterthwaite

	Metal Desktop Tessellation support from Unicorn.
	- Apple: Metal tessellation support added to MetalShaderFormat, MetalRHI and incl. changes to engine runtime/shaders for Desktop renderer and enabled in ElementalDemo by default (OS X 10.11 will run SM4).
	- Epic: Support for different Metal shader standards on Mac, iOS & tvOS which required moving some RHI functions around as this is a project setting and not a compile-time constant.
	- Epic: Fragment shader UAV support, which is also tied to newer Metal shader standard like Tessellation.
	- Epic: Significant refactor of MetalRHI's internals to clearly separate state-caching from render-pass management and command-encoding.
	- Epic: Internal MetalRHI validation code is now cleanly separated out into custom implementations of the Metal @protocol's and is on by default.
	- Epic: Various fixes to Layered Rendering for Metal.
	- Omits Mobile Tessellation support which needs further revision.

Change 3220881 on 2016/12/04 by Mark.Satterthwaite

	Compiles fixes for iOS & static analysis fixes from Windows.

Change 3221180 on 2016/12/05 by Guillaume.Abadie

	Avoid compiling PreviousFrameSwitch's both Current Frame and Previous Frame inputs every time.

Change 3221217 on 2016/12/05 by Chris.Bunner

	More NVAPI warning fixups.

Change 3221219 on 2016/12/05 by Chris.Bunner

	When comparing overriden properties used to force instance recompilation we need to check against the base material, not assume the immediate parent.
	#jira UE-37792

Change 3221220 on 2016/12/05 by Chris.Bunner

	Exported GetAllStaticSwitchParamNames and GetAllStaticComponentMaskParamNames.
	#jira UE-35132

Change 3221221 on 2016/12/05 by Chris.Bunner

	PR #2785: Fix comment typo in RendererInterface.h (Contributed by dustin-biser)
	#jira UE-35760

Change 3221223 on 2016/12/05 by Chris.Bunner

	Default to include dev-code when compiling material preview stats.
	#jira UE-20321

Change 3221534 on 2016/12/05 by Rolando.Caloca

	DR - Added FDynamicRHI::GetName()

Change 3221833 on 2016/12/05 by Chris.Bunner

	Set correct output extent on PostProcessUpscale (allows users to extend chain correctly).
	#jira UE-36989

Change 3221852 on 2016/12/05 by Chris.Bunner

	32-bit/ch EXR screenshot and frame dump output.
	Fixed row increment bug in 128-bit/px surface format readback.
	#jira UE-37962

Change 3222059 on 2016/12/05 by Rolando.Caloca

	DR - vk - Fix memory type not found

Change 3222104 on 2016/12/05 by Rolando.Caloca

	DR - Lambdaize
	- Added quicker method to check if system textures are initialized

Change 3222290 on 2016/12/05 by Mark.Satterthwaite

	Trivial fixes to reporting Metal shader pipeline errors - need to check if Hull & Domain exist.

Change 3222864 on 2016/12/06 by Rolando.Caloca

	DR - Fix mem leak when exiting

Change 3222873 on 2016/12/06 by Rolando.Caloca

	DR - vk - Minor info to help track down leaks

Change 3222875 on 2016/12/06 by Rolando.Caloca

	DR - Fix mem leak with VisualizeTexture
	#jira UE-39360

Change 3223226 on 2016/12/06 by Chris.Bunner

	Static analysis warning workaround.

Change 3223235 on 2016/12/06 by Ben.Woodhouse

	Integrate from NREAL: Set a custom projection matrix on a SceneCapture2D

Change 3223343 on 2016/12/06 by Chris.Bunner

	Moved HLOD persistent data to viewstate to fix per-view compatability.
	#jira UE-37539

Change 3223349 on 2016/12/06 by Chris.Bunner

	Fixed HLOD with FreezeRendering command.
	#jira UE-29839

Change 3223371 on 2016/12/06 by Michael.Trepka

	Removed obsolete check() in FMetalSurface constructor

Change 3223450 on 2016/12/06 by Chris.Bunner

	Added explicit ScRGB output device selection rather than Nvidia-only hardcoded checks. Allows easier support for Mac and other devices moving forward.

Change 3223638 on 2016/12/06 by Michael.Trepka

	Restored part of the check() in FMetalSurface constructor removed in CL 3223371

Change 3223642 on 2016/12/06 by Mark.Satterthwaite

	Experimental Metal EDR/HDR output support for Mac (iOS/tvOS need custom formats & shaders so they are not supported yet).
	- Only available on macOS Sierra (10.12) for Macs with HDR displays (e.g. Retina iMacs).
	- Enable with -metaledr command-line argument as it is off-by-default.
	- Sets up the CAMetalLayer & the back-buffer for RGBA_FP16 output on Mac using DCI-P3 as the color gamut and ACES 1000 nit ScRGB output encoding.

Change 3223830 on 2016/12/06 by Rolando.Caloca

	DR - vk - Better error when finding an invalid Vulkan driver
	#jira UE-37495

Change 3223869 on 2016/12/06 by Rolando.Caloca

	DR - vk - Reuse fences

Change 3223906 on 2016/12/06 by Guillaume.Abadie

	Fix alpha through TempAA artifact causing a small darker edge layouts.

Change 3224199 on 2016/12/06 by Mark.Satterthwaite

	Fix a dumb copy-paste error from the HDR changes to Metal.

Change 3224220 on 2016/12/06 by Mark.Satterthwaite

	Fix various errors with Metal UAV & Render-Pass Restart support so that we can use the Pixel Shader culling for DistanceField effects.
	- Unfortunately Metal requires that a texture be bound to start a render-pass, so reuse the dummy depth-stencil surface from the problematic editor preview tile rendering.

Change 3224236 on 2016/12/06 by Mark.Satterthwaite

	IWYU CIS compile fix for iOS.

Change 3224366 on 2016/12/06 by Mark.Satterthwaite

	Simplify some of the changes from CL# 3224220 so that we don't perform unnecessary clears.
	- If the RenderPass is broken to issue compute or blit operations then treat the cached RenderTargetsInfo as invalid, unless the RenderPass is restarted.
	- This guarantees that we don't erroneously ignore calls to SetRenderTargets if the calling code issues a dispatch between two RenderPasses that use the same RenderTargetsInfo.

Change 3224416 on 2016/12/06 by Uriel.Doyon

	New default implementation for UPrimitiveComponent::GetStreamingTextureInfo using a conservative heuristic where the textures are stretched across the bounds.
	Optimized UPrimitiveComponent::GetStreamingTextureInfoWithNULLRemoval by not handling registered components with no proxy (essentially hidden game / collision primitives).

	Added blueprint support for texture streaming built data through FStaticMeshComponentInstanceData.

	Fix for material texture streaming data not being available on some cooked builds.

	Enabled split requests on all texture load requests (first loading everything visible and then loaded everything not visible).
	This is controlled by "r.Streaming.MinMipForSplitRequest" which defines the minimum mip for which to allow splitting.
	Forced residency are now loaded in two steps (visible, then forced), improving reactiveness.

	Updated "stat streaming" to include "UnkownRefMips" which represent texture with no known component referencing them,
	and also "LastRenderTimeMips" which related to timed primitives.
	Changed "Forced Mips" so that it only shows mips that are loaded become of forced residency.

	"Texture Streaming Build" now updates the map check after execution.

	Removed Orphaned texture logic as this has  become irrelevant with the latest retention priority logic.

	Updated "r.streaming.usenewmetrics" so that it shows behavior before and after 4.12 improvements.

Change 3224532 on 2016/12/07 by Uriel.Doyon

	Integrated CL 3223965 :

	Building texture streaming data for materials does not wait for pending shaders to finish compilation anymore.
	Added more options to allow the user to cancel this build also.

Change 3224714 on 2016/12/07 by Ben.Woodhouse

	Cherry pick CL 3223972 from //fortnite/main:

	Disable Geometry shader onchip on XB1. This saves 4ms for a single shadow casting point light @ 512x512 (4.8ms to 1.8ms)

Change 3224715 on 2016/12/07 by Ben.Woodhouse

	New version of d3dx12.h from Microsoft which incorporates my suggested static analysis fixes. This avoids us diverging from the official version

Change 3224975 on 2016/12/07 by Rolando.Caloca

	DR - vk - Dump improvements

Change 3225012 on 2016/12/07 by Rolando.Caloca

	DR - Show warning if trying to use num samples != (1,2,4,8,16)

Change 3225126 on 2016/12/07 by Chris.Bunner

	Added 'force 128-bit rendering pipeline' to high-res screenshot tool.
	#jira UE-39345

Change 3225449 on 2016/12/07 by Chris.Bunner

	Updated engine rendering defaults to better match current best practices.
	#jira UE-38081

Change 3225485 on 2016/12/07 by Chris.Bunner

	Moved QuantizeSceneBufferSize to RenderCore and added call for PostProcess settings. Fixes screenpercentage out-of-bounds reads in some cases.
	#jira UE-19394

Change 3225486 on 2016/12/07 by Chris.Bunner

	Only disable TAA during HighResScreenshots if we don't have a reasonable frame-delay enabled.

Change 3225505 on 2016/12/07 by Daniel.Wright

	Fixed exponential height fog disappearing with no skybox

Change 3225655 on 2016/12/07 by Benjamin.Hyder

	Updating TM-Shadermodels to include Translucent lighting, Two sided, updated cloth animation, and adjusted lighting.

Change 3225668 on 2016/12/07 by Chris.Bunner

	Dirty owning packages when user manually forces regeneration of all reflection captures.
	#jira UE-38759

Change 3226139 on 2016/12/07 by Rolando.Caloca

	DR - Fix recompute tangents disabling skin cache
	- Make some macros into lambdas
	#jira UE-39143

Change 3226212 on 2016/12/07 by Daniel.Wright

	Features which require a full prepass use DDM_AllOpaque instead of DDM_AllOccluders, which can be skipped if the component has bUseAsOccluder=false

Change 3226213 on 2016/12/07 by Daniel.Wright

	Scene Capture 2D can specify a global clip plane, which is useful for portals
	* Requires the global clip plane project setting to be enabled

Change 3226214 on 2016/12/07 by Daniel.Wright

	Improved deferred shadowing with MSAA by upsampling light attenuation intelligently in the base pass
	* If the current fragment's depth doesn't match what was used for deferred shadowing, the neighbor (cross pattern) with the nearest depth's shadowing is used
	* Edge artifacts can still occur where the upsample fails or the shadow factor was computed per-sample due to depth / stencil testing
	* Indirect Occlusion from capsule shadows also uses the nearest depth neighbor UV for no extra cost
	* Base pass on 970 GTX 1.69ms -> 1.85ms (.16ms) in RoboRecall

Change 3226258 on 2016/12/07 by Rolando.Caloca

	DR - Typo fix

Change 3226259 on 2016/12/07 by Rolando.Caloca

	DR - compile fix
	#jira UE-39143

Change 3226932 on 2016/12/08 by Chris.Bunner

	Re-saved Infiltrator maps to update reflection captures.
	#jira UE-38759

Change 3227063 on 2016/12/08 by Mark.Satterthwaite

	For Metal platforms ONLY temporarily disable USE_LIGHT_GRID_REFLECTION_CAPTURE_CULLING to avoid UE-37436 while the Nvidia driver team investigate why this doesn't work for them but does for the others. This won't affect non-Metal platforms and the intent is to revert this prior to 4.16 provided we can work through the problem with Nvidia.
	#jira UE-37436

Change 3227120 on 2016/12/08 by Gil.Gribb

	Merging //UE4/Dev-Main@3226895 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3227211 on 2016/12/08 by Arne.Schober

	DR - UE-38585 - Fixing crash where HierInstStaticMesh duplication fails. Also reverting the fix from UE-28189 which is redundant.

Change 3227257 on 2016/12/08 by Marc.Olano

	Extension to PseudoVolumeTexture for more flexible layout
	Change by ryan.brucks

Change 3227286 on 2016/12/08 by Rolando.Caloca

	DR - Fix crash when using custom expressions and using reserved keywords
	#jira UE-39311

Change 3227376 on 2016/12/08 by Mark.Satterthwaite

	Must not include a private header inside the MenuStack public header as that causes compile errors in plugins.

Change 3227415 on 2016/12/08 by Mark.Satterthwaite

	Fix shader compilation due to my disabling of USE_LIGHT_GRID_REFLECTION_CAPTURE_CULLING on Metal - InstancedCompositeTileReflectionCaptureIndices needs to be defined even though Metal doesn't support instanced-stereo rendering.

Change 3227516 on 2016/12/08 by Daniel.Wright

	Implemented UWidgetComponent::GetUsedMaterials

Change 3227521 on 2016/12/08 by Guillaume.Abadie

	Fixes post process volume's indirect lighting color.

	#jira UE-38888

Change 3227567 on 2016/12/08 by Marc.Olano

	New upscale filters: Lanczos-2 (new default), Lanczos-3 and Gaussian Unsharp Mask

Change 3227628 on 2016/12/08 by Daniel.Wright

	Removed redundant ResolveSceneDepthTexture from the merge

Change 3227635 on 2016/12/08 by Daniel.Wright

	Forward renderer supports shadowing from movable lights and light functions
	* Only 4 shadow casting movable or stationary lights can overlap at any point in space, otherwise the movable lights will lose their shadows and an on-screen message will be displayed
	* Light functions only work on shadow casting lights since they need a shadowmap channel to be assigned

Change 3227660 on 2016/12/08 by Rolando.Caloca

	DR - vk - Fix r.MobileMSAA on Vulkan
	- r.MobileMSAA is now read-only (to be fixed on 4.16)
	- Show time for PSO creation hitches
	#jira UE-39184

Change 3227704 on 2016/12/08 by Mark.Satterthwaite

	Fix Mac HDR causing incorrect output color encoding being used, HDR support is now entirely off unless you pass -metaledr which will enable it regardless of whether the current display supports HDR (as we haven't written the detection code yet). Fixed the LUT/UI compositing along the way - Mac Metal wasn't using volume LUT as it should have been, RHISupportsVertexShaderLayer now correctly returns false for non-Mac Metal platforms.

Change 3227705 on 2016/12/08 by Daniel.Wright

	Replaced built-in samplers in the nearest depth translucency upsample because the built-in samplers are no longer bound on PC (cl 2852426)

Change 3227787 on 2016/12/08 by Chris.Bunner

	Added extent clear to motion blur pass to catch misized buffers bringing in errors.
	Added early out to clear call when excluded region matches RT region.
	#jira UE-39437

Change 3228177 on 2016/12/08 by Marc.Olano

	Fix DCC sqrt(int) error

Change 3228285 on 2016/12/08 by Chris.Bunner

	Back out changelist 3225449.
	#jira UE-39528

Change 3228680 on 2016/12/09 by Gil.Gribb

	Merging //UE4/Dev-Main@3228528 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3228940 on 2016/12/09 by Mark.Satterthwaite

	Editor fixes for 4.15:
	- PostProcessTonemap can't fail to bind a texture to the ColorLUT or the subsequent rendering will be garbage: the changes for optimising stereo rendering forgot to account for the Editor's use of Views without States for the asset preview thumbnails. Amended the CombineLUT post-processing to allocate a local output texture when there's no ViewState and read from this when this situation arises which makes everything function again.
	- Don't start render-passes without a valid render-target-array in MetalRHI.

Change 3228950 on 2016/12/09 by Mark.Satterthwaite

	Make GPUSkinCache run on Mac Metal - it wasn't working because it was forcibly disabled on all platforms but for Windows D3D 11.
	- Fixed the Skeleton editor tree trying to access a widget before it has been constructed.
	- Enable GPUSkinCache for Metal SM5: doesn't render correctly, even on AMD, so needs Radar's filing and investigation.
	#jira UE-39256

Change 3229013 on 2016/12/09 by Mark.Satterthwaite

	Further tidy up in SSkeletonTreeView as suggested by Nick.A.

Change 3229101 on 2016/12/09 by Chris.Bunner

	Log compile error fix and updated cvar comments.

Change 3229236 on 2016/12/09 by Ben.Woodhouse

	XB1 D3D11 and D3D12: Use the DXGI frame statistics to get accurate GPU time unaffected by bubbles

Change 3229430 on 2016/12/09 by Ben.Woodhouse

	PR #2680: Optimized histogram generation. (Contributed by PjotrSvetachov)

	Profiled on nvidia 980GTX (2x faster), and on XB1 (marginally faster)

Change 3229580 on 2016/12/09 by Marcus.Wassmer

	DepthBoundsTest for AMD.

Change 3229701 on 2016/12/09 by Michael.Trepka

	Changed "OS X" to "macOS" in few places where we display it and updated the code that asks users to update to latest version to check for 10.12.2

Change 3229706 on 2016/12/09 by Chris.Bunner

	Added GameUserSettings controls for HDR display output.
	Removed Metal commandline as this should replace the need for it.

Change 3229774 on 2016/12/09 by Michael.Trepka

	Disabled OpenGL on Mac. -opengl is now ignored, we always use Metal. On old Macs that do not support Metal we show a message saying that the app requires Metal and exit.

Change 3229819 on 2016/12/09 by Chris.Bunner

	Updated engine rendering defaults to better match current best practices.
	#jira UE-38081

Change 3229948 on 2016/12/09 by Rolando.Caloca

	DR - Fix d3d debug error
	#jira UE-39589

Change 3230341 on 2016/12/11 by Mark.Satterthwaite

	Don't fatally assert that the game-thread stalled waiting for the rendering thread in the Editor executable, even when running -game as the rendering thread can take a while to respond if shaders need to be compiled.
	#jira UE-39613

Change 3230860 on 2016/12/12 by Marcus.Wassmer

	Experimental Nvidia AFR support.

Change 3230930 on 2016/12/12 by Mark.Satterthwaite

	Disable RHICmdList state-caching on Mac - Metal already does this internally and depends on receiving all state changes in order to function.

Change 3231252 on 2016/12/12 by Marcus.Wassmer

	Fix NumGPU detection. (SLI only crash)

Change 3231486 on 2016/12/12 by Mark.Satterthwaite

	Fix a stupid mistake in MetalStateCache::CommitResourceTable that would unnecessarily rebind samplers.

Change 3231661 on 2016/12/12 by Mark.Satterthwaite

	Retain the RHI samplers in MetalRHI to guarantee lifetime.

[CL 3231696 by Gil Gribb in Main branch]
2016-12-12 17:47:42 -05:00
Ben Marsh
20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00
Nick Whiting
9c0a775359 Copying //UE4/Odin-Staging to //UE4/Dev-Main (Source: //Odin/Main @ 3226588)
#lockdown Nick.Penwarden
#rb None

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3226413 on 2016/12/07 by Jeff.Farris

	Fixed potential crash in USkeletalMeshComponent::InitArticulated().

Change 3226257 on 2016/12/07 by Mike.Beach

	Mirroring CL 3219381 from Dev-Blueprints

	Accounting for cyclic compile issues in cast-node's validate function, making it check the authoratative class instead of the current type. Also down grading some of the warnings to notes (suggesting the users don't need the cast).

	#jira UE-39272

Change 3226147 on 2016/12/07 by Aaron.McLeran

	Implementing UE-39421 fix into odin

Change 3225906 on 2016/12/07 by Jeff.Farris

	Merge-copied 3216144 from Dev-Framework to Odin (Fix FConstraintInstance scaling issues in FSkeletalMeshComponent::InitArticulated.)

Change 3225097 on 2016/12/07 by Zak.Middleton

	#odin-ue4 - Fix GameEngine.cpp compile error (FMessageDialog not declared).

Change 3225050 on 2016/12/07 by Jeff.Farris

	Added forward declaration to IOculusRiftPlugin.h to fix compile error in Test builds.

Change 3224757 on 2016/12/07 by Ben.Marsh

	Merge CL 3224750 from //UE4/Main: Removing -forcelogflush parameter from UAT invocations of the editor to improve cook times.

Change 3224451 on 2016/12/06 by Max.Chen

	Sequencer: Fix convert spawnable to posessable. Logic for setting the parent was mistakenly removed in runtime eval.

	Copy from Dev-Sequencer

	#jira UE-39419

Change 3223856 on 2016/12/06 by Guillaume.Abadie

	Fixes merge collision of Base Pass's selective outputs and MSAA alpha to coverage

Change 3223673 on 2016/12/06 by Zak.Middleton

	#odin-ue4 - Fixed crash when opening data table assets and working with some types of nodes in the graph editor.

	Merged fixes from Dev-Editor: CL 3156326, 3172078, 3187276, 3210983.

Change 3223381 on 2016/12/06 by Nick.Whiting

	Merging using UE4_MAIN_to_ODIN @ CL 3221533

Change 3223325 on 2016/12/06 by Alex.Delesky

	Plugin wizard definition for creating Odin game mods. Currently this just creates an empty Content Only plugin.

	This also enables the mod creation window to be shown on editor startup (can be toggled off) or invoked via a toolbar button.

Change 3221825 on 2016/12/05 by Nick.Whiting

	Updating VCToolChain.cs file, which was skipped in last integration

Change 3221793 on 2016/12/05 by Zak.Middleton

	#odin - Back out changelist 3218159. Going to move to trace by profile in the future instead.

Change 3219668 on 2016/12/02 by Alex.Delesky

	Partially duplicating CL 3185126 into Odin:

	-Fixes an issue where adding a new plugin could unnecesarily added to the additional plugin directory, which can cause build failures.

Change 3219558 on 2016/12/02 by Zak.Middleton

	#odin - Fix adapative pixel density crash (again). INI settings are dumb and locally saved INIs ignore the change to the base I pushed yesterday, so pushing a code fix instead. Wrapped in "DO NOT MERGE" since this crash is fixed in Dev-VR.

Change 3218953 on 2016/12/02 by Alex.Delesky

	Back out changelist 3216159 - Reintroducing Plugin Wizard Definition for defining New Plugin Wizard functionality

Change 3218822 on 2016/12/02 by Matthew.Griffin

	Remove modding from folder paths
	Add logging for delete task
	Delete more temp files from Copy and DDC process

Change 3218410 on 2016/12/01 by Zak.Middleton

	#ue4-odin - Fix crash when unloading levels or exiting the editor when objects placed in levels had a MID set in construction scripts.

	CLs from Dev-Editor: 3203739, 3205814

Change 3218277 on 2016/12/01 by Zak.Middleton

	#ue4-odin - Fixed crash when opening data table assets.

	Merged small fixes from Dev-Editor: CL 3156326, 3172078, 3187276.

	#jira ODIN-2096

Change 3218178 on 2016/12/01 by Jeff.Farris

	Fix for bad merge in InheritableComponentHandler (discovered via shadow var warning)

Change 3218159 on 2016/12/01 by Zak.Middleton

	#ue4-odin - Wrap blueprint trace functions using trace channels to a generic helper that uses any collision channel. Before we decide whether to expose object channel or general collision channel functions to blueprints, this allows games to at least build off the general functions.

Change 3216502 on 2016/11/30 by Nick.Whiting

	Missed files from merge

Change 3216490 on 2016/11/30 by Nick.Whiting

	Merge Main -> Odin, up to CL 3202946

Change 3216159 on 2016/11/30 by Zak.Middleton

	#odin - Back out changelist 3216005

Change 3216005 on 2016/11/30 by Alex.Delesky

	Adding the IPluginWizardDefinition interface, which is used to determine the functionality of the new plugin wizard along with what kind of plugins can actually be created. This can be used to change the behavior of the plugin wizard to create new game mods.

Change 3215329 on 2016/11/30 by Jeff.Farris

	Re-expose collision settings on EQSTestingPawn so users can make the test pawn agent dimensions match the pawn they are trying to simulate.

Change 3213875 on 2016/11/29 by Jeff.Farris

	Turned off collision on EQSRenderingComponent for EQSTestingPawns. Fixes issue with bogus agent dimensions.

Change 3213027 on 2016/11/29 by Matthew.Griffin

	Added Modding Build steps to copy everything needed for an installed editor build
	Added BuildCommand to run GenerateDistillFileSetsCommandlet and copy the resulting file list to another location
	Fix for APEX .pdb paths

Change 3206638 on 2016/11/21 by Dan.Oconnor

	Fix for compile error, digging out authorative class from trash class

Change 3206175 on 2016/11/21 by Nick.Atamas

	#umg exposed support for explicit wrap width in WrapBox.

Change 3204658 on 2016/11/18 by Alan.Villani

	#odin Wiring up new intro cinematic to game flow.

Change 3201200 on 2016/11/16 by Alan.Villani

	#odin Spectator/Leaderboards: Added console var vr.bAllowSpectatorTexture to enable/disable the display of the spectator texture. Also enabling spectator panel and leaderboards with this change.

Change 3201064 on 2016/11/16 by Wyeth.Johnson

	Support new billboards

Change 3199357 on 2016/11/15 by Alan.Villani

	#odin OnlineSubsystemOculus: Removing logging now that problem has been fixed.

Change 3199302 on 2016/11/15 by Alan.Villani

	#odin OnlineSubsystemOculus: Skip reinit if not a successful init in ovr_ResetInitAndContext(). Also added logging to shutdown.

Change 3198947 on 2016/11/15 by Alan.Villani

	#odin Spectator/Leaderboards: Reinstating CL 3197812 with fix to make InitWithWindowsPlatform() return warnings instead of errors.

Change 3198803 on 2016/11/15 by Jeff.Farris

	Copied CL 3198691 frojm Dev-Sequencer (Sequence Recorder: Optimize record transforms by setting all the keyframes at once.  Also, added option to toggle removing redundant keyframes from the recorded tracks.)

Change 3198525 on 2016/11/15 by Alan.Villani

	#odin ODIN-1758. Spectator/Leaderboards: Back out changelist 3197812. This change was causing the automated packaged build to fail. Since the root cause hasn't been found, reverting the change.

Change 3197909 on 2016/11/15 by Alan.Villani

	#odin OnlineSubsystemOculus: Fix for linking issue with Odin Monolithics build.

Change 3197812 on 2016/11/14 by Alan.Villani

	#odin Spectator and leaderboard code support:

	Support for enhanced oculus leaderboard functionality. Player's score is uploaded on FinishLevel(). Added delegate function to allow Rift render code to render an additional passed in texture - this is used to display spectator information in the mirrored window. GetMissionRowName() can now return the row name for the intro mission.

	This is only code support. Blueprint support to follow.

Change 3196940 on 2016/11/14 by Nick.Whiting

	Fix for include path

Change 3196897 on 2016/11/14 by Nick.Whiting

	Integrating IKinema plugin.  Note that there are some deprecation warnings that have not been fixed up because of the refactoring.  We're going to avoid fixing that up for now, because it's a large refactor, and the plugin is only needed for this week.

Change 3194897 on 2016/11/11 by Zak.Middleton

	#ue4 - (Odin) -- Downgrade warning log spam when sweeping skeletal mesh components.

Change 3194799 on 2016/11/11 by Nick.Atamas

	Added better normals for curved WidgetComponent.

Change 3194697 on 2016/11/11 by Chris.Bunner

	Duplicated CL 3194665 from Dev-Rendering: Duplicated behavior for inherited velocity scaling scaling to vert/surface spawned particles.

Change 3194383 on 2016/11/11 by Zak.Middleton

	#ue4 - (Odin) - Avoid calling ComponentOverlapComponent() when handling overlap checks if either component is a SkeletalMeshComponent. That function returns false for those, however a normal global overlap check would return a valid result.

	Also elevated warnings (from log) when trying to use above function with SkeletalMeshComponents.

Change 3194380 on 2016/11/11 by Zak.Middleton

	#ue4 - (Odin) - UPrimitiveComponent::GetCollisionEnabled() checks the owner Actor enable collision setting. Handles cases where the BodyInstance doesn't have physics state.

	Also merge CL 3136709 to fix overlap events spam.

Change 3192616 on 2016/11/09 by Zak.Middleton

	#odin - Jump arcs only draw in editor if Navigation is shown, or when selected in editor.

Change 3192310 on 2016/11/09 by Daniel.Wright

	[Copy] Support for Reflection Capture intensity with simple reflections, which are the default with Forward Shading

Change 3191042 on 2016/11/08 by Nick.Atamas

	#slate/umg
	Added SetIsExapanded_Animated() method to SExpandableArea.
	Added anim length to ExpandableArea's widget style.

Change 3190411 on 2016/11/08 by Guillaume.Abadie

	Adds some randomness in particul collisions.

Change 3186455 on 2016/11/03 by Stanley.Hayes

	Fixed Tangents the mesh generation of Widget Component, now works with Bump Offset! -- The Impl for non-planar widgets is wrong but works as a temp fix

Change 3186335 on 2016/11/03 by Alan.Villani

	#odin Oculus Input:

	Fix for haptic feedback not processing unless both touch controllers are active.

Change 3184215 on 2016/11/02 by Daniel.Wright

	Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only

Change 3182542 on 2016/11/01 by Nick.Atamas

	Applied feedback after code review:
	 - Fixed bug with incorrectly assigned LocalHitLocation
	 - PerformTrace is now const
	 - Clarified comments.

	Potentially fixed jira ODIN-1590, pending verification.

Change 3181845 on 2016/11/01 by Nick.Atamas

	Details panel filters now show a distinct visual state (yellow highlight) when a filter is active.

	https://jira.it.epicgames.net/browse/UE-11088

Change 3179037 on 2016/10/28 by Zak.Middleton

	#ue4 - (Odin) - Avoid crash in PropertyChangeListener when WeakObjectPtr goes null. Prevent passing null objects in array to delegates that don't null check the elements. Repro steps still unclear, adding ensure() to catch it for more info.

Change 3177127 on 2016/10/27 by Alan.Villani

	#odin Menu Shell:

	Put in cvar to allow disabling of haptics.

Change 3174582 on 2016/10/26 by Zak.Middleton

	#ue4 - Changed Actor::GetForwardVector, GetUpVector, and GetRightVector to just wrap to the FQuat functions. These use inline constants rather than a memory fetch to the static FVector::ForwardVector etc, so the multiplies are better optimized in-place by the compiler (ie with constant folding).

Change 3174401 on 2016/10/25 by Maciej.Mroz

	In nativized code Nullptr is always casted to UObject type.

	#jira ODIN-1560

Change 3173310 on 2016/10/25 by Guillaume.Abadie

	Fix a bug in the forward shading particule collision hack using ddx/ddy to compute the normal and implement an accurate way of compute the normal requiering two addtional scene depth buffer fetches for neighboorhing pixels and use it as default.

Change 3172997 on 2016/10/24 by Nick.Atamas

	Cylindrical Widget - First Pass Support.

Change 3172707 on 2016/10/24 by Nick.Whiting

	Integrating fix for haptic effects with sound waves crashing when no sound wave is loaded.

Change 3172167 on 2016/10/24 by Jeff.Farris

	Merged 3120587 from Dev-Sequencer to Odin (Fbx Export: Fix double transforms on an exported mesh.)

Change 3170221 on 2016/10/21 by Zak.Middleton

	#ue4 - Fix projectiles and characters not moving at all when frame delta time is very low (time dilation is very low, framerate is very high, or a combination of both).

Change 3170036 on 2016/10/20 by Zak.Middleton

	#ue4 - Make Ragdoll collision profile ignore Visibility channel (to match CharacterMesh collision profile).

Change 3169728 on 2016/10/20 by Zak.Middleton

	#ue4 - Fix comment.

Change 3169727 on 2016/10/20 by Zak.Middleton

	#ue4 - Fix spacing/indentation.

Change 3169277 on 2016/10/20 by Zak.Middleton

	#ue4 - Lower default simulations per second in PredictProjectilePath. Now that it is more accurate (after CL 3124174), this will still maintain quality with better performance.

Change 3169272 on 2016/10/20 by Zak.Middleton

	#ue4 - Change some array Reset() calls back to Empty(), since blueprints typically keep these arrays around forever and we don't want them to stay large.

Change 3168157 on 2016/10/19 by Jeff.Farris

	Merging 3168079 from Dev-Framework to Odin (Fix timing issue that causes snapshotpose to t-pose.)

Change 3167894 on 2016/10/19 by Chris.Bunner

	Updated tooltip comment.

Change 3167569 on 2016/10/19 by Jeff.Farris

	#engine Fixed issue with cine camera component where blueprint-accessible FOV data could be incorrect in some circumstances

Change 3166950 on 2016/10/18 by Zak.Middleton

	#ue4 - Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.

Change 3166807 on 2016/10/18 by Zak.Middleton

	#ue4 - Make all GameplayStatics functions take const WorldContextObjects, so they are more usable from C++.

Change 3166540 on 2016/10/18 by Jeff.Farris

	Merging 3164818 from Dev-Framework to Odin (Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.)

Change 3166323 on 2016/10/18 by Jeff.Farris

	#engine Fixed issue where Navlink smartlinks wouldn't respect the Direction property proprely.

Change 3163415 on 2016/10/14 by Chris.Bunner

	Allow surface actor particles to inherit UV coordinates through the dynamic parameter struct.

Change 3162716 on 2016/10/13 by Jeff.Farris

	#engine Made UPathFollowingComponent::HasReachedCurrentTarget() virtual

Change 3161602 on 2016/10/13 by Jeff.Farris

	#engine removed a comment I left in

Change 3161037 on 2016/10/12 by Alan.Villani

	#odin Loading Screens:

	Modified AsyncLoadingSplash to use platform specific max layer number.

Change 3160690 on 2016/10/12 by Jeff.Farris

	#engine Added PathFollowingComponent::bIsDecelerating to know when AI is in its "decelerate at the end of the path" state

Change 3160686 on 2016/10/12 by Jeff.Farris

	#engine Fixed comment on NavMovementComponent::bUseAccelerationForPaths

Change 3160200 on 2016/10/12 by Zak.Middleton

	#odin - Added Odin versions of Sphere, Capsule, Box trace functions taking any trace channel.

Change 3156847 on 2016/10/10 by Maciej.Mroz

	#jira ODIN-1345

	In nativized code, value of output array parameter is reset before the funtion, that will fill the parameter, is called. The same mechanism is already used by bytecode comiler.

Change 3155495 on 2016/10/07 by Zak.Middleton

	#ue4 - RootComponent fixup in AActor::PostLoadSubojects should handle constructors that also try to fix up the old root component on their own.

	Additionally we should attach the old root component to the new one, otherwise it has no parent.

Change 3154962 on 2016/10/07 by Chris.Bunner

	Duplicating CL 3148934, 3148994 from Dev-Rendering - Added pre-skinned local position material graph node, vertex shader only.

Change 3154255 on 2016/10/06 by Zak.Middleton

	#ue4 - Add AIController to the delegate for move completion for blueprint "AI Move To Location or Actor" nodes, so you can know which AI finishes the move.

Change 3154217 on 2016/10/06 by Mike.Beach

	Backing out changelist 3146883, as it was causing properties to clear on load (in Gun_Shotgun/BP_RightHand).

Change 3154199 on 2016/10/06 by Zak.Middleton

	#ue4 - Inline a few simple functions in UKismetSystemLibrary for performance in nativized builds.

Change 3153427 on 2016/10/06 by Jeff.Farris

	Updated Oculus AppID to the full game ID

Change 3148205 on 2016/10/02 by Zak.Middleton

	#ue4 - Perf: Add simple path for UPrimitiveComponent::UpdatePhysicsVolume() when there are no physics volumes placed in a level. Avoid checking overlapping components for any volumes at all.

Change 3148089 on 2016/10/01 by Phillip.Kavan

	Merging in CLs 3148022 and 3148033 from //UE4/Dev-Blueprints/...

	Note: These were dependent on the following additional CLs, which have also been merged in:
	=> 3081010,3116021,3123581,3131318,3132348,3133072,3133817,3137800,3137851

Change 3148054 on 2016/10/01 by Nick.Whiting

	Adding much smaller footprint entitlement check

Change 3147910 on 2016/10/01 by Nick.Whiting

	Back out changelist 3147807

Change 3147909 on 2016/10/01 by Nick.Whiting

	Back out changelist 3147787

Change 3147810 on 2016/09/30 by Zak.Middleton

	#odin - Fix "Delay" nodes in macros not working correctly. This made simultaneous instances of our "UndilatedDelay" and "0-1 Lerp" macros incorrect.

	(Mirror CL 3119502 from Dev-Blueprints)

Change 3147807 on 2016/09/30 by Nick.Whiting

	Blueprint cyclic dependency fixes, submitted on behalf of DanO.

Change 3147787 on 2016/09/30 by Nick.Whiting

	Adding Oculus Entitlement check for Odin

Change 3147732 on 2016/09/30 by Daniel.Wright

	From Guillaume: Skip ClearStencilFromBasePass by using a single bit of stencil as a sandbox bit.  This requires all passes that use stencil to setup a proper read / write mask, as other stencil bits will be non-zero.  Saves .14ms

Change 3147285 on 2016/09/30 by Dan.Oconnor

	Back out changelist 3147258
	Introduced "Detaching from existing linker" crash

Change 3147258 on 2016/09/30 by Dan.Oconnor

	Making sure we defer objects that have unserialized archetypes

Change 3146985 on 2016/09/30 by Daniel.Wright

	Skip Prepass ResolveSceneDepthTexture if there's no way decals or shadows will use it, since there's another resolve after the base pass.  Saves .1ms in the planar reflection pass.

Change 3146883 on 2016/09/30 by Dan.Oconnor

	Fix for component data getting lost on load. Two primary causes:
	 1. Loading component, then loading its template and reinitializing it from parent
	 2. Discarding inheritable component handler on load because it 'matched' the unloaded super (or it was unloaded and matched a loaded super, or both of them weren't yet loaded and they matched)

Change 3145504 on 2016/09/29 by Daniel.Wright

	Capsule indirect shadows are now affected by DynamicShadows showflag

Change 3145416 on 2016/09/29 by Wyeth.Johnson

	optimized vector to radial value to use atan2fast. Small polish to weapon available indicators, slightly smaller, radial res in, get brighter right before pickup to match the glow transition

Change 3144359 on 2016/09/28 by Zak.Middleton

	#ue4 - Add IsPointInBox() and IsPointInBoxWithTransform() to KismetMathLibrary.

Change 3144302 on 2016/09/28 by Daniel.Wright

	New SceneCapture functions for managing the ShowOnly list: RemoveShowOnlyComponent, RemoveShowOnlyActorComponents, ClearShowOnlyComponents

Change 3144210 on 2016/09/28 by Daniel.Wright

	Manual copy - Shadow stencil optimisation from Ben Woodhouse with cvar (enabled by default).  Saves .2ms in Odin.

Change 3144208 on 2016/09/28 by Daniel.Wright

	Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution.  Planar reflection depth resolves .8ms -> .2ms on 970

Change 3143778 on 2016/09/28 by Ryan.Vance

	Disabling motion blur scale behavior. We want the motion blur scale to be consistent regardless of time dilation.
	Cleaning up the velocity bias change made yesterday for odin, need to ensure it doesn't make it back to main as it will break TAA.

Change 3143728 on 2016/09/28 by Jeff.Farris

	Made AIController::MoveTo virtual

Change 3142740 on 2016/09/27 by Nick.Whiting

	Fix for dynamic object velocity rendering not working.  MSAA was breaking it, needed to add a bias in the VelocityShader in order to pass depth tests

Change 3142665 on 2016/09/27 by Ryan.Vance

	Fixing incorrect uniform/buffer references for passes that aren't drawn with ISR when ISR is turned when using forward.

Change 3142488 on 2016/09/27 by Zak.Middleton

	#ue4 - Expose Character::MovementModeChangedDelegate to blueprints. Fix category on OnReachedJumpApex event.

Change 3142360 on 2016/09/27 by Frank.Fella

	Sequencer - Don't crash when a bool track or visibility track has a null runtime object.

Change 3142204 on 2016/09/27 by Zak.Middleton

	#odin - Nav jump links update their nav data in realtime as the start and end points are moved. Still need to color the predicted path based on the nav data.

Change 3141695 on 2016/09/27 by Guillaume.Abadie

	Fixes depth buffer collision on GPU particle in the forward render by computing the world normal using a cross(ddx(), ddy()) of the world position.

	#review-3141656 @ben.woodhouse

Change 3141013 on 2016/09/27 by Zak.Middleton

	#ue4 - NavLinkProxy properly calls SetNavigationRelevancy() when created in the editor. Fixes the need to uncheck/recheck bSmartLinkIsRelevant.

Change 3140878 on 2016/09/26 by Zak.Middleton

	#ue4 - Add MarkRenderStateDirty() to UNavLinkCustomComponent::SetLinkData(), so visualizers update asap after link data changes.

Change 3140863 on 2016/09/26 by Nick.Whiting

	Adding in vr.MonoCapture, which disables the right eye for capturing in order to give a performance boost

Change 3140790 on 2016/09/26 by Zak.Middleton

	#ue4 - Make LineBatchComponent's FLineBatcherSceneProxy::GetViewRelevance() respect show flags (such as hidden in game).

Change 3140175 on 2016/09/26 by Dan.Oconnor

	Mirror of 3140143
	#jira UE-36395

Change 3139622 on 2016/09/26 by Maciej.Mroz

	Fixed const local variables in Nativized code

Change 3139257 on 2016/09/24 by Jeff.Farris

	Added GetGrabbedComponent() to UPhysicsHandleComponent.

Change 3139050 on 2016/09/23 by Nick.Whiting

	Support for trailer capturing, as well as gamepad controls for adjustment

Change 3138644 on 2016/09/23 by Zak.Middleton

	#ue4 - Added FPredictProjectilePathPointData::Reset(). Presize path points array in UGameplayStatics::PredictProjectilePath().

Change 3138521 on 2016/09/23 by Ryan.Vance

	#jira UE-36114

	We need to bind the right eye's forward lighting state when ISR is enabled and branch depending on which eye instance we're drawing.
	Added a copy of  FForwardGlobalLightData, NumCulledLightsGrid CulledLightDataGrid, and ForwardLocalLightBuffer for the right eye and set them when drawing with ISR
	Moved ForwardLightingResources from FViewInfo up to FSceneView for access
	Removed USE_CULLED_LOCAL_LIGHTS as it wasn't being used and complicated the shader refactor

	TODO: This can be greatly simplified by generating the FForwardGlobalLightData uniform assignment shader code similar to how I'm handling the view uniforms. To clean up the branching for the grid buffers we should write both eyes into a single buffer and just use an offset.

Change 3138178 on 2016/09/23 by Zak.Middleton

	#ue4 - Add FVector::DistXY() and Dist2D() (as an alias). Add FVector::Distance() as an alias for Dist(), and FVector::DistSquared2D() as an alias for DistSquaredXY(). Fixed comment in FVector2D::Distance() saying it was the squared distance.

	- This is more in line with the Size2D(), SizeSquared2D(), GetSafeNormal2D() naming, but maintains backwards compat for a large amount of code.

Change 3138162 on 2016/09/23 by Lukasz.Furman

	fixed navmesh crash on attempt to regenerate an empty tile layer

Change 3137578 on 2016/09/23 by Maciej.Mroz

	#jira ODIN-1017 [Nativization] Crash while loading Hub_env level

	Ensured, that CreateExport (and fully construction) is called for loaded DynamicClass.

Change 3136774 on 2016/09/22 by Chris.Bunner

	Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
	#jira ODIN-1013

Change 3136491 on 2016/09/22 by Jeff.Farris

	Removed an unnnecessary ensure in ApplyPhysicalAnimationProfileBelow.

Change 3136412 on 2016/09/22 by Zak.Middleton

	#ue4 - Inlined more functions in KismetMathLibrary that used error reporting (eg divide by zero errors). Moved the actual error reporting to the cpp so the inline overhead and compilation overhead is negligible.

Change 3136288 on 2016/09/22 by Zak.Middleton

	#ue4 - Inline KismetMathLibrary functions where appropriate. Improves performance in nativized builds where the calls were not inlined even for the most simple functions (like "Not Bool", "Add Ints").

Change 3136162 on 2016/09/22 by Ben.Marsh

	Merge CL 3136158 to fix issues generating project files with Visual Studio Express.

Change 3135403 on 2016/09/22 by Jeff.Farris

	GameplayStatics::ApplyPointDamage and ApplyDamage now return the actual damage that was applied

Change 3135052 on 2016/09/21 by Zak.Middleton

	#ue4 - Add new GameplayStatics::PredictProjectilePath functions with added functionality.

	- Option to trace for collision by trace channel, object type, or both.
	- Added versions that take input and output struct parameters.
	- Output now includes location, velocity, and time for each point on the path.

Change 3134757 on 2016/09/21 by Guillaume.Abadie

	Removes all resolve operations from distortion pass and support MSAA for the forward shader.

	#review-3134758 @daniel.wright

Change 3134635 on 2016/09/21 by Jeff.Farris

	Merged from Dev-Physics-Upgrade to Odin. This is the upgrade to PhysX 3.4.

Change 3134101 on 2016/09/21 by David.Hill

	Post process CombineLUT shouldn't be per eye.
	Also disable weighted-average post process passes for bloom when filter size is set to zero.

	#review-3134102 @chris.bunner

Change 3133191 on 2016/09/20 by Guillaume.Abadie

	Normalizes material's Opacity Mask according to Opacity Mask Clip Value.

Change 3133082 on 2016/09/20 by Brian.Karis

	Static light source shapes in reflection captures will fade out when outside influence instead of going black.

Change 3132936 on 2016/09/20 by Jeff.Farris

	Fixed some engine issues with setting mass overrides.

Change 3132821 on 2016/09/20 by Guillaume.Abadie

	Adds support for MSAA on masked material using shader implemented alpha to coverage.

	#review-3130154 @daniel.wright

Change 3132522 on 2016/09/20 by Zak.Middleton

	#ue4 - Cache conversion of WalkableSlopeAngle to the cosine value in FWalkableSlopeOverride struct, when used in the override modes. Avoids computing this conversion (potentially multiple times per frame) for every character movement move and floor test.

Change 3130457 on 2016/09/19 by Daniel.Wright

	Reuse ESceneColorFormatType::HighEndWithAlpha if the format allows it - prevents two scene color textures being allocated with planar reflections with r.SceneColorFormat=4

Change 3129467 on 2016/09/16 by Zak.Middleton

	#ue4 - Improve Accuracy of final point in UGameplayStatics::PredictProjectilePath() to respect MaxSimTime. Previously the sim could have exceeded the max time if (MaxSimTime / SimFrequency) had a fractional part.

Change 3129327 on 2016/09/16 by Daniel.Wright

	Added r.NormalCurvatureToRoughnessExponent for tweaking
	NormalCurvatureToRoughness is now applied to clearcoat roughness

Change 3129324 on 2016/09/16 by Daniel.Wright

	Added r.TemporalAACurrentFrameWeight for debugging

Change 3128812 on 2016/09/16 by Daniel.Wright

	Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views).  Fixes planar reflections with r.SceneColorFormat=3.

Change 3128811 on 2016/09/16 by Daniel.Wright

	Fixed planar reflections in forward shading.  The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.

Change 3126195 on 2016/09/15 by Maciej.Mroz

	#jira UE-35262 Incompatible pins give generate warning, when error is necessary.

	Fixed incompatible pins validation.
	Manually merged cl#3124667 from Dev-Blueprints

Change 3126108 on 2016/09/14 by Nick.Whiting

	Added GetLaunchOption blueprint node to check if command line arguments are set
	Added -demo path for Odin, which disables pause, and changes opening flow

Change 3125819 on 2016/09/14 by Zak.Middleton

	#ue4 - Add option for accurate bounds for LineBatchComponent, on by default. Corrects attempts to focus on actors using them causing the view to zoom out to HALF_WORLD_MAX.

	Turned this off for world debug line visualizers, to avoid affecting perf for those (and they often have lines/points all over anyway).

Change 3125686 on 2016/09/14 by Zabir.Hoque

	Slimed down when and where we resolve RT particularly for forward rendering.

Change 3124174 on 2016/09/13 by Zak.Middleton

	#ue4 - Improved accuracy and performance of PredictProjectilePath(). Switched to semi-implicit Euler integration. Fixed not being able to pass in const WorldContextObjects (only an issue when used from code, BP didn't care).

Change 3124121 on 2016/09/13 by Zak.Middleton

	#odin - Integrate CL 3122728 from Dev-Editor:

	UMG - Exposing a trace channel for the WIC, defaults to Visibility.  Improving how the WIC handles the cursor moving off the widget, it now maintains the last hit location rather than 0,0 which would cause things like dragged Sliders to reset to the left.  Ideally - the WIC would know the underlying widget has capture and continue to fake collision against an imaginary plane to simulate a continuous surface.

Change 3124116 on 2016/09/13 by Zak.Middleton

	#odin - Back out revision 3 from //Odin/Main/Engine/Source/Runtime/UMG/Private/Components/WidgetInteractionComponent.cpp

Change 3123485 on 2016/09/13 by Stanley.Hayes

	Added optional trace channels to WidgetInterationComponent

Change 3123301 on 2016/09/13 by Zak.Middleton

	#ue4 - Added ENGINE_API to some functions in ULineBatchComponent that were not exported: DrawLines, DrawLine, DrawPoint, DrawSolidBox, DrawMesh.

Change 3122632 on 2016/09/13 by Maciej.Mroz

	Improved ReverseForEachLoop macro in StandardMacros

Change 3122351 on 2016/09/12 by Nick.Whiting

	Adding 90fps tracking to the FPS summary chart creation

Change 3122325 on 2016/09/12 by Wyeth.Johnson

	Needed a 5 minute breather. Updated Editor splash screen because reasons

Change 3121869 on 2016/09/12 by Zak.Middleton

	#ue4 - (Merge to Odin) Fix UGameplayStatics::SpawnEmitterAttached() using wrong scale when SnapToTarget (Keep World Scale) option is used. Improve comments for SpawnEmitterAttached().

	#jira UE-34482

	(Integrate Framework->Odin)

Change 3121407 on 2016/09/12 by Wyeth.Johnson

	Fixed shopfront for Oz, big bot WIP

Change 3121253 on 2016/09/12 by Zak.Middleton

	#ue4 - Fix CharacterMovement braking when using acceleration for paths.

	- Fixed pathfinding using friction in GetPathFollowingBrakingDistance() and using wrong formula for stopping distance. Pathfinding adjusts analog input to achieve this deceleration, so friction is never applied and should not be included here.
	- Added virtual "GetMaxBrakingDeceleration()" function to CharacterMovementComponent. Returns deceleration value set for current movement mode (ie BrakingDecelerationWalking, BrakingDecelerationFlying, etc).

Change 3121231 on 2016/09/12 by Wyeth.Johnson

	Fixed procedural Stuff, now to fix aliasing :)

[CL 3226598 by Nick Whiting in Main branch]
2016-12-08 03:26:33 -05:00
Marcus Wassmer
1eabdaf700 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3219450)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3148067 on 2016/10/01 by Daniel.Wright

	Support for ReflectionEnvironment and light type show flags with ForwardShading

Change 3149085 on 2016/10/03 by Daniel.Wright

	Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead

Change 3162206 on 2016/10/13 by Chris.Bunner

	Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
	Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
	Added CustomEyeTangent to material attributes.
	Resolved some hard-coded attribute typing and other minor fixes.

Change 3186067 on 2016/11/03 by Daniel.Wright

	Updated Stationary primitive tooltip to indicate that it allows the primitive to be changed, but not moved

Change 3186069 on 2016/11/03 by Daniel.Wright

	Using a weighted geometric mean to combine multiple Distance Field Indirect Shadows, greatly reduces over-occlusion when overlap is high

Change 3186084 on 2016/11/03 by Mark.Satterthwaite

	Duplicate 3172511:
	Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
	#jira UE-37481

Change 3186089 on 2016/11/03 by Mark.Satterthwaite

	Duplicate CL #3169764:
	Fixed automatic conversion of G8_sRGB into RGBA8_sRGB required for Mac Metal, which fixes FORT-27627.
	#jira FORT-27627

Change 3186113 on 2016/11/03 by Mark.Satterthwaite

	Duplicate CL #3183807:
	Change the way we access the Metal viewport's backbuffer, to reduce possible causes of FORT-31649:
	- Added console variable "rhi.Metal.SupportsIntermediateBackBuffer" to control whether to use an extra render-target so we can support screenshots & movie capture, or render directly to the back-buffer to save memory & GPU performance. Still defaults to ON for Mac & OFF for iOS/tvOS.
	- Change the way we handle updates to the back-buffer size to ensure that the different threads access their intended version.
	#jira FORT-31649

Change 3186116 on 2016/11/03 by Mark.Satterthwaite

	Duplicate CL #3183823:
	Record Metal resource & state objects used in a command-buffer when rhi.Metal.RuntimeDebugLevel is set to 3 or higher. The object labels, types & descriptions will be printed on failure - if the object is deleted prior to this then we have a lifetime error and it will crash at this point and can be debugged further using our -metalretainrefs command-line option or Xcode's zombie-objects.

	Used to verify that FORT-31649 is not a simple resource lifetime error and thereby speed up Apple/vendor investigations.
	#jira FORT-31649

Change 3186818 on 2016/11/04 by Chris.Bunner

	PR #2907 Export UMaterialExpressionNoise (contributed by kayosiii).

Change 3186979 on 2016/11/04 by Rolando.Caloca

	DR - Misc minor cleanup

Change 3187169 on 2016/11/04 by Uriel.Doyon

	Incremental insertion of level data between PostLoad and AddToWorld

Change 3187205 on 2016/11/04 by Mark.Satterthwaite

	Compile fixes for iOS.

Change 3187389 on 2016/11/04 by Uriel.Doyon

	Fix for possible stall when loading hidden level

Change 3187598 on 2016/11/04 by Michael.Trepka

	MetalViewport compile fix

Change 3187678 on 2016/11/04 by Uriel.Doyon

	Fix for landscape grass textures not being streamed in correctly.

Change 3187731 on 2016/11/04 by Rolando.Caloca

	DR - Start making type safe some cross compiler enums

Change 3187824 on 2016/11/04 by Rolando.Caloca

	DR - clang compile fix

Change 3187953 on 2016/11/04 by Rolando.Caloca

	DR - vk - Mac compile fix

Change 3188696 on 2016/11/07 by Mark.Satterthwaite

	Another iOS compile fix for new MetalViewport validation code.

Change 3188906 on 2016/11/07 by Rolando.Caloca

	DR - Show permutation of LUTBlender

Change 3189094 on 2016/11/07 by Chris.Bunner

	Fix RemoveAAJitter from projection matrix.
	#jira UE-37701, UE-38003

Change 3189134 on 2016/11/07 by Daniel.Wright

	Fix for CreateRenderTarget2D called in construction script during cooking

Change 3189145 on 2016/11/07 by Chris.Bunner

	Follow-up to CL 3186818, export UMaterialExpressionVectorNoise.

Change 3189239 on 2016/11/07 by Daniel.Wright

	Added show flag for Contact Shadows, disabled in planar reflections

Change 3189252 on 2016/11/07 by Daniel.Wright

	Support for Reflection Capture intensity with simple reflections, which are the default with Forward Shading

Change 3189406 on 2016/11/07 by Mark.Satterthwaite

	Really fix the last of the iOS compile errors from changes to the MetalViewport code.

Change 3190854 on 2016/11/08 by Ben.Woodhouse

	XB1: Fix memory corruption with RHICreateVertexBuffer and RHICreateIndexBuffer when using initial data (Procedural Mesh Component crash)
	#jira UE-34264
	#fyi james.golding
	#fyi keith.judge

Change 3190962 on 2016/11/08 by Olaf.Piesche

	Unshelved from pending changelist '3176615' - Gil's fix for race condiiton with particle vertex factory reuse across different passes; potential to fix a number of issues

Change 3191959 on 2016/11/09 by Uriel.Doyon

	Removed some static primitives from the dynamic primitive handler for texture streaming.

Change 3193122 on 2016/11/10 by Chris.Bunner

	Always update non-preview material resources for use in code preview.
	#jira UE-38223

Change 3193190 on 2016/11/10 by Gil.Gribb

	UE4 - Fixed rare bug with shadow groups rendering things that have not been setup to render this frame.
	#jira UE-36379

Change 3193523 on 2016/11/10 by Uriel.Doyon

	Fixed incorrect section bounds used for texture streaming.

Change 3193962 on 2016/11/10 by Uriel.Doyon

	Added defrag of dynamic bounds used for the texture streaming. Allows to remove unused bounds over time.

Change 3193974 on 2016/11/10 by Uriel.Doyon

	New "Required Texture Resolution" view mode. Showing the ratio between the currently streamed texture resolution and the resolution wanted by the GPU.

Change 3194109 on 2016/11/10 by Uriel.Doyon

	Another patch on material bounds used for texture streaming.

Change 3194665 on 2016/11/11 by Chris.Bunner

	Duplicated behavior for inherited velocity scaling scaling to vert/surface spawned particles.

Change 3194734 on 2016/11/11 by Rolando.Caloca

	DR - vk - Simplified some texture casting

Change 3194867 on 2016/11/11 by Rolando.Caloca

	DR - vk - SM5 fixes

Change 3195176 on 2016/11/11 by Chris.Bunner

	Fixed incorrectly updated NVAPI error.

Change 3195425 on 2016/11/11 by Uriel.Doyon

	Fixed possible invalid level reference in the texture streamer

Change 3196512 on 2016/11/14 by Gil.Gribb

	Merging //UE4/Dev-Main@3196156 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3196750 on 2016/11/14 by Marcus.Wassmer

	Fix ordering problem with GPU cache transitions

Change 3196815 on 2016/11/14 by Daniel.Wright

	Suppressed 'Instanced stereo rendering is not supported' warning showing up in CIS

Change 3196818 on 2016/11/14 by Daniel.Wright

	Fixed FIndirectLightingCache::UpdateCachePrimitivesInternal churning through a bunch of temporary memory

Change 3196819 on 2016/11/14 by Daniel.Wright

	Volume lighting samples are allowed outside of the importance volume if their influence affects the volume.  Fixes black indirect lighting on movable components in maps with small importance volumes.
	Volume lighting samples placed on surfaces use a radius that covers the layer height spacing, which prevents an uncovered region between layers

Change 3197243 on 2016/11/14 by Uriel.Doyon

	Async Task For Updating static component LastRender time
	#jira UE-24268

Change 3197359 on 2016/11/14 by Daniel.Wright

	Added Inscattering Texture controls to ExponentialHeightFog
	* When InscatteringColorCubemap is specified, directional light inscattering is disabled
	* Lerps betwen 1x1 mip at NonDirectionalInscatteringColorDistance to mip 0 at FullyDirectionalInscatteringColorDistance
	* Added FogCutoffDistance, so artists can prevent fog on skyboxes (requires fog to be setup matching the fog that was rendered into the sky texture so that distant mountains match)
	* Fog shader permutations based on what feature is enabled

Change 3198419 on 2016/11/15 by Chris.Bunner

	PS4 HDR: Runtime toggle (backbuffer recreation on resize matching), UI composition. Matches PC behavior and controls.
	HDR: Generalized buffer formats, cvar consistency pass, LUT for UI composition,  refactoring common functions.
	Exposed RHICreateTargetableShaderResource3D.
	Moved some (translucent) volume rendering helpers to allow access in Slate.

Change 3198822 on 2016/11/15 by Daniel.Wright

	Mac compile fix

Change 3199509 on 2016/11/15 by Uriel.Doyon

	Added support for viewmode param asset name (and note just param value).
	Used to investigate texture streamer behavior.

Change 3199578 on 2016/11/15 by Rolando.Caloca

	DR - Add some shader resource tables to SCW when running with -directcompile

Change 3199698 on 2016/11/15 by Rolando.Caloca

	DR - vk - Refactor shader & descriptor bindings

Change 3199712 on 2016/11/15 by Rolando.Caloca

	DR - vk - r.Vulkan.StripGlsl to always strip glsl at runtime to save memory per shader

Change 3199717 on 2016/11/15 by Rolando.Caloca

	DR - vk - Show hitching PSO info again

Change 3199750 on 2016/11/15 by Rolando.Caloca

	DR - SCW clang compile fixes

Change 3200353 on 2016/11/16 by Rolando.Caloca

	DR - vk - Mac fix

Change 3200358 on 2016/11/16 by Chris.Bunner

	Only allow UI composition on platforms we currently use it.

Change 3200823 on 2016/11/16 by Chris.Bunner

	Remove expression key attribute ID when not translating an attribute output to allow intended expression sharing.
	#jira UE-38699

Change 3200947 on 2016/11/16 by Mark.Satterthwaite

	Fix UE-38695 by not trying to resize the viewport on the wrong thread.
	#jira UE-38695

Change 3201069 on 2016/11/16 by Daniel.Wright

	Fog inscattering texture limited to SM4 and above, fixes ES2 compile errors

Change 3201346 on 2016/11/16 by Brian.Karis

	Temporal AA fix for correct edge gradients.

	Filtering now combined with importance sampling.
	Enabled Catmull-Rom resolve filter. Results are now slightly sharper.
	Fixed antighosting. Will yet require a dilation to be perfect.
	Optimized bicubic filtering to 5 taps instead of 9.
	Cleaned out unused code.

Change 3201369 on 2016/11/16 by Brian.Karis

	Bicubic texture sample

Change 3201522 on 2016/11/16 by Rolando.Caloca

	DR - vk - Fix static analysis issues

Change 3201878 on 2016/11/17 by Chris.Bunner

	Temporarily disable Nvapi HDR error logging.
	#jira UE-38529

Change 3202108 on 2016/11/17 by Simon.Tovey

	Assets with easy repro for flickering particles bug

Change 3202181 on 2016/11/17 by Rolando.Caloca

	DR - vk - CIS android fix

Change 3202325 on 2016/11/17 by Ben.Woodhouse

	Integrate 4.14.1 fix from 14 //UE4/Release-4.14 (@3201850)
	 Fix CreateVertexbuffer and CreateIndexBuffer memory corruption (Procedural Mesh Component crash)
	 #jira UE-34264

Change 3204394 on 2016/11/18 by Guillaume.Abadie

	PR #2808: AlphaComposite Fog Opacity fix (Contributed by moritz-wundke)

	#br Ben.Woodhouse

Change 3204428 on 2016/11/18 by Guillaume.Abadie

	Fixes a couple of issues in decals:

	* Crash in FDecalDrawingPolicyFactory::DrawMesh()
	* ActorPostion material expression
	* PixelNormalWS material expression
	* Missing renaming from DEFERRED_DECAL to DECAL_PRIMITIVE

	#jira UE-38327, UE-38158, UE-37818, UE-37350

Change 3204429 on 2016/11/18 by Uriel.Doyon

	Darker default undefined accuracy.
	Reenabled the texture streaming build in the build all.

Change 3204458 on 2016/11/18 by Chris.Bunner

	Shader truncation warnings fix.

Change 3204459 on 2016/11/18 by Chris.Bunner

	Engine 'Passthrough' material fuction fix. V4 is now actually a V4.

Change 3204460 on 2016/11/18 by Chris.Bunner

	Correctly handle some known Nvapi warnings.
	#jira UE-38529

Change 3204653 on 2016/11/18 by Marc.Olano

	Helper functions for tiled textures

	Checking in for Ryan Brucks

Change 3204863 on 2016/11/18 by Arne.Schober

	DR - Replaced ENQUEUE_UNIQUE_RENDER_COMMAND with a Debuggable template Implementation

Change 3204939 on 2016/11/18 by Arne.Schober

	DR - Make clang happy

Change 3204968 on 2016/11/18 by Arne.Schober

	DR - UE-38494 - Fixed SpeedTree Wind crash, when force deleting the Asset.

Change 3206293 on 2016/11/21 by Uriel.Doyon

	New member bHasStreamingUpdatePending in UTexture2D to delay update of global distance fields.
	Set to true when the streamer can possibly load a mip in the near future.
	#jira UE-37787

Change 3206551 on 2016/11/21 by Chris.Bunner

	Added material update context when forcing all shaders to recompile.
	#jira UE-38481

Change 3206644 on 2016/11/21 by Benjamin.Hyder

	Updating Planar Reflection example in TM-Shadermodels.

Change 3206899 on 2016/11/21 by Rolando.Caloca

	DR - vk - SM5 fixes

Change 3206900 on 2016/11/21 by Rolando.Caloca

	DR - Added missing strings for shader formats

Change 3206983 on 2016/11/21 by Rolando.Caloca

	DR - vk - Support for SV_Coverage

Change 3207237 on 2016/11/22 by Simon.Tovey

	Exporting particle module base and a couple of child classes as it's commonly requested.

	#test compiles

Change 3207241 on 2016/11/22 by Gil.Gribb

	Merging //UE4/Dev-Main@3206998 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3207520 on 2016/11/22 by Ben.Woodhouse

	Cherry picked from //Fortnite/Main@3206301
	Fixed GPU hang in Zone Map view. Was an issue with RenderThread using the device context without appropriate RHIThread flushes.
	#jira FORT-31616
	#code_review keith.judge

Change 3207541 on 2016/11/22 by Ben.Woodhouse

	Cherry picked from //fortnite/Main@3207422
	* Fix UpdateTexture3D to create a staging texture of the region to update rather than the whole texture. This prevents distance fields crashing during update (allocating 18GB per frame in some cases)
	* Put UpdateTexture2D DMA support onto a cvar, disabled by default (corruption issues reported by licensees, plus not sure it's actually faster - could be slower due to reduced bandwidth; issues reported by licensees)
	* Fix UpdateTexture2D to only create a staging texture of the region to update, saving memory
	#jira UE-38609

Change 3207654 on 2016/11/22 by Chris.Bunner

	Don't flag 16-bit PNG/JPG textures as sRGB on import.
	#jira UE-30279

Change 3208434 on 2016/11/22 by Rolando.Caloca

	DR - vk - UAV transitions

Change 3208490 on 2016/11/22 by Chris.Bunner

	Break material code sharing when we detect an unresolvable loop.
	By default change IsResultMA loop detection to stop on functions as we can determine type definitively.
	Unified IsResultMA detection across switch nodes.

Change 3208860 on 2016/11/23 by Rolando.Caloca

	DR - vk - Fix some format issues

Change 3209265 on 2016/11/23 by Arne.Schober

	DR - originally unshelved from 3153924 - Made Depth and Velocity Rendering Passes to use PSO only RHI interface,
	We are now passing down two structs that collect all the necessary information for the drawing policies to construct a PSO object.
	One during construction of the Policy, which contains information abouyt the CullMode, FillMode and PrimType.
	And another during rendering that passes infomation like BlendState and DepthStencilState down to the low levelrenderer into SetSharedState.
	Performance of the static drawlist ist slightly slower (less than 0.1ms on Consoles) due to some addtional branches and copies. The branches in the FDrawingPolicyRenderState will go away as soon as everything is converted to use the PSO interface.
	Performace of the GPU is slightly better due to less context rolls (mainly CullMode sorts in differently now)

Change 3209305 on 2016/11/23 by Guillaume.Abadie

	Fix contact shadow's assemption on objects thickness

Change 3209334 on 2016/11/23 by Brian.Karis

	Fixed TAA handling of alpha. Switched the meaning of AA_ALPHA to make sense.

Change 3209903 on 2016/11/24 by Guillaume.Abadie

	Cherry picks alpha through post processing changelists 3201959, 3204143 and 3209883 from //UE4/Private-Partner-NREAL

Change 3209973 on 2016/11/24 by Ben.Woodhouse

	Fix D3D11 and 12 static analysis warnings reported by Rob Troughton of Coconut Lizard (http://coconutlizard.co.uk/blog/ue4/pvs-studio-part5/)

Change 3210023 on 2016/11/24 by Uriel.Doyon

	Fixed an issue with DropDetail when FixedFrameRate was set to a value smaller than MinDesiredFrameRate.
	#jira UE-37210

Change 3210026 on 2016/11/24 by Ben.Woodhouse

	Disable renderthread hang detection if a debugger is present, so we can debug the renderthread without crashing

Change 3210049 on 2016/11/24 by Ben.Woodhouse

	Fix mac build

Change 3210071 on 2016/11/24 by Uriel.Doyon

	Fixed an issue with masked materials and shader complexity viewmode when DBuffer Decals are enabled.
	#jira UE-37542

Change 3210374 on 2016/11/25 by Ben.Woodhouse

	* Fix issues with fast cleared dbuffer targets not being resolved when no decals are in the scene. This caused graphical corruption on XB1 and ensure failures on PS4 (with RHIThread disabled)

	* Move Decal rendertarget manager function implementations out of the header.
	#jira UE-38879

Change 3210390 on 2016/11/25 by Uriel.Doyon

	Fixed cubemap resourcesize not taking into account mipgen settings
	#jira UE-37045

Change 3210407 on 2016/11/25 by Uriel.Doyon

	"resavepackages" commandlet now supports -buildtexturestreaming that rebuilds the map texture streaming data.
	That can be used in combination with -buildlighting.

Change 3210563 on 2016/11/27 by Rolando.Caloca

	DR - vk - Integrate cached memory fixes and PF_D24 format fix
	#jira UE-39025
	PR #2974

Change 3210564 on 2016/11/27 by Rolando.Caloca

	DR - Fix for GL linker
	PR #2975
	#jira UE-39029

Change 3210592 on 2016/11/27 by Rolando.Caloca

	DR - vk - SM5 fixes

Change 3210597 on 2016/11/27 by Rolando.Caloca

	DR - vk - Prep for staging UB copies to GPU memory

Change 3210600 on 2016/11/27 by Rolando.Caloca

	DR - vk - Extract generic range code

Change 3210613 on 2016/11/27 by Rolando.Caloca

	DR - vk - Added r.Vulkan.SubmitOnDispatch

Change 3211054 on 2016/11/28 by Rolando.Caloca

	DR - vk - Missing reference

Change 3211330 on 2016/11/28 by Chris.Bunner

	Shader compile error for max texture coordinate count on skinned meshes.

Change 3211384 on 2016/11/28 by Arne.Schober

	DR - Enforce move on EnqueueRenderCommand Lambda

Change 3211431 on 2016/11/28 by Gil.Gribb

	Merging //UE4/Dev-Main@3211016 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3211738 on 2016/11/28 by Gil.Gribb

	IWYU fixes after merge

Change 3212231 on 2016/11/28 by Richard.Wallis

	Fix build errors

Change 3212253 on 2016/11/28 by Richard.Wallis

	Remove MacGraphicsSwitching plugin.

	#jira UE-37640

Change 3212310 on 2016/11/28 by Rolando.Caloca

	DR - vk - Update glslang to 1.0.33.0

Change 3212446 on 2016/11/28 by Guillaume.Abadie

	Implements PreviousFrameSwitch material expression

Change 3212594 on 2016/11/28 by Arne.Schober

	DR - Fix missing include

Change 3212681 on 2016/11/29 by Rolando.Caloca

	DR - vk - Auto flush for compute shader

Change 3213000 on 2016/11/29 by Gil.Gribb

	temp fix for PF_MAX

Change 3213161 on 2016/11/29 by Ben.Woodhouse

	Integrate latest D3D12 changes from //depot/Partners/Microsoft/UE4-DX12/...@3211714

	Using:
	 - p4 integrate //depot/Partners/Microsoft/UE4-DX12/Engine/Source/Runtime/D3D12RHI/...@3211714 //UE4/Dev-Rendering/Engine/Source/Runtime/D3D12RHI/...
	 - p4 integrate //depot/Partners/Microsoft/UE4-DX12/Engine/Source/ThirdParty/Windows/DirectX/...@3211714 //UE4/Dev-Rendering/Engine/Source/ThirdParty/Windows/DirectX/...
	 - p4 integrate //depot/Partners/Microsoft/UE4-DX12/Engine/Source/Programs/UnrealBuildTool/...@3211714 //UE4/Dev-Rendering/Engine/Source/Programs/UnrealBuildTool/...

	Changes from UE4-DX12:

	*** CL 3183818 ***
	Update D3D12 RHI to 4.14:
	 - Merged changes from Epic up until 10/20/16
	 - Fixed an issue where command allocators where resetting too early. I changed to aggressive command list batching by default now that more SubmitCommandListHint calls exist in the upper engine, we don't need to worry about starving the GPU. Fewer ExecuteCommandLists calls means better performance and fewer Signals() so this change provides a GPU perf win.

	I had to fix an issue with aggressive batching where we would sometimes hold on to a command list long enough (in the pending list) but hadn't executed it yet. The command allocator was being put back in the queue of allocators during ReleaseCommandAllocator() without a syncpoint set and was thus being reset too early. I added a simple counter to the command allocator so it could track how many command lists were using it. It doesn't need to be thread safe since only one thread uses a command allocator at a time.

	I also added some stats around the # command lists and # command allocators since it would be possible to leak command allocators now if it's pending command list count isn't decremented correctly. In that case we'd keep creating new command allocators and eventually run out of memory.

	-Remove clear during allocate in the FD3D12FastConstantAllocator and FD3D12FastAllocator. The supplied resource locations are assumed to be new and thus don't need to be cleared.

	-Cleanup D3D12RHI stats. There were some unused stats as well as some missing ones.

	-Mark shader resource table uniform buffers as dirty only when the shader changes. Cleanup SetComputeShader calls and Dispatch calls to not set/unset the CS for each Dispatch.

	-Remove unused Check SRV resolved code that epic added to the D3D11 RHI and was brought over. We dont need it and we won't use this.

	-Remove "always on" cycle counters for high frequency RHI methods like RHISetShaderTexture. These should use the engine's stat macros as they are removed on TEST + SHIPPING builds. On Xbox a significant amount of CPU time is spent in things like QueryPerformanceCounter even when STATS aren't enabled. Currently 1% of an entire capture on XBOX is spent inside this call.

	I improved and cleaned up high freqency call stacks like:
	 - RHISetShaderTexture
	 - RHISetShaderResourceViewParameter
	 - RHISetShaderParameter
	 - RHISetUAVParameter

	In general I moved to use templated functions, removed unused parameters, unnecessary copies, etc.

	-Change D3D12 PIX profiling enable/disable to match Xbox and handle logic in the UEBuildWindows.cs for UBT. Also add a static assert to inform the developer when PIX profiling is requested but the engine is compiling out draw events.

	-Resources should be associated with the rendering thread's frame that it's currently recording command lists for and they shouldnt be cleaned up until those command lists have been translated to D3D12 command lists on the RHI thread AND completed executing on the GPU. This was confirmed to resolve an issue where CBV resources were being released too early.

	This work involved a couple changes:
	1) Move the "frame" fence to be incremented on the rendering thread (during RHIAdvanceFrameForGetViewportBackBuffer()) so that resources that are deleted from the rendering thread are assosicated with the correct frame count
	2) Queue up a command from the rendering thread to signal the "frame" fence. It needs to be queued to ensure that it's signaled at the correct time on the RHI thread (after that frame's command lists have been executed).

	-Disable GRHIRequiresEarlyBackBufferRenderTarget. Metal/Vulkan/Xbox11.x already do this. This is used by the Slate renderer during BeginRenderFrame and avoids a SetRenderTargets call.

	-Enable GRHISupportsMSAADepthSampleAccess (used in the Editor). This was enabled for D3D11 on SM5, but not for D3D12.

	-Delay load D3D12.dll and add root signature 1.1 support.

	-Add explicit flush calls to improve resource barrier batching instead of implict flushes inside FConditionalScopeResourceBarrier and FScopeResourceBarrier. Also update those classes with const members.

	*** CL 3183824 ***
	Fix the D3D12 RHI after integrating UE 4.14 updates:
	- Fixed a bug where we would try to get the PSO of a nullptr in SetPipelineState if we needed to reset the current PSO on the cmd list.
	- Fixed a spelling error
	- Removed the need for bForceState, we use dirty bits now

	*** CL 3183830 ***
	- GetDebugFlags RHI extension, needed by XB1 movie player.
	- Only query memory info if stats are enabled
	- Add support for the engine's new RHISubmitCommandsAndFlushGPU function
	- Update CommitPendingPipelineState to be Graphics/Compute specific and avoid the need for a IsCompute parameter.

	*** CL 3183837 ***
	Made PipelineState caches contain pointers to FD3D12PipelineState objects to avoid issues with using pointers to after Find/Add to the maps. TMap indicates that the pointer to the value associated with a key "is only valid until the next change to any key in the map." The lifetime of the PSO pointers is managed by the low level caches (graphics and compute). Added stat for the number of Pipeline State Objects.

	*** CL 3183931 ***
	Update Windows D3D12 headers and libs to RS1 release bits (10.0.14393.0)

	*** CL 3183978 ***
	Update UBT Windows build settings:
	- Change D3D12 PIX profiling enable/disable to match Xbox and handle logic in the UEBuildWindows.cs for UBT. Also add a static assert to inform the developer when PIX profiling is requested but the engine is compiling out draw events.

	-Delay load D3D12.dll and add root signature 1.1 support.

	*** CL 3184132 ***
	Fix Xbox PSO cache code where it could leak PSOs. Related to change 3183837.

	*** Changelist 3211714 ***
	Update D3D12 RHI with fixes:
	 - Check if we can reserve slots in GatherUniqueSamplerTables
	 - DirtyState more often in StateCache
	 - Remove InternalSetSamplerState. The alternate function isn't used.
	 - Allow MRTClear for arrays with holes in them
	 - Fix uninitialized descriptors. This was causing a GPU hang on Xbox. We need to set dirty bits for resources bound to slots outside of the current descriptor table's range
	 - Cleanup SetDescriptorHeap code. Move setting descriptor heap logic to the descriptor cache since it also owns things like the sampler maps. Added members to the descriptor cache to track the last heaps that were set on the command list to avoid dirtying bit unnecessarily.
	 - Resource transitions: go through Common between queues (3D <--> Compute)
	 - Fix initial state for placed resources.
	 - Merging epic

Change 3213250 on 2016/11/29 by Chris.Bunner

	GBufferHints tooltip fix.
	#jira UE-39103

Change 3213345 on 2016/11/29 by Gil.Gribb

	more IWYU fallout

Change 3213676 on 2016/11/29 by Rolando.Caloca

	DR - Fix incorrect texture getting cleared

Change 3213728 on 2016/11/29 by Rolando.Caloca

	DR - Lambda-ize

Change 3214461 on 2016/11/29 by Ben.Woodhouse

	Rollout August QFE4 XDK (required for latest DX12 changes on XB1)

Change 3215317 on 2016/11/30 by Daniel.Wright

	PS4 compile fix

Change 3216343 on 2016/11/30 by Arne.Schober

	DR - UE-39155 - after talking to Brian it occurred to us that flipping the world space normal is non sensical. And indeed the Grass was using world space normals.

Change 3216844 on 2016/12/01 by Ben.Woodhouse

	Fix for static analysis warnings after discussion with Microsoft

Change 3216916 on 2016/12/01 by Gil.Gribb

	Merging //UE4/Dev-Main@3216539 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3217385 on 2016/12/01 by Arne.Schober

	DR - UE-39218, UE-39221, UE-39224  and potentially UE-39214 - The Stencil bits for Light channels and decal application were not set in the dynamic basepass

Change 3217464 on 2016/12/01 by Ben.Woodhouse

	Fix for reflection capture resize assert. The assert is only valid in cooked builds, so disable it in editor
	#jira UE-39225

Change 3217534 on 2016/12/01 by Arne.Schober

	DR - Fix Merge conflict

Change 3217581 on 2016/12/01 by Rolando.Caloca

	DR - Fix assert on debug

Change 3217741 on 2016/12/01 by Benjamin.Hyder

	Duplicate audio fix.

Change 3217890 on 2016/12/01 by Rolando.Caloca

	DR - Fix widget not rendering properly when hidden
	#jira UE-39221

Change 3218129 on 2016/12/01 by Arne.Schober

	DR - UE-39214 - Lod dither value as accidently cached accross the static draw list.

Change 3218759 on 2016/12/02 by Guillaume.Abadie

	Fixes editor compositing bug caused by alpha through post processing change 3209903

	#jira UE-39221

[CL 3219854 by Marcus Wassmer in Main branch]
2016-12-02 16:43:04 -05:00
Bob Tellez
33f0f0a6e6 Copying //UE4/Fortnite-Staging to //UE4/Dev-Main (Source: //Fortnite/Main @ 3212531)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3212485 on 2016/11/28 by Dmitry.Rekman

	Update libwebsockets to use -fPIC.

Change 3212280 on 2016/11/28 by Guillaume.Abadie

	Fixes static lighting regression caused by selective outputs fix.

Change 3211095 on 2016/11/28 by Ian.Fox

	#UE4 - Add nullptr check to cookonthefly server ini check

Change 3211042 on 2016/11/28 by Bob.Tellez

	#UE4 Add an option to reset a particle system comp on a camera lens emitter when it is retriggered

Change 3209336 on 2016/11/23 by Rob.Cannaday

	Fix shutdown crash trying to cancel an HTTP request after the HTTP module has been unloaded
	Move the cancel call to the PreUnload step
	#jira FORT-33515

Change 3208350 on 2016/11/22 by Jeff.Campeau

	Added bVirtualKeyboardDisplayOnFocus to Slate settings defaulted to true (old behavior)
	Always open a virtual keyboard when the facebutton bottom is pressed on an active text field
	Do not open a virtual keyboard on focus gained by any method other than mouse if bVirtualKeyboardDisplayOnFocus is set to false

	#jira FORT-30722

Change 3207430 on 2016/11/22 by James.Hopkin

	#fortnite Applied changes from CL#3161737 (UE4/Main) to stage and package SSL certificate bundles.

Change 3207422 on 2016/11/22 by Ben.Woodhouse

	* Fix UpdateTexture3D to create a staging texture of the region to update rather than the whole texture. This prevents distance fields crashing during update (allocating 18GB per frame in some cases)
	* Put UpdateTexture2D DMA support onto a cvar, disabled by default (corruption issues reported by licensees, plus not sure it's actually faster - could be slower due to reduced bandwidth; issues reported by licensees)
	* Fix UpdateTexture2D to only create a staging texture of the region to update, saving memory
	#jira UE-38609

Change 3206301 on 2016/11/21 by Ben.Woodhouse

	Fixed GPU hang in Zone Map view. Was an issue with RenderThread using the device context without appropriate RHIThread flushes.
	#jira FORT-31616
	#code_review keith.judge

Change 3206144 on 2016/11/21 by Lukasz.Furman

	improved path following sticking to tether bounds
	#jira FORT-32097

Change 3206142 on 2016/11/21 by Lukasz.Furman

	added post processing to navigation filters for making filter-bound paths (feedback iteration)
	#fortnite

Change 3206053 on 2016/11/21 by Lukasz.Furman

	added post processing to navigation filters for making filter-bound paths
	#fortnite

Change 3205790 on 2016/11/21 by Lukasz.Furman

	pass on flow field usage by EQS

Change 3205764 on 2016/11/21 by Lukasz.Furman

	seeding AIModule's random stream from world manager, using random stream in EQS
	#fortnite

Change 3205763 on 2016/11/21 by Lukasz.Furman

	added random stream to AIModule
	copy of CL# 3150031

Change 3205162 on 2016/11/19 by James.Hopkin

	Added missiing depending on SSL to Linux HTTP. Fixes CrashReportClient linker errors.

Change 3205124 on 2016/11/19 by James.Hopkin

	Enabled websockets and Stomp for Linux

Change 3205121 on 2016/11/19 by James.Hopkin

	From Nick Shin's Dev-Platform shelf: upgrade/rebuild of libcrypto, libcurl, libssl, libwebsockets and zlib for Linux

	#fyi Nick.Shin,Dmitry.Rekman,Bob.Tellez

Change 3205119 on 2016/11/19 by James.Hopkin

	Added OpenSSL version 1.0.2h headers for x86_64-unknown-linux-gnu

	#fyi Nick.Shin,Dmitry.Rekman,Bob.Tellez

Change 3204994 on 2016/11/18 by Billy.Bramer

	- Sort the function results that show up in the blueprint "Copy signature from:" combo box

Change 3203688 on 2016/11/18 by James.Hopkin

	#stomp Lower-cased FName strings before encoding to prevent random case at runtime.

Change 3201533 on 2016/11/16 by Mark.Satterthwaite

	More auto-release pool/memory-handling fixes for Metal's debug layer, which depends upon ARC:
	- Better handling of parallel context creation & pooling in MetalRHI.
	- Metal queries return the actual value so that we can use local autorelease pools to capture ARC retain/autorelease calls in the debug layer.
	- Similarly EndEncoding needs a local autorelease pool to handle the debug layer's ARC retain/autorelease calls.
	#jira FORT-32706

Change 3201077 on 2016/11/16 by Mark.Satterthwaite

	Trivial command-buffer fencing to avoid render-queries keeping MTLCommandBuffer's alive after they are completed, reducing total memory use.
	#jira FORT-32706

Change 3200269 on 2016/11/16 by John.Abercrombie

	Made GetPredictionData_Client_Character and GetPredictionData_Server_Character public
	- Removed unnecessary code duplication in FortIndicator as a result

Change 3198230 on 2016/11/15 by James.Hopkin

	#stomp Added dedicated server support to Stomp connection manager. Also fixed heartbeats and change retry strategy to retry forever, first retry after 5 seconds, doubling up to max interval of every minute.

Change 3197273 on 2016/11/14 by Mark.Satterthwaite

	Fix Metal related memory leaks.
	#jira FORT-32706

Change 3196974 on 2016/11/14 by Lukasz.Furman

	increased distance to focal point for path following
	copy of CL# 3196971
	#jira FORT-32048

Change 3196885 on 2016/11/14 by John.Pollard

	FORT-33019 - Fix crash when updating unmapped properties on replicator that was dormant

Change 3196772 on 2016/11/14 by John.Pollard

	Speculative fix for assert when shutting down replicators

Change 3196617 on 2016/11/14 by Lukasz.Furman

	improved readability of EQS results in gameplay debugger's table view
	#fortnite

Change 3195394 on 2016/11/11 by John.Pollard

	UE-37866 - Fix replication issue where unmapped properties wouldl fail to map if the replicator goes away due to dormancy

Change 3195272 on 2016/11/11 by Bob.Tellez

	#Fortnite Fix warning output in UDataTable for missing row

Change 3195152 on 2016/11/11 by Lukasz.Furman

	fixed target selection in gameplay debugger's spectator
	#fortnite

Change 3195071 on 2016/11/11 by Lukasz.Furman

	pass on EQS category of gameplay debugger
	#fortnite

Change 3194111 on 2016/11/10 by Bob.Tellez

	#UE4 if you have a checked out or out of date file in your rename list it is now properly skipped and reported after the rename.

Change 3193547 on 2016/11/10 by Bob.Tellez

	#UE4 LODGroup is now AssetRegistrySearchable

Change 3193545 on 2016/11/10 by Bob.Tellez

	#UE4 Allow setting the default LODGroup when importing a mesh

Change 3193541 on 2016/11/10 by Bob.Tellez

	#UE4 LODGroup settings application on load. Enable this behavior by setting r.StaticMesh.UpdateMeshLODGroupSettingsAtLoad=1

Change 3192035 on 2016/11/09 by Saad.Nader

	#engine Updated Migration of properties to handle static arrays properly from previous check-in.

Change 3191062 on 2016/11/08 by Saul.Abreu

	Added accessor for all items in list views.

Change 3190998 on 2016/11/08 by Chris.Gagnon

	Partially fixes a problem with the scale bax ignore inherited scale isn't working properly.

	There is more to fix by adding float InScale or similar to the GetRelativeLayoutScale() call chain.
	This portion will be handled by the tools team.

Change 3190812 on 2016/11/08 by Lukasz.Furman

	fixed crash on path string pulling when path corridor is empty
	#jira FORT-32811

Change 3190800 on 2016/11/08 by Saad.Nader

	#engine Fixed a case where a static array uproperty wasn't being migrated properly since it was being treated as a single value.

Change 3189573 on 2016/11/07 by Bob.Tellez

	#UE4 Since LightComponents now respect hiddeningame, I changed ALight to default to not be hidden in game. All components in the class that should not be seen are already bHiddenInGame=true on the component.

Change 3189268 on 2016/11/07 by Michael.Trepka

	Check is MacApplication is still valid when making a deferred call to OnApplicationActivationChanged

Change 3189179 on 2016/11/07 by Michael.Trepka

	Don't skip Mac windowDidResize: when switching between window modes. Fixes issues with screen not resizing properly when changing from windowed to windowed fullscreen

Change 3189154 on 2016/11/07 by Lukasz.Furman

	added unbound exploration mode to A* solver
	#ue4

Change 3189072 on 2016/11/07 by Saad.Nader

	#commonui Added ability to skip the stack of activatable panels so that global input handling can handle input for dynamically created buttons on a modal. Updated name of base button style as its name was conflicting with legacy ui base button style.

Change 3188769 on 2016/11/07 by Guillaume.Abadie

	Fixes r.SelectiveBasePassOutput and use it in Fortnite.

	This CL adds a selective base pass optimization not drawing scene color when  r.SelectiveBasePassOutput=1 on materials that  doesn't emit color.
	Use r.SelectiveBasePassOutput in Fortnite and avoid computing the fog in base pass to actually avoid drawing scene color.

	#review-3187180 @brian.karis

Change 3187864 on 2016/11/04 by Bob.Tellez

	#UE4 Better handling for setting return values in error cases where a function cannot be executed.

Change 3187815 on 2016/11/04 by Bob.Tellez

	#UE4 Fix for SetLODGroup to trim LODs that are not needed.

Change 3187309 on 2016/11/04 by Lukasz.Furman

	added projection and pathfinding to navigation graph
	#fortnite

Change 3186304 on 2016/11/03 by Saul.Abreu

	Made a pass on Common UI widgets, setting their widget palette category property or overriding the relevant virtual method in order to have a consistent value across all Common UI widgets.

Change 3186301 on 2016/11/03 by Saul.Abreu

	Exposed ability to compare Slate brushes in Blueprints. Helpful for Icon Text Button to be able to hide its icon image if the icon brush is identical to the default (which is intentionally 0-sized/draw-type none).

Change 3185979 on 2016/11/03 by David.Hamm

	Conditional gameplay effects with required tags were considering target tags in code, rather than source tags as presented in the editor.  Updating the code allows the Bearricade tag to be seen, triggering the desired slow effect.

	#jira FORT-32141

Change 3185534 on 2016/11/03 by Daniel.Broder

	Made GameplayDebuggerCategory_EQS log the description of filtered items rather than just their index (which doesn't tell much).

	#UE4 #NoReleaseNotes

Change 3185386 on 2016/11/03 by Daniel.Broder

	"Actors of Class" EQS Generator now supports returning all actors matching the class rather than only actors within the radius based on a new checkbox "Generate Only Actors In Radius".  For backwards compatibility, it defaults to true.

	#UE4 #ReleaseNoteAbove

Change 3185370 on 2016/11/03 by Mark.Satterthwaite

	Revert the only change to Metal texture uploads made in the merge leading up to 16/09/16 and disable more recent changes to reuse texture objects in the hope that this cures FORT-30180. If not then this will need to be handled by Apple/Nvidia as we're not doing anything obviously wrong on our side.
	#jira FORT-30180

Change 3185249 on 2016/11/03 by Lukasz.Furman

	added caching for neighbor count in template A* solver
	#fortnite

Change 3184403 on 2016/11/02 by Daniel.Broder

	Updated EnvQueryTest_GameplayTags to support Gameplay Tag Queries.

	^^ReleaseNoteAbove

	Data is automatically converted to the query from the old data format.

	Gameplay Tag Queries give much more flexibility for how to mach the queries, since they can include entire expressions of what must match and/or not match.

	#UE4 #ReleaseNoteAbove

Change 3184311 on 2016/11/02 by Daniel.Broder

	Removed unnecessary if/else that was calling identical code in both parts!  (Now it just calls the code directly).

	Fixed spelling of ReturnValueAddress (from ReturnValueAdress).

	#UE #NoReleaseNotes

Change 3183823 on 2016/11/02 by Mark.Satterthwaite

	Record Metal resource & state objects used in a command-buffer when rhi.Metal.RuntimeDebugLevel is set to 3 or higher. The object labels, types & descriptions will be printed on failure - if the object is deleted prior to this then we have a lifetime error and it will crash at this point and can be debugged further using our -metalretainrefs command-line option or Xcode's zombie-objects.

	Used to verify that FORT-31649 is not a simple resource lifetime error and thereby speed up Apple/vendor investigations.
	#jira FORT-31649

Change 3183807 on 2016/11/02 by Mark.Satterthwaite

	Change the way we access the Metal viewport's backbuffer, to reduce possible causes of FORT-31649:
	- Added console variable "rhi.Metal.SupportsIntermediateBackBuffer" to control whether to use an extra render-target so we can support screenshots & movie capture, or render directly to the back-buffer to save memory & GPU performance. Still defaults to ON for Mac & OFF for iOS/tvOS.
	- Change the way we handle updates to the back-buffer size to ensure that the different threads access their intended version.
	#jira FORT-31649

Change 3183470 on 2016/11/02 by Bob.Tellez

	#UE4 Lights with 0 intensity are now removed from the scene

Change 3183230 on 2016/11/02 by Bob.Tellez

	#UE4 Console history no longer keeps duplicate entries

Change 3182547 on 2016/11/01 by Bob.Tellez

	#UE4 Fixed an old bug which was causing thumbnail scenes to have incorrect lighting.

Change 3182498 on 2016/11/01 by Chris.Gagnon

	Added ItemIcon widget and ItemCountTextBlock widget.
	EpicCMSScreen derives from COmmonActivatable Panel.
	Added CommonUIUtils with function to get a owning userwidget or contexts.

	Begining of the new Topbar, and a number of supporting widgets.

Change 3182497 on 2016/11/01 by Chris.Gagnon

	Engine:
	GameViewportClient now has a global toggle to turn software cursor mapping on and off.

	Fortnite:
	Added software cursor, when using the gamepad we turn on the software cursor mapping. The asset is invisible.
	This allows us to hide the cursor without all the baggage and undesired behavior that comes with that.

Change 3181853 on 2016/11/01 by Saad.Nader

	#commonui
	Added uproperty annotations to prevent garbage collection.
	Updated code to cleanup internal caches to happen earlier.

Change 3181782 on 2016/11/01 by Bob.Tellez

	#UE4 LightComponents now respect bHiddenInGame (and other visibility flags) when determining whether they should be added to the scene.

Change 3181516 on 2016/11/01 by Saad.Nader

	#commonui

	Added an action handler interface that I have been wanting for awhile.
	Updated action widget to ignore design time changes since it relies on a common ui context instance.
	Cleaned up activatable panel interface and commited events on a input action registered to be handled. Our activatable handle automatically handles things for now without asking blueprint if we should.
	Cleanedup up miscellaneous activatable panel internals
	Activatable panels can now choose to expose input actions registered to that panel.
	Replaced activatable panel reflector with common input reflector
	Added a common global input handler that implements the action handler interface
	Updated common button and common tablist widgets appropriately to register with global input handler for appropriate actions.
	Buttons now have separate triggering actions vs. triggered actions. Triggering actions can only be set during creation of the button whereas triggered actions can be set anytime.
	Moved a lot of the boilerplate code for action button into common button to trigger and listen for actions, or register with the global input handler for triggering actions.
	Fixed typos in common ui types.
	Updated CommonUITestBed with new changes.

Change 3179753 on 2016/10/31 by Lukasz.Furman

	replaced ensure with vlog warning in GameplayTask processing
	#jira FORT-32324

Change 3178028 on 2016/10/28 by Lukasz.Furman

	attempt to fix rare crash in crowd simulation
	#jira FORT-27847

Change 3177966 on 2016/10/28 by James.Hopkin

	Removed some redundant text/string copies and conversions in 'Find in Blueprints'

Change 3176795 on 2016/10/27 by Fred.Kimberley

	Fixed the code path that grabs tooltip data for ability system components to respect the flag that shows buffs in the front end instead of final values.

	#jira FORT-30491

Change 3175818 on 2016/10/26 by Bob.Tellez

	#UE4 Protecting against a nullptr access in FVisibilityPropertySection::GenerateSectionLayout. More investigation is needed to determine if this should be allowed to be null.

Change 3175615 on 2016/10/26 by Michael.Trepka

	Check if MacApplication is valid in FMacApplication::OnCursorLock() block that's called asynchronously and can be executed after MacApplication was destroyed. Fixes FORT-32075

Change 3175369 on 2016/10/26 by Saul.Abreu

	Refactored CreateWidget functions to share UserWidgetClass validation logic and fixed a missing early-out return statement.

Change 3175233 on 2016/10/26 by Saul.Abreu

	#fortnite
	Common Button now properly handles its interactibility changing when it's toggleability has changed - previously, being selected when toggling is turned on would leave the button non-interactible and thus not practically toggleable.

Change 3174285 on 2016/10/25 by Mark.Satterthwaite

	Fix command-buffer failures when resizing windows on Mac - we have to capture windowWillResize: events in our window delegate and then forward on a call to Slate's OnResizingWindow event handler, that internally causes rendering to flush. If we wait to do this in windowDidResize then the actual device back-buffer resource will have been reallocated and we presumably end up trying to render into garbage memory on the GPU, causing the intermittent command-buffer failures.
	#jira FORT-31649

Change 3173872 on 2016/10/25 by Bob.Tellez

	#UE4 Fixed an issue where if you have a map with actors  that produce a ZeroVector bounds size, SetActorTransform complains.

Change 3172828 on 2016/10/24 by Saul.Abreu

	Added useful contextual information to the message log errors provided when attempting to create widgets but failing.

Change 3172649 on 2016/10/24 by Michael.Trepka

	Call setMinSize and setMaxSize in FMacApplication::OnCursorLock() on the main thread

	#jira FORT-30177

Change 3172568 on 2016/10/24 by Saad.Nader

	#commonui Exposed a flag to reflector to not show actions for an activtable panel if we don't want them exposed.

Change 3172341 on 2016/10/24 by Mark.Satterthwaite

	Fix FORT-31526 by setting appropriate defaults for FEditorCompositingParameters  when the feature isn't being used, as Metal still requires something be bound for the values. This all stems from Fortnite using GizmoMaterial somehow when whacking Llamas to reveal the cards contained within - I suspect the 'real' fix is not to use an Editor material in the game client...
	#jira FORT-31526

Change 3172304 on 2016/10/24 by James.Longstreet

	#fortnite #jira FORT-31090 Add setting to configure whether the virtual keyboard sends TextChanged or TextCommitted when complete.

	Add SlateSettings to project settings, for settings that need to be accessed from Slate -- the Slate module doesn't depend on Engine, so it can't access UserInterfaceSettings or InputSettings.

	Default to TextChanged in Fortnite.

Change 3171630 on 2016/10/24 by Saul.Abreu

	#fortnite
	Added API export to Common List View.
	Added support to Common List View for changing selection modes.
	Added delegate to Common List View to support hook-ups on creation of new list item widgets.
	Improved Common List View handling of item widgets that are buttons - no need to handle manually hooking up the list item clicked callback to the button.

Change 3171474 on 2016/10/22 by Saul.Abreu

	#fortnite
	New numeric text block.

Change 3171463 on 2016/10/22 by Saad.Nader

	#commonui
	Added the common action widget which can visualize the input of an activatable panel or button.
	Added the common activatable panel reflector widget so we can build a bar widget which can visualize the actions an activatable panel have registered to handle.
	Cleaned up the input manager's handling of pushing and poping activatable panels
	Updated widget switcher to completely push or pop tabs on or off the stack so that the stack is clean of any items not in the current tab.
	Updated common ui context to expose API blueprint.
	Updated input action data to make better sense in common ui types
	Added a viewport client to redirect input for the common ui test bed.
	Added a completion delegate for listeners such as a button in a activatable panel reflector widget.
	Added test harness for activatable panel, activatable panel reflector, action widget

Change 3170868 on 2016/10/21 by Jeff.Campeau

	AutoSDK props included earlier

Change 3170663 on 2016/10/21 by Mark.Satterthwaite

	Further changes to finally fix the underlying cause of FORT-25473 and all future potential instances: SetStreamSource overrides the stride from the vertex declaration and MetalRHI wasn't properly considering what to do with Stride=0, which should disabling vertex attribute stepping. This also requires fixing some gotcha's in the StateCache.
	#jira FORT-25473

Change 3170020 on 2016/10/20 by Bob.Tellez

	#UE4 Render scale was off by one when setting via buckets in the editor widget.

Change 3169764 on 2016/10/20 by Mark.Satterthwaite

	Fixed automatic conversion of G8_sRGB into RGBA8_sRGB required for Mac Metal, which fixes FORT-27627.
	#jira FORT-27627

Change 3169631 on 2016/10/20 by Mark.Satterthwaite

	Fix a potential crash due to unnecessary reinitialisation of the MetalRenderPipelineDesc mutex.

Change 3169614 on 2016/10/20 by Mark.Satterthwaite

	Fix FORT-25473 caused by incorrect handling of vertex attributes in Metal: FParticleSpriteVertexFactory specifies the dynamic particle parameter attribute (VA 5) with a non-zero stride, which implies vertex or instance stepping - but for the P_Rocket_ColdMist_FXV effect only a single float4 is provided with the intent that this be constant for all instances. Other APIs may implicitly wrap the VA read back around but Metal does not and simply reads garbage off the end of the buffer - potentially this could even cause a GPU crash. MetalRHI now detects when the buffer bound to an attribute can't support more than one instance and if needed updates the vertex declaration to make such attributes constant.
	#jira FORT-25473

Change 3169163 on 2016/10/20 by Fred.Kimberley

	Added UIProxyActor. This is intended as a single proxy actor to replace the existing, class specific, proxy actors.

Change 3168732 on 2016/10/20 by Saul.Abreu

	Exposed style references in UCommonTextBlock. Allows widgets to look at the styles on the CDO.

Change 3168713 on 2016/10/20 by Saul.Abreu

	Fixed unconditional inclusion of Developer module headers (settings module) in client builds from Common UI module.

Change 3168659 on 2016/10/20 by Saul.Abreu

	Created and exposed SetMinDesiredWidth on UTextBlock, following the example set by other setters in the class.

Change 3168658 on 2016/10/20 by Saul.Abreu

	The Common UI plugin now has a settings object which will appear in the project settings window. It exposes setting default styles for both CommonTextBlock and CommonButton in the Game config file.

Change 3167632 on 2016/10/19 by John.Pollard

	Fix FN replay scrubbing issues

	* Solution for net startup actors that need to be "rolled back" during scrubbing if they've been modified
	* Solution for when net startup actors should be deleted past checkpoints
	* Added version support to load older replays that don't save out deleted net startup actors in checkpoints

Change 3166065 on 2016/10/18 by Saad.Nader

	#commonui renaming UCommonActivatableManager to UCommonInputManager, added ability to change input method for desktop and console.

Change 3166049 on 2016/10/18 by Lukasz.Furman

	added navmesh exploration helpers in FortNavMesh
	#fortnite

Change 3165085 on 2016/10/17 by Saad.Nader

	#blueprintcontext fixed log output for created blueprint context

Change 3163115 on 2016/10/14 by James.Hopkin

	Prevented variable combo box clipping long type names in blueprint details panel

	[UE-19710]

Change 3162629 on 2016/10/13 by Saul.Abreu

	#fortnite
	#jira FORT-31489
	Ported Paragon's tile view widget over to the Common UI Plugin as Common Tile View. Added exemplar/test case in Common UI testbed.

Change 3162624 on 2016/10/13 by Saul.Abreu

	Improved "Create Event" node with text showing the function signature in a friendly manner.

Change 3162114 on 2016/10/13 by Guillaume.Abadie

	Implements r.EarlyZPassOnlyMaterialMasking.

	Fortnite grass/trees is using masked material. However masked materials are doing clip in early z pass and base pass, both preventing the pixel shader from using the early depth test. This CL execute material's mask opacity only in the early z pass to keep early depth test on expensive mask material's base pass pixel shader.

Change 3161479 on 2016/10/13 by Saad.Nader

	#commonui Updated Common button to be able to handle a bound common input action by causing the button to get clicked.
	Updated Activatable panel to ignore input if it is not activated
	Added helper functions to common widget switcher for activating/deactivating the active widget if it is a activatable panel.

Change 3161092 on 2016/10/13 by Saul.Abreu

	#fortnite
	Common Tab List widget now exposes access to its linked switcher as well as overridable events before and after the linked switcher is set. OnCreateNewTab can now be implemented in native code or blueprints. Buttons added as tabs in the tab list will now have their selectabilty and toggleability set as necessary.

Change 3160762 on 2016/10/12 by Billy.Bramer

	- Make UAbilitySystemComponent::AreAbilityTagsBlocked virtual so games can provide a custom implementation

Change 3160736 on 2016/10/12 by Lukasz.Furman

	fixed some gameplay debugger's categories not rendering correctly in simulate mode
	#fortnite

Change 3160417 on 2016/10/12 by Mark.Satterthwaite

	Disable DistanceField AO & Shadowing support on Intel GPUs under Metal - there are driver bugs that prevent them from working currently.
	#jira FORT-31268

Change 3160314 on 2016/10/12 by Michael.Trepka

	Fixed incorrect rect initialization in Mac GetDisplayMetrics

Change 3160309 on 2016/10/12 by Lukasz.Furman

	pass on gameplay debugger in Simulate in Editor mode
	copy of CL 3160014
	#ue4

Change 3159892 on 2016/10/12 by John.Abercrombie

	Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing

	#ue4

Change 3159630 on 2016/10/12 by Jamie.Dale

	Fixed an issue where async and non-async loading could result in the package being given a different name

	Async loading would always use the non-localized name (which is correct), but non-async loading would sometimes use the localized name (which is incorrect); now they both do the same thing.

Change 3159249 on 2016/10/11 by Jonathan.Lindquist

	fixing a potential uv bug related to their names

Change 3159145 on 2016/10/11 by Lukasz.Furman

	fixed behavior tree task restart conditions
	#ue4

Change 3158846 on 2016/10/11 by John.Pollard

	Add ability to override network async loading for replays

Change 3158551 on 2016/10/11 by Saad.Nader

	#commonui remove checks for common tab list widget when set listening for input occurs.

Change 3157727 on 2016/10/10 by Saul.Abreu

	#fortnite
	Common button style now has minimum width and minimum height properties and common button will use the maximum of its own and the style's minimums.

Change 3157364 on 2016/10/10 by Jamie.Dale

	Split localized package redirection out of FCoreDelegates::PackageNameResolvers

	They're different enough in behavior that the delegate resolution was breaking the localized package resolution by resolving in too many places and causing the localized package to be loaded with its real localized name as well as the fake non-localized name.

	#jira FORT-31207

Change 3156616 on 2016/10/10 by Lukasz.Furman

	added more failsafes to crowd simulation crash
	#jira FORT-27847

Change 3155092 on 2016/10/07 by Chris.Gagnon

	SlateApplication
	- Added more control over where navigation originates from with the ENavigationSource enumeration piped in through the FReply
	- Added custom handling support for the navigation responce using the FCustomNavigationHandler

	Fortnite
	- Added Input Preprocessor for generating navigation events and handling the "virtual cursor" position
	- Added the Input mode switching support for gamepad <-> keyboard (Currently disabled)

Change 3154721 on 2016/10/07 by Lukasz.Furman

	automation fix for AI tests with multiple spawn sets
	copy of CL# 3154035
	#jira FORT-31106

Change 3154466 on 2016/10/07 by Saul.Abreu

	#fortnite
	Additional logging and checking to help diagnose cause of current build breakage, possibly related to blueprint context OR unrelated but coincidental and related to game data or homebase manager.

Change 3154349 on 2016/10/06 by Saul.Abreu

	#fortnite
	Relocate BP context and common UI plugins to Engine (NotForLicensees).

Change 3152396 on 2016/10/05 by Lukasz.Furman

	fixed RECAST_ASYNC_REBUILDING define being ignored by navmesh generator
	#ue4

Change 3152390 on 2016/10/05 by Lukasz.Furman

	including AgentRadius in area modifier bounds in layer's intersection test
	fixes modifier cuts at tile boundary
	#jira FORT-31051

Change 3151999 on 2016/10/05 by Lukasz.Furman

	added vlogs for applying and removing gameplay effects
	#jira FORT-30982

Change 3150947 on 2016/10/04 by Bob.Tellez

	#UE4 Fix to find the title.json file in the correct game folder.

Change 3149775 on 2016/10/03 by Bob.Tellez

	#UE4 Added property editor code support for doubles.

Change 3148729 on 2016/10/03 by Lukasz.Furman

	fixed memory corruption in DemoNetDriver
	#fortnite

Change 3146148 on 2016/09/29 by Bob.Tellez

	#UE4 Fixed a case where the LastRecordedHittestIndex would remain zero, causing the widget path to get truncated and result in the mainframe window when determining if you should spawn a tooltip, causing us to try to create a tooltip outside of our tooltip presenter widget, causing a new window to be created and a crash to happen on consoles.

	#JIRA FORT-30378

Change 3146016 on 2016/09/29 by Daniel.Broder

	Added BlueprintGameplayTagLibrary function "Get All Actors of Class Matching Query".

	It uses TActorIterator to find only all actors derived from the specified class and then further winnows them by whether they match a GameplayTagQuery.  If any actor does NOT implement IGameplayTagAssetInterface, the function will log ONCE a warning that the class in question doesn't implement the required interface to be able to check for matching tags.  (NOTE: This function can be extremely expensive if there are a large number of actors of the class requested, so be cautious using it.

	It can be used at initialization time to find a specific subset of actors to act on (for example).

	#UE4 #ReleaseNote

Change 3145827 on 2016/09/29 by Lukasz.Furman

	added sanity checks to EQS tick
	#jira FORT-30755

Change 3145520 on 2016/09/29 by Chad.Garyet

	changing notifications to require there be a type to verify the user exists
	#jira FORT-30754

Change 3145428 on 2016/09/29 by Bob.Tellez

	#UE4 Made plugin loaded log statements verbose.

Change 3145229 on 2016/09/29 by Bob.Tellez

	#UE4 Fix for only running the first test on commandline

Change 3142730 on 2016/09/27 by Bob.Tellez

	#UE4 Removing needless scope on a virtual function call that made it seem static and made UpdateResolutionQuality protected so it can be called from subclasses that may be procedurally determining DesiredScreenWidth and DesiredScreenHeight

Change 3142632 on 2016/09/27 by Saul.Abreu

	#fortnite
	Improved data table row struct post-data-import method with more context provided through parameters. Used to fixup homebase node display names to have stable keys generated from the row name.

Change 3140907 on 2016/09/26 by Bob.Tellez

	#UE4 Allowing movie files to be renamed to match platform requirements

Change 3140399 on 2016/09/26 by Lukasz.Furman

	fixed uninitialized configs of gameplay debugger
	#jira FORT-30439

Change 3138880 on 2016/09/23 by Fred.Kimberley

	Added source tag requirements to conditional gameplay effects.

	#jira FORT-29772

Change 3138262 on 2016/09/23 by Chad.Garyet

	Integrating codesign fix into Fortnite/Main

Change 3137164 on 2016/09/22 by Mark.Satterthwaite

	Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
	#jira FORT-30377

Change 3136720 on 2016/09/22 by Rob.Cannaday

	Fix crash in FCurlHttpRequest::DebugCallback
	+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
	#jira OGS-428

Change 3136391 on 2016/09/22 by Lukasz.Furman

	fixed crowd path section switch rejecting navlinks at end of path
	#jira FORT-30400, FORT-30402

Change 3136295 on 2016/09/22 by Lukasz.Furman

	fixed navlinks not connecting to navmesh correctly in "snap to cheapest area" mode,
	adjusted scoring in navmesh projection - findNearestPoly2D
	#jira FORT-30358

Change 3136033 on 2016/09/22 by Mark.Satterthwaite

	To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
	Fix GPU selection code in MetalRHI to confirm everything is working.
	#jira FORT-30385

Change 3135237 on 2016/09/21 by Mark.Satterthwaite

	Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.

Change 3135177 on 2016/09/21 by Rob.Cannaday

	Demote "Missing party state during exit" log from warning to display, as order of operations cause this to always be triggered when voluntarily leaving a party
	#jira FORT-22575

Change 3135176 on 2016/09/21 by Rob.Cannaday

	When returning to front-end, re-evaluate pending party joins that were in the waiting for beacon reservation state.
	#jira FORT-27737

Change 3135174 on 2016/09/21 by Mark.Satterthwaite

	- Copy MetalRHI & MetalShaderFormat from Dev-Rendering CL #3132772
	Provides significant performance improvements on CPU due to improved vertex declaration handling & much reduced GPU heap fragmentation + more stats.
	Definitely fixes:
	#jira FORT-29430

Change 3135169 on 2016/09/21 by Mark.Satterthwaite

	Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).

Change 3135157 on 2016/09/21 by Mark.Satterthwaite

	Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
	#jira FORT-30061

Change 3135136 on 2016/09/21 by Bob.Tellez

	#UE4 Added GetPackageDependenciesForManifestGenerator delegate for games to be able to determine package dependencies however they deem fit.

Change 3135132 on 2016/09/21 by Bob.Tellez

	#UE4 Better final cook platform path creation. WindowsClient was incorrectly forming a path to WindowsNoEditor when looking for chunk manifests

Change 3134313 on 2016/09/21 by Lukasz.Furman

	attempt to fix crash in navmesh generation
	#jira FORT-30340

Change 3134091 on 2016/09/21 by Rob.Cannaday

	Fix crash in lib curl debug callback because the string parameter provided by libcurl is not null terminated
	#jira OGS-428

Change 3133949 on 2016/09/21 by Lukasz.Furman

	crowd agents will use shorter path corridor when one of two last polys are navlink
	(corridor part switch happens with 2 or less polys left, we don't want to switch while on navlink)
	#jira FORT-29880

Change 3133219 on 2016/09/20 by Lukasz.Furman

	fixed broken navlink's "snap to cheapest area" mode
	#fortnite

Change 3133087 on 2016/09/20 by Saul.Abreu

	Updated comments on FARFilter to more explicitly express interactions between class filtering settings.

Change 3132990 on 2016/09/20 by Saul.Abreu

	#fortnite
	Overhaul of asset crawling localizable text gathering commandlet. Added feature for filtering processed assets based on membership in a collection.

Change 3132627 on 2016/09/20 by Bob.Tellez

	#Fortnite Added XLoc language ID for for zh-CN

Change 3132616 on 2016/09/20 by Lukasz.Furman

	added tolerance to navmesh project point 2D query
	added overrides for accessing projection with tolerance during navwalking height checks, should be replaced with navdata flags later on
	#jira FORT-29474

Change 3130819 on 2016/09/19 by Ben.Marsh

	UBT: Read additional configuration settings for BuildConfiguration and UEBuildConfiguration from the engine config settings. Allows setting project-specific config values.

Change 3130639 on 2016/09/19 by Lukasz.Furman

	pass on crowd simulation
	- husks should move faster through funnels now
	- husks can clip each other a bit more often :(

	#fortnite

Change 3130625 on 2016/09/19 by Bob.Tellez

	#UE4 Added an ensure to further track down invalid usage of playerinput

	#JIRA FORT-30183

Change 3128884 on 2016/09/16 by Ben.Salem

	Repair nightly FTest runs. FTests are now namespaced differently as of new main merge, and had to uncomment a load-bearing wait that exists to enable the way we run our nightlies (nullrhi w/ execcmds) to start the test properly.

Change 3128874 on 2016/09/16 by Daniel.Lamb

	Testing to see if memory changes have injured fortnite cook times.

Change 3127175 on 2016/09/15 by John.Abercrombie

	GameplayCueInterface's TagToFunctionMap is now keyed by FObjectKey of a UClass, rather than using the UClass as the key
	- Since UClass-es can be unloaded at run-time, and then loaded again later in a different spot in memory, this is a better solution

	Clear out the TagToFunctionMap whenever we cleanup a world

	Move the TagToFunctionMap into a namespace

	#jira FORT-29194 - Crash during Fight the Storm Defense

Change 3126840 on 2016/09/15 by Bob.Tellez

	#UE4 Added a hack to aid in the conversion from the "USA" and "Poland" region names to "NA" and "EU"

Change 3125944 on 2016/09/14 by Billy.Bramer

	- Fix for FJsonObjectWrapper incorrectly exporting to JSON in a string representation instead of an object representation now that it has an implementation of export text

Change 3125764 on 2016/09/14 by Saul.Abreu

	Change to enum and struct registration so that their packages are all created before either set gets to run their registration logic.

Change 3125719 on 2016/09/14 by Bob.Tellez

	#UE4 Windows in nullrhi do not have OS handles and not initializing you parent window causes a crash when you start PIE (needed for headless automation testing)

Change 3125504 on 2016/09/14 by jonathan.lindquist

	adding a comment to the exclude wpo offsets input

Change 3124203 on 2016/09/13 by Bob.Tellez

	Temporarily removing IOS.Automation.csproj dependency on MobileDeviceInterface since it is causing warnings in UGS right now.

Change 3124192 on 2016/09/13 by Tim.Tillotson

	Fix bad format string in FLinkerLoad::VerifyImport

	Warning:
	[2016.09.13-18.49.05:928][927]LogText:Warning: Failed to parse argument "ImportClass" as a number (using "0" as a fallback). Please check your format string for
	 errors: ": Failed import for {ImportClass}".

Change 3124083 on 2016/09/13 by Bob.Tellez

	#UE4 Re-disabling EQFilter for all machines. This is a temporary solution until a more efficient method is found that does not cause machines to lag.

Change 3123783 on 2016/09/13 by Jonathan.Lindquist

	Subtacting 1 from the VAT tools output texture file name uv number to match unreals 0-based system.

Change 3122223 on 2016/09/12 by Jonathan.Lindquist

	Adding optional uv controls for the texture based animations

Change 3122220 on 2016/09/12 by jonathan.lindquist

	adding an optional uv input for the Vertex animation toolset

Change 3122070 on 2016/09/12 by John.Abercrombie

	Added nav links to corner walls, rather than depending on a nav area to traverse the low edge of the corner

	Made crowd folowing component use the velocity while traversing a link, except if we're falling

	AIs will not update their paths while following a nav link

	Lowered the step height of all AIs from 90 to 72

	#jira FORT-29786 - Husks can move over the balcony wall on floor structures.

Change 3121098 on 2016/09/12 by Chris.Wood

	Increased Linux timeout when waiting for CRC to complete.
	[UE-30259] - Some server crashes are missing from crashreporter database

	#jira UE-30259

Change 3120694 on 2016/09/12 by Saul.Abreu

	#fortnite
	Refactored CMS reader to support URLs with protocols (http, https, and file). URIs (URL sans protocol) will no longer work, but we can add in smart fallback logic later, as this is only in Fortnite currently and the only CMS data available currently is via local file. Console command will handle URLs using double quotes, since the colon trips up existing console command parsing logic (it seems).

Change 3120686 on 2016/09/11 by Saul.Abreu

	#fortnite
	Deleting erroneous config files in EpicCMS plugin.

Change 3120659 on 2016/09/11 by Saul.Abreu

	Added support to widget carousel for getting a callback when the active widget changes. (Not sure who the original author was, but the oldest tracked revision codereview'd Justin Sargent.)

Change 3120658 on 2016/09/11 by Saul.Abreu

	Fixed UMG grid panel to properly set the padding on the slots it creates.

Change 3118466 on 2016/09/08 by Bob.Tellez

	#UE4 There is now an option to exclude all UMG widgets and slots from dedicated server builds. Set bLoadWidgetsOnDedicatedServer=false for this behavior

Change 3118149 on 2016/09/08 by Bob.Tellez

	#UE4 Dont cook non-native CDO references that are excluded for your target

Change 3117604 on 2016/09/08 by John.Abercrombie

	FortGameModeFTesting no longer spawns a pawn

	Added automated test setting to FortGameMode so we can avoid waiting for a pawn before removing the loading screen

	Made the FunctionalTest set the view target to the Observation Point if we don't have a pawn, note that this only works on Player Controllers that aren't Debug Camera Controllers so we don't annoy any user who's moving around

Change 3116964 on 2016/09/07 by Bob.Tellez

	#Fortnite We are now building crashreportclient for linux instead of using the stale binary in P4

Change 3116284 on 2016/09/07 by Tim.Tillotson

	#fortnite Add support for quest objectives that track player ability activation.

	As part of this also:
	+Added a bWasCancelled parameter to GameplayAbility::EndAbility. This allows us to determine if an ability was ended prematurely.
	+Added a OnAbilitySucceeded delegate for determining when an ability was successfully ended.

	Some additional improvements thanks to code review feedback from Fred.Kimberley.

	After discussing with Matt Hancy we decided to keep the OnAbilityCompleted delegate for now. We may be able to deprecate and remove it in the future if we rewrite all the existing abilities that use it.

Change 3116039 on 2016/09/07 by John.Abercrombie

	Fix crash when you change the blueprint of a class referenced by a gameplay cue between PIE runs

[CL 3215544 by Bob Tellez in Main branch]
2016-11-30 14:12:57 -05:00
Ben Marsh
4ba423868f Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3209340 on 2016/11/23 by Ben.Marsh

	Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.

	Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.

	  * Every header now includes everything it needs to compile.
	        * There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
	        * There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
	  * Every .cpp file includes its matching .h file first.
	        * This helps validate that each header is including everything it needs to compile.
	  * No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
	        * You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
	        * There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
	  * No engine code explicitly includes a precompiled header any more.
	        * We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
	        * PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.

	Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.

[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
Andrew Grant
213f53c7e4 Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3196521)
#lockdown Nick.Penwarden

Change 3196499 on 2016/11/14 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.3 @ CL 3196473

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3196498 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3195674 on 2016/11/11 by Laurent.Delayen

	Fix for twinblast ult mesh not disappearing at lower lods. (curves not getting properly update with URO)
	Fixes https://jira.it.epicgames.net/browse/OR-31509

	#rb lina.halper
	#tests twinblast ult multiPIE

Change 3195245 on 2016/11/11 by Dan.Hertzka

	Card crafting progress
	- Device responds to UI actions appropriately and infinitely
	- Backing out of device screen goes to card details first (i.e. doesn't take you all the way out of the screen)
	- CraftingDevice and CraftingDeviceNode now have a few natively-controlled timelines for reversible states
	- Non-reversible timelines all now play from start (so they work more than once)

	Engine-side:
	- Added an overload to UTimelineComponent::SetOnTimelineFinishedFunc() that takes a native (non-dynamic) delegate
	- Added a way to set the owning player of a UUserWidget via a local PlayerController (since ULocalPlayer isn't a BP type) - used to establish the owner of a WidgetComponent's widget

	#rb none
	#tests PIE crafting

Change 3194616 on 2016/11/11 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.3 @ CL 3194604

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3194615 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3193875 on 2016/11/10 by Andrew.Grant

	Removed GameThreadWaitForTask fatal timeout if running in editor (assumption is that some operations can cause significant blocks, and that's ok..
	#jira UE-38496
	#tests compiled
	#rb none
	#c0dereview Marcus.Wassmer

Change 3193368 on 2016/11/10 by Mieszko.Zielinski

	Fixed a bug in UCharacterMovementComponent::OnMovementModeChanged making UPathFollowingComponent::OnStartedFalling being sent too late #UE4

	#rb Lukasz.Furman
	#test golden path

Change 3193280 on 2016/11/10 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.2 @ CL 3193232

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3193279 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3192376 on 2016/11/09 by Laurent.Delayen

	RootMotion Sources: removed second check, as that was a perfectly valid case. Fixes https://jira.it.epicgames.net/browse/OR-31490

	#rb none
	#tests riftmage blackhold multiPIE

Change 3192243 on 2016/11/09 by Laurent.Delayen

	UAbilityTask_ApplyRootMotionMoveToActorForce replicates TimeMappingCurve to potentially fix https://jira.it.epicgames.net/browse/OR-31266

	#rb none
	#tests Jump pads on Sovereign2 multiPIE

Change 3191985 on 2016/11/09 by Laurent.Delayen

	Additional debug info for https://jira.it.epicgames.net/browse/OR-31300

	#rb none
	#tests compiles

Change 3191565 on 2016/11/09 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.2 @ CL 3191371

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3191564 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3190702 on 2016/11/08 by David.Ratti

	Fix PIE autologgin mcp problem

	#rb JoshM
	#tests PIE autologgin

Change 3190591 on 2016/11/08 by Mieszko.Zielinski

	Added a way to RecastNavMesh to retrieve navigation links in a given tile #UE4

	#rb Lukasz.Furman
	#test golden path

Change 3190363 on 2016/11/08 by Frank.Gigliotti

	Root motion velocity clamping and bug fixes;

	* Added option to clamp velocity when ending MoveToActorForce, MoveToForce, and RadialForce root motions.

	* Disabled partial ticking on the FRootMotionSource_ConstantForce when applying the finishing velocity or clamping velocity on root motion ability tasks.  This ensures the desired velocity is set correctly.

	* Added AbilityTask_ApplyRootMotion_Base as a base class for all root motion ability tasks.

	#RB David.Ratti, Zak.Middleton
	#c0dereview Zak.Middleton
	#Tests PIE - Multiple heroes with root motion abilities

Change 3190344 on 2016/11/08 by Laurent.Delayen

	RootMotionSources: Tracking down https://jira.it.epicgames.net/browse/OR-31266
	Testing for 'Matches' rule in more places, to track down where it breaks. Added more info. Switched check to ensure, so it doesn't prevent playtests.
	Minor tweaks:
	- Test for ID before TimeStamp
	- Changed auto to proper type.
	- Trim RootMotionIDMappings of outdated mappings since we can iterate over that array quite a bit.

	#rb none
	#tests multiPIE

Change 3190217 on 2016/11/08 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.2 @ CL 3190009

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3190216 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3188560 on 2016/11/07 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.2 @ CL 3187796

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3188499 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3188012 on 2016/11/05 by Andrew.Grant

	Merging using ROBO://Orion/Main->//Orion/Dev-General
	#rb #tests na

Change 3187818 on 2016/11/04 by Michael.Noland

	Editor: Refactored the game instance PIE creation hooks, allowing them to pass an error message back that will be displayed to the user explaining why PIE was aborted/failed to start
	- Fixed a potential crash trying to tear down a null world when UGameInstance::StartPlayInEditorGameInstance fails

	Upgrade notes:
	- UGameInstance::InitializePIE overrides should now override InitializeForPlayInEditor instead
	- UGameInstance::StartPIEGameInstance overrides should now override StartPlayInEditorGameInstance instead
	- These methods return a FGameInstancePIEResult which can be created via FGameInstancePIEResult::Success() or FGameInstancePIEResult::Failure(), and take a parameter struct to make it easier to send additional information in the future without breaking the signature again

	#rb matt.kuhlenscmidt
	#tests Tested various PIE configurations in Paragon

Change 3187756 on 2016/11/04 by Michael.Noland

	Editor: Added support for games to respond to Play in Editor setting changes (by properly calling PostEditChange when the PIE/SIE menu options are picked/toggled)
	#tests Tested in Paragon by binding to FCoreUObjectDelegates::OnObjectPropertyChanged
	#rb ben.ziegler

Change 3187258 on 2016/11/04 by Dan.Hertzka

	- UTextBlock::SetText is now virtual

	- OrionTextBlock has a property ("All Caps") that, if true, will always convert all text it's given to ALL CAPS

	#c0dereview Sean.Smith, Philip.Buuck, Marcel.Swanepoel, Bryan.Rathman
	#rb none
	#tests PIE

Change 3187157 on 2016/11/04 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Case fix for staged files
	#rb Ben.Marsh
	#tests preflighted

	#R0B0MERGE-SOURCE: CL 3187153 in //Orion/Release-34/... via CL 3187154 via CL 3187155 via CL 3187156
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3186870 on 2016/11/04 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.2 @ CL 3186846

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3186855 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3186243 on 2016/11/03 by Michael.Noland

	Engine: Fixed reporting of ScreenPct when the cvar is set directly rather than via game user settings
	- Also fixed a place that was using ScreenPct as an integer instead of a float in the OSVR plugin
	#jira OR-23184
	#tests Tested by setting r.screenpercentage directly to a different value and inspecting the chart results
	#rb ben.ziegler

Change 3185134 on 2016/11/03 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.2 @ CL 3185065

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3185131 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3183689 on 2016/11/02 by Aaron.McLeran

	OR-31091 Implementing 3175639 in Dev-General

	#rb zak.middleton
	#tests unplug headphones and observe no log spam or other issues

Change 3183292 on 2016/11/02 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34.2 @ CL 3182926

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3183084 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3182323 on 2016/11/01 by Dan.Hertzka

	Fix crash in sequencer when opening a widget BP with the sequencer tab closed (failed to null check)

	#c0dereview Nick.Darnell
	#rb Stephan.Jiang
	#tests none

Change 3182295 on 2016/11/01 by Daniel.Lamb

	Fixed up routing BeginDestroy.
	#rb Andrew.Grant
	#jira OR-31043
	#test Paragon win64 -game

Change 3181975 on 2016/11/01 by Daniel.Lamb

	Make sure to remove safe zone delegate when canvas is destroyed.
	Moved registration of safe zone delegate to constructor.
	#rb Michael.Noland
	#jira OR-31043
	#test Paragon win64 -game

Change 3181895 on 2016/11/01 by Daniel.Lamb

	Make sure to remove safe zone delegate when canvas is destroyed.
	Moved registration of safe zone delegate to constructor.
	#rb Michael.Noland
	#jira OR-31043
	#test Paragon win64 -game

Change 3181892 on 2016/11/01 by Michael.Trepka

	Copy of CL 3162466

	By default, do not compile Mac OpenGL and Metal SM4 shaders while cooking

	#rb Mark.Satterthwaite
	#jira UE-37088
	#tests Cooked MacNoEditor data on Windows

Change 3181624 on 2016/11/01 by David.Ratti

	Pass attribute value by reference through SetNumericValue_Internal so that the final/clamped value is what is broadcasted to attribute change delegates

	#rb none
	#tests golden path w/ extra logging to verify final value is what is broadcasted

	#c0dereview Billy.Bramer, Fred.Kimberley

Change 3181574 on 2016/11/01 by Jason.Bestimt

	#ORION_DG - Fixing up R0B0MERGE issue

	#RB:none
	#Tests:none

Change 3180859 on 2016/10/31 by Brian.Karis

	Removed SSAO from hair

Change 3180320 on 2016/10/31 by Daniel.Lamb

	Added support for rebuild lighting commandlet to read maps to rebuild from ini file.
	#rb Andrew.Grant
	#test Paragon rebuild lighting
	#jira OR-30841

Change 3180227 on 2016/10/31 by Laurent.Delayen

	Disabled Warning to fix https://jira.it.epicgames.net/browse/OR-30965
	Will be turned into a warning message in the BP editor.

	#c0dereview benn.gallagher
	#rb none
	#tests none

Change 3179903 on 2016/10/31 by jason.bestimt

	#ORION_MAIN - Merge 34.2 @ CL 3179886

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3179895 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3177903 on 2016/10/28 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34 @ CL 3177869

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3177901 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3175548 on 2016/10/26 by Michael.Noland

	GameplayAbilities: Change it so that delegates registered via RegisterGameplayAttributeEvent are still called on the client when there is no aggregator entry
	#rb david.ratti
	#c0dereview billy.bramer
	#tests Tested in multiplayer PIE client with a new minion callback and golden path in -game

Change 3175544 on 2016/10/26 by Bart.Hawthorne

	Draft in replays improvements:
	- Marker added to timeline bar that shows when the level change happens
	- Added "Skip Draft" button when loading a replay which will bypass the draft
	- Only PvP matches will record replays
	- Added "Exit Replay" button to hamburger menu while in draft
	- No longer load hero data before viewing a replay if not skipping draft
	- Enable replay recording in PvP

	#rb john.pollard
	#c0dereview paul.moore
	#tests nomcp golden path up to spawnpoint, created and loaded several replays

Change 3175533 on 2016/10/26 by Michael.Noland

	Fix for FMallocBinned::GetAllocationSize() for aligned allocations.

	#jira UE-37249
	#jira UE-37243

	#rb robert.manuszewski
	#lockdown robert.manuszewski

	[reimplementing CL# 3165739 from Release-4.13]

	#tests Compiled

Change 3175311 on 2016/10/26 by Daniel.Lamb

	Added support for safe zone change.
	Messed up files in last checkin
	#test Ps4 paragon
	#jira OR-30506
	#rb Matt.Kuhlenschmidt

Change 3175298 on 2016/10/26 by Daniel.Lamb

	Added support for updating safe area
	#rb Matt.Kuhlenschmidt
	#c0dereview Andrew.Grant Nick.Darnell
	#test Ps4 paragon
	#jira OR-30506

Change 3175209 on 2016/10/26 by David.Ratti

	Fix a few cases where default gameplay cue parameters weren't initialized properly and could not be translated by the skin system. Fixes some mayan steel issues.

	#rb none
	#tests pie

Change 3174858 on 2016/10/26 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34/33.2 @ CL 3174784

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3174857 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3174822 on 2016/10/26 by Marcus.Wassmer

	Duplicate 3174187
	#jira UE-37020
	#rb marc.audy
	#test create/destroy effects with HQ lights in editor.

Change 3174344 on 2016/10/25 by Ryan.Gerleve

	Added a bIsNetStartupComponent flag to UActorComponent. This will be set for components that are owned by an actor when that actor's bNetStartup flag is set.

	#rb john.pollard
	#tests golden path

Change 3174270 on 2016/10/25 by Marcus.Wassmer

	Add LightingChannel control to High Quality particle lights.
	#rb none
	#test tested different lighting channels.

Change 3173855 on 2016/10/25 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 34 @ CL 3173292

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3173361 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3173843 on 2016/10/25 by Michael.Trepka

	Update custom window controls on toggle fullscreen and make sure that when we switch to windowed mode we don't use window size that wouldn't fit on desktop

	#rb Matt.Kuhlenschmidt
	#tests Tested in editor build on PC

Change 3173783 on 2016/10/25 by Dan.Youhon

	Add VelocityOnFinish mode options to RootMotionRadialForce so that designers can control what happens to a character's velocity when the ability task ends (part of #OR-30249)

	#rb None
	#tests MultiPIE

Change 3173734 on 2016/10/25 by Dan.Youhon

	Protect against invalid Duration in FRootMotionSource_MoveToDynamicForce on simulated clients #OR-27128

	#rb None
	#tests MultiPIE

Change 3173714 on 2016/10/25 by David.Ratti

	Add Game and Engine Compat versions for replays

	#coderview John.Pollard
	#rb Lietz
	#tests golden path, replays

Change 3173681 on 2016/10/25 by Bart.Hawthorne

	Implement drafting in replays. A replay spectator is spawned in the draft lobby so that the draft is saved out to the replay server, and clients are now able to travel in replays both when they occur "naturally" (at the same time as if they were a client), and also by scrubbing to a place in the timeline that's a different level.

	The feature is implemented but currently disabled by default - turn on by setting CVarEnableDraftInReplays to 1. Replays should function the same as before.

	Also fixed a warning on the dedicated server related to abandoning a draft.

	#rb john.pollard
	#c0dereview josh.markiewicz, paul.moore
	#tests nomcp golden path (up to spawning), recorded multiple replays and played back with lots of scrubbing

Change 3173677 on 2016/10/25 by Andrew.Grant

	Reenabled audio thread
	Added safety wrapper to prevent code accidentally using events after they are returned to the pool.
	#tests na
	#rb Gil.Gribb

Change 3173588 on 2016/10/25 by Ryan.Gerleve

	Added a replication condition to skip replays.

	#tests golden path
	#rb john.pollard

Change 3172692 on 2016/10/24 by Marcus.Wassmer

	Fix OR-30390 caused by missing mutex lock
	#rb none
	#test compile ps4

Change 3172025 on 2016/10/24 by Matt.Kuhlenschmidt

	Fix blur widget not respecting clip rects

	#rb none
	#tests paragon blur widget clipping bugs

Change 3171570 on 2016/10/23 by Mieszko.Zielinski

	Moved Bots' enemy selection eqs query triggering to native code #Orion

	Did this to be able to manually trigger enemy selection when current enemy dies, to avoid having a "null" enemy in BB for couple of ticks.
	Also, made couple of tweaks to positioning and tower attacking behavior of melee bots

	#rb none
	#test golden path

Change 3171100 on 2016/10/21 by Aaron.Eady

	FGameplayCueTagDetails;

	Adding a check for if the RawStructData.Num > 0 before trying to use it. There was a case where you could crash the editor if you create a new GC tag inside of a BP, compile the BP, click Add New, select a GC type, then when the file is created, click away from it in the content browser. This repro wasn't 100% but often enough to caus a problem.

	#rb David.Ratti (actually wrote the code)
	#tests PIE

Change 3171060 on 2016/10/21 by Ryan.Gerleve

	Some cleanup and fixes for deathcam:
	The recording demo net driver for the deathcam replay now uses checkpoint amortization to smooth out spikes.
	Converted UOrionKillcamPlayback::IsKillcamWorld to IsKillcamActor, since IsKillWorld isn't useful for the new single-world implementation.
	Converted a GetValueOnGameThread to GetValueOnAnyThread (wasn't in the merge) so that deathcam replay recording can happen on a thread.
	Added comment to  UAbilitySystemComponent::OnComponentDestroyed.

	#rb john.pollard
	#tests golden path, enabled deathcam

Change 3171041 on 2016/10/21 by Ryan.Gerleve

	Make the CheckpointSaveMaxMSPerFrame value a member of UDemoNetDriver so it can be set per instance, and convert the demo.CheckpointSaveMaxMSPerFrame cvar into an override for this value.

	#rb john.pollard
	#tests golden path

Change 3170917 on 2016/10/21 by Mieszko.Zielinski

	Made a change to OrionBTTask_ObjectiveGraphMove to make it fallback to regular move if the destination is in the same or second-closest objective graph node #Orion

	#rb none
	#test golden path

Change 3170914 on 2016/10/21 by Mieszko.Zielinski

	Fixed EQS scoring bug resulting in some items getting NaN scored #UE4

	The NaN was happening when scoring but not filtering using a bool-based test, or when unintentionally skipping items by moving item iterator without doing any work.
	Removed a bunch of deprecated code while there

	#rb Lukasz.Furman
	#test golden path

Change 3170912 on 2016/10/21 by Mieszko.Zielinski

	Manual merge of crucial BT fixed over from //Fortnite/Main #UE4

	Original CL#3159145 , CL#3159892

	#rb Lukasz.Furman
	#test golden path

Change 3170478 on 2016/10/21 by David.Ratti

	fix editor crash related to recompiling gamplay cue blueprint while a preview animation is playing that invokes that gameplay cue.

	#rb none
	#tests editor

Change 3170231 on 2016/10/21 by Ryan.Gerleve

	Fix for an issue that was preventing moving your hero after spawning in PIE in Agora: set the net driver on static level collections as well.

	#tests golden path, PIE
	#c0dereview john.pollard
	#rb none

Change 3170074 on 2016/10/20 by Ryan.Gerleve

	Merging support for recording client replays in a task parallel with Slate (optimization for deathcam) from UE4/Dev-Networking.

	CL 3169209

	#tests golden path, replays
	#rb none

Change 3170019 on 2016/10/20 by Ryan.Gerleve

	Merging support for deathcam memory optimizations (level collection work) from UE4/Main and UE4/Dev-Networking.

	CLs:
	3134499
	3134771
	3135279
	3137140
	3138081
	3140413
	3150142
	3142515
	3162189
	3162194

	#tests golden path
	#rb none

Change 3169686 on 2016/10/20 by Michael.Trepka

	Fixed a Windows-specific problem with parts of the custom window buttons not accepting mouse clicks when the window is maximized due to window region used by FWindowsWindow::IsPointInWindow() being offset by border size.

	#rb Jeff.Campeau
	#tests Tested in editor build on PC

Change 3169668 on 2016/10/20 by Max.Chen

	Sequencer - Don't crash when a bool track or visibility track has a null runtime object.

	Copy from Odin

	#rb none
	#tests opened a recorded sequence

Change 3169657 on 2016/10/20 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_33 - Fix for localization export of web data

	Fixed export of localized formatted text

	- Removed the super-specific GetSourceTextsFromFormatHistory, and replaced it with the more-generic GetHistoricFormatData to get information about an FText that was generated via FText::Format.
	- Added GetHistoricNumericData to get information about an FText that was generated via FText::AsNumber or FText::AsPercent.
	- Updated the translation picker to use GetHistoricFormatData.
	- Removed the code from FMultiLocHelper that used GetSourceTextsFromFormatHistory as it wasn't actually needed.
	- Added code to FGameDataExporter to correctly localize a formatted text for a given culture, and re-format the result for export.

	[c0dereviewed]: jamie.dale
	#RB:none
	#Tests:Exported game data!

	#R0B0MERGE-SOURCE: CL 3169653 in //Orion/Release-33/... via CL 3169654 via CL 3169655 via CL 3169656
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3169616 on 2016/10/20 by David.Ratti

	missed file
	#rb none
	#tests none

Change 3169597 on 2016/10/20 by David.Ratti

	Missed include
	#rb DanH
	#tests none

Change 3169393 on 2016/10/20 by David.Ratti

	AbilitySystem.GlobalAbilityScale cvar to help design iterate on animation/duration based tweaks

	#rb none
	#tests pie

Change 3168287 on 2016/10/19 by Mieszko.Zielinski

	Expanded EQS info logged with vlog #UE4

	#rb none
	#test golden path

Change 3168282 on 2016/10/19 by David.Ratti

	Restore warning when multiple GC notifies try to handle the same tag.

	#rb none
	#tests compile, launch editor, see warnings, cry

Change 3168196 on 2016/10/19 by Jon.Lietz

	compile fix, removing the int version of FirstActiveIndex and leaving the in32 version.

	#RB none
	#tests compiles

Change 3168041 on 2016/10/19 by Michael.Trepka

	Don't restore saved resolution on window activation in non-fullscreen modes

	#rb Matt.Kuhlenschmidt
	#tests Tested in editor build on PC

Change 3167859 on 2016/10/19 by Aaron.McLeran

	UE-36288 Fixing concurrency resolution stop quietest

	Implementing in Dev-General for Joey since he needs the fix ASAP.

	#rb Jeff.Campeau
	#tests perform tests described in JIRA bug.

Change 3167790 on 2016/10/19 by Andrew.Grant

	Duplication of 3167569 from //Odion/Main for Paragon cinematics
	#rb none
	#tests compiled

Change 3167682 on 2016/10/19 by Laurent.Delayen

	Integrated #ORION_33.1 - Disabled WindSources on Cloth and AnimDynamics, as it's not safe to access from the GameThread. https://jira.it.epicgames.net/browse/OR-30473

	#rb ori.cohen, benn.gallagher
	#tests Vamp, Kwang, Chains in Persona and PIE with WindActor in level.

Change 3167466 on 2016/10/19 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 33.2 @ CL 3167368

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3167456 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3167312 on 2016/10/19 by Mieszko.Zielinski

	Fixed EQS template cache issues with multiple query run modes #UE4

	#rb Lukasz.Furman
	#test golden path
	#jira UE-37496

Change 3166784 on 2016/10/18 by Laurent.Delayen

	Don't leave PhysicsBodies::bWindEnabled uninitialized in case Wind is not enabled (Persona)

	#rb none
	#c0dereview benn.gallagher
	#test Chains in Persona

Change 3166641 on 2016/10/18 by Mieszko.Zielinski

	Made the value span used for EQS item score normalization configurable #UE4

	#rb Lukasz.Furman
	#test golden path

Change 3166632 on 2016/10/18 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Added support for multiple deployment sandboxes on PS4.

	BuildCookRun -deploy=SomeDir
	ps4.elf -deployedbuild=SomeDir

	Omitting name in -deploy/-deployedbuild falls back to previous default of using 'GameName' as the deployment sandbox.

	#tests BuildCookRun with -deploy and -deploy=Orion_v33, Ran PS4 with -deployedbuild and -deployedbuild=Orion_v33
	[c0dereviewed] Marcus.Wassmer, Luke.Thatcher
	#rb none

	#R0B0MERGE-SOURCE: CL 3166622 in //Orion/Release-33/... via CL 3166629 via CL 3166630 via CL 3166631
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3166494 on 2016/10/18 by Michael.Noland

	Engine: Removed irrelevant GPU stats from FPS chart server analytics reports
	#jira OR-13877
	#rb david.ratti
	#tests Ran golden path on uncooked Win64, used forcewinmatch, and inspected the analytics arrays

Change 3166476 on 2016/10/18 by Michael.Noland

	Cooker: Deleting dead GenerateManifestInfo methods
	#tests Compiled
	#rb none
	#c0dereview daniel.lamb

Change 3166471 on 2016/10/18 by Michael.Noland

	Making sure DebugWorlds/DebugWorldNames are in sync, since we expect an index from one to match the other (fixes an issue where users could select a debug world and the wrong one was chosen).
	[reimplementing CL# 3157138 by Mike.Beach]
	#jira UE-37107
	#rb Dan.OConnor
	#tests Tested multiplayer PIE and opening an anim BP

Change 3166460 on 2016/10/18 by Michael.Noland

	Particles: Prevent log spam on servers about stripped emitters
	#rb graeme.thornton
	[reimplementing CL# 3157862 by Simon.Tovey]
	#tests Ran an uncooked server and tested golden path

Change 3166339 on 2016/10/18 by Laurent.Delayen

	oops, this file got away.

	#rb none
	#tests none

Change 3166337 on 2016/10/18 by Laurent.Delayen

	Fix for AnimDynamics Wind crash.
	https://jira.it.epicgames.net/browse/OR-30351

	Access WindParameters on GameThread. Also minor optimization: don't iterate over bodies every frame if wind is off.

	#rb benn.gallagher
	#c0dereview lina.halper, thomas.sarkanen
	#tests Vamp

Change 3166207 on 2016/10/18 by Mieszko.Zielinski

	Bot perception work #Orion

	Added a new sense that makes bots know about enemies visible on the minimap
	Made jungle minions do not register as sight sources
	Cleaned up bot perception component a bit

	#rb none
	#test golden path

Change 3166138 on 2016/10/18 by Michael.Noland

	Blueprints: Converted a crash with the debug world name in the BP editor to an ensure until it can be fixed properly (see OR-29650)
	#c0dereview dan.oconnor
	#rb none
	#tests Tested opening an anim BP during multiplayer PIE

Change 3165860 on 2016/10/18 by David.Ratti

	remove some debug code that wasn't intended to be checked in
	#rb none
	#tests compile

Change 3165288 on 2016/10/17 by Ian.Fox

	#XMPP - Add correlation id attribute to outgoing stanzas
	#RB Rob.Cannaday
	#Tests Correlation IDs come back in responses to xmpp messages we send
	#JIRA OGS-409

Change 3165096 on 2016/10/17 by David.Ratti

	Fix issue where gameplay tags net indices would be out of sync on cooked PS4 client playing on uncooked windows servers. Would cause some effects to not play.

	#rb none
	#tests PS4/PC crossplay

Change 3164973 on 2016/10/17 by Dan.Hertzka

	Fix link error

	#rb #tests compile

Change 3164910 on 2016/10/17 by Lukasz.Furman

	fixed bug in merging behavior tree searches
	copy of CL 3164903
	#ue4
	#rb Mieszko.Zielinski
	#tests none

Change 3164908 on 2016/10/17 by Dan.Hertzka

	Exposing the blur widget for use in Paragon
	** Use OrionBlurWidget, not the base BackgroundBlurWidget

	- Added it to the hero and default tooltips for reference

	#rb none
	#c0dereview Marcel.Swanepoel, Sean.Smith, Bryan.Rathman
	#tests PIE

Change 3164482 on 2016/10/17 by David.Ratti

	Editor loadtime improvements
	* Refactor GameplayCue manager to support two distinct object library sets: Runtime and Editor. Editor library operates on all valid gameplay cue paths but never loads or scans, only reflects what asset registry has found. Runtime library is the initial loaded paths + any explicit requests. These scan when needed and async load at startup.

	* Wrote UOrionAsyncLoadRequestQueue to feed the async load queue with requests at startup. This is to avoid submitting 300+ requests at startup and have them flushed by a sync load. The editor will wait until it is fully initialized before kicking these off.

	* Changed UOrionUIManagerWidget to weakly reference all of its state widgets. In non editor builds these are all loaded at startup like before. In editor builds, we sync load them on demand. This allows us to not load everything in order to PIE.

	* Added options for loading various pieces of data at editor startup: HUDwidget V4, last used hero data, and shared gameplay cues.

	* -game -nomcp will now properly async load initial set of data

	* BeginLoadAsyncData no longer takes netmode as parameter since it is confusing and can just use IsDedicatedServer() internally

	* Added new log category: LogOrionStartup

	#rb none
	#c0dereview Dan.Hertzka
	#tests pie, golden path, cooked PS4

Change 3163635 on 2016/10/14 by Laurent.Delayen

	AnimInstance: Pass a few FNames by reference instead of by value. Added CalcSlotMontageLocalWeight to get local a slot's local weight without a frame a lag. Fixed Montage update happening after native update on gamethread, but before native update on worker thread. Now happens before both, so we can reliably get montage weights without a frame of lag regardless of where we access it.

	#rb none
	#c0dereview martin.wilson, thomas.sarkanen
	#tests fixes Twinblast's primary fire blend out having a frame a lag.

Change 3163620 on 2016/10/14 by Laurent.Delayen

	AnimNode_Slot debug: Show actual slot local weight, instead of always 1.

	#rb none
	#c0dereview martin.wilson
	#tests twinblast debug

Change 3163061 on 2016/10/14 by Andrew.Grant

	Pulling test framework changes into seprate CL
	#rb #tests na

Change 3162675 on 2016/10/13 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Merging test framework changes down early.
	#rb #tests na

	#R0B0MERGE-SOURCE: CL 3162674 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3162062 on 2016/10/13 by Michael.Trepka

	Replaced FWindowsCursor hack for warping the mouse cursor to the center of the viewport with a better fix for the original problem (users being able to resize the window while the cursor is hidden and the mouse controls the camera). This change removes round window corners in borderless window mode and disables window resizing when the cursor is hidden.

	#rb Matt.Kuhlenschmidt
	#tests Tested in editor build on PC

Change 3161489 on 2016/10/13 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 33.2 @ CL 3161453

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3161473 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3160664 on 2016/10/12 by Ben.Salem

	Fix logic order error fuzzy matching on automated tests - we were only allowing one match per filter instead of one match per test.
	#rb adric.worley
	#tests Ran All Ftests that start with S

Change 3159866 on 2016/10/12 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 33.2 @ CL 3159727

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3159865 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3158870 on 2016/10/11 by John.Barrett

	Fixed issue where some PacketHandler parsing errors, would not stop NetConnection processing of packets, and would not trigger a disconnect.

	#JIRA OR-29219

	#rb none

	#tests compiles, client/server

Change 3158336 on 2016/10/11 by Lukasz.Furman

	string pulling for local navigation grids
	#ue4
	#rb Mieszko.Zielinski
	#tests PIE

Change 3158203 on 2016/10/11 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 33.2 @ CL 3158043

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3158154 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3158162 on 2016/10/11 by Matt.Kuhlenschmidt

	Added a blur widget to umg that applies a blur effect to whatever is behind the widget
	- The widget has a content slot that can be used to display unblurred content on top of the blur
	- The widget has a low quality mode brush that can be applied instead of the background blur.  This is enabled by the cvar Slate.ForceBackgroundBlurLowQualityOverride=1
	- This widget is currently expermental and must be subclassed to be used
	#tests Tested on PS4, PC, Mac (opengl and metal)
	#rb nick.darnell

Change 3157232 on 2016/10/10 by Lukasz.Furman

	added local navigation grids: dynamic obstacles on static navmesh
	#ue4
	#rb Mieszko.Zielinski
	#tests none, disabled by default

Change 3157112 on 2016/10/10 by Laurent.Delayen

	Removed my layer anim node fix, since Martin did a similar fix.

	#rb none
	#tests compiles
	#c0dereview martin.wilson

Change 3156789 on 2016/10/10 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 33.2 @ CL 3156726

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3156788 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3156717 on 2016/10/10 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Merging 3156681 from //Orion/Release-33 to Main
	#rb #tests na

	#R0B0MERGE-SOURCE: CL 3156713 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3156596 on 2016/10/10 by Martin.Wilson

	Fix pose flickering on LOD change when using Layered Blend by Bone node (recreated from dev-framework CL 3112086)

	#Jira OR-30017
	#rb Lina.Halper
	#tests Tested affected anim nodes in editor

Change 3156149 on 2016/10/08 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Merging test framework changes from //Orion/Release-33.2 to Main (//Orion/Main)
	#rb #tests na

	#R0B0MERGE-SOURCE: CL 3156148 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3155444 on 2016/10/07 by David.Ratti

	-Fix crashes from FScalableFloats caching raw curve pointers by invalidating cache on curve table swaps
	-Removed the old code that was trying to do this in the editor on reimport, which never actually worked properly.

	#rb none
	#tests golden path

Change 3155228 on 2016/10/07 by Michael.Trepka

	Partial (Windows implementation only) copy of CL 3151851 from //UE4/Main

	Added DesktopRect and WorkArea to FMonitorInfo for desktop platforms and used that to fix an issue in SceneViewport where windowed fullscreen mode would be forced to primary monitor and incorrectly positioned on desktops where a taskbar/dock/etc. was on the left

	#rb Dmitry.Rekman
	#tests Tested in editor build on PC

Change 3154910 on 2016/10/07 by Lukasz.Furman

	added new accessors in TSimpleCellGrid and inlined bunch of functions
	#ue4
	#rb none
	#tests none

Change 3154906 on 2016/10/07 by Lukasz.Furman

	adjusted comments for FGraphAStar
	#ue4
	#rb none
	#tests none

Change 3154679 on 2016/10/07 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 33 @ CL 3154662

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3154677 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3153638 on 2016/10/06 by Andrew.Grant

	Duplicating fix for  UE-36087 from UE4
	#rb #tests na

Change 3153325 on 2016/10/06 by David.Ratti

	CurveTableSets: support for multiple spread sheets
	-Sovereign data located in Sovereign subfolder, cloned from base data.

	#rb none
	#tests PIE, golden path

Change 3153318 on 2016/10/06 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge DUI @ CL 3152667

	#RB:none
	#Tests:none

	[c0dereviewed]: kerrington.smith, matt.schembari

	#R0B0MERGE-SOURCE: CL 3153310 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3153268 on 2016/10/06 by David.Ratti

	Missed file for engine changes
	#rb none
	#tests none

Change 3153264 on 2016/10/06 by David.Ratti

	Move some DetailCustomziation classes to public folder so that games can override/extend them. Also made some virtual functions to override the things paragon needs to.

	#rb none
	#tests paragon editor

Change 3153204 on 2016/10/06 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 32.2/33 @ CL 3152587

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3153171 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3152699 on 2016/10/05 by Andrew.Grant

	I apologize for the mega-checkin but there are a lot of dependencies here, the work spiralled, and I've been cranking to get this in for the v33 branch. Please review and comment on what you know about and don't worry about the rest :)

	-Added options-struct to MallocLeak detection to allow filtering open callstacks by frame range and size. This is now used in Paragon automatic tests to dump out memory left loaded by the previous map.
	-PS4StackWalk now uses lowercase filenames as this is how non-UFS files are staged
	-Renamed Orion.Foo.cs test scripts to OrionTest.Foo.cs
	-Split some Orion tests into seprate scripts
	-Added concept of "TestControllers". These are constructed by OrionEngine based on the -test= commandline and provide a super-simple way to implent state-based logic and checks by overriding base class functions.
	-Added controllers for Boot, Soak, and Leak checks
	-Renamed SimpleSolo bot to SimpleSoak. Moved a lot of logic about match composition and state to OrionTestControllerSoak
	-Added new MatchStarted/MatchEnded delegates to OrionGameState for clients
	-Fixed issues where OrionGameState_Base::HasMatchStarted would return true for WaitingForPlayers and MatchCountdown
	-OrionBot code no longer caches command line since some TestControllers set it at runtime
	-Added some ensures in Draft logic to catch/guard against a crash being triggered by bots.

	#rb none
	#tests verified all of the above and much more!
	#c0dereview David.Ratti, Marcus.Wasmer,Michael.Noland

Change 3152605 on 2016/10/05 by Andrew.Grant

	Suppressed warning about missing parent if parent package was in the KnownMissingPackageList
	Added Editor ScaleRef stuff to Orion to suppress cooked warning
	#rb none
	#c0dereview Marcus.Wassmer
	#tests Verified warning about ScaleRef being missing is gone

Change 3152596 on 2016/10/05 by Andrew.Grant

	Made ASLR an option that can be disabled.
	Disabled ASLR for Paragon PS4 Test builds so symbol lookup is available for diagnostics.
	Made "don't optimize adaptive unity files" an official feature, off by default but turned on in Paragon

	#c0dereview Luke.Thatcher
	#rb none
	#tests Verified test build has symbols that can be resolved. Verified an adaptive unity file is non-optimized, but non-adaptive files are optimized as normal

Change 3152399 on 2016/10/05 by Josh.Markiewicz

	#UE4 - temporary fix for OSS R0B0MERGE issue
	#rb david.nikdel
	#test compiles

Change 3150916 on 2016/10/04 by Daniel.Lamb

	Removed warning when shader compiler is in a bad state.
	#rb Andrew.Grant
	#jira OR-29580
	#test Cook paragon

Change 3150889 on 2016/10/04 by Ben.Salem

	Add log feedback to automation harness when processing commands, including syntax helpers when an unhandled command is added.
	#rb adric.worley
	#tests Ran several commands to see log output.

Change 3150844 on 2016/10/04 by Lukasz.Furman

	compilation fix
	#rb none
	#tests none

Change 3150759 on 2016/10/04 by Lukasz.Furman

	added "hidden" state to gameplay debugger category
	#ue4
	#rb Mieszko.Zielinski
	#tests config changes and PIE

Change 3150758 on 2016/10/04 by Lukasz.Furman

	pass on SimpleCellGrid template to make it usable for local navigation grids
	#orion
	#rb Mieszko.Zielinski
	#tests PIE on agora, AI tactics debug on agora

Change 3150567 on 2016/10/04 by Dan.Hertzka

	Rough initial implementation of a generic UI layer for moving widgets around to and from arbitrary locations. Lots of possible uses. For example, equipping a card in the card shop that then animates down into the correct hand slot.
	- Not in actual use anywhere yet

	#rb none
	#tests PIE

Change 3150307 on 2016/10/04 by Laurent.Delayen

	Removed check() not considering SimulatedRootMotion for RemoteClients.

	#rb none
	#tests compiles

Change 3150236 on 2016/10/04 by Josh.Markiewicz

	#UE4 - added documentation to FNetworkNotify interface
	- fixed bad UE_LOG category while double checking the above
	#rb none
	#tests compiles

Change 3150206 on 2016/10/04 by Josh.Markiewicz

	#UE4 - moved ClientTravelToSession out of AGameSession and into UGameInstance
	- removed similar function from UGameInstanceCommon
	- more common usage location
	#rb none
	#c0dereview paul.moore
	#tests rejoin vectors and golden path

Change 3150073 on 2016/10/04 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 32.2/33 @ CL 3150010

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3150072 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3150031 on 2016/10/04 by Mieszko.Zielinski

	New AIData provider that generated random numbers #UE4

	#rb Lukasz.Furman
	#test golden path

Change 3149946 on 2016/10/04 by Ben.Woodhouse

	Make UPrimitiveComponents (and derived variants) take proxy memory into account in GetResourceSize()

	We do this by dereferencing the SceneProxy directly, but this should be safe, since we NULL it on the gamethread before the proxy is released.

	#jira OR-26778
	#rb luke.thatcher
	#tests compile, run Win64 with -game, run editor

Change 3149743 on 2016/10/03 by Ben.Salem

	Null check for blank test names when making functional tests to repair crash on server.
	#rb nick.darnell
	#tests Ran multiple FTests

Change 3149460 on 2016/10/03 by Laurent.Delayen

	Refactored TickCharacterPose.
	Now calls 'ShouldTickPose' so it can get properly obey bPauseAnims, MeshComponentUpdateFlag and other conditions.
	Still forces updates when playing networked root motion montages, and that check is now done inside of USkeletalMeshComponent::ShouldTickPose().

	Fixes human players always calling TickPose regardless of settings on dedicated servers.
	Also addresses Jira UE-34720

	#rb martin.wilson
	#tests networked Vamp x2 + golden path

Change 3149435 on 2016/10/03 by Mieszko.Zielinski

	Fixed a bug in EQS item score normalization for the purposes of drawing #UE4

	Also, made printed out scores not normalized since seeing original EQS calculated score desirable

	#rb Lukasz.Furman
	#test golden path

Change 3148550 on 2016/10/03 by John.Barrett

	Fixed bad/blocking ensure added in FBitReader. OR-29219

	#tests compile
	#rb none

Change 3147460 on 2016/09/30 by Laurent.Delayen

	Fixed AOrionChar::UpdateAnimationTicking never setting EMeshComponentUpdateFlag::OnlyTickPoseWhenRendered, because OnMontageEnded() is called before the MontageInstance is actually removed and deleted.
	Added OnAllMontageInstancesEnded to AnimInstance, and used that to call UpdateAnimationTicking.

	#rb michael.noland
	#tests Golden Path

Change 3146677 on 2016/09/30 by Jamie.Dale

	Fixed UGatherTextFromSourceCommandlet::ParseSourceText being able to underflow while parsing

	#rb Andrew.Rodham
	#tests Ran the gather

Change 3146555 on 2016/09/30 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 32.2 @ CL 3146524

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3146553 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3146129 on 2016/09/29 by Michael.Noland

	Engine: Fixed the spectator camera (used in ToggleDebugCamera) so it moves consistently regardless of the slomo value by using the raw frame delta rather than trying to counter-correct for time dilation
	#c0dereview marc.audy
	#rb none
	#tests Tested ToggleDebugCamera with slomo 0.00001

Change 3145574 on 2016/09/29 by Adric.Worley

	Fix FunctionalTestingManager not compiling when included

	#tests compile
	#rb mieszko.zielinski

Change 3145224 on 2016/09/29 by Michael.Trepka

	Better check for whether or not PreFullscreenWindowPlacement in FWindowsWindow is valid

	#rb Dmitry.Rekman
	#tests Tested editor build on PC

Change 3145132 on 2016/09/29 by Alexis.Matte

	Make sure we use GetMesh instead of the SkeletalMeshPtr variable.
	#jira OR-29617
	#rb matt.kuhlenschmidt
	#test none

Change 3144926 on 2016/09/29 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 32.2 @ CL 3144835

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3144925 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3144920 on 2016/09/29 by Benn.Gallagher

	Added "Reset Clothing Sim" anim notify to trigger a clothing reset from an animation, to help with issues arising from extreme movements in animations.
	#rb James.Golding
	#tests Editor + -game vamp RMB abilities using new notify

Change 3144055 on 2016/09/28 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: ben.marsh
	BuildGraph: Fix builds created with preconditions on nodes behind triggers, causing nightly builds to run forever due to conditions never evaluating to true.

	#rb none
	#tests Compared exported job definition before and after

	#R0B0MERGE-SOURCE: CL 3143992 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3143801 on 2016/09/28 by Mieszko.Zielinski

	Made UAIBlueprintHelperLibrary::CreateMoveToProxyObject deduce WorldContextObject from Pawn if not received from BP #Orion

	Also, made failing to do so not fails a check

	#rb Lukasz.Furman
	#test golden path
	#c0dereview Aaron.Eady

Change 3142377 on 2016/09/27 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: marcus.wassmer
	Fix crashes when using GBuffer resources in simpleforward mode.
	#rb Daniel.Wright
	#test vamp Q on low settings.

	#R0B0MERGE-SOURCE: CL 3142376 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3141628 on 2016/09/27 by David.Ratti

	Guard against recursion in WaitGameplayEffectApplied ability task

	#rb none
	#tests pie crash case

Change 3141497 on 2016/09/27 by Marcus.Wassmer

	Duplicate 3123743
	Separate skeletal/static mesh lod interfaces
	#rb none
	#test created an LOD for vamp locally.

Change 3140832 on 2016/09/26 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: marcus.wassmer
	Remove dubious non-threadsafe GBuffer reference adjustments.
	Possibly fix OR-29506
	#rb none
	#test PC on all settings

	#R0B0MERGE-SOURCE: CL 3140831 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3140828 on 2016/09/26 by Uriel.Doyon

	Workaround (reverting previous attemp) at fixing issue with FTextRenderSceneProxy when running command let.
	#rb marcus.wassmer
	#tests running lighting build with command let & loading editor

Change 3140331 on 2016/09/26 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Cloning fix for UE-36253 from //UE4/Dev-Framework/...
	#rb #tests na

	#R0B0MERGE-SOURCE: CL 3140329 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3139976 on 2016/09/26 by David.Ratti

	balance tweaker + some prep for multiple data tables support

	#rb none
	#tests pie, golden path

Change 3139904 on 2016/09/26 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Adding code to log name of package that refuses to load...
	#rb none
	#tests compiled

	#R0B0MERGE-SOURCE: CL 3139902 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3139871 on 2016/09/26 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Fixes for OR-29229 and OR-29413
	#rb #tests na

	#R0B0MERGE-SOURCE: CL 3139870 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3139751 on 2016/09/26 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 32.2 @ CL 3139692

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3139740 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3139451 on 2016/09/25 by Uriel.Doyon

	Submitted a workaround for the lighting build command let crash.
	#rb none
	#tests loaded editor, built lighting command let

Change 3138304 on 2016/09/23 by David.Ratti

	Fix checkslow in Debug editor
	#rb none
	#tests debug editor
	#c0dereview Martin.Wilson

Change 3138068 on 2016/09/23 by Laurent.Delayen

	Don't try to match invalid GUIDs in FSmartNameMapping::GetNameByGuid.
	Fixes Steel's curves all getting matched to 'DistanceCurve'

	#rb martin.wilson
	#tests Steel's curve are not all 'DistanceCurve'

Change 3137830 on 2016/09/23 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 32.2 @ CL 3137699

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3137746 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3137657 on 2016/09/23 by Ben.Marsh

	Fix initialization order warning.

	#rb none
	#tests none

Change 3137628 on 2016/09/23 by bruce.nesbit

	Fixed non-unity compiles in LandscapeSplines and LandscapeSplineRaster

	#rb none

	#tests Compiled NU

Change 3137538 on 2016/09/23 by Thomas.Sarkanen

	Fix crash rendering sequence with keyframed material parameters

	Ported Frank F's fix from Dev-Sequencer. Original CL 3136577:

	Sequencer - Always use a unique name when creating dynamic material instances for animation to prevent reuse and resource issues.

	#tests Rendered out problematic sequence successfully multiple times
	#rb none
	#jira UE-36175 - Keyframing material parameters can cause crashes when rendering
	#c0dereview Frank.Fella

Change 3136580 on 2016/09/22 by Ben.Marsh

	Merging CL 3136158 to fix support for generating project files with Visual Studio Express.

	#rb none
	#tests none

Change 3136574 on 2016/09/22 by Michael.Trepka

	Fixed a crash caused by trying to redraw window contents while switching from fullscreen to windowed mode

	#rb Marcus.Wassmer
	#tests Tested editor build on PC

Change 3136293 on 2016/09/22 by Adric.Worley

	Add BlueprintType to EFunctionalTestResult

	#tests editor
	#rb ben.salem
	#c0dereview nick.darnell

Change 3136240 on 2016/09/22 by Andrew.Grant

	Merging from //UE4/Main @ 3135156
	#rb none
	#tests QA pass and local golden path

Change 3136197 on 2016/09/22 by Jamie.Dale

	Merging CL# 3094477 and CL# 3111827 to fix some tesselated landscape crashes

	#rb Gareth.Martin
	#tests Loaded the map that was crashing

Change 3135914 on 2016/09/22 by Dan.Youhon

	Fixed CharacterMovementComponent impulse net correction handling during additive root motion (part of #OR-5545)
	- Fixes #OR-28478, heroes tethered by Kwang cannot be knocked up
	- Fixes #OR-18985, Gideon R ability negating knockback/knockup effects (including Howitzer E)

	#rb None
	#tests MultiPIE
	#R0B0MERGE: MAIN, 32.2, 32.1

Change 3135893 on 2016/09/22 by David.Ratti

	GameplayCueeditir Change override type from a checkbox to a combobox to make things a little clearer

	#rb none
	#tests gameplaycue editor

Change 3135843 on 2016/09/22 by jason.bestimt

	#ORION_MAIN - Merge 32.2 @ CL 3135756

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3135820 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

	#R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human.
	//Orion/Dev-General/OrionGame/Content/Balance/HeroData.uasset - can't integrate exclusive file already opened
	//Orion/Dev-General/OrionGame/Content/Cards/Effects/P_ThunderCleaver.uasset - can't integrate exclusive file already opened
	//Orion/Dev-General/OrionGame/DataTables/HeroData.xlsm - can't integrate exclusive file already opened
	#c0dereview: jason.bestimt

Change 3134639 on 2016/09/21 by jason.bestimt

	#ORION_MAIN - Merge 32.2 @ CL 3133910

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3134086 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

	#R0B0MERGE-SAYS: Beep boop! I couldn't merge this change. Please do it yourself, human.
	#c0dereview: jason.bestimt

Change 3134367 on 2016/09/21 by Ben.Woodhouse

	More complete fix for SSAO issues. Disable vertex fogging automatically if forward shading is disabled
	#rb daniel.wright
	#tests none

Change 3134176 on 2016/09/21 by Jason.Bestimt

	#ORION_DG - UnrealPak speed improvements

	Moving shelved CL to DG and submitting for DanielL

	#RB:none
	#Tests:none

	#c0dereview: andrew.grant, daniel.lamb

Change 3134129 on 2016/09/21 by Jamie.Dale

	Added the "unattended" flag when running the localzation commandlets via UAT

	#rb none
	#tests Built UAT

Change 3133864 on 2016/09/21 by Ben.Woodhouse

	Default r.VertexFoggingForOpaque to 0, since it only makes sense for forward shading. This was causing fog to be modulated by SSAO in Orion.

	Note: this setting is overridden to 1 in Odin's DefaultEngine.ini, so it should work in that case.
	#c0dereview daniel.wright
	#rb luke.thatcher
	#jira OR-29262
	#tests yes

Change 3133849 on 2016/09/21 by Martin.Wilson

	Fix pose blending for on non-additive pose blending + remove normalising of weights for weights less than 1

	#rb Jurre.DeBaare
	#tests Editor tests with mambo pose asset
	#jira UE-36189

Change 3133546 on 2016/09/20 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: marcus.wassmer
	Null merge of 3131588.  Fix from 31.1 is unncecessary as a more complete fix came from the engine integration that's in v32.
	#rb none
	#tests none
	[c0dereviewed] Jason.Bestimt

	#R0B0MERGE-SOURCE: CL 3132617 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3133487 on 2016/09/20 by Michael.Noland

	Automation: Added Automation to the manual autocomplete list

Change 3133363 on 2016/09/20 by Daniel.Lamb

	Added Jaymee Sanford and Tony Oliva to the rebuild lighting email list.
	#rb Trivial
	#test Compile automation tool

Change 3132956 on 2016/09/20 by Benn.Gallagher

	Fixed crash when importing clothing with mismatching number of triangles when compared to the original render data
	#tests Editor, apex reimport
	#rb none

Change 3132403 on 2016/09/20 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 32.2 @ CL 3132254

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3132353 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3132332 on 2016/09/20 by Andrew.Grant

	Replicated UE4/Main fix for missing materials pane
	#rb none
	#tests verified material pane shows

Change 3132131 on 2016/09/20 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: andrew.grant
	Merging automation work from //Orion/Release-32.2 to Main
	#rb none
	#tests verified functionality

	#R0B0MERGE-SOURCE: CL 3132130 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

Change 3131698 on 2016/09/19 by Andrew.Grant

	Qucik fix to unblock build. Will follow up correct way tomorrow
	#rb none
	#tests blueprint compiles

Change 3131489 on 2016/09/19 by Andrew.Grant

	Merging from //UE4/Orion-Staging (Source: //UE4/Main @ 3111290)
	#rb none
	#tests QA pass in Orion-Staging, Golden path post merge

Change 3131350 on 2016/09/19 by Adric.Worley

	Fix functional test reporting typo

	#tests PIE
	#rb ben.salem

Change 3130959 on 2016/09/19 by Mieszko.Zielinski

	Compilation fix #UE4

	#rb none
	#test compilation

Change 3130904 on 2016/09/19 by Mieszko.Zielinski

	Couple of generic AI perception fixes #UE4

	Made unregistering AI sight source broadcast "no longer visible" information to all observers currently "seeing" the source
	Fixed FActorPerceptionInfo::GetLastStimulusLocation not carying whether selected stimulus was successfully sensed
	Fixed dominant sense not really working if not set with UAIPerceptionComponent::SetDominantSense call

	#rb Lukasz.Furman
	#test golden path

Change 3130304 on 2016/09/19 by Jason.Bestimt

	#R0B0MERGE-AUTHOR: jason.bestimt
	#ORION_MAIN - Merge 32.2 @ CL 3130115

	#RB:none
	#Tests:none

	#R0B0MERGE-SOURCE: CL 3130164 in //Orion/Main/...
	#R0B0MERGE-BOT: ORION (Main -> Dev-General)

[CL 3205566 by Andrew Grant in Main branch]
2016-11-20 21:35:35 -05:00
Matthew Griffin
c323066b91 Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3182951 on 2016/11/02 by Luke.Thatcher

	[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
	 - Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).

	#jira UE-38017

Change 3182892 on 2016/11/02 by Luke.Thatcher

	[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
	 - System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
	 - GetAuthToken is only called if the engine calls IOnlineIdentity::Login().

	#jira UE-38017

Change 3182767 on 2016/11/02 by Luke.Thatcher

	[RELEASE] [PS4] [!] Fix PS4 session invitations.
	 - Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
	 - Replaced with NpToolkit2's session invitation API.

	#jira UE-38020

Change 3182766 on 2016/11/02 by Luke.Thatcher

	[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:

	 - Two users join a session on two separate PS4s.
	 - One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
	 - That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.

	#jira UE-38017 UE-38020

Change 3182765 on 2016/11/02 by Luke.Thatcher

	[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".

	#jira UE-38017 UE-38020

Change 3182633 on 2016/11/01 by Jack.Porter

	Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
	#jira UE-38042

Change 3182332 on 2016/11/01 by Mieszko.Zielinski

	Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4

	#jira UE-37588

Change 3182321 on 2016/11/01 by Dmitry.Rekman

	Updated READMEs for 4.14 (UE-38059).

	#jira UE-38059

Change 3182231 on 2016/11/01 by Mitchell.Wilson

	Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
	#jira UE-38079

Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt

	Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX

	#jira UE-38091

Change 3182017 on 2016/11/01 by Chris.Babcock

	Disable glVertexAttribIPointer on PowerVR Rogue
	#jira UE-38074
	#ue4
	#android

Change 3181942 on 2016/11/01 by Mitchell.Wilson

	Resolving multiple warnings in CIS for Elemental Demo.
	#jira UE-38075

Change 3181941 on 2016/11/01 by Nick.Shin

	PhysX Bulid Automation script update

	#jira UE-37329  'Compile UE4Game HTML5' - 300 Warnings

Change 3181939 on 2016/11/01 by Ryan.Vance

	#jira UE-38072

	We need to add a hook that can be called after native present has finished for SteamVR.

	PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.

Change 3181849 on 2016/11/01 by Nick.Shin

	jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
	jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs

	the python scripts will need tweaking - they were moved from their original locations from:
	fd48bc0e4a

	the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...

	update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk

	#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings

Change 3181848 on 2016/11/01 by Nick.Shin

	update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)

	#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings

Change 3181838 on 2016/11/01 by Nick.Shin

	new emscripten tool chain configured by jukka from Mozilla

	see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from

	#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings

Change 3181611 on 2016/11/01 by Allan.Bentham

	Recreate vulkan swapchain after a pause/resume on android.
	#jira UE-36454

Change 3181451 on 2016/11/01 by Chris.Wood

	CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
	[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser

	Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
	Also fixes broken SlateReflector in CRC (switched off in checked in version)

	#jira UE-37794

Change 3181117 on 2016/11/01 by Dmitriy.Dyomin

	Fixed: Text Actors not Rendering on Mobile
	PowerVR based devices were rendring opaque objects twice
	#jira UE-37949

Change 3181102 on 2016/11/01 by Jack.Porter

	Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
	#jira UE-36050

Change 3180851 on 2016/10/31 by Daniel.Wright

	Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM.  Fixes Kite demo medium-distance shadowing.
	#jira UE-37793

Change 3180844 on 2016/10/31 by Michael.Trepka

	Disabled high-DPI in Mac CrashReportClient

	#jira UE-37697

Change 3180803 on 2016/10/31 by Michael.Trepka

	Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.

	#jira UE-37998

Change 3180764 on 2016/10/31 by zachary.wilson

	Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro

	#jira UE-29618

Change 3180666 on 2016/10/31 by Dmitry.Rekman

	Fix Linux client & server hang when decoding voice chat (UE-36108).

	- break out of voice channel while loop if unable to serialize the voice packet data.
	- fixed by JoshM

	#jira UE-36108

Change 3180428 on 2016/10/31 by Mitchell.Wilson

	Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
	#jira UE-37880

Change 3180399 on 2016/10/31 by Dmitry.Rekman

	Linux: revert to old commandline switch -binnedmalloc (UE-38001).

	#jira UE-38001

Change 3180298 on 2016/10/31 by Steve.Robb

	Extra information about which class has failed to have its CppStructOps initialized.

	#jira UE-37921

Change 3180289 on 2016/10/31 by John.Pollard

	Fix crash in FCurlHttpRequest::DebugCallback
	+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
	#jira UE-36658

Change 3180200 on 2016/10/31 by Benjamin.Hyder

	Updating QA-Materials to include BuiltData

	#jira UE-29618

Change 3180173 on 2016/10/31 by Nick.Whiting

	Fixing up static analysis warning about array size in GoogleVRHMD code

	#jira UE-38007

Change 3180123 on 2016/10/31 by ryan.brucks

	#jira UE-35977
	hooked up missing transform node inside of newly added function so that it works with variable rotations.

Change 3180108 on 2016/10/31 by Benjamin.Hyder

	Updating QA-Effects map to include BuiltData

	#jira UE-29618

Change 3180104 on 2016/10/31 by Marc.Audy

	Don't recreate the render state if the component got unregistered in the interim.
	#jira UE-37968

Change 3180084 on 2016/10/31 by Allan.Bentham

	Use glVertexAttribIPointer for ES3.
	Enable SupportsTextureMaxLevel for ES3.
	ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
	Fix assert when previewing ES3.1 with PC OpenGL.
	#jira UE-37472

Change 3180082 on 2016/10/31 by Luke.Thatcher

	[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
	 - We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)

	#jira UEPLAT-1424

Change 3180044 on 2016/10/31 by Michael.Trepka

	Don't create additional autorelease pool for Metal context on the game thread.

	#jira UE-37894

Change 3180023 on 2016/10/31 by Luke.Thatcher

	[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14

	Original CL description:
	[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
	 - Replaced deprecated APIs with new ones.
	 - Replaced NpToolkit with NpToolkit2.
	 - Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
	 - Added online ID cache system, which calls out to Sony's new ID Mapper Web API.

	Contains a breaking change in FUniqueNetId
	 - FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
	 - Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.

	#jira UEPLAT-1424

Change 3179973 on 2016/10/31 by Sam.Deiter

	#Jira UEDOC - 3957
	#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
	#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais

Change 3179930 on 2016/10/31 by Luke.Thatcher

	[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14

	Original CL description:
	[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
	 - Replaced deprecated APIs with new ones.
	 - Replaced NpToolkit with NpToolkit2.
	 - Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
	 - Added online ID cache system, which calls out to Sony's new ID Mapper Web API.

	Contains a breaking change in FUniqueNetId
	 - FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
	 - Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.

	#jira UEPLAT-1424

Change 3179539 on 2016/10/31 by Jack.Porter

	Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
	#jira UE-37954

Change 3179309 on 2016/10/29 by Benjamin.Hyder

	Re-Saving Foliage asset in Tm-DistanceFields

	#jira UE-29618

Change 3179308 on 2016/10/29 by Benjamin.Hyder

	updating AutoLOD settings for foliage example in TM-Shadermodels

	#jira UE-29618

Change 3179135 on 2016/10/28 by Chris.Babcock

	Only use alternative event flow for Daydream packaged applications
	#jira UE-37847
	#ue4
	#android

Change 3178995 on 2016/10/28 by JohnHenry.Carawon

	Adding test content for the World Origin Rebasing feature

	#jira UE-29618

Change 3178994 on 2016/10/28 by Chris.Babcock

	Disable ARM64 Google Play Games - need new library to fix crash
	#jira UE-37972
	#ue4
	#android

Change 3178955 on 2016/10/28 by Marc.Audy

	Don't worry about clearing from world's end of frame update frame if being GC'd
	#jira UE-37928

Change 3178921 on 2016/10/28 by Daniel.Wright

	[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views).  Fixes planar reflections with r.SceneColorFormat=3.
	Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution.  Planar reflection depth resolves .8ms -> .2ms on 970
	#jira UE-37970

Change 3178919 on 2016/10/28 by Daniel.Wright

	[Copy] Fixed planar reflections in forward shading.  The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
	#jira UE-37970

Change 3178905 on 2016/10/28 by Max.Chen

	Sequencer: Fix fade track instance compile

	#jira UE-37939

Change 3178808 on 2016/10/28 by Dmitry.Rekman

	Linux: fix crash on exit (UE-37536).

	- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.

	#jira UE-37536

	(Edigrating 3175651 from Dev-Platform to Release-4.14)

Change 3178707 on 2016/10/28 by Marc.Audy

	Fix inverted null check that caused load game from slot to fail if using a BP generated class
	#jira UE-37774

Change 3178664 on 2016/10/28 by Alexis.Matte

	Fix the fbx automation tests
	#jira UE-37960

Change 3178617 on 2016/10/28 by Bart.Hawthorne

	Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components

	#jira UE-37692
	#tests ran QA game and tested that assert no longer fired in debug

Change 3178615 on 2016/10/28 by Max.Chen

	Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter

	Copy from Dev-Sequencer

	#jira UE-37328
	#2864

Change 3178553 on 2016/10/28 by Michael.Trepka

	Don't wait for the main thread in FMacWindow::Show()

	#jira UE-37915

Change 3178526 on 2016/10/28 by Alexis.Matte

	Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
	#jira UE-37923

Change 3178451 on 2016/10/28 by Mitchell.Wilson

	Limit the max angle the cannon tower can be rotated when manually aiming.
	When max rotation is reached, debug line turns red to be consistent with the arrow tower.
	#jira UE-36512

Change 3178420 on 2016/10/28 by Lina.Halper

	Fix build issue
	#jira: UE-37911

Change 3178390 on 2016/10/28 by mason.seay

	Enabling follow on certain notifies to help catch issues

	#jira UE-29618

Change 3178325 on 2016/10/28 by Zak.Middleton

	#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.

	Mirror CL 3178247 and CL 3178256 in Dev-Framework.

	#jira UE-37902

Change 3178312 on 2016/10/28 by Max.Chen

	Sequencer: Fade only oin the current player context, not on all worlds.

	#jira UE-37939

Change 3178267 on 2016/10/28 by Lina.Halper

	Fix issue with anim editor sound play notify doesn't work with follow option

	#jira: UE-37946

Change 3178146 on 2016/10/28 by Lina.Halper

	#fix crash with thumbnail update when there is no animation, and so on.
	#code review: Benn.Gallagher
	#jira: UE-37911

Change 3178145 on 2016/10/28 by Matthew.Griffin

	Fixed Clean process during a Hot Reload
	Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
	#jira UE-37616

Change 3178143 on 2016/10/28 by Mitchell.Wilson

	Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
	#jira UE-36269

Change 3178110 on 2016/10/28 by Mitchell.Wilson

	Rebuilt lighting and saved levels.
	#jira UE-36913

Change 3178070 on 2016/10/28 by Mitchell.Wilson

	Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
	#jira UE-37124

Change 3178034 on 2016/10/28 by Jon.Nabozny

	Add missing Super::Tick call to ATP_TopDownCharacter::Tick.

	#jira UE-37914

Change 3178021 on 2016/10/28 by Max.Chen

	Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.

	Copy from Dev-Sequencer

	#jira UE-35342

Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt

	Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string

	#jira UE-37935

Change 3177981 on 2016/10/28 by Nick.Darnell

	UMG - Fixing how the virtual window calculates desired size.  It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.

	#jira UE-36861

Change 3177888 on 2016/10/28 by Matthew.Griffin

	Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp

Change 3177881 on 2016/10/28 by Matthew.Griffin

	Added guards to WITH_EDITOR only static initialisation

Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt

	Fix crash import fbx scenes if objects contain procedural textures (not supported)

	#jira UE-37917

Change 3177856 on 2016/10/28 by Matthew.Griffin

	Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings

Change 3177815 on 2016/10/28 by Graeme.Thornton

	Non-editor build fix

	#jira UE-37929

Change 3177812 on 2016/10/28 by Graeme.Thornton

	Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core

	#jira UE-37810

Change 3177737 on 2016/10/28 by Guillaume.Abadie

	Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.

	#jira UE-37927

Change 3177703 on 2016/10/28 by Phillip.Kavan

	[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.

	change summary:
	- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
	- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
	- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
	- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added

	#jira UE-37852

Change 3177600 on 2016/10/27 by Chris.Babcock

	Pass through the intent action from splash screen
	#jira UE-37925
	#ue4
	#android

Change 3177436 on 2016/10/27 by Mike.Beach

	Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).

	#jira UE-37910

Change 3177365 on 2016/10/27 by Daniel.Wright

	Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
	#jira UE-37903

Change 3177236 on 2016/10/27 by Mitchell.Wilson

	Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
	Fixed reflection captures in the level and rebuilt lighting.
	#jira UE-36624

Change 3177235 on 2016/10/27 by mason.seay

	Vehicle Assets

	#jira UE-29618

Change 3177036 on 2016/10/27 by Mitchell.Wilson

	Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
	#jira UE-37881

Change 3176996 on 2016/10/27 by mason.seay

	Missed node link

	#jira UE-29618

Change 3176993 on 2016/10/27 by mason.seay

	Test AnimBP for crash

	#jira UE-29618

Change 3176992 on 2016/10/27 by Mitchell.Wilson

	Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
	#jira UE-37846

Change 3176946 on 2016/10/27 by Alexis.Matte

	We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
	#jira UE-37705

Change 3176939 on 2016/10/27 by Alexis.Matte

	Check the pointer before using it
	#jira UE-37853

Change 3176927 on 2016/10/27 by mason.seay

	Rebuilt Lighting

	#jira UE-29618

Change 3176883 on 2016/10/27 by Steve.Robb

	Fix for crash when an array property changes while instancing subobjects.
	Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
	Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.

	#fyi matt.kuhlenschmidt, alex.fennell
	#jira UE-37752

Change 3176811 on 2016/10/27 by Chris.Bunner

	Rework of previous commit to avoid potential confusion moving forward.
	#jira UE-37424

Change 3176783 on 2016/10/27 by Chris.Bunner

	Default scalability settings to Epic, not Cinematic.
	Duplicated default render resolution scale fix (CL 3170020).
	#jira UE-37424

Change 3176692 on 2016/10/27 by Mike.Beach

	Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.

	#jira UE-37848

Change 3176635 on 2016/10/27 by mason.seay

	Setting up skeleton for retargeting testing

	#jira UE-29618

Change 3176586 on 2016/10/27 by Marcus.Wassmer

	Fix crash on D3D12 editor when selecting objects
	#jira UE-37861

Change 3176479 on 2016/10/27 by Robert.Manuszewski

	Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.

	#jira UE-37297
	#jira UE-37711

Change 3176107 on 2016/10/27 by Phillip.Kavan

	[UE-37690] AddComponent node template names now use a  counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.

	change summary:
	- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
	- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.

	#jira UE-37690

Change 3176105 on 2016/10/27 by Phillip.Kavan

	[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.

	change summary:
	- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
	- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
	- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.

	#jira UE-37686

Change 3176009 on 2016/10/26 by Dmitriy.Dyomin

	Fixed: Editor crash on changing sub-level visbility under certain conditions
	#jira UE-34740

Change 3175807 on 2016/10/26 by Daniel.Wright

	Fixed the editor thinking a lighting build is still active after you discard the results from one
	#jira UE-37834

Change 3175777 on 2016/10/26 by Jon.Nabozny

	#jira UT-6263
	Fix crash when running ServerTravel on a client
	Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler

Change 3175695 on 2016/10/26 by Ryan.Gerleve

	Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.

	#jira UE-37336

Change 3175628 on 2016/10/26 by Chad.Garyet

	Added -Build vstream from 4-14 to allow checkins from physx
	altered build script and json to reflect new changes
	#JIRA UE-37085

Change 3175612 on 2016/10/26 by Martin.Wilson

	Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes

	#jira UE-37785

Change 3175552 on 2016/10/26 by Brian.Karis

	Twinblast bust changes

	#jira UE-0

Change 3175543 on 2016/10/26 by Marc.Audy

	Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
	#jira OR-30447

Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt

	Fixed a crash when clicking Apply when using the Brush Clip tool

	#jira UE-37838

Change 3175502 on 2016/10/26 by Mitchell.Wilson

	Enabled modulated shadows on lights in rolling template levels.
	#jira UE-37047

Change 3175485 on 2016/10/26 by mason.seay

	Test Map for virtual bones

	#jira UE-29618

Change 3175469 on 2016/10/26 by mason.seay

	Test assets for Virtual Bones testing

	#jira UE-29618

Change 3175428 on 2016/10/26 by Marc.Audy

	Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
	#jira UE-37590

Change 3175414 on 2016/10/26 by Michael.Trepka

	Fixed mouse position calculations for secondary monitors on Mac

	#jira UE-37822

Change 3175382 on 2016/10/26 by Yannick.Lange

	VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
	- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
	- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
	- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
	#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581

Change 3175349 on 2016/10/26 by Chad.Garyet

	Changing physx build agents to compile workspaces instead of full ones
	#JIRA UE-37085

Change 3175267 on 2016/10/26 by Martin.Wilson

	Fix retarget crash

	#jira UE-37781

Change 3175205 on 2016/10/26 by Rolando.Caloca

	UE4.14 - Remove erroneus assert
	#jira UE-37584

Change 3175188 on 2016/10/26 by Chris.Babcock

	Fix out of spec GLSL operations (contributed by JeffRous)
	#jira UE-37800
	#PR #2886
	#ue4
	#android

Change 3175156 on 2016/10/26 by Mitchell.Wilson

	Adding missing iOS app icons to SunTemple project
	#jira UE-36991

Change 3175095 on 2016/10/26 by Daniel.Wright

	Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
	#jira UE-37783

Change 3175075 on 2016/10/26 by Daniel.Wright

	[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
	#jira UE-36497

Change 3175050 on 2016/10/26 by Jamie.Dale

	FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes

	#jira UE-37819

Change 3175039 on 2016/10/26 by Daniel.Wright

	Fixed Duplication mode
	#jira UE-37231

Change 3174996 on 2016/10/26 by Mitchell.Wilson

	Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
	#jira UE-37648

Change 3174987 on 2016/10/26 by Jon.Nabozny

	Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.

	#jira UE-37594

Change 3174803 on 2016/10/26 by Ori.Cohen

	Fix world origin shifting causing a crash inside physx.

	#JIRA UE-37745

Change 3174776 on 2016/10/26 by Allan.Bentham

	Work around broken depth reads on Galaxy S4.
	#jira UE-35481

Change 3174723 on 2016/10/26 by Robert.Manuszewski

	Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.

	#jira UE-37617

Change 3174650 on 2016/10/26 by Matthew.Griffin

	Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android

Change 3174644 on 2016/10/26 by Matthew.Griffin

	Fixing GoogleVR compile issues

Change 3174352 on 2016/10/25 by Daniel.Wright

	Rename map build data along with the world - fixes lighting lost on map rename / save as.
	Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
	Save map build data packages in SaveWorld - fixes lighting being lost on save as.
	#jira UE-37231

Change 3174335 on 2016/10/25 by Chris.Babcock

	Corrected Proguard issue with Codeworks for Android 1R5 installers
	#jira UE-37680
	#ue4
	#android

Change 3174318 on 2016/10/25 by Marcus.Wassmer

	Duplicate 3174187
	#jira UE-37020

Change 3174263 on 2016/10/25 by patrickr.donovan

	Test content updates and additions. Lighting Channel map added to TM-VRLoader.
	#jira UE-29618

Change 3174120 on 2016/10/25 by Daniel.Wright

	UObject::PostDuplicate with DuplicateMode
	* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
	* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
	#jira UE-37231

Change 3174113 on 2016/10/25 by Daniel.Wright

	Fixed log spam
	#jira UE-37522

Change 3174010 on 2016/10/25 by Jamie.Dale

	Fixed several crashes in the Session Frontend when viewing profiles

	- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
	- SFiltersAndPresets could crash if it was updated when no profile was selected.
	- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
	- A session update message would clobber any loaded profile data, resetting to the current instance.

	#jira UE-37597

Change 3173982 on 2016/10/25 by mason.seay

	Deleting unneeded asset

	#jira UE-29618

Change 3173912 on 2016/10/25 by Ori.Cohen

	Fix divide by 0 crash when torque curve is 0

	#JIRA UE-37737

Change 3173866 on 2016/10/25 by Ben.Marsh

	Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.

	#jira UE-37678

Change 3173824 on 2016/10/25 by Ben.Marsh

	Fix trying to recompile UBT in Rocket builds when cleaning a build target.

	#jira UE-37616

Change 3173812 on 2016/10/25 by Nick.Darnell

	XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.

	#jira UE-37757

Change 3173808 on 2016/10/25 by Ben.Marsh

	Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.

	#jira UE-37627

Change 3173711 on 2016/10/25 by Ori.Cohen

	Fix linux compiler issues for physx

	#JIRA UE-37085, UE-37114, UE-37116

Change 3173704 on 2016/10/25 by James.Cobbett

	Import test assets for Alembic Conversion test
	#jira UE-29618

Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt

	Fixed Zip project not working in binary builds

	#jira UE-37655

Change 3173692 on 2016/10/25 by James.Cobbett

	Test content for Alembic Conversion options

	#jira UE-29618

Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt

	Fixed array refreshing in the details panel not functioning properly for sub-object properties

	#jira UE-37652

Change 3173619 on 2016/10/25 by Robert.Manuszewski

	Making the cooker ignore EDL ini setting in binary engine build.

	#jira UE-37617

Change 3173616 on 2016/10/25 by Nick.Whiting

	Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors

	#jira UE-37440, UE-37236

Change 3173606 on 2016/10/25 by Jamie.Dale

	Removed invalid assert

	We're already passed the collection to modify, so the assert isn't needed.

	#jira UE-37761

Change 3173604 on 2016/10/25 by Keli.Hlodversson

	Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
	#jira UE-37623

Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt

	Fixed more cases of undoing causing selections to become out of sync

	#jira UE-37300

Change 3173475 on 2016/10/25 by Ori.Cohen

	Critical 4.14 physx fixes

	#JIRA UE-37085, UE-37114, UE-37116

Change 3173445 on 2016/10/25 by Robert.Manuszewski

	Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.

	#jira UE-37394

Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt

	Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering

	#jira UE-36261

Change 3173245 on 2016/10/25 by Allan.Bentham

	Remove incorrect assert.
	#jira UE-37699, UE-37707

Change 3173232 on 2016/10/25 by Jurre.deBaare

	Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
	#fix make sure we also pick up vector4 fields
	#jira UE-37656

Change 3173183 on 2016/10/25 by Matthew.Griffin

	Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)

Change 3173065 on 2016/10/25 by Dmitriy.Dyomin

	Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
	#jira UE-37736

Change 3172929 on 2016/10/24 by Ryan.Vance

	#jira UE-37742
	Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.

Change 3172915 on 2016/10/24 by Rolando.Caloca

	UE4.14 - Fix compile issues on CCT
	#jira UE-37722

Change 3172762 on 2016/10/24 by Brian.Karis

	#jira UE-37369

Change 3172742 on 2016/10/24 by Daniel.Lamb

	Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
	#jira UE-36796
	#test Cook shootergame

Change 3172690 on 2016/10/24 by Maciej.Mroz

	DynamicClass gives now, as componet-archetype, objects with non-exact name.
	Manually merged cl#3171563

	#jira UE-37480

Change 3172663 on 2016/10/24 by Daniel.Lamb

	Stopped cooker from handling modification requests when they are PIE requests.
	#test PIE shootergame
	#jira UE-21572

Change 3172629 on 2016/10/24 by Mitchell.Wilson

	Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
	Reimported SM_GodRay_Plane to resolve PhysX warning
	Rebuilt lighting for the level.
	#jira UE-37728

Change 3172523 on 2016/10/24 by Nick.Shin

	update physx cmakefiles and automation build scripts for release-414 stream (as per request)

	#jira UEFW-106   Add HTML5 support to PhysX CMake & automation scripts

Change 3172515 on 2016/10/24 by Nick.Shin

	remove old emsdk (1.35.0)

	#jira UEPLAT-1324  Update HTML5 PhysX to CMake

Change 3172511 on 2016/10/24 by Mark.Satterthwaite

	Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
	#jira UE-37481

Change 3172461 on 2016/10/24 by Cody.Albert

	Added check for pointer validity to prevent crash in ShooterGame

	#jira UE-37433

Change 3172329 on 2016/10/24 by Peter.Sauerbrei

	fix for remote notification method misspelling
	#jira ue-37720

Change 3172322 on 2016/10/24 by Marc.Audy

	Fix unreferenced variable the brute force to unblock QA
	#jira UE-37718

Change 3172191 on 2016/10/24 by Mitchell.Wilson

	Clearing preivew meshes on some materials to resolve warnings.
	#jira UE-37713

Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt

	Fix non-editor compile error

	#jira UE-37695

Change 3172159 on 2016/10/24 by Dmitry.Rekman

	Update GitDependencies.exe (UE-37530).

	- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.

	#jira UE-37530

Change 3172132 on 2016/10/24 by Keith.Judge

	Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872

	#jira UE-37038

Change 3172131 on 2016/10/24 by Keith.Judge

	Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.

	#jira UE-36364

Change 3172106 on 2016/10/24 by Mitchell.Wilson

	Updated reference to a material in VehicleMenu.umap to resolve warning
	#jira UE-29748

Change 3172036 on 2016/10/24 by Steve.Robb

	TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).

	#jira UE-37706

Change 3172020 on 2016/10/24 by Marc.Audy

	Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
	#jira UE-37615

Change 3171966 on 2016/10/24 by Dmitry.Rekman

	Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)

	#jira UE-37621

	(Edigrating 3171266 from Dev-Platform to Release-4.14)

Change 3171964 on 2016/10/24 by Dmitry.Rekman

	Linux: fix always rebuilding FixDeps (UE-37625).

	#jira UE-37625

	(Edigrating 3153471 from Dev-Platform to Release-4.14)

Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt

	Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running

	#jira UE-37636

Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt

	Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
	 The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace.  The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now

	#jira UE-37695

Change 3171928 on 2016/10/24 by Max.Chen

	Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.

	#jira UE-37589

Change 3171924 on 2016/10/24 by James.Cobbett

	Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
	#jira UE-29618

Change 3171867 on 2016/10/24 by Lina.Halper

	- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
	- Empties override materials before setting preview mesh in animation editor

	#jira: UE-37610
	#code review: Thomas.Sarkanen

Change 3171789 on 2016/10/24 by Allan.Bentham

	Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
	#jira UE-35023

Change 3171776 on 2016/10/24 by Robert.Manuszewski

	Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking

	#jira UE-37599

Change 3171728 on 2016/10/24 by Dmitriy.Dyomin

	Fix origin rebasing to work with precomputed lighting data stored in separate package
	#jira UE-37693

Change 3171634 on 2016/10/24 by Dmitriy.Dyomin

	Added commenets to 3171621
	#jira UE-36449

Change 3171621 on 2016/10/23 by Dmitriy.Dyomin

	Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
	Actually disabled use of world composition with multiplayer PIE using separate processes
	#jira UE-36449

Change 3171424 on 2016/10/22 by Jack.Porter

	Remove unused exec command causing logspam

	#jira UE-37661

Change 3171259 on 2016/10/21 by Ryan.Vance

	Mobile multi-view update

	#jira UE-37603

	Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
	Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
	Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
	Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
	  Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
	  Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader

Change 3171165 on 2016/10/21 by Peter.Sauerbrei

	revert out the memory changes for platform file cache for mobile
	#jira UE-36835

Change 3171112 on 2016/10/21 by Matt.Barnes

	Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.

	#jira UEQATC-2969

Change 3171111 on 2016/10/21 by Mike.Beach

	Mirroring CL 3171084 form Dev-BP
	Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.

	#jira UE-37642

Change 3170980 on 2016/10/21 by patrickr.donovan

	Motion controller test content update - further updates to combat thumbstick noise.

	#jira UE-29618

Change 3170965 on 2016/10/21 by Mitchell.Wilson

	Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
	#jira UE-37105

Change 3170905 on 2016/10/21 by Marc.Audy

	Fix AActor::Serialize crash if a null in the owned components array
	#jira UE-37641

Change 3170838 on 2016/10/21 by Ben.Woodhouse

	Integrate crash fix from main CL3162008
	Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
	#jira UE-37216

Change 3170815 on 2016/10/21 by Jamie.Dale

	Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs

	FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.

	This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.

	#jira UE-37519

Change 3170784 on 2016/10/21 by Mitchell.Wilson

	Changing a material in TM-Reflections level
	#jira UE-29618

Change 3170668 on 2016/10/21 by Mitchell.Wilson

	Updated defaulteditor.ini to resolve cook failure for UBlueprint.
	#jira UE-37648

Change 3170595 on 2016/10/21 by Chris.Wood

	Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
	[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter

	#jira UE-37132

Change 3170395 on 2016/10/21 by Robert.Manuszewski

	UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.

	#jira UE-37617

Change 3170367 on 2016/10/21 by Allan.Bentham

	Prevent overflow of bright pixels during DoF calc.
	#jira UE-31755

Change 3170363 on 2016/10/21 by Robert.Manuszewski

	Fixing crashes when cancelling async loading

	#jira UE-37634

Change 3170362 on 2016/10/21 by Robert.Manuszewski

	Fixing MallocBinned2 crashes on 32-bit platforms.

	#jira UE-37326

Change 3170280 on 2016/10/21 by Jack.Porter

	Fix for landscape not rendering in Player Collision view mode after toggling G.

	#jira UE-37576

Change 3170202 on 2016/10/21 by Dmitriy.Dyomin

	Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
	#jira UE-37628

Change 3170160 on 2016/10/20 by Aaron.McLeran

	#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features

	Implementing CL 3169422 in 4.14

Change 3170029 on 2016/10/20 by Aaron.McLeran

	#jira UE-37004
	#jira UE-37005
	Fixing stat soundwaves

	Implementing 3154264 from Dev-Framework

Change 3170024 on 2016/10/20 by Aaron.McLeran

	#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions

	Implementing the CL from Dev-Framework

Change 3169869 on 2016/10/20 by Arne.Schober

	duplicated:
	CL 3169845
	#jira UE-35937

Change 3169810 on 2016/10/20 by Steve.Cano

	Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well

	#ue4
	#android
	#jira UE-22440

Change 3169635 on 2016/10/20 by Mike.Beach

	Mirroring CL 3169443 from Dev-BP

	Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).

	#jira UE-37605

Change 3169618 on 2016/10/20 by Mitchell.Wilson

	rebuilt lighting for all levels in Content Examples
	#jira UE-37570

Change 3169447 on 2016/10/20 by Peter.Sauerbrei

	fix for double quotes causing arguments to not be sent correctly to rsync
	#jira UE-37018

Change 3169362 on 2016/10/20 by tim.gautier

	Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget

	#jira abc-123

Change 3169244 on 2016/10/20 by Chris.Babcock

	Update to new CodeWorks for Android 1R5
	#jira UE-37554
	#ue4
	#android

Change 3169240 on 2016/10/20 by Jon.Nabozny

	#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).

	#jira UE-37488

Change 3169155 on 2016/10/20 by Peter.Sauerbrei

	fix for incorrect characters in bundle id when project has underscores in the name
	#jira UE-36436

Change 3169127 on 2016/10/20 by Allan.Bentham

	Fix android vulkan compile error with dev builds
	#jira abc-123

Change 3169058 on 2016/10/20 by Allan.Bentham

	Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
	Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
	#jira UE-36452

Change 3169049 on 2016/10/20 by Peter.Sauerbrei

	fix for minimum ios version in base ini file
	#jira UE-37034

Change 3168910 on 2016/10/20 by Jack.Porter

	Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
	#jira UE-36944

Change 3168906 on 2016/10/20 by Dmitriy.Dyomin

	Fixed: Black rendering on Galaxy S4 PowerVR
	#jira UE-37567

Change 3168858 on 2016/10/20 by Richard.TalbotWatkin

	Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
	#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]

Change 3168826 on 2016/10/20 by Richard.TalbotWatkin

	Duplicated from //UE4/Dev-Editor, CL 3156473

	Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
	#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]

Change 3168335 on 2016/10/19 by Michael.Trepka

	Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.

	#jira UE-37418

Change 3168307 on 2016/10/19 by Rolando.Caloca

	UE4.14 - Integrate changes from 3051720 and 3057522

	[RENDERING] [!]
	Revert fix in GPU skin cache (original CL 2722034)
	 - Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.

	#jira UE-37545

Change 3168201 on 2016/10/19 by Peter.Sauerbrei

	fix for urls with queries not working correctly
	#jira UE-35090

Change 3168200 on 2016/10/19 by Mitchell.Wilson

	Re-saved multiple cloth assets to resolve building adjacency information warnings.
	Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
	Re-saved multiple assets to resolve empty engine version warnings.
	#jira UE-37537

Change 3168174 on 2016/10/19 by Alan.Noon

	#jira UE-37534
	deleted unnecessary files from Photorealistic Character project

Change 3168160 on 2016/10/19 by Arne.Schober

	duplicated:
	fixes for velocity render pass
	CL 3166370
	CL 3166799
	#jira UE-37362

Change 3168136 on 2016/10/19 by Alan.Noon

	#jira UE-37534
	Initial add of Photorealistic Character Sample project

Change 3168127 on 2016/10/19 by Peter.Sauerbrei

	fix for IOS_7 not being found
	#jira UE-37034

Change 3167886 on 2016/10/19 by patrickr.donovan

	#jira UE-37242

	TLDR; Test content updates.
	Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.

Change 3167882 on 2016/10/19 by samuel.proctor

	Updating asset for Profiler Heatmap testing

	#jira UE-29618

Change 3167868 on 2016/10/19 by Dmitry.Rekman

	Linux: disable XGE on Windows (UE-37446).

	- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.

	Also fix build breakage with clang 3.8.1.

	- always_inline was still applied to debug builds and as such was ignored.

	#jira UE-37446

	(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)

Change 3167832 on 2016/10/19 by Mitchell.Wilson

	Reconnected 'TopMaterial' in multiple materials to resolve warnings.
	Rebuilt lighting and saved levels.
	#jira UE-37529 UE-37535

Change 3167688 on 2016/10/19 by Mitchell.Wilson

	Removing preview mesh from multiple materials to resolve warnings.
	Rebuilt lighting and saved all levels.
	#jira UE-29678 UE-37526

Change 3167616 on 2016/10/19 by Marc.Audy

	Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
	#jira UE-37517

Change 3167585 on 2016/10/19 by Jamie.Dale

	Re-enabled all-cultures upload to OneSky so we prime translations correctly

	#jira UE-37518

Change 3167579 on 2016/10/19 by Jamie.Dale

	Fixed text render component regression with custom MIDs

	#jira UE-37305

Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt

	Fixed realtime rendering in editor viewport being disabled when simulating in editor

	#jira UE-37466

Change 3167498 on 2016/10/19 by Mitchell.Wilson

	Re-saving multiple blueprints with nodeguid warnings.
	Cleared preview mesh for materials with string asset reference warnings.
	Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
	#jira UE-30840

Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt

	Fix for disappearing menus in lastest windows 10 build

	#jira UE-36752

Change 3167311 on 2016/10/19 by Mieszko.Zielinski

	Fixed EQS template cache issues with multiple query run modes #UE4

	#jira UE-37496

Change 3167206 on 2016/10/19 by Matthew.Griffin

	Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed

Change 3167205 on 2016/10/19 by Matthew.Griffin

	Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool

Change 3167010 on 2016/10/19 by Dmitriy.Dyomin

	Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
	Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
	#jira UE-36397

[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
Marcus Wassmer
f52bdcc738 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3170391 on 2016/10/21 by Ben.Woodhouse

	Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.

	#jira UE-37437
	#fyi rolando.caloca, marcus.wassmer

Change 3170659 on 2016/10/21 by Rolando.Caloca

	DR - vk - Prep work for state key changes

Change 3170676 on 2016/10/21 by Rolando.Caloca

	DR - vk - Reworked blend state keys
	- Added depth/stencil to pipeline key

Change 3170848 on 2016/10/21 by Daniel.Wright

	Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.

Change 3170849 on 2016/10/21 by Daniel.Wright

	Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear

Change 3170995 on 2016/10/21 by Rolando.Caloca

	DR - vk - Show object on vulkan validation msgs

Change 3171085 on 2016/10/21 by Rolando.Caloca

	DR - vk - Fix pipelines being used with incompatible renderpasses

Change 3171159 on 2016/10/21 by Rolando.Caloca

	DR - vk - Fix layout when reading textures on CPU

Change 3171167 on 2016/10/21 by Rolando.Caloca

	DR - vk - compile fix

Change 3172462 on 2016/10/24 by Daniel.Wright

	Added a warning about shader compile times to the material tooltip

Change 3172463 on 2016/10/24 by Daniel.Wright

	Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh

Change 3172716 on 2016/10/24 by Brian.Karis

	Fix for crash UE-37369 when reimporting over a generated LOD.

Change 3172967 on 2016/10/24 by Rolando.Caloca

	DR - vk - Fix writing buffers while GPU was using them

Change 3174187 on 2016/10/25 by Olaf.Piesche

	UE-37020

Change 3174718 on 2016/10/26 by Rolando.Caloca

	DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k

Change 3175960 on 2016/10/26 by Rolando.Caloca

	DR - Added support for hlslcc header to have custom parsing

Change 3176611 on 2016/10/27 by David.Hill

	DrawWireCone  confusion:

	In response to a UDN, I'm updating confusing parameter names and comments for
	DrawWireCone() and DrawWireSphereCappedCone()

Change 3177111 on 2016/10/27 by Rolando.Caloca

	DR - vk - Fix timestamps for frame

Change 3177192 on 2016/10/27 by Arne.Schober

	DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState

Change 3177278 on 2016/10/27 by Olaf.Piesche

	UE-37484

Change 3177297 on 2016/10/27 by Rolando.Caloca

	DR - vk - Enable GRHISupportsBaseVertexIndex

Change 3177607 on 2016/10/27 by Rolando.Caloca

	DR - vk - SM4 UB prep

Change 3178052 on 2016/10/28 by Arne.Schober

	DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.

Change 3178156 on 2016/10/28 by Rolando.Caloca

	DR - vk - Added query timer
	- Fixed inline issues

Change 3178158 on 2016/10/28 by Rolando.Caloca

	DR - vk - Fixes for out of stencil bits

Change 3178462 on 2016/10/28 by Rolando.Caloca

	DR - vk - Fixes for Elemental

Change 3179131 on 2016/10/28 by Rolando.Caloca

	DR - vk - Fix for r.Vulkan.UseRealUBs

Change 3179139 on 2016/10/28 by Rolando.Caloca

	DR - vk - Move UB ring buffer to context

Change 3179145 on 2016/10/28 by Rolando.Caloca

	DR - vk - Fix buffer barriers

Change 3179888 on 2016/10/31 by Rolando.Caloca

	DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD

Change 3179923 on 2016/10/31 by Rolando.Caloca

	DR - vk - Wait for swapchain counter

Change 3180430 on 2016/10/31 by Rolando.Caloca

	DR - vk - Properly wait for occlusion queries/cmd buffer
	- Actual log error if trying to use occlusion queries out of order

Change 3180746 on 2016/10/31 by Rolando.Caloca

	DR - vk - Undo some waiting as it was on the wrong thread

Change 3182115 on 2016/11/01 by Rolando.Caloca

	DR - hlslcc Linux path fix

Change 3182118 on 2016/11/01 by Daniel.Wright

	Fixed global distance field seam artifacts from landscapes with no subsections

Change 3182368 on 2016/11/01 by Daniel.Wright

	Dynamic Indirect Shadows for static meshes using distance fields
	* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
	* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
	* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
	* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
	* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
	* DFAO from landscape is now done through the global distance field entirely.  Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.

Change 3182408 on 2016/11/01 by Rolando.Caloca

	DR - vk - Reworked occlusion queries, fixes flickering on AMD

Change 3182585 on 2016/11/01 by Daniel.Wright

	PS4 compile fix

Change 3183151 on 2016/11/02 by Rolando.Caloca

	DR - vk - Fix issue when processing super quick cmd buffers

Change 3183160 on 2016/11/02 by Rolando.Caloca

	Dr - vk - Call reset queries outside render pass

Change 3183182 on 2016/11/02 by Rolando.Caloca

	DR - Switch clear

Change 3183194 on 2016/11/02 by Rolando.Caloca

	DR - Try to catch crash ahead of time

Change 3183268 on 2016/11/02 by Rolando.Caloca

	DR - vk - Rename RenderPassState to TransitionState

Change 3183440 on 2016/11/02 by Daniel.Wright

	Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'

Change 3183793 on 2016/11/02 by Daniel.Wright

	Added ShadowResolutionScale to lightcomponent

Change 3183796 on 2016/11/02 by Daniel.Wright

	Improved bSimulatePhysics comment, with info on why it might be greyed out

Change 3183797 on 2016/11/02 by Daniel.Wright

	Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps.  Improves shadowmap utilization.

Change 3183915 on 2016/11/02 by Rolando.Caloca

	DR - vk - Remove redundant renderpasses

Change 3183991 on 2016/11/02 by Daniel.Wright

	Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only

Change 3184001 on 2016/11/02 by Daniel.Wright

	Better draw event for IndirectCapsuleShadows in stereo

Change 3184096 on 2016/11/02 by Chris.Bunner

	HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
	Removed some outdated tonemamping cvars and modes.

Change 3184399 on 2016/11/02 by Daniel.Wright

	Static analysis workaround

Change 3184455 on 2016/11/02 by Mark.Satterthwaite

	Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
	#jira UE-38164

Change 3184953 on 2016/11/03 by Chris.Bunner

	Fixing CIS warnings.

[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
Gil Gribb
ab5d7150f4 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3122543 on 2016/09/13 by Ben.Woodhouse

	Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.

	#jira UE-35878

Change 3122544 on 2016/09/13 by Ben.Woodhouse

	Shadow stencil optimisation with cvar (enabled by default)

	Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.

	This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)

	Shadow projection GPU time profiling :
	Test map with 35 characters, stationary directional light
	  - 4ms-2ms on XB1
	  - 2.5ms to 0.9ms on PC (r9-390X)
	  - 3ms-2ms on PS4

	Paragon PS4 (roughly 20% reduced - from ~0.39ms)

Change 3122687 on 2016/09/13 by Rolando.Caloca

	DR - vk - Fix ES31 crash

Change 3122691 on 2016/09/13 by Rolando.Caloca

	DR - vk - Fixes for SDK 1.0.26.0

Change 3122778 on 2016/09/13 by Rolando.Caloca

	DR - vk - Fix number of layers on barrier

Change 3122921 on 2016/09/13 by Rolando.Caloca

	DR - vk - Fix ES3.1

Change 3122925 on 2016/09/13 by Ben.Woodhouse

	Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
	#jira UE-35904

Change 3123016 on 2016/09/13 by Chris.Bunner

	Fixed adaptive tessellation, broken by CL 3089208 refactor.
	#jira UE-35341

Change 3123079 on 2016/09/13 by Rolando.Caloca

	DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)

Change 3123503 on 2016/09/13 by David.Hill

	#jira UE-25623
	converted a check() to checkf() to include better diagnostic information.

Change 3123617 on 2016/09/13 by Guillaume.Abadie

	Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.

	#jira UE-35128

Change 3123743 on 2016/09/13 by Brian.Karis

	Separate mesh reduction interfaces for static and skeletal.

	Zero bad tangents from input mesh.

Change 3125378 on 2016/09/14 by Arne.Schober

	DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.

Change 3125527 on 2016/09/14 by Arne.Schober

	DR - [UE-34481] - Fix UT build and mac

Change 3125741 on 2016/09/14 by Rolando.Caloca

	DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)

Change 3125763 on 2016/09/14 by Rolando.Caloca

	DR - vk - Added new Renderpass cache
	- Fix buffer barrier warning

Change 3125769 on 2016/09/14 by Rolando.Caloca

	DR - Renamed cvar to r.DumpSCWQueuedJobs

Change 3125771 on 2016/09/14 by Rolando.Caloca

	DR - Added support for SV_ClipDistance on GL3 & 4

Change 3125792 on 2016/09/14 by Arne.Schober

	DR - [UE-34481] - Fix Odin and PS4

Change 3125880 on 2016/09/14 by Arne.Schober

	DR - [UE-34481] - Fix Fortnite

Change 3125968 on 2016/09/14 by Brian.Karis

	Removed comment

Change 3126315 on 2016/09/15 by Ben.Woodhouse

	GPU profiler robustness
	-  Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
	- Simplify gathering logic
	- Fix race condition where we could read back queries before they're submitted on the RHI thread.
	- Fix for movie player stat gathering - disable gathering outside of the main engine tick
	#jira UE-35975

Change 3126792 on 2016/09/15 by Rolando.Caloca

	DR - vk - Release render pass cache

Change 3126804 on 2016/09/15 by Rolando.Caloca

	DR - vk - Fix UpdateTexture2D()
	#jira UE-34151

Change 3126884 on 2016/09/15 by Rolando.Caloca

	DR - vk - Compile fix

Change 3126953 on 2016/09/15 by Rolando.Caloca

	DR - Enable GPU capture when running OpenGL under RenderDoc
	- Will also set the memory mode to non coherent so not to kill performance on RenderDoc

Change 3126966 on 2016/09/15 by Rolando.Caloca

	DR - Allow cooking for Vulkan SM4 to help with packaging

Change 3127082 on 2016/09/15 by Guillaume.Abadie

	Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.

	#jira UE-35367, UE-33602, UE-33603, UE-33604
	#review-3125887 @brian.karis

Change 3127130 on 2016/09/15 by Mark.Satterthwaite

	Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
	#jira FORT-25869
	#jira UE-34263

Change 3127475 on 2016/09/15 by Rolando.Caloca

	DR - vk - Debug dump

Change 3128131 on 2016/09/16 by Ben.Woodhouse

	(Integrated from //UE4/Private-Partner-NREAL/...)

	Alpha output support for postprocess materials (optional via a parameter)

	Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)

Change 3128135 on 2016/09/16 by Ben.Woodhouse

	GPU profiler (PS4) - remove bubbles between commandlist submissions from query times

	Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)

	Also fixes some potential precision issues with unit GPU timing

Change 3128247 on 2016/09/16 by Rolando.Caloca

	DR - vk - Cache framebuffers

Change 3128593 on 2016/09/16 by Rolando.Caloca

	DR - vk - Fix for crash loading map
	#jira UE-36072

Change 3128759 on 2016/09/16 by Mark.Satterthwaite

	Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.

Change 3130236 on 2016/09/19 by Chris.Bunner

	Exposed full SceneCaptureComponent classes instead of select methods.
	#jira UE-35996

Change 3130388 on 2016/09/19 by Rolando.Caloca

	DR - Avoid crash when adding dynamic primitives
	#jira UE-35327

Change 3130393 on 2016/09/19 by Marc.Olano

	Improve vector noise tooltips & documentation

Change 3130547 on 2016/09/19 by Ben.Woodhouse

	Fix for ensure fail when initializing point light shadowmaps.

	This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.

	I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
	#jira UE-35837

Change 3130578 on 2016/09/19 by Daniel.Wright

	Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL

Change 3130682 on 2016/09/19 by Rolando.Caloca

	DR - Better fix for UE-35327
	#jira UE-35327

Change 3130767 on 2016/09/19 by Uriel.Doyon

	Better handling of color array in VisualizeComplexity code to prevent assert.
	#jira UE-29332

Change 3130965 on 2016/09/19 by Arne.Schober

	DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.

Change 3130967 on 2016/09/19 by Chris.Bunner

	Hid redundant texture sampler properties from texture object parameter.
	Hid redundant texture property input on texture parameter nodes.
	Fixed copy-paste error in expression texture parameter docs.
	#jira UE-32724

Change 3131118 on 2016/09/19 by Mark.Satterthwaite

	Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
	#jira FORT-25869
	#jira UE-34263

Change 3131153 on 2016/09/19 by Rolando.Caloca

	DR - Fix recompute normals when triangles have a LHS tangent basis

	Integrate from 3028634
	- Also make meshes that don't have morphs be able to run through the recompute normals path
	#jira UE-35472

Change 3131228 on 2016/09/19 by Mark.Satterthwaite

	Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
	#jira UE-35240

Change 3131246 on 2016/09/19 by Rolando.Caloca

	DR - Shrink gpu skinning permutations

Change 3131261 on 2016/09/19 by Mark.Satterthwaite

	Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
	ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.

Change 3131265 on 2016/09/19 by Mark.Satterthwaite

	Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.

Change 3131271 on 2016/09/19 by Mark.Satterthwaite

	Use private memory for the Metal stencil SRV workaround needed on El Capitan.

Change 3131273 on 2016/09/19 by Mark.Satterthwaite

	Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.

Change 3131280 on 2016/09/19 by Mark.Satterthwaite

	For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.

Change 3131283 on 2016/09/19 by Mark.Satterthwaite

	Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.

Change 3131402 on 2016/09/19 by Rolando.Caloca

	DR - Disambiguate callstack
	#jira UE-34415

Change 3131469 on 2016/09/19 by Rolando.Caloca

	DR - vk - Check if we can allocate descriptors off a pool

Change 3131482 on 2016/09/19 by Rolando.Caloca

	DR - vk - Remove unused var

Change 3131506 on 2016/09/19 by Mark.Satterthwaite

	With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.

Change 3131536 on 2016/09/19 by Rolando.Caloca

	DR - vk - Compile fix

Change 3131564 on 2016/09/19 by Rolando.Caloca

	DR - vk - Submit Hint
	- Disable framebuffer recycling as its causing a hang

Change 3131625 on 2016/09/19 by Mark.Satterthwaite

	Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.

Change 3131630 on 2016/09/19 by Mark.Satterthwaite

	More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.

Change 3131955 on 2016/09/20 by Gil.Gribb

	Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3131978 on 2016/09/20 by Gil.Gribb

	CIS fix

Change 3132584 on 2016/09/20 by Ben.Woodhouse

	Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling

	#jira UE-35937

Change 3132696 on 2016/09/20 by Mark.Satterthwaite

	Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.

Change 3132772 on 2016/09/20 by Mark.Satterthwaite

	Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.

Change 3132870 on 2016/09/20 by Ben.Woodhouse

	Fix mac compile error

Change 3133049 on 2016/09/20 by Brian.Karis

	Changed light source shapes in reflection captures to use alpha

Change 3133057 on 2016/09/20 by Brian.Karis

	Alphaed out on spot light cone as well.

Change 3133263 on 2016/09/20 by Rolando.Caloca

	DR - vk - Debug names for objects

Change 3133292 on 2016/09/20 by Rolando.Caloca

	DR - vk - Fix SRGB upload/formats

Change 3133395 on 2016/09/20 by Rolando.Caloca

	DR - vk - SM5 fixes

Change 3134026 on 2016/09/21 by Gil.Gribb

	Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3134663 on 2016/09/21 by Chris.Bunner

	Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
	#jira UE-34347

Change 3134730 on 2016/09/21 by Arne.Schober

	DR - [UE-34481] - Fix minor brokenness found by Gil

Change 3134792 on 2016/09/21 by Chris.Bunner

	Fixed compile errors for non-editor builds.

Change 3135214 on 2016/09/21 by Rolando.Caloca

	DR - vk - Fix visualize texture
	- Dump memory when OOM (to track leaks)

Change 3135225 on 2016/09/21 by Rolando.Caloca

	DR - vk - Ensure on exit if mem leak
	- Update fences if running wait for idle

Change 3135672 on 2016/09/22 by Gil.Gribb

	Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3135793 on 2016/09/22 by Rolando.Caloca

	DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer

Change 3135816 on 2016/09/22 by Rolando.Caloca

	DR - Add names for d3d on renderdoc

Change 3135894 on 2016/09/22 by Chris.Bunner

	Fixed initialization order warning.

Change 3136024 on 2016/09/22 by Rolando.Caloca

	DR - vk - Fix stencil faces

Change 3136042 on 2016/09/22 by Marcus.Wassmer

	Fix compile error

Change 3136046 on 2016/09/22 by Chris.Bunner

	Renamed material for PostTonemapHDRColor visualization to reflect actual usage.

Change 3136308 on 2016/09/22 by Uriel.Doyon

	Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
	#jira UE-36094

Change 3136798 on 2016/09/22 by Chris.Bunner

	Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.

Change 3137092 on 2016/09/22 by Rolando.Caloca

	DR - vk - Rename pipeline to gfx pipeline

Change 3137263 on 2016/09/22 by Mark.Satterthwaite

	Duplicate CL #3135157:
	Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
	#jira FORT-30061

Change 3137265 on 2016/09/22 by Mark.Satterthwaite

	Duplicate CL #3135169:
	Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).

Change 3137266 on 2016/09/22 by Mark.Satterthwaite

	Duplicate CL #3135237:
	Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.

Change 3137268 on 2016/09/22 by Mark.Satterthwaite

	Duplicate CL #3136033:
	To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
	Fix GPU selection code in MetalRHI to confirm everything is working.
	#jira FORT-30385

Change 3137269 on 2016/09/22 by Mark.Satterthwaite

	Duplicate CL #3137164:
	Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
	#jira FORT-30377

Change 3137606 on 2016/09/23 by Gil.Gribb

	Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3137936 on 2016/09/23 by Rolando.Caloca

	DR - Split RHICmdList clear into color & ds in prep for changes

Change 3138346 on 2016/09/23 by Rolando.Caloca

	DR - vk - Some renaming and splitting classes in prep for compute

Change 3138628 on 2016/09/23 by Rolando.Caloca

	DR - vk - Fix mem leak on framebuffers

Change 3138721 on 2016/09/23 by Daniel.Wright

	Better comment for r.DefaultFeature.AntiAliasing

Change 3138722 on 2016/09/23 by Daniel.Wright

	Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface

Change 3138723 on 2016/09/23 by Daniel.Wright

	Corrected GC doc

Change 3138892 on 2016/09/23 by Daniel.Wright

	Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build

Change 3138905 on 2016/09/23 by Daniel.Wright

	"Optimizations" -> "Optimization Viewmodes"

Change 3138939 on 2016/09/23 by Daniel.Wright

	Disabled the stationary light overlap viewmode with forward shading

Change 3139710 on 2016/09/26 by Rolando.Caloca

	DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture

Change 3139820 on 2016/09/26 by Rolando.Caloca

	DR - Remove prefix from shader frequency strings

Change 3139828 on 2016/09/26 by Marcus.Wassmer

	Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.

Change 3139840 on 2016/09/26 by Benjamin.Hyder

	Adding VectorNoise Examples to TM-Noise map

Change 3139862 on 2016/09/26 by Rolando.Caloca

	DR - Better log to track down crash
	#jira UE-36271

Change 3140142 on 2016/09/26 by Rolando.Caloca

	DR - Fix clang warning

Change 3140145 on 2016/09/26 by Rolando.Caloca

	DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters

Change 3140360 on 2016/09/26 by Daniel.Wright

	Lighting Scenarios and lightmaps moved to separate package
	* Levels can be marked as lighting scenarios (eg Day, Night).  Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden.  Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
	* Most outputs of the lighting build now go into a separate _BuiltData package.  This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
	* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package.  This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both).  This also means that lightmaps for a streaming level will not be streamed with it.
	* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
	* Reflection captures and precomputed visibility were not moved to the separate package.  Reflection captures are force updated on load of a lighting scenario level, which can increase load times.

Change 3140361 on 2016/09/26 by Daniel.Wright

	Lighting Scenarios UI

Change 3140582 on 2016/09/26 by Mark.Satterthwaite

	Duplicate CL #3140166
	Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
	#jira FORT-30551

Change 3140584 on 2016/09/26 by Mark.Satterthwaite

	Duplicate CL #3140131:
	Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
	#jira FORT-30622

Change 3140586 on 2016/09/26 by Mark.Satterthwaite

	Duplicate CL #3140450:
	Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
	#jira FORT-30649

Change 3140594 on 2016/09/26 by Zabir.Hoque

	Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.

Change 3140601 on 2016/09/26 by Marcus.Wassmer

	New 'Cinematic' Scalability level.  Remove unused 'new' motionblur CVAR

Change 3140602 on 2016/09/26 by Zabir.Hoque

	CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.

	#Tests: Fix was tested by licensee (GearBox).

Change 3140622 on 2016/09/26 by Rolando.Caloca

	DR - vk - More prep for sm5

Change 3140765 on 2016/09/26 by Rolando.Caloca

	DR - Fix ensure from bad clear depth surface

Change 3141251 on 2016/09/27 by Rolando.Caloca

	DR - vk - Rename & cleanup

Change 3141394 on 2016/09/27 by Rolando.Caloca

	DR - vk - Compute pipeline state

Change 3141463 on 2016/09/27 by Mark.Satterthwaite

	Fix the include order to avoid compile errors on Mac.

Change 3141529 on 2016/09/27 by Gil.Gribb

	Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3141830 on 2016/09/27 by zachary.wilson

	Adding testing content for lighting scenarios to collaborate with Ben

Change 3141941 on 2016/09/27 by Olaf.Piesche

	Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.

Change 3142035 on 2016/09/27 by Olaf.Piesche

	Fix compiler error from silly leftover bit of code.

Change 3142065 on 2016/09/27 by Benjamin.Hyder

	Updating Lighting Scenario map

Change 3142262 on 2016/09/27 by Mark.Satterthwaite

	Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
	On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
	On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
	#jira UE-35749

Change 3142292 on 2016/09/27 by Rolando.Caloca

	DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
	#jira UE-31438

Change 3142397 on 2016/09/27 by Mark.Satterthwaite

	Update hlslcc for Mac including RCO's changes in CL #3142292.
	#jira UE-31438

Change 3142438 on 2016/09/27 by Daniel.Wright

	UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking

Change 3142452 on 2016/09/27 by Rolando.Caloca

	DR - Proper support for int defines

Change 3142519 on 2016/09/27 by Arne.Schober

	DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.

Change 3142537 on 2016/09/27 by Daniel.Wright

	Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset

Change 3142691 on 2016/09/27 by Daniel.Wright

	Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content

Change 3142711 on 2016/09/27 by Daniel.Wright

	GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser

Change 3142712 on 2016/09/27 by Daniel.Wright

	Separate category for ParticleCutout properties

Change 3142762 on 2016/09/27 by Uriel.Doyon

	Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
	The density are computed by the engine but can be overridden by the user in the material tabs.

	Texture streaming intermediate component data is now per material instead of per lod-section.

	New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
	This is currently used to show which UV channel and which texture index is being
	shown in the texture streaming accuracy viewmodes.
	This replaces r.Streaming.AnalysisIndex

	Renamed texture streaming viewmodes:
	MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
	MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
	MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales

	Improved UV density computation and viewmode.

	LightmapUVDensity is now computed separately from UVChannel Density.

	Fixed texture streaming for instanced static mesh component and derived types.

Change 3143464 on 2016/09/28 by Daniel.Wright

	Removed 'experimental' from forward shading setting

Change 3143508 on 2016/09/28 by Chris.Bunner

	Added component type handling to FoldedMath and Length material expressions.
	#jira UE-36304

Change 3143557 on 2016/09/28 by Rolando.Caloca

	DR - Back out changelist 3142292

Change 3143563 on 2016/09/28 by Rolando.Caloca

	DR - vk - Force hlslcc re-link

Change 3143648 on 2016/09/28 by Daniel.Wright

	Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.

Change 3143661 on 2016/09/28 by Chris.Bunner

	Warning fix.

Change 3143723 on 2016/09/28 by Daniel.Wright

	DumpUnbuiltLightIteractions after lighting build for debugging

Change 3143822 on 2016/09/28 by Arne.Schober

	DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.

Change 3143860 on 2016/09/28 by Benjamin.Hyder

	Updating TM-Noise map to include 3d noise examples

Change 3143939 on 2016/09/28 by Rolando.Caloca

	DR - vk - Better debugging of submissions
	- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs

Change 3144006 on 2016/09/28 by Brian.Karis

	Fixed PixelError not being set correctly with LOD groups.

	Removed unneeded Simplygon references.
	Mesh reduction module can now be chosen by name with r.MeshReductionModule

Change 3144026 on 2016/09/28 by Benjamin.Hyder

	Updating QA-Effects map to correct numbering issue

Change 3144098 on 2016/09/28 by Arne.Schober

	DR - ViewMatrices Refactoring - Fix UT

Change 3144158 on 2016/09/28 by Rolando.Caloca

	DR - Undo splitting RHI command context

Change 3144952 on 2016/09/29 by Rolando.Caloca

	DR - vk - Missing swapchain flag

Change 3145064 on 2016/09/29 by Olaf.Piesche

	#jira UE-36091

	Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.

Change 3145354 on 2016/09/29 by Benjamin.Hyder

	Updating Tm-ContactShadows

Change 3145485 on 2016/09/29 by Daniel.Wright

	Made SeamlessTravelLoadCallback handle legacy lightmaps

Change 3145527 on 2016/09/29 by Daniel.Wright

	Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel

Change 3145530 on 2016/09/29 by Simon.Tovey

	UE-36188 - Editor crash when updating hierarchical instance static mesh component

	Dirtied render state rather than unsafe update of bounds.

Change 3145608 on 2016/09/29 by Gil.Gribb

	Attempt to fix a random compiler error under win32

Change 3145749 on 2016/09/29 by Uriel.Doyon

	Fix for static analysis warning

Change 3146091 on 2016/09/29 by Zabir.Hoque

	RHI Interface changes to support PSO based APIs

Change 3146092 on 2016/09/29 by Zabir.Hoque

	D3D12 RHI support for PSO based APIs.

Change 3146590 on 2016/09/30 by Gil.Gribb

	Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3146731 on 2016/09/30 by Rolando.Caloca

	DR - Fix merge conflicts

Change 3146778 on 2016/09/30 by Rolando.Caloca

	DR - More integration compile fixes

Change 3146790 on 2016/09/30 by Rolando.Caloca

	DR - Integration fix

Change 3146849 on 2016/09/30 by Rolando.Caloca

	DR - Final integration fix

Change 3146899 on 2016/09/30 by Daniel.Wright

	Static analysis fix for dereferencing World

Change 3147020 on 2016/09/30 by Rolando.Caloca

	DR - vk - Fix depth issue on AMD cards
	- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
	- Added num color attachments to pipeline key

Change 3147034 on 2016/09/30 by Rolando.Caloca

	DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
	#jira UE-36277
	#jira UE-36500

Change 3147080 on 2016/09/30 by Rolando.Caloca

	DR - vk - Disable debug info by default

Change 3147082 on 2016/09/30 by Chris.Bunner

	Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
	#jira UE-36491

Change 3147388 on 2016/09/30 by Chris.Bunner

	Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
	#jira UE-35288

Change 3147394 on 2016/09/30 by Chris.Bunner

	Additional logging for rare error.
	#jira UE-35812

Change 3147459 on 2016/09/30 by Rolando.Caloca

	DR - vk - Some more srgb formats

Change 3147537 on 2016/09/30 by Rolando.Caloca

	DR - vk - Standarize srgb flag like D3D11
	- Minor FVulkanShader cleanup

Change 3147620 on 2016/09/30 by Olaf.Piesche

	#jira UE=34486
	particle component tick function task can be invalid during pause; add check

Change 3148028 on 2016/10/01 by Daniel.Wright

	Renamed RenderingSettings.cpp to match header

Change 3148059 on 2016/10/01 by Daniel.Wright

	Disabled reparenting in the profiler which is disorienting

Change 3148067 on 2016/10/01 by Daniel.Wright

	Support for ReflectionEnvironment and light type show flags with ForwardShading

Change 3148069 on 2016/10/01 by Daniel.Wright

	Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars

Change 3148072 on 2016/10/01 by Daniel.Wright

	Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing.  r.ReflectionEnvironmentLightmapMixBasedOnRoughness

Change 3148073 on 2016/10/01 by Daniel.Wright

	r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream

Change 3148074 on 2016/10/01 by Daniel.Wright

	Enabled planar reflection receiving on the material used for the preview of a APlanarReflection

Change 3148084 on 2016/10/01 by Daniel.Wright

	Fixed reflections on Surface TranslucencyVolume in deferred

Change 3148085 on 2016/10/01 by Daniel.Wright

	Fixed planar reflection composite being done too many times in stereo deferred

Change 3148086 on 2016/10/01 by Daniel.Wright

	Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.

Change 3148107 on 2016/10/01 by Daniel.Wright

	CIS fix

Change 3148113 on 2016/10/01 by Daniel.Wright

	Translucency lighting modes for forward shading
	* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway

Change 3148306 on 2016/10/02 by Rolando.Caloca

	DR - vk - Fix for some NV drivers on Win10

Change 3148307 on 2016/10/02 by Rolando.Caloca

	DR - vk - Compute pipeline

Change 3148358 on 2016/10/02 by Rolando.Caloca

	DR - vk - Consolidate and renumber enum for binding types

Change 3148396 on 2016/10/03 by Rolando.Caloca

	DR - vk - Warning fix

Change 3148697 on 2016/10/03 by Benjamin.Hyder

	Submitting M_Chromebal after enabling planar reflectionsl

Change 3148799 on 2016/10/03 by Rolando.Caloca

	DR - vk - static analysis fix

Change 3148934 on 2016/10/03 by Chris.Bunner

	Added pre-skinned local position material graph node, vertex shader only.

Change 3148994 on 2016/10/03 by Chris.Bunner

	Added missing header file.

Change 3149085 on 2016/10/03 by Daniel.Wright

	Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead

Change 3149095 on 2016/10/03 by Rolando.Caloca

	DR - vk - Disable new render passes

Change 3149125 on 2016/10/03 by Rolando.Caloca

	DR - vk - Fix for multiple memory types

Change 3149181 on 2016/10/03 by Rolando.Caloca

	DR - Better message when missing pipelines

Change 3149215 on 2016/10/03 by Rolando.Caloca

	DR - RHIClearColor -> RHIClearColorTexture
	#tests Orion Editor run match on Agora_P

Change 3149288 on 2016/10/03 by Chris.Bunner

	Added PreTonemapHDRColor for buffer visualization and target output.
	#jira UE-36333

Change 3149402 on 2016/10/03 by Daniel.Wright

	Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)

Change 3149403 on 2016/10/03 by Daniel.Wright

	Forward lighting supports lighting channels

Change 3149574 on 2016/10/03 by Marcus.Wassmer

	PR #2817: Ansel/Photography system (Contributed by adamnv)
	Modified to become a plugin

Change 3149615 on 2016/10/03 by Rolando.Caloca

	DR - vk - Fix PF_G16R16 which fixes reflections

Change 3149639 on 2016/10/03 by Olaf.Piesche

	Adding more ensures to catch NaNs occasionally appearing in particle locations early

Change 3149745 on 2016/10/03 by Uriel.Doyon

	Moved UVDensity computation in the staticmesh DDC.

Change 3149749 on 2016/10/03 by Daniel.Wright

	Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility

Change 3149755 on 2016/10/03 by Benjamin.Hyder

	Checking in built lighting for QA-postprocessing

Change 3149758 on 2016/10/03 by Benjamin.Hyder

	re-submitting built lighting for QA-PostProcessing

Change 3149940 on 2016/10/04 by Gil.Gribb

	Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3150098 on 2016/10/04 by Marcus.Wassmer

	Fix some clang and win32 errors

Change 3150323 on 2016/10/04 by Rolando.Caloca

	DR - vk - Static analysis fix

Change 3150456 on 2016/10/04 by Daniel.Wright

	Revert temp logs

Change 3150731 on 2016/10/04 by Daniel.Wright

	Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid

Change 3150795 on 2016/10/04 by Marcus.Wassmer

	Fix RHIClearUAV and Drawindirect bugs on PS4.
	Also fix PS4 compile error from bad merge.

Change 3151065 on 2016/10/04 by Ben.Marsh

	Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)

Change 3151134 on 2016/10/04 by Brian.Karis

	Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.

Change 3151201 on 2016/10/04 by Marcus.Wassmer

	Nvidia approved icon for ansel plugin.

Change 3151240 on 2016/10/04 by Marcus.Wassmer

	Fix string concat build error.

Change 3151258 on 2016/10/04 by Ben.Marsh

	Fix compile error.

Change 3151290 on 2016/10/04 by Marcus.Wassmer

	Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.

Change 3152104 on 2016/10/05 by Chris.Bunner

	Workaround for legacy BreakMA material node invalid component masks.
	#jira UE-36832

Change 3152130 on 2016/10/05 by Ben.Woodhouse

	Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
	#jira UE-35890

Change 3152240 on 2016/10/05 by Rolando.Caloca

	DR - Fix for missing gizmo colors
	#jira UE-36515

Change 3152338 on 2016/10/05 by Daniel.Wright

	Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker

Change 3152833 on 2016/10/05 by Brian.Karis

	Improved precision of quadrics. Fixes bad triangles on large meshes

Change 3153376 on 2016/10/06 by Rolando.Caloca

	DR - Fix for SM4 missing pipelines fallout

Change 3153650 on 2016/10/06 by Gil.Gribb

	Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3153656 on 2016/10/06 by Uriel.Doyon

	Fixed main integration compilation issues.
	Some of the Mesh UVDensity UI is temporary disabled.

Change 3153725 on 2016/10/06 by Uriel.Doyon

	Fixed crash when source data is missing for lightmaps
	#jira UE-36157

Change 3153998 on 2016/10/06 by Gil.Gribb

	Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)

Change 3154056 on 2016/10/06 by Marcus.Wassmer

	Fix compile errors from merge.  Also restore some light scencario code

Change 3154176 on 2016/10/06 by Marcus.Wassmer

	Fix deprecation warning

Change 3154252 on 2016/10/06 by Marcus.Wassmer

	Fix more deprecation warnings

Change 3154632 on 2016/10/07 by Chris.Bunner

	Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
	#jira UE-37002

[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
Josh Adams
1b81c281d4 Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3120366)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 2714591 on 2015/10/02 by Ben.Marsh

	Initial branch of files from Engine-Main (//UE4/Engine-Main) to Dev-Platform (//UE4/Dev-Platform)

Change 2916715 on 2016/03/21 by Daniel.Lamb

	First pass at splitting out build cook run into into seperate scripts.

Change 2948322 on 2016/04/19 by Nick.Shin

	update libwebsockets to v1.7.4

	part 4 of 4 - doing this in stages for tracking purposes

	#jira UEPLAT-1246  -  Update libWebsockets
	#jira UEPLAT-1221  -  update websocket library
	#jira UEPLAT-1204  -  Rebuild libwebsockets with SSL

Change 2970016 on 2016/05/07 by Nick.Shin

	undo all of the following upgrades:
	- zlib
	- openssl
	- libcurl
	- libwebsockets

	and reset webrtc

	#jira UE-30298 - Fortnite and Orion crash on login

Change 3059693 on 2016/07/21 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3061151 on 2016/07/22 by Niklas.Smedberg

	Fast ASTC texture compression, using ISPC.

	#jira UE-32308

Change 3061428 on 2016/07/22 by Peter.Sauerbrei

	Back out changelist 3061151 as it wasn't approved for submission

Change 3061970 on 2016/07/22 by Steve.Cano

	Adding AdMob interstitital ad support for Android, including Blueprint functions

	#jira UE-33286
	#ue4
	#android

Change 3062160 on 2016/07/22 by Mark.Satterthwaite

	Fix the fix for handling RHISetStreamSource overriding stride on Metal - not all MTLVertexDescriptors are equally hashable so do this ourselves.
	#jira UE-33355

Change 3062770 on 2016/07/24 by Brent.Pease

	UE-32397 Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows

Change 3063227 on 2016/07/25 by Dmitry.Rekman

	Update hlslcc cross-compile after libc++ change.

Change 3063314 on 2016/07/25 by Jeff.Campeau

	Xbox One DLL loading
	Receipts can be read back by request for target info

Change 3063329 on 2016/07/25 by Mark.Satterthwaite

	CL #3046743 was breaking other samples in unexpected ways after a recent Main merge, so make a Metal-specific change to the shader instead and amend the MetalBackend to better match HLSL's handling of NaN/inf with common single-precision float intrinsics. This is sufficient to fix the AtmosphericFog and the recent regressions.
	#jira UE-33600
	#jira UE-33028
	#jira UE-27879
	#jira UE-25802

Change 3063492 on 2016/07/25 by Brent.Pease

	UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16
	UE-33200 - A movie isn't played on iOS occasionally.

Change 3063729 on 2016/07/25 by Dmitry.Rekman

	Linux: enable XGE on all platforms.

	#tests Cross-compiled a number of Linux targets on Windows.

Change 3063732 on 2016/07/25 by Dmitry.Rekman

	Fixed formatting (spaces->tabs) in previous change.

Change 3063750 on 2016/07/25 by Daniel.Lamb

	Added code to dump the cook modification delegate loads to log.
	Fixed the memory usage output log.
	#test cook paragon.

Change 3063804 on 2016/07/25 by Daniel.Lamb

	Added cookpartialgc additional commandline option to uat.
	#test UFE

Change 3064008 on 2016/07/25 by Mark.Satterthwaite

	For non-shipping builds conditionally bind a default uniform buffer in Metal and report an error if the slot was unbound, if our validation layer is enabled attempt to report the shader source in question. This relies on the shader compiler providing accurate information about uniform buffer bindings and won't fix all occurances of bad uniform usage (if a buffer is bound but too short the result will be GPU restarts or an error in Apple's validation layer - we can't detect this case) but will help debug the typical error of leaving an active slot unbound.
	#jira FORT-27685

Change 3064141 on 2016/07/25 by Jeff.Campeau

	Rebuild vpxmd.lib with delayed codegen disabled (fixes linker warning building Win64).

Change 3065024 on 2016/07/26 by Nick.Shin

	Change filetype
	remove exclusive check out bit

	requested by or.coheni & nick.penwarden

Change 3065274 on 2016/07/26 by Jonathan.Fitzpatrick

	DirectoriesToAlwaysStageAsUFS now properly filters out *.uasset and *.umap files
	This prevents the bug where cooked assets get trampled by staging their uncooked version on top of them during the UFS step

	Added a file filter to DirectoriesToAlwaysStageAsUFS for uasset and umap.

Change 3066338 on 2016/07/27 by Mark.Satterthwaite

	Handle releasing an SRV/UAV & the source object within a single Metal command-buffer.
	#jira UE-33779

Change 3066789 on 2016/07/27 by Daniel.Lamb

	Realtime mode does not save any packages anymore unless they are ready.
	#test cookontheside, cookbythebook shooter game

Change 3066847 on 2016/07/27 by Jeff.Campeau

	Fix define
	#2634
	#jira UE-33813

Change 3068868 on 2016/07/28 by Mark.Satterthwaite

	Extend hlslcc's handling of switch-statements to allow implict casts from scalar bool, half & float as HLSL itself permits while also making sure it errors if the expression input is not scalar. This fixes shader compile errors in UT.

Change 3070040 on 2016/07/29 by Dmitry.Rekman

	Delete Nadzorca.

Change 3070947 on 2016/07/29 by Jeff.Campeau

	Perforce C++ API 2015.2 (includes debug libraries)

Change 3073707 on 2016/08/02 by Daniel.Lamb

	Derived data cache commandlet runs resolve string asset references to load any string asset refereced packages from the map.
	Also process async results from shaders being compiled so they can have their memory resources released.
	#test DerivedDataCache commandlet shootergame.

Change 3076613 on 2016/08/03 by Brent.Pease

	 + UnrealTargetConfiguration is now passed into deploy and package methods
	 + The UIRequiredDeviceCapabilities  plist key now only considers the architectures from the corresponding target configuration (shipping or development)

Change 3076668 on 2016/08/03 by Brent.Pease

	Back out changelist 3076613

Change 3077157 on 2016/08/04 by Daniel.Lamb

	Fixed up DLC staging so that it stages to the proper mount point.
	Fixes up include engine content in DLC staging paths.
	#test Made up shooter game DLC

Change 3077191 on 2016/08/04 by Daniel.Lamb

	More smartly process async shader compilation if we are waiting for it.
	#test cook on the side shooter game cook by the book shooter game.

Change 3077412 on 2016/08/04 by Mark.Satterthwaite

	Fix "iOS Metal-based build crashes at launch with sub-levels":
	- Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything.
	- To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects.
	- Fix validation error of texture reallocation on loading template projects under Metal.
	#jira UE-30847

Change 3077958 on 2016/08/04 by Brent.Pease

	 + UnrealTargetConfiguration is now passed into deploy and package methods
	 + The UIRequiredDeviceCapabilities  plist key now only considers the architectures from the corresponding target configuration (shipping or development)

Change 3079503 on 2016/08/05 by Mark.Satterthwaite

	Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised.
	#jira UE-33856

Change 3079737 on 2016/08/05 by Jeff.Campeau

	Add support for delay load DLLs on Xbox One
	Turn off warnging for missing PDBs to match VCToolchain.cs

Change 3081005 on 2016/08/08 by Mark.Satterthwaite

	Fix-up Metal device name on AMD for macOS 10.12 which reports it correctly and enable tiled reflections on Intel from macOS 10.12 too as they now work.

Change 3081557 on 2016/08/08 by Daniel.Lamb

	File-> Package saves all packages before starting packaging.
	#test File package first person template

Change 3082215 on 2016/08/09 by Lee.Clark

	PS4 - Added 4k profile

Change 3082412 on 2016/08/09 by Daniel.Lamb

	Fixed cook on the fly server not handling cook requests.
	#test Cook on the fly shooter game.

Change 3082955 on 2016/08/09 by Dmitry.Rekman

	Linux: convert existing Strcat() uses to Strncat().

	- Strcat() does not check destination size so can silently corrupt memory. While this was not observed, this conversion removes this concern altogether.

Change 3083772 on 2016/08/10 by Luke.Thatcher

	[PLATFORM] [PS4] [+]
	Checking in PS4CrashHandler files so we have a copy in Perforce rather than just on the server.
	 - Taken from \\devweb-02 and removed all the unused files/dependencies.
	 - Created a publish profile pointing to \\devweb-02\Sites\PS4Services\PS4CrashHandlerDev so I'm not writing over the existing deployed crash handler.
	 - Moved all code in the Page_Load event to inside the check for the HTTP method (POST) otherwise GET'ing the page from a browser will generate crash folders that hang around forever.

Change 3085450 on 2016/08/11 by Lee.Clark

	PS4 - Fix mediaplayer pipeline allocation

Change 3086360 on 2016/08/11 by Michael.Trepka

	Fixed a non-unity build error in Mac UnrealFrontend

Change 3087224 on 2016/08/12 by Luke.Thatcher

	[PLATFORM] [PS4] [~]
	Refactor PS4 Crash Handler site
	 - Removed CoreDumpHandler. Processing dump files is handled directly by an async thread within the aspx process.
	 - Separated configuration values into their own class. Currently set to output to a testing directory, rather than the actual crash reporter landing zone.
	 - Added a debug upload page to allow manual submission of .orbisdmp/.txt settings files, accessible by GET'ing Default.aspx.
	 - Added logging. Logs self-delete after 30 days.

	Testing required before we switch to the new system.

	#jira UE-34504
	#jira OR-26886

Change 3087626 on 2016/08/12 by Dmitry.Rekman

	PR #2689: Fix copying/duplicating failing on Linux (UE-34586).

	- Contributed by Web-eWorks.

Change 3087991 on 2016/08/12 by Mark.Satterthwaite

	Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS.
	- Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial.
	- Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there.
	- OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time.
	- Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output.
	- On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching.
	- On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code.
	- AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format.
	- Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled.
	#jira UE-34315

Change 3088790 on 2016/08/15 by Luke.Thatcher

	[PLATFORM] [PS4] [~]
	Hook new PS4 crash handler up to the crash reporter website.
	 - Removed indentation from generated crash context XML file. The crash reporter process does manual XML parsing which doesn't correctly handle whitespace at the start of lines.
	 - Switched the final output folder to match the one the crash reporter process is watching.
	 - Hide upload form on a config variable.

	#jira UE-34504
	#jira OR-26886

Change 3089060 on 2016/08/15 by Luke.Thatcher

	[PLATFORM] [PS4] [!]
	Change PS4 crash handler log file extension to ".ps4chlog", otherwise the crash reporter site attaches the wrong log file to the crash report.
	Allowed showing of debug upload form via "Default.aspx?showform=1" query string.

	#jira UE-34504
	#jira OR-26886

Change 3089089 on 2016/08/15 by Mark.Satterthwaite

	Duplicated changes to AppleMovieStreamer from CL #3088149.
	#jira UE-34315

Change 3089460 on 2016/08/15 by Mark.Satterthwaite

	Duplicate CL #3080971:
	Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared.
	#jira UE-34355

Change 3089465 on 2016/08/15 by Mark.Satterthwaite

	For Metal shader translation retain more precision for float constants -1.0f >< 1.0f by emitting them in scientific notation - prevents Hammersley constant amongst others from being flushed to 0.

Change 3089902 on 2016/08/15 by Daniel.Lamb

	Changed the next compiling ID to the correct compiling ID.
	#test Cook

Change 3089903 on 2016/08/15 by Daniel.Lamb

	Cooker monitors config useage during cook and uses those settings to invalidate cooked content instead of all config settings.

Change 3090114 on 2016/08/16 by Luke.Thatcher

	[PLATFORM] [PS4] [~]
	Minor change to PS4 settings text on crash handler site.

Change 3090949 on 2016/08/16 by Nick.Shin

	WebSocketNetDriver crash fix

	filled in missing chunk of code that calls PacketHandler's "packet modifiers"

	#jira UE-25492   HTML5 Client cannot connect to Windows Server
	#jira UE-30880   WinServer crashes when NetDriver is set to WebSocket and Client attempts to connect via websocket
	#code.review john.pollard john.barrett

Change 3091265 on 2016/08/16 by Brent.Pease

	Add IOS support to HarfBuzz

Change 3091267 on 2016/08/16 by Brent.Pease

	Add references to fix mono build

Change 3091291 on 2016/08/16 by Nick.Shin

	CIS warning fix

	#jira UE-25492   HTML5 Client cannot connect to Windows Server
	#jira UE-30880   WinServer crashes when NetDriver is set to WebSocket and Client attempts to connect via websocket

Change 3091781 on 2016/08/17 by Joe.Barnes

	UE-33640: Exposed UPrimitiveComponent::IsAnyRigidBodyAwake() to Blueprints.

Change 3092687 on 2016/08/17 by Daniel.Lamb

	Added support for using binned allocator in cooker instead of tbb.
	#test Cook shootergame.

Change 3093867 on 2016/08/18 by Mark.Satterthwaite

	Use a read/write mutex to protect access to Metal's internal shader pipeline caches so that parallel threads can progress in the common case where new shaders are not being compiled.

Change 3093950 on 2016/08/18 by Mark.Satterthwaite

	Change the Mac GPU identification code to cope with AMD's new naming scheme on 10.12.

Change 3093951 on 2016/08/18 by Mark.Satterthwaite

	More SCW threads on Mac - they work now.

Change 3093960 on 2016/08/18 by Mark.Satterthwaite

	Increase the default number of command-buffers on Mac because bigger games overflow the current limit of 64 per queue.

Change 3096493 on 2016/08/22 by Jeff.Campeau

	Use Xbox version of DirectX include.

Change 3097509 on 2016/08/23 by Luke.Thatcher

	[PLATFORM] [PS4] [+]
	Refactor PS4 Symbol Publish
	 - Moved the SymStore task from Win.Automation to BuildGraph.Automation, and made it more generic.
	 - The specifics of uploading symbols are now implemented in the platform tool chain, alongside StripSymbols().
	 - Re-generated the build graph schema file.
	 - Removed the old PS4 symbols upload path in the package step.

	Modified OrionBuild.xml to publish symbols for all PS4 dev, test and shipping config builds of OrionClient.

Change 3097635 on 2016/08/23 by Luke.Thatcher

	[PLATFORM] [PS4] [+]
	Refactor Age Symbols task in UAT.
	 - Moved the AgeStore task from Win.Automation to BuildGraph.Automation and made it more generic.
	 - Symbol server directory structure is now defined by the platform tool chain, which the common task uses to clean out old symbols.
	 - Added a "filter" parameter to prevent age tasks deleting symbols from unrelated builds in shared symbol servers.

	Modified OrionBuild.xml to age both the Windows and PS4 symbol stores.

Change 3097713 on 2016/08/23 by Luke.Thatcher

	[PLATFORM] [PS4] [+]
	Enable new PS4 crash handler server
	 - Created live deployment profile and applied the required config file changes.

Change 3099214 on 2016/08/24 by Luke.Thatcher

	[PLATFORM] [PS4] [!]
	Fix compile error in PS4 tool chain. For some reason, this only breaks ocassionally. Maybe we're alternating between the 2013 and 2015 C# compilers depending on what initiates the build (e.g. Visual Studio vs GenerateProjectFiles)?

Change 3099222 on 2016/08/24 by Luke.Thatcher

	[PLATFORM] [PS4] [+]
	Added PS4 support for FPlatformMisc::MessageBoxExt using the MsgDialog library.
	 - Note, only one and two button message dialogs are supported (limitation of MsgDialog).

Change 3099260 on 2016/08/24 by Luke.Thatcher

	[PLATFORM] [PS4] [~]
	Better PS4 exit function. Calls quick_exit instead of abort when we've not asserted. Allows for a "cleaner" forced exit without generating a crash dump.

Change 3101192 on 2016/08/25 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3101944 on 2016/08/25 by Daniel.Lamb

	Ask to save the current level when we are using launch on.

Change 3102036 on 2016/08/25 by Nick.Shin

	check for minimum expected size upon data received from network

	#jira UE-13657 - HTML5 plugin OnRawRecieve overflow

Change 3102115 on 2016/08/25 by Brent.Pease

	 - Fix small errors that probably only show up in the mac mono build

	#code.review peter.sauerbrei

Change 3102747 on 2016/08/26 by Jeremiah.Waldron

	Re-submitting OnlineSubsystemGameCircle with TPS permission for Amazon SDK
	 - Also fixed the plugin to remove any related files from the final package when IAP is disabled or GameCircle support itself is disabled with the plugin still enabled
	 - Added support for new AlreadyOwned IAP response code as well which is already used for GooglePlay and IOS

Change 3102900 on 2016/08/26 by Nick.Shin

	since last checkin (CL: 2981945) - prints are crashing the browser - this change will allow browser to print the details via console.log()

	#jira UE-26047 - HTML5 HTTP Response Headers not implemented

Change 3103130 on 2016/08/26 by Brent.Pease

	UE-24679 - Enable the ability to change ports for a firewall to pass them through rsync

Change 3103225 on 2016/08/26 by Daniel.Lamb

	Fixed issue with warning which would cause crash.

Change 3103425 on 2016/08/26 by Dmitry.Rekman

	Enable offscreen GL rendering without X.

	- Added new video subsystem to SDL that is uses EGL to initialize the context.
	- Most windoing functions stubbed.
	- Also added a new test case to TestPAL for easier debugging.

Change 3104743 on 2016/08/29 by Brent.Pease

	Support remote offline metal shader compilation

Change 3105051 on 2016/08/29 by Brent.Pease

	UE-2382 - TASK: MobleMVP: iOS: Add ability to view iOS device console output in the editor UFE

	 - IOS Automation will now create a thread to collect the console logs from the device and send them to C# Console output while the app is running on device
	 - Made ProcessResult an interface (IProcessResult) which ProcessResult implements. This allows platforms to provide their own implementation if needed.
	 - Moved the RunLoop related parts of CoreFoundation into MobileDevice.cs

Change 3105053 on 2016/08/29 by Brent.Pease

	 - IOS dll's as part of the last check-in

Change 3106853 on 2016/08/30 by Jeff.Campeau

	Implement FD3D11DynamicRHI::RHICreateComputeFence to prevent memory overwrite

Change 3107361 on 2016/08/30 by Dmitry.Rekman

	Renderer: changes to allow postproc delegates.

Change 3107362 on 2016/08/30 by Dmitry.Rekman

	Plugin with a CUDA postproc example.

	- Linux version only. Runs under a headless GL too (without X).
	- Disabled during cross-compilation, can be compiled natively only.
	- CUDA kernel should be compiled separately, CMakefile with compilation attached (can be used to generate VStudio projects as well).
	- To test the output, run under the debugger, interrupt and set global variable GSaveTheOutput to 50 (this will write out kernel output buffer 50 times as .bmp files into working directory).

Change 3107913 on 2016/08/31 by Daniel.Lamb

	Fixed loading of cooked content in the editor.

Change 3107916 on 2016/08/31 by Daniel.Lamb

	Added error case when shader compilation fails to notify shader.
	#test Cook shooter game.

Change 3108080 on 2016/08/31 by Josh.Adams

	- Fixed PS4Automation compile errors

Change 3109077 on 2016/08/31 by Brent.Pease

	Fix C# debug builds by specifying x64 and add reference to MobileDeviceInterface

Change 3110086 on 2016/09/01 by Dmitry.Rekman

	Fix race condition in PThread runnable (UE-35074).

	- Instead of relying on busy-wait, join the threads. This prevents race between PostRun() (executed in the context of the thread) and FPThreadRunnableThread() destructor (see UE-34909).
	- Do not use an invalid value for pthread_t, since there's none.

Change 3110172 on 2016/09/01 by Dmitry.Rekman

	Fixed a crash exiting VR Preview on Windows GL4 (UE-28708).

	- PR #2188 submitted by ardneran.

Change 3110313 on 2016/09/01 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3111134 on 2016/09/01 by Dmitry.Rekman

	UBT: prevent mono from hanging on Ctrl-C.

	- Sometimes Ctrl-C can cause thread creation to fail. Without this change, UBT would lock up.

Change 3111171 on 2016/09/01 by Brent.Pease

	Move all C# projects to use the x64 Platform for consistency with other changes made to move to the x64 Platform

Change 3111177 on 2016/09/01 by Dmitry.Rekman

	Fix Linux build on systems without CUDA (UE-35460).

Change 3111548 on 2016/09/02 by Luke.Thatcher

	[PLATFORM] [PS4] [!]
	Fix for PS4 iterative deployment.
	 - Changes in Dev-Mobile broke the deployment manifests, as PS4 was now using the wrong filename when creating delta and obsolete file lists.

Change 3111863 on 2016/09/02 by Dmitry.Rekman

	Better fix for build without CUDA (UE-35460).

Change 3112738 on 2016/09/02 by Mark.Satterthwaite

	Fix the pausing particles on Metal - one line bug in the Metal query implementation meant that the first query wouldn't return the correct result for no good reason.
	#jira UE-34989

Change 3114579 on 2016/09/06 by Chris.Babcock

	Fix Vulkan include path in NDK check (contributed by geediiiiky)
	#jira UE-35490
	#github #2758
	#ue4
	#android

Change 3115115 on 2016/09/06 by Jeff.Campeau

	Calculate buffer size for paks using the bitwindow override as needed

Change 3115600 on 2016/09/07 by Luke.Thatcher

	[PLATFORM] [PS4] [~]
	Make the crash dump handler registration much earlier, to catch crashes in early engine init.
	 - Fixed up places in FGenericCrashContext::SerializeContentToBuffer which used the command line. If we crash early, the command line may not have been initialized yet.
	 - Added a GetNoInit function to FThreadHeartBeat to avoid creating the heart beat thread if we crash early, and the thread doesn't exist yet.

	Tested by calling abort() immediately inside int main(), and we get a valid crash dump that the crash handler service can consume.

Change 3115676 on 2016/09/07 by Luke.Thatcher

	[PLATFORM] [~]
	Dev-Platform integration fix for original CL 3064888 in //Orion/Release-29.1
	Add .exe and .dll to windows symbol upload file filters.

Change 3115811 on 2016/09/07 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3115944 on 2016/09/07 by Michael.Trepka

	Implemented IsGamepadAttached() for Mac

Change 3115948 on 2016/09/07 by Michael.Trepka

	Don't try to restore Help menu item on Mac if MenuBlock does not contain it

Change 3116200 on 2016/09/07 by Jeff.Campeau

	Fix parameter ordering

Change 3117660 on 2016/09/08 by Josh.Adams

	Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)

Change 3117728 on 2016/09/08 by Michael.Trepka

	Copy of CL 3117698 by Mike.Fricker

	Fixed regression with editor's Simulate mode where cursor would teleport back to the center of the viewport after every click
	- This bug was introduced in CL 3075932 from a borderless window cursor handling fix that was needed for games that capture the cursor

Change 3117797 on 2016/09/08 by Peter.Sauerbrei

	Shader Resource compression

Change 3117988 on 2016/09/08 by Brent.Pease

	 - Solutiion generator will now pick x64 instead of AnyCPU for the default platform configuration
	 - Fix what I think was a merge error in BuildGraph.cs

Change 3118296 on 2016/09/08 by Daniel.Lamb

	Fixed crash with launch on.  Couldnt' correctly detect previous generated ini settings.
	#test launch on QA game
	#jira UE-35741

Change 3118438 on 2016/09/08 by JohnHenry.Carawon

	Fix UAT compilation on Linux
	#UE-35745

Change 3118934 on 2016/09/08 by Jeff.Campeau

	Shader compression setting based on target platform instead of cooking host platform.

	#jira UE-35753

Change 3120190 on 2016/09/09 by Ben.Marsh

	Add missing Platform attribute to build script for Dev-Platform.

[CL 3120378 by Josh Adams in Main branch]
2016-09-09 20:13:41 -04:00
Gil Gribb
cbeb7d3bfe Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3109293)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3091951 on 2016/08/17 by Chris.Bunner

	(Duplicate) CL 3090919: Fixed edge case interactions in HLOD ray rejection logic in Lightmass.

Change 3093162 on 2016/08/18 by Ben.Woodhouse

	Fix minor memory leak (missing delete of RT Heartbeat thread)

Change 3093470 on 2016/08/18 by Ben.Woodhouse

	Fix minor leak in FMonitoredProcess - the Thread member would get leaked if the FMonitoredProcess was cancelled, because it gets NULLed without deleting it.  Fix is to add a bool to keep track of whether the thread is running, rather than using the Thread pointer.
	Also fixes a race condition where the FMonitoredProcess::Thread member could get initialized after the thread had completed. This would cause IsRunning to never return false, even if the thread has completed, and the editor would hang on startup (this was fixed by setting bIsRunning to true before creating the thread)

Change 3093698 on 2016/08/18 by Daniel.Wright

	Translucent lighting volume draw event cleanup

Change 3093700 on 2016/08/18 by Daniel.Wright

	Clamp on box reflection capture transition distance visualizer

Change 3093755 on 2016/08/18 by Ryan.Vance

	Merging stereo planar reflections from Odin.

Change 3094060 on 2016/08/18 by Daniel.Wright

	Fully featured base pass reflection captures with blending and parallax correction
	* Used in the forward renderer when materials opt-in to 'High Quality Reflections'
	* Used in the deferred renderer for translucent 'Surface ForwardShading' materials
	* Reflection captures are culled to a frustum space grid using the same reverse linked-list method as lights in the forward renderer
	* Fixed grid culling in stereo / splitscreen
	* The ReflectionEnvironment compute shader used in the deferred path also uses the culled grid now which reduces its cost from .93ms -> .70ms on 970 GTX.  PS4 cost is about the same.
	* Capsule indirect self-shadowing is now reduced in the forward path to match deferred, and both are controlled by r.CapsuleIndirectShadowSelfShadowIntensity
	* SetupHZB is now skipped when SSAO / SSR / HZB are all disabled

Change 3094160 on 2016/08/18 by Daniel.Wright

	CIS fixes

Change 3094899 on 2016/08/19 by Ben.Woodhouse

	Batching optimization for dragging components onto blueprints, reported on UDN. Adding 2300 static mesh actors now takes 3 seconds instead of 40 minutes.
	https://udn.unrealengine.com/questions/305821/suspected-rhi-uniform-buffer-leak-when-adding-stat.html

	#jira UE-34937

Change 3095256 on 2016/08/19 by Daniel.Wright

	Disabled ISR warning spamming CIS

Change 3095468 on 2016/08/19 by Daniel.Wright

	Fixed refcounting on hit proxy render targets

Change 3095470 on 2016/08/19 by Daniel.Wright

	Added bVisibleInReflectionCaptures to primitive component, which is useful for hiding objects too close to the capture point

Change 3096274 on 2016/08/22 by Rolando.Caloca

	DR - vk - added missing BC4

Change 3096291 on 2016/08/22 by Rolando.Caloca

	DR - vk - Fix image views for some rendertarget formats
	- Fix ImageViews on sub mips

Change 3096579 on 2016/08/22 by Rolando.Caloca

	DR - vk - Fix rendering for shaders with no descriptors

Change 3096584 on 2016/08/22 by Rolando.Caloca

	DR - vk - Fix 3d texture update

Change 3096813 on 2016/08/22 by Rolando.Caloca

	DR - Fix GL linking errors
	PR #2615

Change 3097062 on 2016/08/22 by Rolando.Caloca

	DR - vk - Added unified mem flag
	- Added Mip index into UAV
	- Switched compute descriptor set index 0

Change 3097065 on 2016/08/22 by Rolando.Caloca

	DR - vk - Framebuffer barriers now wait on STAGE_FRAGMENT_SHADER instead of STAGE_BOTTOM_OF_PIPE

Change 3097084 on 2016/08/22 by Daniel.Wright

	Enabled r.VertexFoggingForOpaque by default to match other forward renderer choices (fast by default)

Change 3097086 on 2016/08/22 by Rolando.Caloca

	DR - vk - Missed file

Change 3097943 on 2016/08/23 by Rolando.Caloca

	DR - hlslcc - Remove duplicated definitions out into a common header

Change 3098166 on 2016/08/23 by Rolando.Caloca

	DR - Custom Renderer callback after getting SceneColor

Change 3098418 on 2016/08/23 by Olaf.Piesche

	Moving vertex factory dirtying to always happen in-editor for mesh emitters on dynamic data reinitialization; there are several cases in which this needs to happen (some material changes, mesh reimports...) which are difficult to track, so in-editor we just always recreate the mesh particle vertex factory with the dynamic data.

	#jira UE-34838

Change 3098448 on 2016/08/23 by Rolando.Caloca

	DR - vk - fixes for depth/stencil descriptors
	- Minor debug dump improvement

Change 3098463 on 2016/08/23 by Daniel.Wright

	Static lights with MinRoughness = 1.0 don't get their source shapes drawn into reflection captures, since they are being used as virtual area lights

Change 3098556 on 2016/08/23 by Daniel.Wright

	Lightmass area shadows only mark texels as mapped inside the light's influence, which fixes multiple stationary lights with bUseAreaShadowsForStationaryLight interfering.

Change 3098672 on 2016/08/23 by Rolando.Caloca

	DR - vk - Fixed crash when using vertex shaders with no descriptors

Change 3099173 on 2016/08/24 by Ben.Woodhouse

	Fixed various issues with subsurface profile, for checkerboard and non-checkerboard code paths

	- Re-enable non-checkerboard skin by default

	- Checkerboard issues fixed:
	    - Emissive lighting was being applied twice due to not taking checkerboard pattern into account
	    - Emissive lighting was modulated by basecolor in the recombine
	    - Metallic materials were contributing specular lighting to the diffuse channel

	 - Non-checkerboard fixes:
	    - Fix write mask during SkyLightDiffuse so alpha is updated correctly
	    - Metallic specular lighting was broken (specularColor was lerping to white instead of baseColor)

	 - Optimisation: Fall back to default lit for pixels where the opacity is 0.
	    - For non-checkerboard, this gives better handling of metallic/emissive for pixels where SSS is not required (non-CB RGBA encoding for diffuse/spec doesn't cope well with colored specular or emissive)
	    - For checkerboard, this gives similar results in terms of shading, but we get full-resolution shading on non SSS pixels

	#jira UE-34561

Change 3099673 on 2016/08/24 by Daniel.Wright

	Removed unused reflection shape variables

Change 3099674 on 2016/08/24 by Daniel.Wright

	Fixed translucent materials not working in DrawMaterialToRenderTarget (fallout from cl 3089208)
	Fixed ensure with FRendererModule::DrawTile in the forward renderer, trying to bind light attenuation texture

Change 3099700 on 2016/08/24 by Daniel.Wright

	Disabled log spam when a Rift is connected but not being used

Change 3099730 on 2016/08/24 by Daniel.Wright

	MSAA depth resolve uses depth of closest surface, hides some artifacts with dynamic shadowing against the skybox

Change 3099789 on 2016/08/24 by Brian.Karis

	FloatRGB  is now always supported.

	If 11:11:10 isn't supported by hardware this format by definition will map to a different format meaning it is always supported.

Change 3099987 on 2016/08/24 by Daniel.Wright

	Fixed light grid debug asserts on PS4
	* Always creating the local light buffer, even if it won't be used by the shader
	* Transition ViewState FRWBuffers to writable at the beginning of a new frame

Change 3100120 on 2016/08/24 by Rolando.Caloca

	DR - vk - Use 256MB pages for GPU memory

Change 3100151 on 2016/08/24 by Daniel.Wright

	PS4 gracefully falls back to Temporal AA when MSAA is requested, as the GNM RHI doesn't support MSAA yet

Change 3100302 on 2016/08/24 by Rolando.Caloca

	DR - vk - Mem system changes
	- Now allocates a readback heap from GPU->CPU
	- Removed bad total memory on heap/type
	- Added fallback to another mem type if it's OOM

Change 3101110 on 2016/08/25 by Rolando.Caloca

	DR - vk - Remove r.Vulkan.UseGLSL

Change 3101121 on 2016/08/25 by Rolando.Caloca

	DR - vk - Initial support for HiResShot

Change 3101450 on 2016/08/25 by Rolando.Caloca

	DR - vk - Remove imagelayout from textures; renamed a method for clarity

Change 3101462 on 2016/08/25 by Daniel.Wright

	Planar reflections no longer update GPU particles, fixes Scene Depth particle collision

Change 3101525 on 2016/08/25 by Frank.Fella

	Niagara - Remove public include modules from niagara, and remove the public include dependency on niagara from UnrealEd, and fix up fallout.

Change 3101613 on 2016/08/25 by Rolando.Caloca

	DR - vk - Fix static analysis warning

Change 3101686 on 2016/08/25 by Frank.Fella

	Niagara - Move asset type actions into the niagara module.

Change 3101865 on 2016/08/25 by Rolando.Caloca

	DR - vk - Fix compile issue when enabling dump layer

Change 3101946 on 2016/08/25 by Frank.Fella

	Orion - Fix include error caused by niagara include fixup.

Change 3101999 on 2016/08/25 by Frank.Fella

	Fortnite - Fix include error caused by niagara include fixup.

Change 3102035 on 2016/08/25 by Frank.Fella

	Ocean - Fix include error caused by niagara include fixup.

Change 3102047 on 2016/08/25 by Frank.Fella

	UnrealTournament - Fix include error caused by niagara include fixup.

Change 3102627 on 2016/08/26 by Frank.Fella

	Niagara - Move stats group declaration to the niagara module and move the stats declarations in the niagara module into the cpp files.

Change 3102654 on 2016/08/26 by Ben.Woodhouse

	Fix for D3D error with mismatched vertex/pixel shader registers for SV_POSITION input. Remove unused PixelPosition attribute from interpolators
	#jira UE-33424

Change 3102780 on 2016/08/26 by Ben.Woodhouse

	Make shadow culling take FOV into account, via LODDistanceFactor
	Also set the LODDistanceFactorSquared member of the view, which was previously uninitialized
	#jira UE-33873

Change 3102930 on 2016/08/26 by Rolando.Caloca

	DR - vk - Do not require backbuffer at start, like Metal

Change 3103061 on 2016/08/26 by Rolando.Caloca

	DR - vk - More debug dump to help track down issues

Change 3103143 on 2016/08/26 by Rolando.Caloca

	DR - vk - Added partial image view for each texture for Depth/Stencil
	- Removed some unused members from textures

Change 3104162 on 2016/08/29 by Gil.Gribb

	Merging //UE4/Dev-Main@3104155 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3104491 on 2016/08/29 by Rolando.Caloca

	DR - vk - Fix merge issue

Change 3104500 on 2016/08/29 by Rolando.Caloca

	DR - Rebuilt hlslcc libs after merge

Change 3104978 on 2016/08/29 by John.Billon

	-Moved Particle Cutouts to the Required Module
	-Pre-existing SubUVAnimation data is automatically moved to required on Init.
	-Added Default Particle Cutouts project setting that will attempt to find and use a texture on a particle's material for a cutout by default.

Change 3105249 on 2016/08/29 by John.Billon

	Fixing non-editor compile error.

Change 3105326 on 2016/08/29 by Zabir.Hoque

	SIMD Movie Player on XB1

Change 3105813 on 2016/08/30 by John.Billon

	Fixing static analysis warning.

Change 3106322 on 2016/08/30 by Matt.Kuhlenschmidt

	Removed duplicated view uniform shader parameters initialization between slate and scene rendering.  Moved all the duped initialization into a single shared method.  The shared method should be where new parameters are initialized if they are required for the view to work properly.

Change 3106350 on 2016/08/30 by Rolando.Caloca

	DR - vk - Added missing texture formats
	- Added texture debug name

Change 3106547 on 2016/08/30 by Rolando.Caloca

	DR - Added ESimpleRenderTargetMode::EExistingColorAndClearDepth

Change 3106631 on 2016/08/30 by Uriel.Doyon

	Dirty Texture Streaming Build do not dirty maps anymore.
	#jira UE-35241

Change 3106919 on 2016/08/30 by Rolando.Caloca

	DR - Temp workaround to get Vulkan up & running, might require hlslcc fix

Change 3106974 on 2016/08/30 by Uriel.Doyon

	Changed lightmass exports version from GUID to INT in order to shorten filenames.

Change 3106988 on 2016/08/30 by Uriel.Doyon

	New project specific config value r.Streaming.CheckBuildStatus used to specify whether the engine should check if the "Texture Streaming Build" is dirty (false by default).
	#jira UE-35227

Change 3107927 on 2016/08/31 by John.Billon

	-Duplicating OpenGL4 ClearUAV Implementation from 4.13
	-Fixed uav clear format.
	#Jira UE-35345

Change 3108095 on 2016/08/31 by Marc.Olano

	Restore initialization of noise textures, accidentally removed in @3106322

	#jira UE-35369

Change 3108557 on 2016/08/31 by John.Billon

	Fixing HTML5 compile error

[CL 3109297 by Gil Gribb in Main branch]
2016-08-31 21:22:32 -04:00
Ben Marsh
b59ee3ed20 Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3088355 on 2016/08/13 by Max.Preussner

	Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643)

	#jira UE-34643

Change 3088331 on 2016/08/13 by Max.Preussner

	Media: Fixed Failing to load Precached Media Source (UE-34285)

	#jira UE-34285

Change 3088202 on 2016/08/12 by Zabir.Hoque

	Porting DX12 Fix from MS:

	Update D3D12 RHI for 4.13
	 - Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables.

	#jira UE-0

Change 3088149 on 2016/08/12 by Mark.Satterthwaite

	Duplicate CL #3087991:
	Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS.
	- Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms.
	- Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial.
	- Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there.
	- OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time.
	- Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output.
	- On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching.
	- On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code.
	- AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format.
	- Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled.
	#jira UE-34315

Change 3088131 on 2016/08/12 by Chris.Babcock

	Fix iterative deploy for new ADB
	#jira UE-34638
	#ue4
	#android

Change 3088106 on 2016/08/12 by Dan.Oconnor

	Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references
	#jira UE-34564

Change 3088099 on 2016/08/12 by Zabir.Hoque

	Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done.

	#Jira UE-27026

Change 3088072 on 2016/08/12 by Max.Chen

	Sequencer: Level editor camera cut flag is now a one way gate

	This resolves issues to do with the flag being erroneously reset by external forces.

	#jira UE-33875

Change 3088031 on 2016/08/12 by Jeff.Campeau

	Fix WinXP build issues in WmfMedia and SteamVR plugins.

	#jira UE-32421

Change 3088025 on 2016/08/12 by Tom.Looman

	Updated VR Template with new VR device ID blueprint node.

	#jira ue-34592

Change 3088023 on 2016/08/12 by Tom.Looman

	Added PS Move input handling support to VR Template.

	#jira UE-34188

Change 3087989 on 2016/08/12 by Michael.Trepka

	Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts.

	#jira UE-34581

Change 3087907 on 2016/08/12 by mason.seay

	New test assets for sub instance testing

	#jira UE-29618

Change 3087812 on 2016/08/12 by Maciej.Mroz

	#jira UE-34247 Nativized UMG assets not visible

	Redone cl#3087726 from Dev-Blueprints

Change 3087810 on 2016/08/12 by Jeff.Fisher

	UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor
	Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library.
	Allows one to set the minimum output color from reprojection processing.  Can be used to mitigate certain artifacts (dark smearing, reprojection edges).  See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes.
	#review-3087760 @nick.whiting
	#jira UEVR-13

Change 3087795 on 2016/08/12 by Mitchell.Wilson

	Added project thumbnail to subway sequencer.
	Added thumbnails to subway sequencer levels.
	Re-saved multiple files to resolve empty engine version and nodeguid warnings.
	#jira UE-34521 UE-34519

Change 3087730 on 2016/08/12 by Michael.Trepka

	Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml

	#jira UE-34548

Change 3087699 on 2016/08/12 by Jeff.Campeau

	Make resource generation fault tolerant of unset config values.

	#jira UE-34614

Change 3087690 on 2016/08/12 by Mitchell.Wilson

	Added a thumbnail for the BlueprintRenderToTarget level.
	#jira UE-34544

Change 3087688 on 2016/08/12 by Marc.Audy

	Fix headshot crash when tearing down physics when not registered
	#jira UE-32935

Change 3087615 on 2016/08/12 by Ben.Woodhouse

	Fix for crash in shadowsetup when frustum is invalid
	#jira UE-33014

Change 3087607 on 2016/08/12 by Max.Chen

	Sequencer: Fix Import/Export FBX

	- Import FBX now maps arbitrary float properties as well as the transform
	- Import/Export FBX now consistently operates on selected nodes or all nodes
	- Fixed exported node names so that they're consistent with Sequencer node names

	#jira UETOOL-534

Change 3087586 on 2016/08/12 by Chris.Babcock

	Add HUAWEI_Mali device model recognition for Vulkan
	#jira UE-34610
	#ue4
	#android

Change 3087529 on 2016/08/12 by Jurre.deBaare

	Fix for crash when start index != 0 and sampling at a different rate
	#jira UE-34637

Change 3087519 on 2016/08/12 by Ben.Marsh

	Pass the -ignorejunk flag on to child UBT instance when running a clean.

Change 3087455 on 2016/08/12 by Jurre.deBaare

	Alembic importer plugin needs proper logo
	#fix Replaced icon with inverted official Alembic logo
	#jira UE-34474

Change 3087360 on 2016/08/12 by Ben.Marsh

	Print out the UBT command line before running it, to help diagnose -ignorejunk problem.

Change 3087285 on 2016/08/12 by Lina.Halper

	- Add which animation it fails to compress
	- Make sure it doesn't go in there unless you have skeleton

	#jira: UE-34490

Change 3087237 on 2016/08/12 by Alex.Delesky

	#jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene.

Change 3087215 on 2016/08/12 by danny.bouimad

	#jira UE-29618 updated QA-AnimProfiles again...

Change 3087212 on 2016/08/12 by Danny.Bouimad

	#jira UE-29618 updated TM-PhysicalAnimProfiles again

Change 3087200 on 2016/08/12 by Robert.Manuszewski

	Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway.

	#jira UE-34373

Change 3087188 on 2016/08/12 by Matthew.Griffin

	Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore
	Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually

Change 3087160 on 2016/08/12 by Ben.Marsh

	Propagate the -ignorejunk option when we're building UHT as a child process in UBT.

Change 3087148 on 2016/08/12 by Ben.Marsh

	Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change.

Change 3087143 on 2016/08/12 by Danny.Bouimad

	#jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder.

Change 3087140 on 2016/08/12 by Steve.Robb

	GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs

	I have no evidence that this actually fixes anything, but it doesn't harm anything to add it...

	#jira UE-29286

Change 3087139 on 2016/08/12 by Steve.Robb

	Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed.
	This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module.

	#jira UE-31575

Change 3087107 on 2016/08/12 by Jurre.deBaare

	Alembic Import with empty first frame will cause the editor to crash
	#jira UE-34515
	#fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects
	#misc added a static const value indicating the first frame instead of hardcoded 0 array accesors
	#misc check condition fix in Runnable
	#misc log now adds new page named after the imported Alembic file

Change 3087079 on 2016/08/12 by Dmitriy.Dyomin

	Fixed: Corrupted level package on loading cooked content
	#jira UE-34591

Change 3087063 on 2016/08/12 by James.Cobbett

	#jira UE-29618 Submitting test assets for Alembic Importer

Change 3087048 on 2016/08/12 by Matthew.Griffin

	Changed Launcher Samples to create aggregate from property to avoid error in preflights
	Only notify about Launcher Samples trigger in non-preflight builds

Change 3086985 on 2016/08/12 by Maciej.Mroz

	#jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102]

	Redone cl#3083825 from Dev-Blueprints

Change 3086960 on 2016/08/12 by Matthew.Griffin

	Prevent Build DDC command from making DDC for platforms that aren't supported by project
	#jira UEB-698

Change 3086945 on 2016/08/12 by Dmitriy.Dyomin

	Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition
	#jira UE-18291

Change 3086904 on 2016/08/11 by Lina.Halper

	Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f

	#jira: UE-34570

Change 3086891 on 2016/08/11 by Lina.Halper

	DUPEFIX: CL 3086544 from Michael Noland

	Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well
	#jira UE-34223
	#tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc...
	#tests (from Lina H) started the test project from JIRA and PIE, and no crash.

Change 3086837 on 2016/08/11 by Nick.Whiting

	Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread().  This allows skel controls to use orientation and position with parallel animation

	#jira UE-32564

Change 3086797 on 2016/08/11 by Dmitry.Rekman

	Linux: fix crash on editor exit (UE-30795, UE-7519).

	- FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that.

	#jira UE-30795

Change 3086735 on 2016/08/11 by Richard.TalbotWatkin

	Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now.
	#jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash

Change 3086726 on 2016/08/11 by Jeff.Fisher

	UEVR-13 PSVR: TCR Requirements : 2DVR
	2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen.
	-Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary.
	#jira UEVR-13
	#review-3086004 @chad.taylor @nick.whiting

Change 3086652 on 2016/08/11 by Dmitry.Rekman

	Linux: re-enable ICU (UE-34012).

	- Built static libs against libc++; disabled using dynamic ones.
	- Fixes lack of rich text formatting.

	#jira UE-34012

Change 3086648 on 2016/08/11 by Nick.Whiting

	Adding support for getting the HMD Device name from code / blueprints

	#jira UE-31785

Change 3086589 on 2016/08/11 by Chad.Taylor

	Fixing Vive resolution on packaged builds

	#jira UE-34535

Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt

	Fix skeletal mesh LODs not being imported correctly.  All meshes were imported to the base LOD instead.

	#jira UE-34397

Change 3086529 on 2016/08/11 by Marc.Audy

	Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default)
	#jira UE-34287

Change 3086376 on 2016/08/11 by Peter.Sauerbrei

	remove cached file handle from iOS and Android to save memory during loads
	#jira UE-31720

Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt

	Guard against crash with corrupted editor layouts

	#jira UE-34364

Change 3086345 on 2016/08/11 by Dan.Oconnor

	ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time)
	#jira UE-34380

Change 3086272 on 2016/08/11 by Cody.Albert

	Updating First Person templates to fix cook errors

	#jira UE-22726

Change 3086259 on 2016/08/11 by Nick.Whiting

	Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used

	#jira UE-31617

Change 3086202 on 2016/08/11 by Marcus.Wassmer

	Duplicate 3086176 to fix broken shaderpipelines on PS4
	#jira UE-34540

Change 3086080 on 2016/08/11 by mason.seay

	Test animbp for sub anim instances

	#jira UE-29618

Change 3086062 on 2016/08/11 by Tom.Looman

	Migrate from //depot/usr/ into Release-4.13 for VR Template.

	#jira ue-34533

Change 3086032 on 2016/08/11 by Mike.Beach

	Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it).

	#jira UE-34350

Change 3086025 on 2016/08/11 by Olaf.Piesche

	#jira UE-32058

	Replicating fix from 3050352

Change 3085969 on 2016/08/11 by John.Pollard

	CIS fix

	#jira UE-30516

Change 3085819 on 2016/08/11 by Jurre.deBaare

	bForceOneSmoothingGroup not working for skeletal meshes
	#fix Added check for forced smoothing group and calculate normals accordingly
	#misc Spotted some non-referenced const TArrays being passed to CalculateTangents
	#jira UE-34555

Change 3085799 on 2016/08/11 by Ben.Marsh

	Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing.

Change 3085763 on 2016/08/11 by Daniel.Lamb

	Fix for circular initialization of a singleton on android causing hang when using cook on the fly.
	#jira UE-34442

Change 3085717 on 2016/08/11 by Dmitry.Rekman

	Linux: better messaging around Steam initialization (UE-32052).

	- Also added a standalone test.

	#jira UE-32052

Change 3085715 on 2016/08/11 by Chris.Bunner

	Dropped check to an ensure as there's existing handling for invalid assets in that case.
	#jira UE-23902

Change 3085714 on 2016/08/11 by Olaf.Piesche

	#jira UE-30398

	Fix offset added to particle collision locations.

	 Replicated from 3084645 in Dev-Rendering

Change 3085713 on 2016/08/11 by Chris.Babcock

	Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now)
	#jira UE-33840
	#ue4
	#android
	#ios
	#opengl

Change 3085711 on 2016/08/11 by Olaf.Piesche

	#jira UE-34106
	#jira UE-32784
	#jira UE-31198

	Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty)

	Replicated from 3083909 in Dev-Rendering

Change 3085707 on 2016/08/11 by Matthew.Griffin

	Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue

Change 3085656 on 2016/08/11 by Marc.Audy

	PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker)
	#jira UE-32418
	#jira UE-33617

Change 3085641 on 2016/08/11 by Lina.Halper

	Fixed  invalid compressed track data

	- need a better solution and added ticket for 4.14 - UE-34547

	#jira: UE-34077

Change 3085606 on 2016/08/11 by Max.Preussner

	Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381)

	#jira UE-34381

Change 3085568 on 2016/08/11 by Maciej.Mroz

	#jira UE-34436 Ensures when copy/pasting linked anim bp nodes

	FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet).

Change 3085532 on 2016/08/11 by Peter.Sauerbrei

	fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC
	#jira UE-30335

Change 3085528 on 2016/08/11 by Max.Chen

	Sequence Recorder: Fix crash when actor class to record is null.

	#jira UE-34543

Change 3085418 on 2016/08/11 by Maciej.Mroz

	#jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults

	Redone cl#3084313 from Dev-Blueprints

Change 3085395 on 2016/08/11 by John.Pollard

	Don't allow hot-reloading if we're running PIE instances

	#jira UE-30516

Change 3085377 on 2016/08/11 by Tom.Looman

	Added StarterMap (WIP) to resolve JIRA.

	#jira ue-34311

Change 3085364 on 2016/08/11 by Ben.Woodhouse

	Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur.

	#jira UE-28561

Change 3085341 on 2016/08/11 by Dmitriy.Dyomin

	Fixed: Creating Launcher Profile does not always shows all project available maps
	#jira UE-33765

Change 3085336 on 2016/08/11 by Andrew.Rodham

	Sequencer: Runtime instances are no longer updated when bluprints are recompiled

	This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register

	#jira UE-34499

Change 3085332 on 2016/08/11 by Dmitriy.Dyomin

	Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication
	#jira UE-26868

Change 3085331 on 2016/08/11 by Ben.Woodhouse

	Fix for threading related crash with precomputed lighting volumes
	#jira UE-34531

Change 3085323 on 2016/08/11 by Allan.Bentham

	Remove android specific vulkan hack to recreate depth buffer's imageview.
	#jira UE-33593
	#jira UE-33336

Change 3085313 on 2016/08/11 by Thomas.Sarkanen

	StopRecordingAnimation now uses the same maing logic as RecordAnimation

	This prevents inconsisten behaviour between record and stop record commands

	#jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor

Change 3085301 on 2016/08/11 by Allan.Bentham

	Only allow gaussian DoF on mobile. Disable DoF for all other types.
	#jira UE-34217

Change 3085292 on 2016/08/11 by Thomas.Sarkanen

	Revert change to force shipping dlls in shipping builds

	#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration

Change 3085291 on 2016/08/11 by Matthew.Griffin

	Added nodes for Linux Editor, DDC and installed build
	Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products

Change 3084973 on 2016/08/10 by Jeff.Campeau

	Use relative settings for ShooterGame manifest
	Package creation checks Xbox One target settings in Engine instead of Game config

	#jira UE-33808

Change 3084932 on 2016/08/10 by patrickr.donovan

	#jira UE-29618
	SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing.

Change 3084886 on 2016/08/10 by Daniel.Wright

	Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards
	#jira UE-33238

Change 3084878 on 2016/08/10 by Jeff.Campeau

	UFE launch command is generated with all devices requested instead of just the first.

	#jira UE-34302

Change 3084860 on 2016/08/10 by Dmitry.Rekman

	Fix CrashReportClient crashing on start (UE-32976, UE-34451).

	- Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes.

	#jira UE-32976

Change 3084756 on 2016/08/10 by Dmitry.Rekman

	Linux: clean-up compiler settings logic (UE-22715).

	- Includes parts of pull request #1704 by zaps166.
	- Disables exceptions in most builds.

	#jira UE-22715

Change 3084679 on 2016/08/10 by Richard.TalbotWatkin

	Duplicated from Dev-Editor, CL 3084475

	Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds.
	#jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server

Change 3084614 on 2016/08/10 by Daniel.Wright

	Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents
	Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior
	Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene()
	#jira UE-34321

Change 3084607 on 2016/08/10 by Jeremiah.Waldron

	Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP
	Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur

	Relates to:
	#jira UE-34283

Change 3084586 on 2016/08/10 by Jeff.Campeau

	Chunks don't assume they're done downloading at 100%.

	#jira UE-34386

Change 3084552 on 2016/08/10 by Lina.Halper

	Fix GetWorldFromContextObject to be used for another thread safer

	: Guard to modify static variabls by another thread

	#jira: UE-34416

Change 3084551 on 2016/08/10 by Mitchell.Wilson

	Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP
	Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level.
	#jira UE-32855

Change 3084535 on 2016/08/10 by Mike.Beach

	Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names.

	#jira UE-34378

Change 3084526 on 2016/08/10 by Jeff.Campeau

	Update XDK to August 2016

	#jira UEPLAT-1374

Change 3084471 on 2016/08/10 by John.Pollard

	Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown>

	#jira UE-34295

Change 3084363 on 2016/08/10 by Marc.Audy

	Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport
	#jira UE-34101

Change 3084231 on 2016/08/10 by Michael.Trepka

	Fixed a problem with the search box in blueprint context menu not getting focus on Mac

	#jira UE-20884

Change 3084229 on 2016/08/10 by Dmitry.Rekman

	Linux: remove hardcoded staged files (UE-24594).

	#jira UE-24594

Change 3084215 on 2016/08/10 by Chris.Bunner

	Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view.
	#jira UE-31936

Change 3084052 on 2016/08/10 by Jurre.deBaare

	Alembic skeletal mesh importer does not calculate correct smoothing groups
	#fix follow same routine as regular smoothing group/normal calculation
	#jira UE-34493

Change 3084029 on 2016/08/10 by Phillip.Kavan

	[UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object.

	Mirrored from //UE4/Dev-Blueprints (CL# 3082839).

	#jira UE-34458

Change 3084027 on 2016/08/10 by Ben.Woodhouse

	Fix for crash when applying BSP materials
	This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread.

	The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh.
	#jira UE-31460

Change 3083981 on 2016/08/10 by Matthew.Griffin

	Set Localization branch for Localise command to release version when running in the Release Branch
	#jira UE-34471

Change 3083970 on 2016/08/10 by Max.Preussner

	PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481)

	#jira UE-33481

Change 3083918 on 2016/08/10 by Matthew.Griffin

	Exclude UBT generated files from the installed build

Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt

	Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material

	#jira UE-34360

Change 3083890 on 2016/08/10 by Matthew.Griffin

	Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage.
	Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project.
	#jira UE-34401

Change 3083873 on 2016/08/10 by Dmitry.Rekman

	CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478).

	#jira UE-34478

Change 3083862 on 2016/08/10 by Mitchell.Wilson

	Rebuilt lighting on Advanced_Lighting level in Samples Content
	#jira UE-34383

Change 3083792 on 2016/08/10 by Benn.Gallagher

	PR #2671: Fix sub instance curve values. (Contributed by tmiv)
	PR #2668: Sub inst post anim fix (Contributed by tmiv)
	#jira UE-34162
	#jira UE-34121

Change 3083775 on 2016/08/10 by Kevin.Rushin

	QAGame - Updating VRLatency Testmap, Can freelook
	#jira UE-29618

Change 3083771 on 2016/08/10 by Robert.Manuszewski

	Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit.

	#jira UE-34371

Change 3083742 on 2016/08/10 by Lee.Clark

	4.13 - PS4 - Fix memory allocation sizes

	#jira UE-33270

Change 3083732 on 2016/08/10 by Ben.Marsh

	Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger.

Change 3083690 on 2016/08/10 by Dmitriy.Dyomin

	Fixed: Foliage instances are not included when exporting a scene to FBX
	#jira UE-34214

Change 3083654 on 2016/08/10 by Keith.Judge

	Fix analysis warnings. Simple change from Release() to SAFE_RELEASE().

	#jira UE-23059

Change 3083646 on 2016/08/10 by Thomas.Sarkanen

	Use shipping PhysX libs for installed builds

	Copy fix from UE4Game.Target.cs to apply to all packaged games

	#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration

Change 3083527 on 2016/08/10 by Dmitriy.Dyomin

	Fixed: Warning upon Undo/redo-ing of sculpting the landscape
	#jira UE-34443

Change 3083502 on 2016/08/10 by Dmitriy.Dyomin

	Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting
	#jira UE-34417

Change 3083349 on 2016/08/09 by Daniel.Wright

	Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0
	#jira UE-31181

Change 3083167 on 2016/08/09 by Chad.Taylor

	Null deref crash fix

	#jira UE-33830

Change 3083144 on 2016/08/09 by Zabir.Hoque

	Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite.

	#jira UE-32980

Change 3083136 on 2016/08/09 by Chad.Taylor

	Stripping out egregious log spam

	#jira UE-34181

Change 3083116 on 2016/08/09 by John.Billon

	Defaulting r.D3D.RemoveUnusedInterpolators to on.
	#Jira UE-34461

Change 3083114 on 2016/08/09 by John.Billon

	Fixing static analysis warning in NullRHI.
	#Jira UE-34462

Change 3083070 on 2016/08/09 by Dmitry.Rekman

	PR #2516: CMake improvements and fixes (UE-22233, UE-32136).

	- Contributed by Nihlus.
	- Contains PR #1668 by mgerhardy

	Summary of changes (from PR):

	- Fixed an issue where CMake build files would contain invalid targets
	- Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion.
	- Fixed an issue where invalid target platforms could fall through and cause issues with the file generation.
	- Improved code readability throughout the generator. Can still use some more polish.
	- Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects.
	- Improved commenting throughout the generator. As with readability, can still use some more polish.
	- Removed unused using statements.
	- Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion.
	- Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets.

	#jira UE-22233

Change 3082999 on 2016/08/09 by Jeremiah.Waldron

	Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases
	#jira UE-34457

Change 3082993 on 2016/08/09 by mason.seay

	Fixed level BP error and updated Reverb asset

	#jira UE-29618

Change 3082981 on 2016/08/09 by Peter.Sauerbrei

	disable roughness calculation for iOS metal
	#jira UE-31815

Change 3082912 on 2016/08/09 by Chris.Babcock

	Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now
	#jira UE-34432
	#ue4
	#android

Change 3082875 on 2016/08/09 by Chris.Bunner

	Lowered verbosity of mesh build warning when using MikkTSpace.
	#jira UE-23903

Change 3082867 on 2016/08/09 by Trung.Le

	VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses
	#jira UE-34227

Change 3082818 on 2016/08/09 by Mike.Beach

	Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert).

	#jira UE-34430

Change 3082794 on 2016/08/09 by Lukasz.Furman

	fixed gameplay debugger extensions activating during simulate in editor
	#jira UE-33343

Change 3082760 on 2016/08/09 by Jamie.Dale

	Scene viewports are now centered when re-entering windowed mode

	#jira UE-32842

Change 3082744 on 2016/08/09 by Mitchell.Wilson

	Resaving assets to resolve empty engine version warnings.
	#jira UE-29746

Change 3082728 on 2016/08/09 by Ben.Marsh

	BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger.

	#jira UE-34329

Change 3082686 on 2016/08/09 by Marc.Audy

	If the GameMode is not carried over as part of a seamless travel create it.
	#jira UE-25569

Change 3082663 on 2016/08/09 by John.Billon

	Fixed SubUVAnimation asset crash when texture source is cleared.
	#Jira UE-34231

Change 3082650 on 2016/08/09 by John.Billon

	Changed an ensure the NullRHI dealing with memory allocation to be a log message.
	#Jira UE-32362

Change 3082644 on 2016/08/09 by Maciej.Mroz

	#jira UE-34240 Match 3 nativization failure

	Redone cl3082121 from Dev-Blueprints

Change 3082633 on 2016/08/09 by Maciej.Mroz

	#jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172]

	Redone cl3082414 from Dev-Blueprints

Change 3082606 on 2016/08/09 by Michael.Trepka

	Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler.

	#jira UE-34276

Change 3082579 on 2016/08/09 by Benn.Gallagher

	CIS fix, missed removing a few #ifs
	#jira UE-29180

Change 3082525 on 2016/08/09 by Tom.Looman

	Removed Android from supported platforms in VR Template.

	#jira UE-34189

Change 3082523 on 2016/08/09 by Tom.Looman

	Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior)
	Fixed typo in level text.

	#JIRA UE-34422

Change 3082504 on 2016/08/09 by Jurre.deBaare

	Crash importing alembic asset over itself after saving it in Content Browser
	#fix Trivial nullptr + isValid fix
	#jira UE-34418

Change 3082433 on 2016/08/09 by Tom.Looman

	Updated list of supported platforms.

	#jira UE-34189

Change 3082423 on 2016/08/09 by Mitchell.Wilson

	Resaving levels to resolve MikkTSpace warnings
	Updating collision on SM_Floor_Round
	#jira UE-30786

Change 3082361 on 2016/08/09 by Keith.Judge

	Xbox One - Fix a controller disconnection crash.

	- This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early.
	- Changed it to copy each connected pad object one at a time, which maintains the correct refcount.
	- Possibly a VS2015 Update 3 bug.

	#jira UE-33955

Change 3082341 on 2016/08/09 by Mitchell.Wilson

	Reimporting SM_GodRay_Plane
	Resaving levels to resolve MikkTSpace warnings
	Resaving multiple materials to resolve warnings
	#jira UE-34212

Change 3082313 on 2016/08/09 by Matthew.Griffin

	Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build)

Change 3082294 on 2016/08/09 by Jurre.deBaare

	Crash when importing an Alembic file with Materials as a different asset type than one that already exists
	#fix Ensure that we have a valid material to assign to the assets
	#jira UE-34377

Change 3082291 on 2016/08/09 by Jurre.deBaare

	Unable to save Alembic asset with materials after importing more than once
	#fix Make sure we delete referenced transient materials if they are not used
	#jira UE-34400

Change 3082290 on 2016/08/09 by Jurre.deBaare

	Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on
	#fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14
	#jira UE-34392

Change 3082274 on 2016/08/09 by Benn.Gallagher

	Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms.
	#jira UE-29780

Change 3082273 on 2016/08/09 by Benn.Gallagher

	Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain
	#jira UE-30827

Change 3082270 on 2016/08/09 by Benn.Gallagher

	Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted.
	#jira UE-29180

Change 3082257 on 2016/08/09 by Jurre.deBaare

	Auto align floor mesh does not work in Persona
	#fix Readded functionality for the auto alignment :)
	#jira UE-34404

Change 3082239 on 2016/08/09 by Peter.Sauerbrei

	make sure IPP and supporting dlls are all 64-bit
	#jira UE-34408

Change 3082225 on 2016/08/09 by Mitchell.Wilson

	Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize
	Reimporting SM_GodRay_Plane
	Saving all levels to resolve MikkTSpace warnings.
	#jira UE-30787

Change 3082222 on 2016/08/09 by Rolando.Caloca

	UE4.13 - Fix crash on opengl3
	- Load proper shader map depending on feature level
	- int interpolators require nointerpolation modifier
	#jira UE-33879

Change 3082221 on 2016/08/09 by Benn.Gallagher

	Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop
	#jira UE-34384

Change 3082179 on 2016/08/09 by Ben.Woodhouse

	Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders.
	#jira UE-31461

Change 3082170 on 2016/08/09 by Graeme.Thornton

	Manual copy of CL 3078836 from Dev-Core to Release-4.13

	Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading

	#jira UE-33909

Change 3082169 on 2016/08/09 by Graeme.Thornton

	Make FLauncherTasks have unique names so we don't end up with stat name collisions

	#jira UE-33849

Change 3082163 on 2016/08/09 by Matthew.Griffin

	Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts
	Added Checks for files that might not exist when creating Installed Build from Github etc.
	Tag the published installed build zips
	#jira UE-34249

Change 3082139 on 2016/08/09 by Ben.Marsh

	BuildGraph: Allow writing a schema without passing a script in.

Change 3082109 on 2016/08/09 by Thomas.Sarkanen

	Fixed blendspaces producing bad data when degenerate spaces are present

	Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications.

	#jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph

Change 3082080 on 2016/08/09 by Matthew.Griffin

	Added notifications for available triggers

Change 3082054 on 2016/08/09 by Allan.Bentham

	Quality level override changes to high QL are now correctly picked up.
	#jira UE-22812

Change 3082049 on 2016/08/09 by Allan.Bentham

	Update shaders when mobile preview device is changed.
	#jira UE-22810

Change 3081866 on 2016/08/09 by Max.Chen

	Fbx Export: Fix build.

	#jira UETOOL-750

Change 3081863 on 2016/08/09 by Max.Chen

	Fbx Export: Fix level sequence fbx export.

	- Fix 3d transform track export so that it does the correct flipping for translation and rotation curves.
	- Fix setting  rich curve tangents and interpolation modes.
	- Fix camera focal length export.

	#jira UETOOL-750

Change 3081823 on 2016/08/08 by Dmitriy.Dyomin

	Fixed: Crash when simulating in editor with a landscape actor selected
	#jira UE-34367
	#coderview Gareth.Martin

Change 3081647 on 2016/08/08 by Chad.Taylor

	OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport

	#jira UE-34352

Change 3081645 on 2016/08/08 by Zak.Middleton

	#ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback.

	#jira UE-30178

Change 3081639 on 2016/08/08 by Tyler.Cole

	Update build scripts for WEX MCP in UE4 Release-4.13 stream.

	#jira NONE-0

Change 3081616 on 2016/08/08 by Jeff.Fisher

	UEVR-13 PSVR: TCR Requirements
	-2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode.
	-A new ini setting for morpheus bStartInVR has been added, it defaults to true.
	#jira UEVR-13
	#review-3081284 @chad.taylor @nick.whiting

Change 3081597 on 2016/08/08 by Tyler.Cole

	Update build scripts for Ocean MCP in UE4 Release-4.13 stream.

	#jira NONE-0

Change 3081476 on 2016/08/08 by Tyler.Cole

	Update build script for UE4 Release-4.13 stream Fortnite MCP.

	#jira NONE-0

Change 3081397 on 2016/08/08 by Josh.Adams

	- Fixing more linux case issues in UT
	#jira ue-33478

Change 3081391 on 2016/08/08 by Mitchell.Wilson

	Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap
	#jira UE-33843

Change 3081383 on 2016/08/08 by Aaron.McLeran

	#jira UE-34081

	Implementing CL 3076637 into 4.13

	#tests run a procedural sound wave object test

Change 3081337 on 2016/08/08 by Aaron.McLeran

	#jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay

	- OR-26580
	- Implementing CL 3071258 to 3.13

	#tests ran paragon with change, no crashes

Change 3081335 on 2016/08/08 by Max.Preussner

	WmfMedia: Fixed memory leak in source resolver (UE-34385)

	#jira UE-34385

Change 3081320 on 2016/08/08 by Max.Preussner

	WmfMedia: Fixed typo (UE-32421)

	#jira UE-32421

Change 3081276 on 2016/08/08 by Mitchell.Wilson

	Resaving asset to resolve MikkTSpace warning.
	#jira UE-31116

Change 3081269 on 2016/08/08 by Dan.Oconnor

	Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint
	#jira UE-34324

Change 3081052 on 2016/08/08 by Dan.Oconnor

	Making a change to test UE-34324
	#jira UE-34324

Change 3081026 on 2016/08/08 by Daniel.Wright

	Added a heightfield painting example to BlueprintRenderToTarget content example
	#jira UE-34323

Change 3081025 on 2016/08/08 by Daniel.Wright

	CreateRenderTarget2D uses a world context object as owner, allows use in a construction script
	#jira UE-34321

Change 3081023 on 2016/08/08 by Aaron.McLeran

	#jira UE-34325 Implementing 3080958 in 4.13

	- When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash
	- Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds.

	#tests ran repro case described in bug several times without crashing (was 100% repro)

Change 3081020 on 2016/08/08 by Dan.Oconnor

	Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties
	#jira UE-26310

Change 3081010 on 2016/08/08 by Dan.Oconnor

	Fix for losing root transform when recycling objects
	#jira UE-28398

Change 3080972 on 2016/08/08 by Mark.Satterthwaite

	Duplicate CL #3080684:
	Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination.
	#jira UE-21857

Change 3080971 on 2016/08/08 by Mark.Satterthwaite

	Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared.
	#jira UE-34355

Change 3080923 on 2016/08/08 by Michael.Trepka

	When archiving on for Mac delete the dest icon if it exists before trying to call File.Move

	#jira UE-33304

Change 3080919 on 2016/08/08 by samuel.proctor

	Revised assets for Blueprint Debugging tests

	#jira UE-29618

Change 3080878 on 2016/08/08 by Ben.Marsh

	Fix sample build timeouts due to generating DDC using installed engine builds taking too long.

	* New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead.
	* Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead.

Change 3080849 on 2016/08/08 by Marc.Audy

	Always stop matinee sounds when jumping around, not just if the sound changed.
	#jira UE-31447

Change 3080843 on 2016/08/08 by Ben.Marsh

	BuildGraph: Fix compile error due to duplicated variable name.

Change 3080840 on 2016/08/08 by Max.Chen

	Fbx: Fix rich curve export being exported at the incorrect times when baked.

	#jira UETOOL-750

Change 3080824 on 2016/08/08 by Max.Chen

	Sequencer: Revert fix root component structure for level sequence actor.

	#jira UE-34354

Change 3080819 on 2016/08/08 by Chad.Taylor

	Merging Move and Vive haptic implementation from Dev-VR to Release-4.13

	#jira UE-27886

Change 3080818 on 2016/08/08 by Jurre.deBaare

	Crash when importing the same Alembic file but as a different Asset Type
	#fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed)
	#misc Typo
	#jira UE-34293

Change 3080817 on 2016/08/08 by Jurre.deBaare

	Crash when importing an Alembic file with Materials if it already exists
	#fix Only create materials if they don't already exist
	#jira UE-34300

Change 3080814 on 2016/08/08 by Jurre.deBaare

	Crash when importing Alembic files as Skeletal Mesh
	#fix Set the NumVertices variable that was re-added :)
	#misc removed dead code
	#jira UE-34288

Change 3080813 on 2016/08/08 by Jurre.deBaare

	[CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices()
	#fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs)
	#jira UE-34294

Change 3080797 on 2016/08/08 by Dmitriy.Dyomin

	Fix: Crash opening levels with landscape in them via the command console in standalone game
	#jira UE-34348

Change 3080784 on 2016/08/08 by Jamie.Dale

	We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering)

	#jira UE-34298

Change 3080734 on 2016/08/08 by Matthew.Griffin

	Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent

Change 3080685 on 2016/08/08 by Peter.Sauerbrei

	fix for crash on tvOS and iOS when launching a project
	#jira UE-34005

Change 3080683 on 2016/08/08 by Matthew.Griffin

	Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built

Change 3080681 on 2016/08/08 by Matthew.Griffin

	Corrected path separators for Mac DDC location, which was preventing it from being included in installed build

Change 3080675 on 2016/08/08 by Robert.Manuszewski

	Fixing CIS on Clang platforms
	#jira UE-34025

Change 3080674 on 2016/08/08 by Ben.Woodhouse

	Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507

	#jira UE-32651

Change 3080594 on 2016/08/08 by Keith.Judge

	Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed.

	#jira UE-31607

Change 3080573 on 2016/08/08 by Martin.Wilson

	Fix Root Motion from Everything blending incorrectly when using layered blend per bone

	#Jira UE-17815

Change 3080517 on 2016/08/08 by James.Golding

	PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran)
	#jira UE-34299, UE-34279

Change 3080512 on 2016/08/08 by Benn.Gallagher

	Fix for dangling sub-instance pointers when reinstancing on AnimBP compile
	#jira UE-34137

Change 3080510 on 2016/08/08 by Max.Preussner

	WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421)

	#jira UE-32421

Change 3080509 on 2016/08/08 by Robert.Manuszewski

	Added more detailed message when TArray's BulkSerialize fails.

	#jira UE-34025

Change 3080506 on 2016/08/08 by Allan.Bentham

	Do not set render target if there are no modulated shadows.
	#jira UE-33252

Change 3080498 on 2016/08/08 by Keith.Judge

	Fix D3D12.x link error.

	#jira UE-34322

Change 3080493 on 2016/08/08 by Matthew.Griffin

	Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run.
	#jira UE-34073

Change 3080490 on 2016/08/08 by Maciej.Mroz

	#jira UE-28625 Direction of GetOverlapInfos parameter doesn't match

	Redone cl# 3080484

Change 3080462 on 2016/08/08 by Allan.Bentham

	Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required.
	Fix initialisation errors introduced in CL 3070035.

	#jira UE-34099

Change 3080242 on 2016/08/07 by Max.Chen

	Sequencer: Fix to allow deleting spawnables from the viewport

	#jira UE-28523

Change 3080241 on 2016/08/07 by Dmitriy.Dyomin

	Fixed: StartCameraFade not fading camera when MobileHDR is off
	#jira UE-34143

Change 3079990 on 2016/08/06 by andrew.porter

	Changing defaults on some settings on M_Details for test case.

	#jira UE-29618

Change 3079989 on 2016/08/06 by andrew.porter

	Setting two sided off on M_Details material

	#jira UE-29618

Change 3079986 on 2016/08/06 by phillip.patterson

	Updated QA-Foliage for test case

	#jira UE-29618

Change 3079984 on 2016/08/06 by andrew.porter

	Adding test content for using sprites in UMG

	#jira UE-29618

Change 3079879 on 2016/08/05 by Dmitry.Rekman

	Remove HITCHHUNTER logspam from release UE (UE-30959).

	#tests Compiled the UE4Editor.
	#jira UE-30959

Change 3079815 on 2016/08/05 by Tyler.Cole

	Set dependencies for Orion MCP in UE4 Release-4.13 stream.

	#jira NONE-0

Change 3079808 on 2016/08/05 by Daniel.Wright

	BlueprintRenderToTarget content example map with interactable fluid surface
	#jira UE-34323

Change 3079746 on 2016/08/05 by Daniel.Wright

	Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly
	New blueprint function CreateRenderTarget2D
	#jira UE-34321

Change 3079569 on 2016/08/05 by Mitchell.Wilson

	Updating template tutorials after assets were moved to new folders
	#jira UE-34139

Change 3079546 on 2016/08/05 by Ian.Shadden

	#UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6

	#jira UE-34316

Change 3079542 on 2016/08/05 by Mark.Satterthwaite

	Duplicate CL #3079503:
	Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised.
	#jira UE-33856

Change 3079472 on 2016/08/05 by Peter.Sauerbrei

	fix for remote server name being empty stopping a build for a BP project in binary
	fix for several error messages from platform requirements not stopping a build
	#jira UE-34213

Change 3079453 on 2016/08/05 by Benjamin.Hyder

	Updating QA_Materials to include Material Details example

	#jira UE-29618

Change 3079389 on 2016/08/05 by Gareth.Martin

	Missing file from CL 3079376:
	Tessellate Landscape only in highest landscape LOD
	Fix incorrect UV coordinates when tessellation is enabled
	#jira UE-14253
	#jira UE-20405

Change 3079384 on 2016/08/05 by Michael.Trepka

	PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE)

	#jira UE-29358

Change 3079376 on 2016/08/05 by Gareth.Martin

	Tessellate Landscape only in highest landscape LOD
	Fix incorrect UV coordinates when tessellation is enabled
	#jira UE-14253
	#jira UE-20405

Change 3079365 on 2016/08/05 by Peter.Sauerbrei

	fix for executable name mismatch in plist vs actual executable when project has an underscore in the name
	#jira UE-34192

Change 3079361 on 2016/08/05 by Ryan.Vance

	#jira UE-34297
	Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :)

Change 3079349 on 2016/08/05 by Mason.Seay

	Deleting unneeded assets

	#jira UE-29618

Change 3079306 on 2016/08/05 by Peter.Sauerbrei

	IPP is now built as a 64-bit executable
	#jira UE-26393

Change 3079303 on 2016/08/05 by Peter.Sauerbrei

	PR2018 - disable user input request from ssh courtesy of Teivaz
	#jira UE-26393

Change 3079276 on 2016/08/05 by mason.seay

	Extended Line Trace For Convenient

	#jira UE-29618

Change 3079274 on 2016/08/05 by Alex.Delesky

	#jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons.

Change 3079273 on 2016/08/05 by Max.Chen

	Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks.

	#jira UE-34301

Change 3079254 on 2016/08/05 by Ori.Cohen

	Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping.

	#JIRA UE-34224

Change 3079242 on 2016/08/05 by Nick.Darnell

	Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving.

	#jira UE-34304

Change 3079129 on 2016/08/05 by Jurre.deBaare

	#jira UE-34278
	#fix Changed reimport path to be the same as geometry cache / skeletal mesh
	Unable to reimport Alembic static meshes

	#jira UE-34292
	#fix Handle cancelled situation during reimport ui interaction
	Cancelling the reimport of an Alembic file seems to confirm the action

	#jira UE-34288
	#fix Possible fix, flush rendering commands before importing
	Crash when importing Alembic files as Skeletal Mesh

	#jira UE-34282
	#fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled
	"Failed to Import" message when clicking Cancel on the Alembic Import Message

Change 3079127 on 2016/08/05 by Marc.Audy

	Properly clean up all worlds when ending PIE while a seamless transition is active
	#jira UE-33863

Change 3079107 on 2016/08/05 by Mike.Beach

	Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact).

	#jira UE-30548

Change 3079093 on 2016/08/05 by Jurre.deBaare

	Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white
	#fix Hide the environment and sky when showing vertex colours
	#jira UE-34251

	Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off
	#fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings
	#jira UE-34206

Change 3079090 on 2016/08/05 by Jurre.deBaare

	Bad performance when changing (slider) values for the advanced preview scene
	#fix Could not repro but added some more check if update needed checks
	#jira UE-33496

	Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting
	#fix Add the rotational delta for the sky to the directional light rotation
	#jira UE-34108

Change 3079088 on 2016/08/05 by Jurre.deBaare

	Alembic Cache Importer option for Hard Edge Angle Threshold does not work
	#fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing
	#jira UE-34127

Change 3079040 on 2016/08/05 by Max.Preussner

	MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290)

	Also made class properties blueprint read-writable

	#jira UE-34290

Change 3078958 on 2016/08/05 by Marc.Audy

	Don't ever reregister child actor components
	Don't destroy child actors when hiding a level
	#jira UE-31038

Change 3078954 on 2016/08/05 by ryan.brucks

	#jira ue-00001  Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL

Change 3078952 on 2016/08/05 by Phillip.Kavan

	[UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser.

	change summary:
	- modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop.

	#jira UE-34085, UE-34169

Change 3078912 on 2016/08/05 by Andrew.Rodham

	Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified

	#jira UE-33875

Change 3078900 on 2016/08/05 by Lauren.Ridge

	Fix for small Vive HMD movements entering VR mode

	#jira UE-33970

Change 3078880 on 2016/08/05 by Jack.Porter

	Cannot set GenerateOverlapEvents flag on Landscape
	#jira UE-9055

Change 3078879 on 2016/08/05 by Lee.Clark

	PS4 - Fix corrupted debuffer decals
	(CMask wasn't getting decoded correctly)

	#jira UE-34273

Change 3078871 on 2016/08/05 by Steve.Robb

	Fix for changes to UObject*s in property boxes.

	#jira UE-29596

Change 3078857 on 2016/08/05 by Max.Chen

	Sequencer: Set Fixed frame interval playback to false by default.

	#jira UE-34272

Change 3078850 on 2016/08/05 by mason.seay

	Updated map to test physics mesh, added comments to level BP

	#jira UE-29618

Change 3078795 on 2016/08/05 by Andrew.Rodham

	Sequencer: Fixed spawnables not responding to blueprint reinstance events

	This ultimately left spawnable bindings broken, and an unreachable object in the world

	#jira UE-31635

Change 3078786 on 2016/08/05 by Robert.Manuszewski

	Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array.

	#jira UE-33872

Change 3078782 on 2016/08/05 by Andrew.Rodham

	Sequencer: Fixes to "Create Camera Here" functionality

	Fixed crash when undoing the "Create Camera Here" operation.
	Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly)
	Fixed issues when the cursor was outside of the play range

	#jira UE-33127

Change 3078737 on 2016/08/05 by Andrew.Rodham

	Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety
	#jira UE-34256

Change 3078722 on 2016/08/05 by Ben.Woodhouse

	Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481)
	#jira UE-34269

Change 3078620 on 2016/08/05 by Dmitriy.Dyomin

	Fixed: SunTemple geometry has rendering artifacts on low end devices
	[Android_Low] devices will use 'Low' material quality level
	#jira UE-22455

Change 3078584 on 2016/08/05 by James.Golding

	Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging)
	#jira UE-33675

Change 3078565 on 2016/08/05 by Jack.Porter

	Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer.

	#jira UE-33842

Change 3078564 on 2016/08/05 by James.Golding

	Fix display name for bSupportUVFromHitResults to fix missingspace
	#jira UE-34248

Change 3078542 on 2016/08/05 by Yannick.Lange

	VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked.
	#jira UE-32839

Change 3078541 on 2016/08/05 by Yannick.Lange

	VR Editor :  Fix linux compile error from VREditorAvatarActor
	#jira UE-34215

Change 3078396 on 2016/08/04 by Max.Chen

	Sequencer: Invalidate playback context when map changes.

	#jira UE-34256

Change 3078291 on 2016/08/04 by Jeff.Campeau

	RHI compress/decompress return success/failure
	Failure falls back to software method
	D3D12 for Xbox One still needs implementation

	#jira UE-31363

Change 3078131 on 2016/08/04 by Chris.Babcock

	Deal with missing Android movie framerate by defaulting to 30 if not available
	#jira UE-34208
	#ue4
	#android

Change 3078084 on 2016/08/04 by John.Billon

	Disabled AMD hacks Cvars that aren't needed anymore.
	#Jira UE-30772

Change 3078083 on 2016/08/04 by John.Billon

	Consolidated  ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets.
	Added a couple of more ensures when allocating render targets.
	Added log message when changing feature levels.
	#Jira UE-32536
	#Jira UE-32204

Change 3078039 on 2016/08/04 by Josh.Adams

	- Fixed a case issue with Linux
	#jira UE-33478

Change 3078029 on 2016/08/04 by Ryan.Vance

	#jira UE-30989
	We need to disable the hmd mask when down sampling to ensure valid input data for blur passes.

Change 3078027 on 2016/08/04 by Lina.Halper

	Fix sequencer morphtarget displaying issue

	#code review:Max.Chen
	#jira: UE-28459

Change 3078012 on 2016/08/04 by mason.seay

	map and asset updates for testing UV hit detection

	#jira UE-29618

Change 3078009 on 2016/08/04 by Jamie.Dale

	Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading

	This prevents it being incorrectly set by other operations, such as counting memory used by font data.

	#jira UE-34252

Change 3078006 on 2016/08/04 by Mark.Satterthwaite

	Duplicate CL #3064008 & CL #3077412:
	Fix "iOS Metal-based build crashes at launch with sub-levels":
	- Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything.
	- To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects.
	- Fix validation error of texture reallocation on loading template projects under Metal.
	#jira UE-30847

Change 3078002 on 2016/08/04 by John.Billon

	Fixed LowLightMapQuality warning triggering with wrong conditions.
	#Jira UE-33237

Change 3078001 on 2016/08/04 by John.Billon

	Fixed a crash due to particle threading issues in packaged game.
	#Jira UE-32147

Change 3077989 on 2016/08/04 by Rolando.Caloca

	UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts.
	#jira UE-34218

Change 3077940 on 2016/08/04 by Jeff.Campeau

	Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir)
	Include copies of the VS2015 runtime and UCRT
	Change -applocaldir parameter to -applocaldirectory
	Stage to engine and project binaries paths (for crash reporter, etc.)

	#jira UE-33903

Change 3077936 on 2016/08/04 by Daniel.Wright

	DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject
	#jira UE-34183

Change 3077927 on 2016/08/04 by Lina.Halper

	Fix issue with morphtarget not working due to invalid guid

	#jira: UE-34077

Change 3077919 on 2016/08/04 by Daniel.Wright

	Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them
	#jira UE-34245

Change 3077877 on 2016/08/04 by Ori.Cohen

	Fix physical animation undo/redo not affecting linked bodies and constraints

	#JIRA UE-33987

Change 3077823 on 2016/08/04 by Ori.Cohen

	Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt)

	#JIRA UE-33985

Change 3077814 on 2016/08/04 by Uriel.Doyon

	Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all"
	#jira UE-34120
	#review-3077812

Change 3077781 on 2016/08/04 by Max.Chen

	Sequencer: Fix crash in rotation key struct

	#jira UE-34155

Change 3077771 on 2016/08/04 by Lina.Halper

	Added const and removed auto

	#jira: UE-33023

Change 3077702 on 2016/08/04 by Daniel.Wright

	Copy - Planar reflection show flags can now be edited
	#jira UE-34229

Change 3077585 on 2016/08/04 by Ori.Cohen

	Fix spam when moving simulated skeletal mesh in the editor.

	#JIRA UE-34164

Change 3077532 on 2016/08/04 by Tom.Looman

	Fixed error in description of VR Template.

	#jira ue-33950

Change 3077517 on 2016/08/04 by Tom.Looman

	Fixed parsing error for FP_VirtualRealityBP

	#jira UE-34059

Change 3077493 on 2016/08/04 by Tom.Looman

	Updated Template description to remove GearVR reference and include more clear message on the two available maps.

	#jira UE-33950

Change 3077492 on 2016/08/04 by Tom.Looman

	Improvements to VR Template

	Fixed teleportation issue on both locomotion types (JIRA)
	Rebuilt navmesh for motioncontrollermap
	Added new WIP startermap to clarify the difference between the multiple levels.
	Added more comments and did some cleanup in BPs.

	#jira UE-33962

Change 3077491 on 2016/08/04 by Jurre.deBaare

	Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance
	#fix Pass in complete path to save material to instead of just the name
	#jira UE-34211

Change 3077481 on 2016/08/04 by Tom.Looman

	Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config)

	#jira ue-34143

Change 3077463 on 2016/08/04 by Ben.Woodhouse

	Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off.
	#jira UE-32843

Change 3077432 on 2016/08/04 by Steve.Robb

	Removal of Fortnite-specific setting which disables hot reload.

	#jira UE-33261

Change 3077380 on 2016/08/04 by Keith.Judge

	Fix for green reflection environment in some maps.

	- Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present()
	- Fixed a validation error when locking cube map faces which was causing them not to be updated.
	- Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error).
	- Added a GPU/CPU sync at the same point the PS4 code does.

	#jira UE-32086

Change 3077336 on 2016/08/04 by Mitchell.Wilson

	removed r.Streaming.PoolSize from DefaultEngine.ini
	Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning.
	#jira UE-30941

Change 3077275 on 2016/08/04 by Phillip.Kavan

	[UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop.

	#jira UE-29903

Change 3077119 on 2016/08/04 by Marc.Audy

	Use TickType All when in PIE
	#jira UE-18982

Change 3077108 on 2016/08/04 by Jon.Nabozny

	Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null.
	This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing.

	#jira UE-34032

Change 3077073 on 2016/08/04 by Jurre.deBaare

	bBlendOverlappingNormals does not seem to have an impact for Alembic importing
	#fix this wasn't being used in the normal calculation anymore so redundant
	#jira UE-34204

Change 3077059 on 2016/08/04 by Robert.Manuszewski

	Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split).

	#jira UE-34200

Change 3077024 on 2016/08/04 by Thomas.Sarkanen

	Added GetResourceSize to UDataAsset

	Data assets now correctly report their size.

	#jira UE-28851 - Fix mem reporting of DataTables

Change 3077001 on 2016/08/04 by Andrew.Rodham

	Sequencer: Fixed sequencer adding spawnables into recorded worlds twice

	The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world.

	Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded.

	#jira UE-31422

Change 3076995 on 2016/08/04 by Matthew.Griffin

	Fixed Shadow Variable warning

Change 3076974 on 2016/08/04 by Matthew.Griffin

	Added Node to build CrashReportClient for Linux that can be used by internal game targets

Change 3076820 on 2016/08/04 by Max.Chen

	Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist).

	#jira UE-34199

Change 3076665 on 2016/08/03 by Dan.Oconnor

	Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false
	#jira UE-18982

Change 3076569 on 2016/08/03 by Chad.Taylor

	SteamVR GetOrthoProjection implementation to fix broken console rendering in VR

	#jira UE-21424

Change 3076556 on 2016/08/03 by Aaron.McLeran

	#jira UE-34154 PSVR Stereo assets are spatialized as MONO

	- All audio was routing through A3D lib regardless of if it was mono/stereo etc.
	- Fix is to only route audio that is mono and spatialized
	- Fixed some compile errors/shadow variables
	- Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library

Change 3076546 on 2016/08/03 by Aaron.McLeran

	#jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves

	Implementing 3069092 in Release-4.13

	- Not all active sounds have sound classes, was causing a crash

	#tests Run game with stat soundcues and not crash

Change 3076512 on 2016/08/03 by Ben.Marsh

	Fix warning about UnrealTournament:true argument.

Change 3076492 on 2016/08/03 by Daniel.Wright

	Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game.  Blutilities can be used to do blueprint rendering in the editor.
	#jira UE-34177

Change 3076491 on 2016/08/03 by Daniel.Wright

	Marked the Forward Shading project setting as experimental for 4.13
	#jira UE-34176

Change 3076490 on 2016/08/03 by Daniel.Wright

	Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible
	#jira UE-34175

Change 3076489 on 2016/08/03 by Daniel.Wright

	Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0
	#jira UE-34174

Change 3076485 on 2016/08/03 by Daniel.Wright

	Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413
	#jira UE-34173

Change 3076440 on 2016/08/03 by Ryan.Vance

	#jira UE-34184
	Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk.
	Adding Oculus 1.6 support.

Change 3076399 on 2016/08/03 by Nick.Darnell

	Slate - The LayoutCache pointer in SWidget is now a WeakPtr.  This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels.  Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior.

	#jira UE-34185

Change 3076397 on 2016/08/03 by Rolando.Caloca

	UE4.13 - hlslcc -Fix for hlsl length(float)
	#jira UE-32629

Change 3076337 on 2016/08/03 by mason.seay

	Test assets (and map for ensure bug)

	#jira UE-29618

Change 3076332 on 2016/08/03 by Peter.Sauerbrei

	fix for clang build errors
	#jira UE-34163

Change 3076326 on 2016/08/03 by Ryan.Vance

	#jira UE-32975
	Using the wrong screen position in the base pass pixel shader with ISR.

Change 3076309 on 2016/08/03 by Benjamin.Hyder

	Renaming TEST-LightingFeatures to TM-LightingFeatures

	#jira UE-29618

Change 3076299 on 2016/08/03 by Chad.Taylor

	Fix SteamVR lag in late-update fold child renderables.

	#jira UE-33928

Change 3076214 on 2016/08/03 by Mitchell.Wilson

	Resaving BluperintOffice level to resolve MikkTSpace warnings.
	Reimporting SM_GodRay_Plane to resolve cook warning.
	#jira UE-30064

Change 3076112 on 2016/08/03 by Max.Chen

	Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions)

	#jira UE-34167

Change 3076090 on 2016/08/03 by Marc.Audy

	Fix Mac compile error
	#jira UE-34163

Change 3076075 on 2016/08/03 by Jeremiah.Waldron

	Fixing comments documenting attribute in deleteFiles node for UPL
	#jira UE-34161

Change 3076034 on 2016/08/03 by Mitchell.Wilson

	Resaving Strategy Game maps to resolve MikkTSpace warnings.
	Resaving material in strategy game to resolve string asset reference warning.
	#jira UE-29720

Change 3076003 on 2016/08/03 by Mitchell.Wilson

	Resaving Elemental Demo levels to resolve MikkTSpace warnings.
	Resaving multiple materials to resolve String asset reference warnings.
	#jira UE-29679

Change 3075985 on 2016/08/03 by Jeremiah.Waldron

	Fixing UPL comments misnaming the deleteFiles node
	#jira UE-34161

Change 3075977 on 2016/08/03 by Maciej.Mroz

	#jira UE-30473 Moving child component in child blueprint forces parent to become dirty

	Duplicated from Dev-Blueprints CL 3075793

Change 3075959 on 2016/08/03 by Marc.Audy

	Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639)
	#jira UE-33921

Change 3075891 on 2016/08/03 by Chad.Taylor

	SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline.

	#jira UE-34142

Change 3075882 on 2016/08/03 by Dan.Oconnor

	Manually integrating 3073939 to address UE-19062
	#jira UE-19062

Change 3075805 on 2016/08/03 by Marc.Audy

	Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803
	#jira UE-18982

Change 3075803 on 2016/08/03 by Marc.Audy

	Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked
	#jira UE-18982

Change 3075761 on 2016/08/03 by Max.Preussner

	MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152)

	#jira UE-34152

Change 3075719 on 2016/08/03 by Chad.Taylor

	Blocker fix for binary editor crash on incorrectly used dll

	#jira UE-34142

Change 3075709 on 2016/08/03 by Jeremiah.Waldron

	Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor

	#android
	#jira UE-34149

Change 3075695 on 2016/08/03 by Jurre.deBaare

	Adding missing debug zlib dll
	#jira UE-123

Change 3075641 on 2016/08/03 by Jurre.deBaare

	Crash when re-importing alembic cache file several times
	#fix Always create a new object when importing
	#jira UE-34130

Change 3075609 on 2016/08/03 by Danny.Bouimad

	#jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does.

Change 3075578 on 2016/08/03 by Mitchell.Wilson

	Updating attenuation settings for multiple sounds in Strategy Game.
	#jira UE-25828

Change 3075529 on 2016/08/03 by Trung.Le

	VREditor: Fxied foliage lasso select without pressing trigger
	#jira UE-33689

Change 3075502 on 2016/08/03 by Lee.Clark

	Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates.

	#jira UE-28549

Change 3075386 on 2016/08/03 by Robert.Manuszewski

	Fixing bulkdata using source data pointer as an archive instead of raw data when saving

	#jira UE-34132

Change 3075384 on 2016/08/03 by mason.seay

	AnimBP for crash bug

	#jira UE-29618

Change 3075350 on 2016/08/03 by Max.Chen

	Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections.

	#jira UE-30506

Change 3075327 on 2016/08/03 by Max.Chen

	Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport.

	#jira UE-34093

Change 3075313 on 2016/08/03 by Matthew.Griffin

	Tidied up hardcoded installed build includes so that they're all in one file with platform checks
	Added .dll.config files to CsCompile build products if they exist

Change 3075133 on 2016/08/03 by Yannick.Lange

	VREditor : Original submit in Dev-VREditor = 3064489
	- Fix crash when starting VREditor and then changing levels
	#jira UE-33766

Change 3075124 on 2016/08/03 by Thomas.Sarkanen

	Fixed undo/redo crash when editing anim blueprint defaults

	Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo.

	#jira UE-34024 - Crash undoing variable change in Animation Blueprint.

Change 3075101 on 2016/08/03 by Matthew.Griffin

	Adding job to selectively build games in release branch
	Also adding documentation and localization to overnight build
	#jira UEB-688

Change 3075061 on 2016/08/03 by Yannick.Lange

	VR Editor : Original submit in Dev-VREditor = 3062883
	- Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552
	- Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509
	- Fixed crash when enabling VR Editor in editor preferences without a HMD connected
	- Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553
	- Avatar code refactor to its own actor class #jira UETOOL-812

	#jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812

Change 3075059 on 2016/08/03 by Allan.Bentham

	Fall back to standard shadows when capsule shadows are not supported.

	#jira UE-33344

Change 3075045 on 2016/08/03 by Matthew.Griffin

	Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step

Change 3074693 on 2016/08/02 by Dan.Oconnor

	Manually integrating 3070569 from Dev-Blueprints
	#jira UE-34119

Change 3074672 on 2016/08/02 by Dan.Oconnor

	Manually integrating 3061854 into 4.13 from Dev-Blueprints
	#jira UE-34119

Change 3074646 on 2016/08/02 by Aaron.McLeran

	#jira UE-34081 Implementing from Dev-Framework CL 3074325

	Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback

	- Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue).
	- Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread.

	- Implementing 3003851 from UT into Dev-Framework.

Change 3074630 on 2016/08/02 by Brent.Pease

	UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16
	UE-33200 - A movie isn't played on iOS occasionally.
	UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows

	 + Give a more friendly error message when UHT fails with an invalid error code.

	#jira UE-23846
	#jira UE-33200
	#jira UE-32397

Change 3074590 on 2016/08/02 by Rolando.Caloca

	UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled).
	#jira UE-33694

Change 3074588 on 2016/08/02 by Chad.Taylor

	Update OpenVR SDK to v1.0.2

	-Hooked up added aspect ratio and sort priority features to SteamVR stereo layers

	#jira UE-34115

Change 3074481 on 2016/08/02 by Ori.Cohen

	Make sure that new physical animation data defaults to 0

	#JIRA UE-33678

Change 3074395 on 2016/08/02 by Ori.Cohen

	Fix duplication of physical animation profiles not duplicating data.
	Also fix undo redo not working for profiles.
	Fix editor not passing Duplicate change type

	#JIRA UE-33987, UE-33985

Change 3074392 on 2016/08/02 by Alex.Delesky

	#jira UE-32396 - Reverting CL 3074177, since it introduced side-effects.

Change 3074364 on 2016/08/02 by phillip.patterson

	Re-created UMG_Optimization for Test Cases

	#jira UE-29618

Change 3074346 on 2016/08/02 by Jurre.deBaare

	Potential DDC warning fix, remove non-existing values
	#jira UE-123

Change 3074289 on 2016/08/02 by Jeff.Fisher

	UEVR-13 PSVR: TCR Requirement
	Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed.
	-When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue.  After reconnection reprojection would be lagged by 12+ seconds.  After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag.
	#jira UEVR-13
	#review-3074209 @chad.taylor @nick.whiting

Change 3074196 on 2016/08/02 by Martin.Wilson

	Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints)

	#jira UE-23453

Change 3074177 on 2016/08/02 by Alex.Delesky

	#jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint.

Change 3074157 on 2016/08/02 by Ben.Marsh

	Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff.

Change 3074132 on 2016/08/02 by Trung.Le

	VREditor: Fixed brush preview present while in foliage mode and hovering at UI
	#jira UE-33228

Change 3074131 on 2016/08/02 by Tom.Looman

	Fix for scalability build warnings in VR Template

	#jira ue-33325

Change 3074089 on 2016/08/02 by Kevin.Rushin

	QAGame - Added Foliage to TestMap

	#jira UE-29618

Change 3074067 on 2016/08/02 by Kevin.Rushin

	QAGame- Rebuilt Lighting

	#jira UE-29618

Change 3074063 on 2016/08/02 by Kevin.Rushin

	QAGame - Fix up VREditor Map to have more asset variation

	#jira UE-29618

Change 3074057 on 2016/08/02 by Andrew.Porter

	Deleting - UMG_Optimization

	#jira UE-29618

Change 3074040 on 2016/08/02 by Michael.Trepka

	On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized.

	#jira UE-31194

Change 3074008 on 2016/08/02 by Phillip.Patterson

	Renamed UMG_Invalidation to UMG_Optimization to better match test
	#jira UE-29618

Change 3073988 on 2016/08/02 by Mitchell.Wilson

	Updating starting camera location for Paper2d template to be consistant on both BP and Code version.
	#jira UE-32723

Change 3073966 on 2016/08/02 by Jurre.deBaare

	Alembic Cache Importer option for propagating matrix transformation does not work
	#fix Changed the flag combinations and overhauled the matrix retrieval/caching system
	#misc typo fix
	#jira UE-34066

Change 3073953 on 2016/08/02 by Lina.Halper

	Fixed static warning on null reference

	#jira: UE-33923

Change 3073951 on 2016/08/02 by Lina.Halper

	Fix GetRelativeTransform for negative scale

	#jira: UE-33380

Change 3073896 on 2016/08/02 by Alex.Delesky

	#jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor.

	#jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool

Change 3073804 on 2016/08/02 by Jamie.Dale

	Fixed the detail panel trying to apply class customizations to structs

	This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor).

	#jira UE-32623

Change 3073803 on 2016/08/02 by Jurre.deBaare

	Morph target vertex mapping can be wrong with multi material caches
	#fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly
	#jira UE-34074

Change 3073788 on 2016/08/02 by Andrew.Rodham

	Sequencer: Added support for montage based animation

	CL#3061714 :
	    Sequencer: Fixed anim trails not playing in full, sequencer-driven animation.

	    There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly.

	CL#3063015 :
	    Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes

	    We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback.

	CL#3068399 :
	    Sequencer: Changed animation tracks to allow more animation types (such as anim montages)

	      - APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility

	#jira UE-34046

Change 3073787 on 2016/08/02 by Jurre.deBaare

	Handle failed Simplygon proxy mesh generation with error message instead of hard checks
	#fix Added a failed delegate along side the succesful delegate
	#jira UE-31990

Change 3073786 on 2016/08/02 by Jurre.deBaare

	Alembic importer crashes when not assets are generated
	#fix Prevented adding nullptr values to the array (now only contains valid entries)
	#jira UE-34065

Change 3073777 on 2016/08/02 by Jurre.deBaare

	User is able to give a Preview Scene Profile the same name as an existing profile
	#fix check changed profile name and append _duplicatedname if found to be matching an existing profile name
	#jira UE-34033

Change 3073775 on 2016/08/02 by Mitchell.Wilson

	Updating VehicleExampleMap for BP and Code templates to have consistant starting locations
	#jira UE-31281

Change 3073732 on 2016/08/02 by Rolando.Caloca

	DR - Fix crash when enabling gpu morph targets on non SM5 platforms
	#jira UE-34011

Change 3073706 on 2016/08/02 by Peter.Sauerbrei

	fix for no tvOS libraries in binary release for Win64
	#jira UE-34076

Change 3073671 on 2016/08/02 by Allan.Bentham

	High quality mobile reflection captures are now blended in correct (linear) space.
	#jira UE-33915

Change 3073663 on 2016/08/02 by Peter.Sauerbrei

	fix for launch on failing for iOS in Binary
	#jira UE-34014

Change 3073662 on 2016/08/02 by Lee.Clark

	4.13 - PS4 - Fix Media Player Audio cutting out

	#jira UE-33850

Change 3073616 on 2016/08/02 by Mark.Satterthwaite

	Duplicate CL #3073584 from Dev-Platform:
	Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture.
	#jira UE-32323

Change 3073592 on 2016/08/02 by Max.Chen

	Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state.

	#jira UE-33993

Change 3073585 on 2016/08/02 by Nick.Darnell

	Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures.

	#jira UE-34075

Change 3073575 on 2016/08/02 by Richard.TalbotWatkin

	Duplicating from Dev-Editor, CL 3057645

	Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions.
	#jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server

Change 3073542 on 2016/08/02 by Richard.TalbotWatkin

	Duplicated from Dev-Editor, CL 3072169.

	A couple of changes to the BSP code:
	* Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it.  This was due to poly normals not being recalculated after translating vertices in Geometry Mode.
	* Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations.  This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices.

	#jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used
	#jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume

Change 3073540 on 2016/08/02 by Matthew.Griffin

	Added Package Samples script behind a trigger to package samples for QA
	Removed submitter notifications from Launcher Samples nodes
	Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes
	Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally
	Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs
	#jira UEB-689

Change 3073511 on 2016/08/02 by Tom.Looman

	Removed object redirectors to fix build warning in VR Template

	#jira ue-33325

Change 3073458 on 2016/08/02 by Jurre.deBaare

	Update default preview scene ini and assets
	#fix deleted old sky texture and fixed BaseEditor.ini setup
	#jira UE-34063

Change 3073427 on 2016/08/02 by Richard.TalbotWatkin

	Duplicated from Dev-Editor, CL 3068585
	Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX.
	#jira UE-34062 - SplineMesh collision can be generated incorrectly

Change 3073421 on 2016/08/02 by James.Golding

	Resave PSD test assets in QAGame with proper version
	#jira UE-34061

Change 3073419 on 2016/08/02 by James.Golding

	Rename OrientationDriver to PoseDriver
	#jira UE-34015

Change 3073404 on 2016/08/02 by Richard.TalbotWatkin

	Duplicated from Dev-Editor, CL 3057895

	Mesh paint bugfixes and improvements.

	Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched.  Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed.

	This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list.

	#jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab
	#jira UE-32279 - Editor crashes when reselecting a mesh in paint mode
	#jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75]
	#jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting

Change 3073380 on 2016/08/02 by Richard.TalbotWatkin

	Fixed build error in unity builds.
	#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
	#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
	#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
	#jira UE-13082 - Users would like a snapping feature for splines
	#jira UE-13568 - Additional Spline Component Functionality
	#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.

Change 3073343 on 2016/08/02 by Matthew.Griffin

	Whitelisting PS4 and XboxOne plugins for those platforms specifically
	#jira UE-33866

Change 3073338 on 2016/08/02 by Ben.Marsh

	When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins.

Change 3073319 on 2016/08/02 by Maciej.Mroz

	#jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860

	Manually integrated some fixes from Dev-Blueprints

Change 3073311 on 2016/08/02 by Richard.TalbotWatkin

	Duplicated from Dev-Editor CL 3057868

	Spline component improvements, both tools and runtime:

	- SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value.
	- The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding.
	- Added a custom version for SplineComponent and provded serialization fixes.
	- Added a details customization to SplineComponent to hide the raw FInterpCurve properties.
	- Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer.
	- Relaxed the limitation that SplineComponent keys need to have an increment of 1.0.  Now any SplineComponent key can be set.  The details customization enforces that the sequence remains strictly ascending.
	- Allowed an explicit loop point to be specified for closed splines.
	- Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal.
	- Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key.
	- Fixed the logic which determines whether the UCS has modified the spline curves.
	- Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS.
	- Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype.
	- Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled.

	#jira UETOOL-766 - Spline tool improvements
	#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
	#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
	#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
	#jira UE-13082 - Users would like a snapping feature for splines
	#jira UE-13568 - Additional Spline Component Functionality
	#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
	#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
	#jira UE-33669 - Crash in Dev-Editor

Change 3073242 on 2016/08/02 by James.Golding

	Move physics state create/destroy delegates from BodyInstance to ActorComponent
	- Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected.
	- Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate.
	#jira UE-32768

Change 3072953 on 2016/08/01 by Uriel.Doyon

	Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures.
	#jira UE-34045

[CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
Marcus Wassmer
edea678466 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3072736)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3055495 on 2016/07/19 by Marc.Olano

	Allow Noise material node on mobile

	No reason to exclude mobile, except for Fast Gradient Noise, which uses 3D textures. Allow this node on ES2 for all of the other noise functions.

	#jira UE-33345

Change 3055602 on 2016/07/19 by Luke.Thatcher

	Fix crash bug in D3D11 RHI when selecting adapters.
	 - Array of adapter descriptors will get out of sync with the adapter index if any adapter is skipped (e.g. the Microsoft Basic Render Device).
	#jira UE-33236

Change 3055890 on 2016/07/19 by Daniel.Wright

	Improved the assert in LoadModuleChecked so we won't have to check the log to see which module it was

Change 3055891 on 2016/07/19 by Daniel.Wright

	Fixed Global Distance Field not dirtying previous object position on UpdateTransform - left behind a phantom shadow on teleports
	* This will effectively double partial distiance field update costs until clipping of the update regions is implemented

Change 3055892 on 2016/07/19 by Daniel.Wright

	Higher poly light source shapes drawn into reflection captures

Change 3055893 on 2016/07/19 by Daniel.Wright

	More info to 'Incompatible surface format' GNM assert

Change 3055904 on 2016/07/19 by Daniel.Wright

	Reflection environment normalization improvements
	* Indirect specular from reflection captures is now mixed with indirect diffuse from lightmaps based on roughness, such that a mirror surface will have no mixing.  Reflection captures now match other reflection methods like SSR and planar reflections much more closely.
	* When a stationary skylight is present, Reflection captures are now normalized as if the initial skylight will always be present, giving consistent results with static skylight reflections.  The skylight and reflection captures with sky removed used to be normalized separately, compacting the relative brightness between the sky and scene.
	* Added r.ReflectionEnvironmentLightmapMixing for debugging lightmap mixing issues.  This toggle was previously not possible due to prenormalizing the capture data.
	* The standard deferred reflection path (r.DoTiledReflections 0) can no longer match the results of the compute path or base pass reflections, as it would require MRT to accumulate the average brightness
	* Removed unused r.DiffuseFromCaptures
	* Cost of reflection environment on PS4 increased from 1.52ms -> 1.75ms with this change, but decreased back to 1.58ms by reducing tile size to 8x8

Change 3055905 on 2016/07/19 by Daniel.Wright

	Workaround for RTDF shadows not working on PS4 - manual clear of ObjectIndirectArguments instead of RHICmdList.ClearUAV

Change 3059486 on 2016/07/21 by Nick.Penwarden

	Testing #uecritical

Change 3060558 on 2016/07/21 by Daniel.Wright

	Fixed skylight with specified cubemap being black

Change 3061999 on 2016/07/22 by Marcus.Wassmer

	Disable old AMD driver hacks for DX11.  QA has already tested with them off and given thumbs up.

Change 3062241 on 2016/07/22 by Daniel.Wright

	Fixed bug in RHISupportsSeparateMSAAAndResolveTextures that was preventing MSAA for any non-Vulkan platforms

Change 3062244 on 2016/07/22 by Daniel.Wright

	Discard old prenormalized reflection environment data on load

Change 3062283 on 2016/07/22 by Daniel.Wright

	MSAA support for the forward renderer
	* AntiAliasing method is chosen in Rendering project settings, DefaultSettings category
	* Deferred passes like shadow projection, fogging and decals are only computed per-pixel and can introduce aliasing
	* Added Rendering project setting VertexFoggingForOpaque, which makes height fog cheaper and work properly with MSAA
	* The AntiAliasing method in PostProcessSettings has been removed, this may affect existing content
	* Added r.MSAACount which defaults to 4
	* Integrated wide custom resolve filter from Oculus renderer, controlled by r.WideCustomResolve
	* GBuffer targets are no longer allocated when using the forward renderer
	* Decal blend modes that write to the GBuffer fall back to SceneColor emissive only

Change 3062666 on 2016/07/23 by Uriel.Doyon

	Added legend to streaming accuracy viewmodes
	Added a new helper class FRenderTargetTemp to be reused in different canvas rendering.
	Exposed the pass through pixel shader so that it can be reused.
	#review-3058986 @marcus.wassmer

Change 3063023 on 2016/07/25 by Luke.Thatcher

	Fix "RecompileShaders Changed" when using Cook On The Fly.
	#jira UE-33573

Change 3063078 on 2016/07/25 by Ben.Woodhouse

	Add -emitdrawevents command line option to emit draw events by default. This is useful when capturing with Renderdoc

Change 3063315 on 2016/07/25 by Ben.Woodhouse

	Fix div 0 in motion blur. This caused artifacts in some fairly common cases
	#jira UE-32331

Change 3063897 on 2016/07/25 by Uriel.Doyon

	Fixed missing qualifier on interpolants

Change 3064559 on 2016/07/26 by Ben.Woodhouse

	Fix for cooker crash with BC6H textures (XB1, but may affect other platforms). Also fixes corruption issue with texture slices not being a multiple of 4 pixels (expanding as necessary), courtesy of Stu McKenna at the Coalition
	Tested fix on xbox, PC and PS4, using QAGame
	#jira UE-28592

Change 3064896 on 2016/07/26 by Ben.Woodhouse

	Fix compile errors on PS4 (the variable "sample" was conflicting with a keyword, causing compile errors). Also making encoding consistent on new shaders (ansi rather than UTF16)

Change 3064913 on 2016/07/26 by Ben.Marsh

	Fix spelling of "Editor, Tools, Monolithics & DDC" node in Dev-Rendering build settings.

Change 3065326 on 2016/07/26 by Uriel.Doyon

	Fixed UnbuiltInstanceBoundsList not being reset correctly, creating broken rendered primitives.
	#jira UE-32585

Change 3065541 on 2016/07/26 by Daniel.Wright

	Materials with a GBuffer SceneTexture lookup will fail to compile with forward shading

Change 3065543 on 2016/07/26 by Daniel.Wright

	Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413

Change 3065545 on 2016/07/26 by Daniel.Wright

	Added material property bNormalCurvatureToRoughness, which can slightly reduce aliasing.  Tweakable impact with r.NormalCurvatureToRoughnessScale.
	Fixed reflection capture feedback with base pass reflections

Change 3066783 on 2016/07/27 by Daniel.Wright

	Moved PreShadowCacheDepthZ out of FSceneRenderTargets and into FScene, which fixes issues with cached preshadows and multiple scenes, including HighResScreenShot
	Disabled GMinScreenRadiusForShadowCaster on per-object shadows, which fixes popping when trying to increase shadow resolution from the defaults (r.Shadow.TexelsPerPixel 3)

Change 3066794 on 2016/07/27 by Daniel.Wright

	Fixed crash rendering planar reflections due to NULL PostProcessSettings

Change 3067412 on 2016/07/27 by Daniel.Wright

	Fix for OpenGL4 with uint interpolator

Change 3068470 on 2016/07/28 by Daniel.Wright

	Fixed crash rendering translucency with translucent shadows which were determined to be invisible

Change 3069046 on 2016/07/28 by Daniel.Wright

	Handle null Family in SetupAntiAliasingMethod

Change 3069059 on 2016/07/28 by Daniel.Wright

	Added r.ReflectionEnvironmentBeginMixingRoughness (.1) and r.ReflectionEnvironmentEndMixingRoughness (.3), which can be used to tweak the lightmap mixing heuristc, or revert to previous behavior (mixing even on a mirror surface)

Change 3069391 on 2016/07/28 by Daniel.Wright

	Fixed AverageBrightness being applied to reflections in gamma space in the mobile base pass, causing ES2 reflections to be overbright

Change 3070369 on 2016/07/29 by Daniel.Wright

	r.ReflectionEnvironmentBeginMixingRoughness and r.ReflectionEnvironmentEndMixingRoughness set to 0 can be used to achieve old non-roughness based lightmap mixing

Change 3070370 on 2016/07/29 by Daniel.Wright

	Bumped reflection capture DDC version to get rid of legacy prenormalized data

Change 3070680 on 2016/07/29 by Marcus.Wassmer

	Fix slate ensure that is most likely a timing issue exposed by rendering.
	#ue-33902

Change 3070811 on 2016/07/29 by Marcus.Wassmer

	Fix ProjectLauncher errors when loading old versions
	#ue-33939

Change 3070971 on 2016/07/29 by Uriel.Doyon

	Updated ListTextures outputs to fix cooked VS non cooked differences and also to put enphasis on disk VS memory

Change 3071452 on 2016/07/31 by Uriel.Doyon

	Updated the legend description for the (texture streaming) primitive distance accuracy view mode

[CL 3072803 by Marcus Wassmer in Main branch]
2016-08-01 18:56:49 -04:00
Gil Gribb
93047290bb Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3054480)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3045482 on 2016/07/11 by Zabir.Hoque

	DX12 Quries need to individually track their syncpoints. Only when resolving a query on the same frame should be stall.

Change 3045929 on 2016/07/12 by Simon.Tovey

	Removing some deprecated node types from Niagara

Change 3045951 on 2016/07/12 by Ben.Woodhouse

	D3D11 Log detailed live device info on shutdown if the debug layer is enabled (including resource types)

Change 3046019 on 2016/07/12 by Chris.Bunner

	Fixed typo in material input name.
	#jira UE-5575

Change 3046053 on 2016/07/12 by Rolando.Caloca

	DR - Fix GL4 shutdown
	#jira UE-32799

Change 3046055 on 2016/07/12 by Rolando.Caloca

	DR - vk - Fix NumInstances=0

Change 3046063 on 2016/07/12 by Rolando.Caloca

	DR - vk - Added flat to uint layouts per glslang
	- Fix bad extension on dumped shaders

Change 3046067 on 2016/07/12 by Rolando.Caloca

	DR - vk - Fix check when not using color RT
	- Added queue submit & present counters

Change 3046088 on 2016/07/12 by Ben.Woodhouse

	Live GPU stats
	A non-hierarchical realtime high level GPU profiler with support for cumulative stat recording.
	Stats are added with SCOPED_GPU_STAT macros, e.g. SCOPED_GPU_STAT(RHICmdList, Stat_GPU_Distortion)
	The bulk of the files in this change are simply instrumentation for the renderer. The core changes are in SceneUtils.cpp/h and D3D11Query.cpp (this is the XB1/DX11X implementation of timestamp RHI queries, which was missing)
	Note: this is currently disabled by default. Enable with the cvar r.gpustatsenabled
	Tested on PC, XB1, PS4

Change 3046128 on 2016/07/12 by Olaf.Piesche

	Max draw distance and fade range for lights, requested by JonL

Change 3046183 on 2016/07/12 by Ben.Woodhouse

	PR #2532: Fix SSAO being applied in unlit viewmode (Contributed by nick-penwarden)

Change 3046223 on 2016/07/12 by Luke.Thatcher

	Fix Scene Cube Captures. SceneCaptureSource flag on the ViewFamily was not set for cube components.

	#jira UE-32345

Change 3046228 on 2016/07/12 by Marc.Olano

	Add Voronoi noise to Noise material node.

	Four versions with differing speed/quality levels accessed through the Quality value in the material node. Tooltips give estimates of the cost of each.

	Also includes spiffy new Rand3DPCG16 and Rand3DPCG32 int3 to int3 hash functions, and a 20% improvement on the computed gradient noise.

Change 3046269 on 2016/07/12 by Rolando.Caloca

	DR - Skip flush on RHIDiscardRenderTargets and only use it on platforms that need it (ie OpenGL)

Change 3046294 on 2016/07/12 by Rolando.Caloca

	DR - Fix static analyisis
	warning C6326: Potential comparison of a constant with another constant.

Change 3046295 on 2016/07/12 by Rolando.Caloca

	DR - Fix the previous fix

Change 3046731 on 2016/07/12 by Marc.Olano

	Fix typo in shader random number constant: repeated extra digit made it too big.

Change 3046796 on 2016/07/12 by Uriel.Doyon

	The texture streaming manager now keeps a set of all valid textures.
	This is used to prevent from indirecting deleted memory upon SetTexturesRemovedTimestamp.
	#jira UE-33048

Change 3046800 on 2016/07/12 by Rolando.Caloca

	DR - vk - Added create image & renderpass dump

Change 3046845 on 2016/07/12 by John.Billon

	Forgot to apply MaxGPUSkinBones Cvar access changes in a few locations.

Change 3047023 on 2016/07/12 by Olaf.Piesche

	Niagara:
	-a bit of cleanup
	-now store and double buffer attributes individually, eliminating unnecessary copy of unused attributes
	-removed FNiagaraConstantMap, replaced with an instance of FNiagaraConstants
	-some code simplification
	-removed some deprecated structs and code used only by old content

Change 3047052 on 2016/07/12 by Zabir.Hoque

	Unshelved from pending changelist '3044062':

	PR #2588: Adding blend mode BLEND_AlphaComposite (4.12) (Contributed by moritz-wundke)

Change 3047727 on 2016/07/13 by Luke.Thatcher

	Fix Scene Capture Components only updating every other frame.
	#jira UE-32581

Change 3047919 on 2016/07/13 by Olaf.Piesche

	CMask decode, use in deferred decals, for PS4

Change 3047921 on 2016/07/13 by Uriel.Doyon

	"Build Texture Streaming" will now remove duplicate error msg when computing texcoord scales.
	Also, several texture messages are packed on the same line if they relate to the same material.

Change 3047952 on 2016/07/13 by Rolando.Caloca

	DR - vk - Initial prep pass for separating combined images & samplers

Change 3048648 on 2016/07/13 by Marcus.Wassmer

	Fix rare GPU hang when asynctexture reallocs would overlap with EndFrame

Change 3049058 on 2016/07/13 by Rolando.Caloca

	DR - vk - timestamps

Change 3049725 on 2016/07/14 by Marcus.Wassmer

	Fix autosdk bug where not having a platform directory sync'd at all would break manual SDK detection

Change 3049742 on 2016/07/14 by Rolando.Caloca

	DR - Fix warning

Change 3049902 on 2016/07/14 by Rolando.Caloca

	DR - Fix typo

Change 3050345 on 2016/07/14 by Olaf.Piesche

	UE-23925
	Clamping noise tessellation for beams at a high but sensible value; also making sure during beam index buffer building that we never get over 2^16 indices; this is a bit hokey, but there are so many variables that can influence triangle/index count, that this is the only way to be sure (short of nuking the entire site from orbit).

Change 3050409 on 2016/07/14 by Olaf.Piesche

	Replicating 3049049; missing break and check for active particles when resolving a source point to avoid a potential crash

Change 3050809 on 2016/07/14 by Rolando.Caloca

	DR - vk - Remove redundant validation layers

Change 3051319 on 2016/07/15 by Ben.Woodhouse

	Fix for world space camera position not being exposed in decal pixel shaders; also fixes decal lighting missing spec and reflection
	The fix was to calculate ResolvedView at the top of the shader. Previously this was not initialized
	#jira UE-31976

Change 3051692 on 2016/07/15 by Rolando.Caloca

	DR - vk - Enable RHI thread by default

Change 3052103 on 2016/07/15 by Uriel.Doyon

	Disabled depth offset in depth only pixel shaders when using debug view shaders (to prevent Z fighting).
	#jira UE-32765

Change 3052140 on 2016/07/15 by Rolando.Caloca

	DR - vk - Fix shader snafu

Change 3052495 on 2016/07/15 by Rolando.Caloca

	DR - Fix for Win32 compile
	#jira UE-33349

Change 3052536 on 2016/07/15 by Uriel.Doyon

	Fixed texture streaming overbudget warning when using per texture bias.

[CL 3054554 by Gil Gribb in Main branch]
2016-07-18 17:17:08 -04:00
Gil Gribb
e581ead572 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3045398)
#lockdown Nick.Penwarden
#rb none

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3028958 on 2016/06/27 by Ben.Woodhouse

	Fix for perf issue with GetSingleFinalDataConst

	This was caused by the LPV integration/switch to blendables. Now we cache the flag for the directionalocclusion in the LPV class. This reduces calls to GetSingleFinalDataConst on the blendable data (potentially slow), and makes things a bit cleaner and consistent.

	Tested in QAGame editor (with LPV enabled in ConsoleSettings.ini)

	#jira UE-26179

Change 3029401 on 2016/06/27 by Rolando.Caloca

	DR - More vk logging

Change 3029549 on 2016/06/27 by Uriel.Doyon

	Refactored "r.OnlyStreamInTextures" into "r.Streaming.FullyLoadUsedTextures", making it fully load every used textures, as an alternative to disabling texture streaming.
	New options "r.Streaming.UsePerTextureBias" that assign a  bias between 0 and MipBias to each texture in order to fit in budget.
	Fixed crash when disabling texture streaming.
	Fixed issue when disabling texture streaming that would make current loaded texture low res.
	New logic to prevent retrying to cancel a streaming request more than once.
	Pending load request of one extra mip will not be cancelled anymore.
	Changed UTexture2D from float to double. Also using FApp::GetCurrentTime() instead of FPlatformTime::Seconds().
	#jira UE-32197
	#jira UE-31102

Change 3029837 on 2016/06/27 by David.Hill

	Fixed Shutter SM4 not working when using compute shader eye-adaptation
	#jira UE-32443

	The default eye adaptation value was missing.

Change 3030039 on 2016/06/27 by Uriel.Doyon

	Fix for crash when landscape materials are used in the Texture Streaming Build.
	#jira UE-32196

Change 3030081 on 2016/06/27 by Uriel.Doyon

	Updated MaterialTexCoordScalesPixelShader to use PackedEyeIndex, preventing crash when building the map with stereo rendering enabled.

Change 3030401 on 2016/06/28 by Ben.Woodhouse

	Perf Monitor: Fix for perf warning due to cvar FindConsoleVariable being called too frequently. Tested in QAGame editor (DX11)
	#jira UE-31238

Change 3030607 on 2016/06/28 by Marc.Olano

	Random Number generators: fixed bug in TEA, added integer and float Blum-Blum-Shub. BBS is way cheaper for similar quality, suggest it for future use.

Change 3030627 on 2016/06/28 by Ben.Woodhouse

	Fix for warning. CVar naming scope clash (doesn't appear to happen in vs2015).

Change 3030809 on 2016/06/28 by Marc.Olano

	Noise shader function rename & perf improvement.

	Due to incorrect terminology in internet soruces, previous "Perlin" noise was not, in fact, Perlin noise. Now more accurately called "Value" noise. 6x perf improvement for value noise by changing random number function to BBS. Also updated instruction counts in UI tooltips.

Change 3030850 on 2016/06/28 by Marc.Olano

	Rename & redirect noise material enums. At some point these got switched around and no longer accurately described the noise options the selected. Redirect, so all existing content will continue to work as-is. Updated UDN docs to match.

Change 3030981 on 2016/06/28 by Rolando.Caloca

	DR - vk - More logging

Change 3031056 on 2016/06/28 by Marc.Olano

	Introduce new pure-ALU gradient shader noise. Add noise samples to RenderTest map

Change 3031398 on 2016/06/28 by Benjamin.Hyder

	updating TM-Shadermodels (correcting Mt Rushmore)

Change 3031441 on 2016/06/28 by Marc.Olano

	Use only float version of BBS shader rand function for ES2

Change 3031463 on 2016/06/28 by John.Billon

	Fixed F4 changing the viewmode in Fortnite editor. The detailed lighting viewmode (detaillighting) named in DefaultInput.ini differed from the one in BaseInput.ini(lit_detaillighting).
	#Jira UE-32020

Change 3031512 on 2016/06/28 by Zabir.Hoque

	Relax clear flags for DX12 RHIs.
	Properly flush pending commands before residency is updated.

Change 3031517 on 2016/06/28 by Rolando.Caloca

	DR - vk logging using r.Vulkan.DumpLayer

Change 3032359 on 2016/06/29 by Allan.Bentham

	Fix mobile shadows crash.

Change 3032431 on 2016/06/29 by Gil.Gribb

	Merging //UE4/Dev-Main@3032394 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3032757 on 2016/06/29 by Uriel.Doyon

	Fixed global mip bias being applied twice following integration with main.

Change 3033121 on 2016/06/29 by Rolando.Caloca

	DR - vk - Logging

Change 3033529 on 2016/06/29 by Daniel.Wright

	Null world guard on UReflectionCaptureComponent::ReadbackFromGPU

Change 3033668 on 2016/06/29 by Uriel.Doyon

	Grouped texture streaming settings to simplify logic.
	New options "r.Streaming.UseAllMips" to ignores the different lod and cinematic bias
	#jira UE-32118

Change 3034403 on 2016/06/30 by Rolando.Caloca

	DR - Shorten dumped shader debug strings

Change 3034475 on 2016/06/30 by Rolando.Caloca

	DR - Missing logging

Change 3034722 on 2016/06/30 by Uriel.Doyon

	Improved StreamingAccuracy viewmodes with alpha test and translucent materials
	#jira UE-32656

Change 3034797 on 2016/06/30 by Rolando.Caloca

	DR - vk - 'fix' RHIClear but causes a CPU hang on AMD, so disabled again

Change 3034799 on 2016/06/30 by Rolando.Caloca

	DR - vk - missed file

Change 3034905 on 2016/06/30 by Rolando.Caloca

	DR - vk - Fix for render passes being reused with wrong dimensions

Change 3035503 on 2016/07/01 by Simon.Tovey

	Async compute version of translucency lighting volume clear.

Change 3035577 on 2016/07/01 by Marc.Olano

	Tiling noise. Adds tiling option for gradient, gradient texture, and value noise in the noise material node. Tiling is more expensive, but allows noise functions to be baked into a seamless repeating texture.

Change 3035587 on 2016/07/01 by Ben.Woodhouse

	Fix for async SSAO bug (SSAO Async Compute results are used before the async job wait)

	#jira UE-32709

Change 3035618 on 2016/07/01 by Olaf.Piesche

	Asset fixes

Change 3035692 on 2016/07/01 by Rolando.Caloca

	DR - vk - Deferred deletion queue

Change 3035808 on 2016/07/01 by Rolando.Caloca

	DR - vk - Stat for deletion time, fixed some logging

Change 3036012 on 2016/07/01 by John.Billon

	Alpha Coverage Preservation
	-Textures have a Alpha Preservation Vec4 property which dictates about much of that channel to preserve down the mip chain during mip generation.
	#Jira UE-31986

Change 3036041 on 2016/07/01 by Rolando.Caloca

	DR - vk - Fix for 32bit

Change 3036433 on 2016/07/01 by Rolando.Caloca

	DR - More vk logging

Change 3036935 on 2016/07/04 by Simon.Tovey

	Removing Data Objects

Change 3036942 on 2016/07/04 by Ben.Woodhouse

	Fix for decal rendering resource leak

	The cause was that FD3D11BoundRenderTargets doesn't support setting RTs sparsely. So if one element is NULL, it won't release the ones after it.

	The sparse RT layout happened as a result of a change back in October, which meant that GBuffers for decals could be set sparsely, dependent on whether the decal wrote to the normalbuffer

	This change adds support for sparsely bound rendertargets in FD3D11BoundRenderTargets.

	#jira UE-32602

Change 3037563 on 2016/07/05 by Chris.Bunner

	HLOD self-shadowing in baked lighting fix.

Change 3037640 on 2016/07/05 by Marcus.Wassmer

	Fix bug in USE_GPU_OVERWRITE_CHECKING

Change 3037927 on 2016/07/05 by Rolando.Caloca

	DR - Fix touch pads not showing on Vulkan
	#jira UE-32062

Change 3038085 on 2016/07/05 by Chris.Bunner

	HLOD dynamic shadowing support.
	#jira UE-22627

Change 3038209 on 2016/07/05 by Rolando.Caloca

	DR - vk - Android compile fix

Change 3038644 on 2016/07/05 by Uriel.Doyon

	Added LerpRange that allows to lerp between two rotators without taking the sortest path.

Change 3038820 on 2016/07/05 by Uriel.Doyon

	Selecting streaming accuracy view modes will not automatically generate missing visualization data.

Change 3039332 on 2016/07/06 by John.Billon

	-Made MaxGPUSkinBonesCvar a FAutoConsoleVariableRef and moved it to mesh utilitles from console manager to fix a thread initialization problem.
	#Jira UE-31710

Change 3039454 on 2016/07/06 by Simon.Tovey

	Moved all Niagara files from Engine and UnrealEd to remove dependancies and increase compile times.
	Niagara is now 99.999% decoupled from engine and editor so development should be much streamlined.

	Plus a few other edits to remove Curves/DataObjects that I missed in last CL.

Change 3039517 on 2016/07/06 by Gil.Gribb

	Merging //UE4/Dev-Main@3039013 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3039587 on 2016/07/06 by Rolando.Caloca

	DR - vk logging, submit counter

Change 3039603 on 2016/07/06 by Rolando.Caloca

	DR - Allow more samplers on GL4
	#jira UE-32628
	#jira UE-32744

Change 3039661 on 2016/07/06 by Daniel.Wright

	Fixed non-directional DFAO occlusion on specular 'r.AOSpecularOcclusionMode 0'
	Skylight occlusion tint now applies to specular
	Skylight occlusion tint on diffuse is now correctly affected by DiffuseColor

Change 3039960 on 2016/07/06 by Daniel.Wright

	Forward renderer initial implementation
	* Point and spot lights are culled to a frustum space grid, base pass loops over culled lights.
	* Light culling uses a reverse linked list to avoid a per-cell limit, and the linked list is compacted to an array before the base pass.
	* New cvars to control light culling: r.Forward.MaxCulledLightsPerCell, r.Forward.LightGridSizeZ, r.Forward.LightGridPixelSize
	* A full Z Prepass is forced with forward shading.  This allows deferred rendering before the base pass of shadow projection methods that only rely on depth.
	* Dynamic shadows are packed based on the assigned stationary light ShadowMapChannel, since stationary lights are already restricted to 4 overlapping.
	* GBuffer render targets are still allocated
	* Fixed several issues in parallax corrected base pass reflections - not blending out box shape, discontinuity in reflection vector, not blending with stationary skylight properly
	* Forward shading is now used for TLM_SurfacePerPixelLighting translucency in the deferred path
	* Notable missing features: shadowing of translucency, support for various translucency lighting modes, multiple blended reflection captures

Change 3040050 on 2016/07/06 by Daniel.Wright

	Added r.Shadow.WholeSceneShadowCacheMb, which defaults to 150, to limit how much memory can be spent caching whole scene shadowmaps

Change 3040160 on 2016/07/06 by Daniel.Wright

	Fixed tile artifacts in indirect capsule shadows from doing the scaled sphere vs tile bounding sphere intersection in the wrong space

Change 3040163 on 2016/07/06 by Rolando.Caloca

	DR - vk - More logging

Change 3040257 on 2016/07/06 by Daniel.Wright

	Skylights aren't captured until their level is made visible- fixes the case where skylights capture too early

Change 3040316 on 2016/07/06 by Daniel.Wright

	PerObject shadows from point / spot lights do the light source pull back based on subject box size, not subject radius, since the box is used to find a valid < 90 degree projection.  Fix from licensee

Change 3040361 on 2016/07/06 by Daniel.Wright

	Fixed TexCreate_UAV being used on translucency volume textures in SM4

Change 3040402 on 2016/07/06 by Rolando.Caloca

	DR - vk - Make host mem accesses coherent

Change 3040486 on 2016/07/06 by Daniel.Wright

	CIS fixes

Change 3041028 on 2016/07/07 by Gil.Gribb

	Merging //UE4/Dev-Main@3040917 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3041235 on 2016/07/07 by Simon.Tovey

	Compile fix for FName conflict on UProperty (hopefully).

Change 3041666 on 2016/07/07 by Daniel.Wright

	Fixed TLM_SurfacePerPixelLighting in SM4, falls back to lighting volume

Change 3041731 on 2016/07/07 by Olaf.Piesche

	Adding Niagara to dynamically loaded module list; should fix UE-32915

Change 3042181 on 2016/07/07 by Daniel.Wright

	CIS fix

[CL 3045471 by Gil Gribb in Main branch]
2016-07-11 18:51:20 -04:00
Gil Gribb
0b102492a9 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3028916)
#lockdown nick.penwarden

==========================
MAJOR FEATURES + CHANGES
==========================

Change 3006483 on 2016/06/08 by Simon.Tovey

	Fix for UE-31653
	Instance params from the Spawn, Required and TypeData modules were not being autopopulated.

Change 3006514 on 2016/06/08 by Zabir.Hoque

	MIGRATING FIX @ Request

	Off by 1 error on reflection roughness calculation affecting 4.12. When I hoisted the max mip index i did a -1 on both sides(c++ & hlsl). This is the simplest hotfix. In 4.13 I'll remove the shader instruction and only do the "-1" in c++ this 1 less shader instruction.

	#CodeReview: Marcus.Wassmer, Daniel.Wright

Change 3006605 on 2016/06/08 by Rolando.Caloca

	DR - vk - Remove a bunch of unused code, clean up some todos

Change 3006969 on 2016/06/08 by HaarmPieter.Duiker

	Add #ifdefs around inverse tonemapping to avoid performance hit in normal use

Change 3007240 on 2016/06/09 by Chris.Bunner

	Made a pass at fixing global shader compile warnings and errors.

Change 3007242 on 2016/06/09 by Chris.Bunner

	Don't force unlit mode when re-loading a map.
	#jira UE-31247

Change 3007243 on 2016/06/09 by Chris.Bunner

	Cache InvalidLightmapSettings material for instanced meshes.
	#jira UE-31182

Change 3007258 on 2016/06/09 by Chris.Bunner

	Fixed refractive depth bias material parameter.

Change 3007466 on 2016/06/09 by Rolando.Caloca

	DR - Use vulkan debug marker extension directly from header

Change 3007504 on 2016/06/09 by Martin.Mittring

	added refresh button to ImageVerifier

Change 3007528 on 2016/06/09 by Martin.Mittring

	ALU optimization to SSR, minor perf difference on NVTitan, needs to to be profiled on lower end
	make render more deterministic

Change 3007551 on 2016/06/09 by Chris.Bunner

	Reverted constant type change in previous commit.

Change 3007559 on 2016/06/09 by Martin.Mittring

	updated ImageValidator

Change 3007584 on 2016/06/09 by Rolando.Caloca

	DR - Fix case when not running under RD

Change 3007668 on 2016/06/09 by Rolando.Caloca

	DR - vk - Split layers/extensions by required/optional

Change 3007820 on 2016/06/09 by Rolando.Caloca

	DR - Android compile fix

Change 3007926 on 2016/06/09 by Martin.Mittring

	fixed UI scaling in ImageVerifyer

Change 3007931 on 2016/06/09 by John.Billon

	-Fixed cutouts not working for certain sized texture/subUV size combinations.
	-Also fixed issue with subUV module not being postloaded consistently on startup.
	#Jira UE-31583

Change 3008023 on 2016/06/09 by Martin.Mittring

	refactor noise code in shaders

Change 3008127 on 2016/06/09 by Zabir.Hoque

	Merging back hot fixes:

	1. Fix DX12 crashing due to oclusion queries waiting on incorrect sync point. Integrating change from MS.

	2. Immediate context should flush directly and not attempt to flush the immediate context, ie. itself.

Change 3008129 on 2016/06/09 by Daniel.Wright

	Disabled r.ProfileGPU.PrintAssetSummary by default due to spam

Change 3008169 on 2016/06/09 by Rolando.Caloca

	DR - Fix mobile rendering not freeing resource when using RHI thread

Change 3008429 on 2016/06/09 by Uriel.Doyon

	Enabled texture streaming new metrics.
	Added progress bar while texture streaming is being built.
	Added debug shader validation to prevent crashes when there are uniform expression set mismatches.
	Added texture streaming build to "Build All"

Change 3008436 on 2016/06/09 by Uriel.Doyon

	Fixed shipping build

Change 3008833 on 2016/06/10 by Rolando.Caloca

	DR - Allow RenderTargets to be easily shared via GPU to other DX or OpenGL applications
	Submitted by Allar
	PR #1864
	#jira UE-24545

Change 3008842 on 2016/06/10 by Rolando.Caloca

	DR - Remove vertex densities view mode

Change 3008857 on 2016/06/10 by John.Billon

	Added a PostLoad to ParticleModuleSubUV to call postload on the SubUV animation to ensure that the animation is loaded in time for caching.

Change 3008870 on 2016/06/10 by Rolando.Caloca

	DR - Rebuild hlslcc libs (missing from last merge)

Change 3008925 on 2016/06/10 by John.Billon

	Fixed r.ScreenPercentage.Editor
	#Jira UE-31549

Change 3009028 on 2016/06/10 by Daniel.Wright

	Shadow depth refactor
	* Shadow setup and render target allocation now happens in InitViews, and shadow depth rendering happens at one spot in the frame
	* This provides control over where shadow depths are rendered for things like async compute, and allows easy atlasing of shadowmaps for forward shading
	* The 33Mb of shadow depth buffers in FSceneRenderTargets has been removed, and shadow depth buffers are now allocated as needed
	* A large amount of duplicated code to handle each shadow type has been combined
	* Cleaner parallel rendering: no more view hacking for the shadow depth pass, no more shadow depths in the middle of translucency
	* 'vis ShadowDepthAtlas' or 'vis WholeSceneShadowMap' must now be used to visualize the shadow depth textures

Change 3009032 on 2016/06/10 by Daniel.Wright

	Fixed crash with simple forward shading in the material editor

Change 3009178 on 2016/06/10 by Rolando.Caloca

	DR - Add support for multi callbacks on HlslParser, added a write to string callback

Change 3009268 on 2016/06/10 by Daniel.Wright

	Warning fixes

Change 3009416 on 2016/06/10 by Martin.Mittring

	moved decal rendering code in common spot for upcoming MeshDecal rendering

Change 3009433 on 2016/06/10 by John.Billon

	Adding ensures for translucency lighting volume render target acesses.
	#Jira UE-31578

Change 3009449 on 2016/06/10 by Daniel.Wright

	Fixed whole scene point light shadow depths getting rendered redundantly

Change 3009675 on 2016/06/10 by Martin.Mittring

	fixed Clang compiling

Change 3009815 on 2016/06/10 by Martin.Mittring

	renamed IsUsedWithDeferredDecal to IsDeferredDecal
	to be more correct

Change 3009946 on 2016/06/10 by Martin.Mittring

	minor optimization

Change 3010270 on 2016/06/11 by HaarmPieter.Duiker

	Update gamut transformations used when dumping EXRs to account for bug UE-29935

Change 3011423 on 2016/06/13 by Martin.Mittring

	fixed default of bOutputsVelocityInBasePass
	#code_review:Rolando.Caloca
	#test:PC

Change 3011448 on 2016/06/13 by Martin.Mittring

	minor engine code cleanup
	#code_review:Olaf.Piesche
	#test:PC

Change 3011991 on 2016/06/13 by Daniel.Wright

	Fixed downsampled translucency crash in VR

Change 3011993 on 2016/06/13 by Daniel.Wright

	Stationary Mobility for primitive components is allowed again, with the meaning 'moves rarely'
	Mobility tooltips now reflect whether a primitive component or light component is being inspected

Change 3012096 on 2016/06/13 by Daniel.Wright

	Missing file from cl 3011993

Change 3012546 on 2016/06/14 by John.Billon

	Added r.ContactShadows.Enable CVar to allow contact shadows to be globally disabled/enabled
	#Jira OR-23282

Change 3012706 on 2016/06/14 by John.Billon

	Renamed r.ContactShadows.Enable to r.ContactShadows

Change 3012992 on 2016/06/14 by Rolando.Caloca

	DR - vk - Fixed backbuffer/swapchain order with RHI thread enabled
	- Added support for CustomPresent

Change 3013030 on 2016/06/14 by Rolando.Caloca

	DR - vk - Fix dev issue

Change 3013423 on 2016/06/14 by Martin.Mittring

	removed code redundancy for easier upcoming changes
	#test:PC

Change 3013451 on 2016/06/14 by Martin.Mittring

	removed no longer needed debug cvar
	#test:PC

Change 3013643 on 2016/06/14 by Zabir.Hoque

	Fix API only being inlined in the cpp and not avaialble in the .h

Change 3013696 on 2016/06/14 by Olaf.Piesche

	Adding missing quality level spawn rate scaling on GPU emitters

Change 3013736 on 2016/06/14 by Daniel.Wright

	Cached shadowmaps for whole scene point and spot light shadows
	* Controlled by 'r.Shadow.CacheWholeSceneShadows', defaults to enabled (7ms -> 1.5ms of shadow depths on Titan for ~20 lights)
	* Primitives with Static or Stationary mobility have their depths cached, as long as the light is not moving
	* Primitives with Movable mobility or using World Position Offset in their materials will not have their depths cached
	* Cached shadowmaps are copied each frame and then movable primitive depths composited
	* Fast paths exist for when there were no static primitives (skip cached shadowmap) or movable primitives (project directly from cached shadowmap)
	* 'r.Shadow.CacheWPOPrimitives' controls whether materials using WPO can be cached (default is off for correctness)
	* 'r.Shadow.CachedShadowsCastFromMovablePrimitives' can be used to force off all support for movable primitives, skipping the shadowmap copies (1.5ms -> 0ms of shadow depths for ~20 lights)

Change 3014103 on 2016/06/15 by Daniel.Wright

	Compile fix

Change 3014507 on 2016/06/15 by Simon.Tovey

	Resurrected Niagara playground and moved to Samples/NotForLicencees

Change 3014931 on 2016/06/15 by Martin.Mittring

	moved r.RenderInternals code into renderer to be able to access more low level data
	#test:PC, paragon

Change 3014933 on 2016/06/15 by Martin.Mittring

	nicer text

Change 3014956 on 2016/06/15 by Daniel.Wright

	Fixed HLOD and mesh LODs getting hit by Lightmass ray traces that didn't originate from a mesh
	Volume lighting samples and precomputed visibility cells are now only placed on LOD0 (of both mesh LODs and HLOD)

Change 3014985 on 2016/06/15 by Uriel.Doyon

	Enabled Texture Build shaders on Mac
	Exposed IStreamingManager::AddViewSlaveLocation in ENGINE_API
	Fixed issue FStreamingManagerTexture::ConditionalUpdateStaticData which would to update some data in shipping.
	Fixed r.Streaming.MipBias not affecting maximum allowed resolution, showing warnings of texture streaming overbudgets
	#jira UE-30566
	#jira UE-31098

Change 3014995 on 2016/06/15 by Rolando.Caloca

	DR - vk - Removed RHI thread wait on acquire image
	- Move Descriptor pool into context

Change 3015002 on 2016/06/15 by Rolando.Caloca

	DR - Add (disabled) additional cvar for r.DumpShaderDebugWorkerCommandLine

Change 3015041 on 2016/06/15 by Martin.Mittring

	fixed ImageValidator crashing when using files that exist only in ref or test folder

Change 3015309 on 2016/06/15 by Rolando.Caloca

	DR - vk - Enable fence re-use on SDKs >= 1.0.16.0

Change 3015356 on 2016/06/15 by Rolando.Caloca

	DR - vk - Prep for staging buffer refactor

Change 3015430 on 2016/06/15 by Martin.Mittring

	minor optimization for subsurfacescatteringprofile

Change 3016097 on 2016/06/16 by Simon.Tovey

	Enabling Niagara by default in the Niagara playground

Change 3016098 on 2016/06/16 by Simon.Tovey

	Some misc fixup to get niagara working again

Change 3016183 on 2016/06/16 by Rolando.Caloca

	DR - vk - Recreate buffer view for volatile buffers

Change 3016225 on 2016/06/16 by Marcus.Wassmer

	Duplicate reflection fixes from 4.12 hotfixes.

Change 3016289 on 2016/06/16 by Chris.Bunner

	Always gather MP_Normal definitions as they can be shared by other material properties.
	#jira UE-31792

Change 3016294 on 2016/06/16 by Daniel.Wright

	Fix for ensure accessing CVarCacheWPOPrimitives in game

Change 3016305 on 2016/06/16 by Daniel.Wright

	Raised r.Shadow.CSM.MaxCascades to 10 on Epic scalability level, which it should have always been

Change 3016330 on 2016/06/16 by Daniel.Wright

	Cached shadowmaps are tossed after 5s of not being used for rendering - helps in the case where you fly through a bunch of lights and never look back
	Skipping shadow depth cubemap clear if there will be a cached shadowmap copy later - saves .4ms on PS4 for a close up point light
	Stats for shadowmap memory used under 'stat shadowrendering'

Change 3016506 on 2016/06/16 by Daniel.Wright

	Fixed crash building map in SunTemple due to null access

Change 3016703 on 2016/06/16 by Uriel.Doyon

	Fixed warning due to floating point imprecision when building texture streaming

Change 3016718 on 2016/06/16 by Daniel.Wright

	Volume lighting samples use adaptive sampling final gather
	* Increases their build time by 2x but improves quality in difficult cases (small bright sources of bounce lighting)

Change 3016871 on 2016/06/16 by Max.Chen

	Sequencer: Added support for the named "PerformanceCapture" event which like Matinee, calls GEngine->PerformanceCapture to output a screenshot when the event fires. Refactor event track/sections so that the player is passed to the trigger events evaluation.

	Copy from Dev-Sequencer

	#jira UE-32093

Change 3017189 on 2016/06/16 by Zabir.Hoque

	Fix GBuffer format selection type-o.

	#CodeReview: Marcus.Wassmer

Change 3017241 on 2016/06/16 by Martin.Mittring

	optimized  and cleaned up rendering in transluceny, distortion, custom mesh drawing
	#code_review:Daniel.Wright, Marcus.Wassmer, Nick.Penwarden

Change 3017856 on 2016/06/17 by Rolando.Caloca

	DR - Missing GL enum

Change 3017910 on 2016/06/17 by Ben.Woodhouse

	- Added a Video Buffer to ensure smooth submission of frames from CEF. Without this, we can get multiple texture updates per engine frame, which causes stuttering at high framerates
	- Disable hardware acceleration on Windows, since this causes severe performance issues with video rendering
	Please note: To actually see 60fps video, you need to ensure the browser frame rate passed into FWebBrowserSingleton::CreateBrowserWindow is set to 60 (default is 24)
	#RB:Keli.Hloedversson,Martin.Mittring

Change 3018126 on 2016/06/17 by Ben.Woodhouse

	Fix build warning on Mac
	#RB:David.Hill

Change 3018167 on 2016/06/17 by Chris.Bunner

	Handle case when float4 is passed to TransformPosition material node.
	#jira UE-24980

Change 3018246 on 2016/06/17 by Benjamin.Hyder

	Submitting Preliminary ShadowRefactor TestMap

Change 3018330 on 2016/06/17 by Benjamin.Hyder

	labeled ShadowRefactor map

Change 3018377 on 2016/06/17 by Chris.Bunner

	Removed additional node creation when initializing a RotateAboutAxis node.
	#jira UE-8034

Change 3018433 on 2016/06/17 by Rolando.Caloca

	DR - Fix some clang warnings on Vulkan

Change 3018664 on 2016/06/17 by Martin.Mittring

	unified some code for easier maintainance, fixed missing multiply from former change (CL 2933812)
	#test:PC
	#code_review:Marcus.Wassmer,Brian.Karis

Change 3019023 on 2016/06/19 by Benjamin.Hyder

	Re-Labeled ShadowRefactor map

Change 3019024 on 2016/06/19 by Benjamin.Hyder

	Correcting Translucent Volume (Non-Directional) settings

Change 3019026 on 2016/06/19 by Benjamin.Hyder

	Correcting Lighting ShadowRefactor map

Change 3019414 on 2016/06/20 by Allan.Bentham

	Refactor mobile shadows

Change 3019494 on 2016/06/20 by Gil.Gribb

	Merging //UE4/Dev-Main@3018959 to Dev-Rendering (//UE4/Dev-Rendering)

Change 3019504 on 2016/06/20 by John.Billon

	-Created a blueprint node (ExportRenderTarget and ExportTexture2D) to export render targets/textures as HDR images to disk.
	-Moved HDR export code(FHDRExportHelper and CubemapUnwrapUtils) to runtime from editor to allow access from blueprints.
	-Created a small common interface for blueprints and the editor itself to use for exporting.
	#Jira UE-31429

Change 3019561 on 2016/06/20 by Gil.Gribb

	UE4 - Worked around afulness of windows scheduler. This would occasionally cause hitches on quad core machines with additional load in the tick task manager.

Change 3019616 on 2016/06/20 by Rolando.Caloca

	DR - Replicate change in DevRendering to fix splotches on characters with morph targets
	Change: 3019599
	O - Fix flickering on heroes with morph targets

Change 3019627 on 2016/06/20 by Rolando.Caloca

	DR - Doh! Compile fix

Change 3019674 on 2016/06/20 by Simon.Tovey

	Ripped out the quick hacky VM debugger I wrote a while back.
	Over complicated the VM and didn't do enough work to justify it.
	Will revisit debugging and profiling of VM scripts in future.

Change 3019691 on 2016/06/20 by Ben.Woodhouse

	Add a per-object shadow setting for directional lights (r.Shadow.PerObjectDirectionalDepthBias), which is independent of the CSM setting. Often a smaller bias is desirable on per-object shadows, where detailed self-shadowing is needed.

	This change also makes the CSM naming consistent with what the setting actually does (the old setting was named r.shadow.csm, although it affects per-object shadows as well as CSMs).
	#RB:Martin.Mittring, Daniel.Wright

Change 3019741 on 2016/06/20 by John.Billon

	Fixed compile error on mac.

Change 3019984 on 2016/06/20 by Martin.Mittring

	minor optimization

Change 3020172 on 2016/06/20 by Zachary.Wilson

	Fixing mesh distance fields for engine content cube and cylinder by setting distance field resolution to 2. for UE-26783 #rb: none

Change 3020195 on 2016/06/20 by Zachary.Wilson

	Fixing engine coontent sphere's distance fields for UE-26783, distance fields resolution set to 2. #rb: none

Change 3020196 on 2016/06/20 by Rolando.Caloca

	DR - Appease static analysis

Change 3020231 on 2016/06/20 by Zachary.Wilson

	Making basic shapes consistent distance field resolution scale.  #rb: none

Change 3020468 on 2016/06/20 by David.Hill

	CameraWS  UE-29146

Change 3020502 on 2016/06/20 by Benjamin.Hyder

	Adding AutomationMatinee Camera for RenderOutputValidation

Change 3020508 on 2016/06/20 by Benjamin.Hyder

	Adding AutomationMatinee for RenderOutputValidation

Change 3020514 on 2016/06/20 by Benjamin.Hyder

	Setting Autoplay for AutomationMatinee (sequence)

Change 3020561 on 2016/06/20 by Daniel.Wright

	Removed outdated comment on uniform expression assert

Change 3021268 on 2016/06/21 by Daniel.Wright

	Scaled sphere intersection for indirect capsule shadows
	* Fixes the discontinuity when capsule axis points close to the light direction
	* GPU cost is effectively the same (more expensive to compute, but tighter culling)

Change 3021325 on 2016/06/21 by Daniel.Wright

	Split ShadowRendering.cpp into ShadowDepthRendering.cpp

Change 3021355 on 2016/06/21 by Daniel.Wright

	Fixed RTDF shadows (broken by shadowmap caching)

Change 3021444 on 2016/06/21 by Daniel.Wright

	Fixed crash due to Depth drawing policy not using the default material shader map properly

Change 3021543 on 2016/06/21 by Daniel.Wright

	Fixed drawing to a Canvas after EndDrawCanvasToRenderTarget causing a crash
	Fixed DrawMaterialToRenderTarget breaking the Canvas object that BeginDrawCanvasToRenderTarget returns

Change 3021749 on 2016/06/21 by Daniel.Wright

	Moved RenderBasePass and dependencies into BasePassRendering.cpp
	Moved RenderPrePass and dependencies into DepthRendering.cpp

Change 3021766 on 2016/06/21 by Benjamin.Hyder

	Adding 150dynamiclights level to Dev-Folder

Change 3021971 on 2016/06/21 by Daniel.Wright

	Removed the CPU-culled light grid which is used to implement TLM_SurfacePerPixelLighting, in preparation for a GPU-culled light grid implementation
	* TLM_SurfacePerPixelLighting now behaves like TLM_Surface

Change 3022760 on 2016/06/22 by Chris.Bunner

	Merge fixup.

Change 3022911 on 2016/06/22 by Rolando.Caloca

	DR - Added  r.D3DDumpD3DAsmFile to enable dumping the fxc disassembly when dumping shaders

Change 3023037 on 2016/06/22 by Rolando.Caloca

	DR - Fix for the case of global destructors calling FlushRenderingCommands() after the RHI has been destroyed

Change 3023139 on 2016/06/22 by Daniel.Wright

	Added on screen message for when VisualizeMeshDistanceFields is requested but engine scalability settings have DFAO disabled

Change 3023231 on 2016/06/22 by Daniel.Wright

	Only allowing opaque per-object shadows or CSM in the mobile renderer

Change 3023415 on 2016/06/22 by Daniel.Wright

	Fix crash in dx12 trying to clear stencil when there is no stencil in the depth target

Change 3024888 on 2016/06/23 by Daniel.Wright

	Fixed preshadows being rendered redundantly with multiple lights

Change 3025119 on 2016/06/23 by Martin.Mittring

	added MeshDecal content to RenderTest

Change 3025122 on 2016/06/23 by Martin.Mittring

	enabled DBuffer for RenderTest

Change 3025153 on 2016/06/23 by Marc.Olano

	Fix Spherical Particle Opacity. Particles using this stopped rendering sometime after 4.10.
	Needed to use world space without shader offsets, not absolute world space.

Change 3025180 on 2016/06/23 by Marc.Olano

	Use translated world space for particle centers.
	Better fix for Spherical Particle Opacity problems, but with fingers in more pies. Includes rename of particle center vertex factory variables.

Change 3025265 on 2016/06/23 by David.Hill

	Bilbords translucent during PIE  - lighting model was incorrectly set in gbuffer
	#jira UE-26165

Change 3025269 on 2016/06/23 by Ryan.Brucks

	Adding new Testmap for Pixel Depth Offset velocities with Temporal AA

Change 3025345 on 2016/06/23 by Benjamin.Hyder

	Submitting MeshDecal Content

Change 3025444 on 2016/06/23 by Benjamin.Hyder

	updating content for MeshDecal

Change 3025491 on 2016/06/23 by Benjamin.Hyder

	Updating DecalMesh Textures

Change 3025802 on 2016/06/23 by Martin.Mittring

	added to readme

Change 3026475 on 2016/06/24 by Rolando.Caloca

	DR - Show current state of r.RHIThread.Enable when not using param

Change 3026479 on 2016/06/24 by Rolando.Caloca

	DR - Upgrade glslang to 1.0.17.0

Change 3026480 on 2016/06/24 by Rolando.Caloca

	DR - Vulkan headers to 1.0.17.0

Change 3026481 on 2016/06/24 by Rolando.Caloca

	DR - Vulkan wrapper for extra logging

Change 3026491 on 2016/06/24 by Rolando.Caloca

	DR - Missed file

Change 3026574 on 2016/06/24 by Rolando.Caloca

	DR - vk - Enabled fence reuse on 1.0.17.0
	- Added more logging info

Change 3026656 on 2016/06/24 by Frank.Fella

	Niagara - Prevent sequencer uobjects from being garbage collected.

Change 3026657 on 2016/06/24 by Benjamin.Hyder

	Updating Rendertestmap to latest

Change 3026723 on 2016/06/24 by Rolando.Caloca

	DR - Fix for ES3.1 RHIs

Change 3026784 on 2016/06/24 by Martin.Mittring

	New feature: Mesh Decals / Material layers (Chris.Bunner is the goto person on MeshDecals from now on)

Change 3026866 on 2016/06/24 by Olaf.Piesche

	#jira OR-18363
	#jira UE-27780
	fix distortion in particle macro uvs

[CL 3028922 by Gil Gribb in Main branch]
2016-06-27 13:42:20 -04:00