Commit Graph

58 Commits

Author SHA1 Message Date
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
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
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
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
Marcus Wassmer
e4c18bbe31 Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3122278)
#lockdown Nick.Penwarden
#rb none

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

Change 3109545 on 2016/09/01 by Zabir.Hoque

	Merging DX12 RHIs stage 1.

	#Tests Ran InfiltratorDemo, ElementalDemo, ShooterGame

Change 3109580 on 2016/09/01 by Zabir.Hoque

	Merging DX12 RHI. Stage 2: Moving XB and Windows APIs to a common location. This will cause a build break, but will allow us to preserve history.

Change 3109632 on 2016/09/01 by Zabir.Hoque

	Merge DX12 RHI. Stage 3. Ported all changes and merged RHI into common and Win and XB1 specialized folder. Current with MS partners branch and Release 4.13.

Change 3109690 on 2016/09/01 by Zabir.Hoque

	Fixing build break after large merge from partners branch and syncing to latest Dev-Rendering.

Change 3109716 on 2016/09/01 by Zabir.Hoque

	Fix build warnings after merge.

Change 3109733 on 2016/09/01 by Zabir.Hoque

	More build fixes for things pointing from XboxOneD3D12RHI to D3D12RHI

Change 3109773 on 2016/09/01 by Zabir.Hoque

	Fixing code analysis warnings.

Change 3109870 on 2016/09/01 by Rolando.Caloca

	DR - Simple clear mode

Change 3110066 on 2016/09/01 by Zabir.Hoque

	Remove C++11 feature so VS2013 can compile for Fortnite.

Change 3110335 on 2016/09/01 by Brian.Karis

	Fixed double lighting of clear coat, cloth, and eyes

	#review-3108222 @Ben.Woodhouse

Change 3110411 on 2016/09/01 by Rolando.Caloca

	DR - vk - Fix bogus assert
	- Fix pipeline barrier with levelCount=0

Change 3110573 on 2016/09/01 by Zabir.Hoque

	Exclude D3D12 merged RHI from Mac Builds.

Change 3110681 on 2016/09/01 by Rolando.Caloca

	DR - vk - Swapchain fix for drivers returning infinite swapchain images

Change 3110936 on 2016/09/01 by Rolando.Caloca

	DR - vk - Fix crash when dumping unused heaps
	- Show file/line if enabled

Change 3111034 on 2016/09/01 by Rolando.Caloca

	DR - vk - Fix exclude rect clear

Change 3111139 on 2016/09/01 by Rolando.Caloca

	DR - Automatically enable capturing mode if running under RenderDoc

Change 3111170 on 2016/09/01 by Rolando.Caloca

	DR - vk - Store max info per descriptor set pool

Change 3111234 on 2016/09/01 by Zabir.Hoque

	XB1 compiler warnings.

Change 3111763 on 2016/09/02 by Rolando.Caloca

	DR - Fix typo in shader
	PR #2759
	#jira UE-35496

Change 3111846 on 2016/09/02 by Rolando.Caloca

	DR - vk - Update to SDK 1.0.24.0 (including glslang)

Change 3111916 on 2016/09/02 by Ben.Woodhouse

	Fix for timestamp query results being broken in the XB1 DX11 RHI (caused by a merge issue with dev-platform)
	Also clarify some variable naming

Change 3112048 on 2016/09/02 by Rolando.Caloca

	DR - vk - Compile fix for build machines

Change 3112315 on 2016/09/02 by Rolando.Caloca

	DR - vk - Added peak usage to mem dump

Change 3112791 on 2016/09/02 by Daniel.Wright

	FD3D12PipelineStateCache debug fix

Change 3113483 on 2016/09/05 by Ben.Woodhouse

	Fix potential issue with timestamp and occlusion queries overlapping with new query packing optimisation.  We may want to put these into separate buffers to avoid reduce the padding with timestamp queries (timestamp queries currently use 4x the memory they actually need due to additional padding)

Change 3113488 on 2016/09/05 by Ben.Woodhouse

	GPu profiler : fix for render thread performance issues, enable GPU profiler by default

	Avoids RHIThread stalls in query creation by reusing queries via a pool. A FRenderQueryPool class already existed for doing this, so this was moved into the engine to make it accessible from both the engine and renderer modules

	Tested on XB1,PS4,PC dx11

Change 3114286 on 2016/09/06 by Chris.Bunner

	Copying CL 3114173 from 4.13 - Better enforce render resource limits on widget draw size.Jira UE-26375.

Change 3114883 on 2016/09/06 by Rolando.Caloca

	DR - vk - Delete resources on the RHI thread
	- Set blend factor to 1
	- Added num mips & num layers to RT views
	- Added missing destructors
	- Fix for crash on rhi thread

Change 3116308 on 2016/09/07 by Rolando.Caloca

	DR - vk - New renderpass/transition/barrier rewrite for sm4 (disabled)
	- Fixes for 3d texture RTs

Change 3117409 on 2016/09/08 by Gil.Gribb

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

Change 3117445 on 2016/09/08 by Gil.Gribb

	Fix merge fallout

Change 3117555 on 2016/09/08 by Rolando.Caloca

	DR - Fix merge issue

Change 3117687 on 2016/09/08 by Marc.Olano

	Create new Vector Noise material node, and *3DDeriv numerical derivative material functions

	Vector Noise node has noise functions with 3D output, including cellnoise (random color per cell), computed noise with vector output, gradient of 3D noise, curl of 3D noise, and version of Voronoi noise returning seed position in the closest Voronoi cell.

	3DDeriv functions compute gradient and curl on any expression using centered differences from four samples offset in a tetrahedral pattern (two fewer than the common axis-aligned offset method)

Change 3117696 on 2016/09/08 by Rolando.Caloca

	DR - Replicate 4.13.1 fix from 3117678

	UE4.13 - Better error reporting when SCW fails/crashes
	jira UE-17227

Change 3117720 on 2016/09/08 by Rolando.Caloca

	DR - vk - Fix for static analysis

Change 3117786 on 2016/09/08 by Rolando.Caloca

	DR - vk - Use new alignment

Change 3118145 on 2016/09/08 by Marcus.Wassmer

	Fix async compute clear not waiting for the gfx pipe properly.  Also appears to fix a rare PS4 gpu hang.

Change 3118329 on 2016/09/08 by Brian.Karis

	Fix screen size calculations for LOD

Change 3118351 on 2016/09/08 by Brian.Karis

	Quadric mesh simplifier!

	In and working for the first time.
	ScreenSize is now correctly calculated from MaxDeviation
	Pixel Error now a reduction setting in LOD group.
	Binary Heap is fixed and functional.
	Still needs to play better with 3rd party reduction.

Change 3118457 on 2016/09/08 by Rolando.Caloca

	DR - vk - Fix cube & 3d texture transitions & copies

Change 3118540 on 2016/09/08 by Benjamin.Hyder

	Re-Submitting Noise assets to get engine version

Change 3119438 on 2016/09/09 by Rolando.Caloca

	DR - vk - Added barrier & cache flushes when reading back GPU memory
	- Added cubemap & 3d texture barriers
	- Added cubemap & 3d texture copy image

Change 3119518 on 2016/09/09 by Brian.Karis

	Fixed compile error

Change 3119580 on 2016/09/09 by Marc.Olano

	Documentation for Vector noise

Change 3119710 on 2016/09/09 by Rolando.Caloca

	DR - vk - Fix read stencil mask & front/back

Change 3119865 on 2016/09/09 by Rolando.Caloca

	DR - vk - RHIReadSurfaceFloatData
	- Fix redundant write transitions
	- Simplify copy and transition code

Change 3120059 on 2016/09/09 by Rolando.Caloca

	DR - vk - Static analysis warnings

Change 3120413 on 2016/09/09 by Mark.Satterthwaite

	Fix AVFMedia plugin failing when a movie has captions.
	#jira UE-35828

Change 3120936 on 2016/09/12 by Ben.Woodhouse

	Add slate rendering to the GPU stats

Change 3121204 on 2016/09/12 by Rolando.Caloca

	DR - vk - Fix geometry shaders position
	- Revert translucent workaround

Change 3121467 on 2016/09/12 by Rolando.Caloca

	DR - Fix integration issue (lost some shader defines)

Change 3121862 on 2016/09/12 by Zabir.Hoque

	Fixing Code Analysis warnings.

	#jira: UE-35860

Change 3122139 on 2016/09/12 by Ben.Woodhouse

	Re-enable the checkerboard lighting by default to workaround skin lighting issue in fortnite (again)

	#jira UE-35886

Change 3122278 on 2016/09/12 by Zabir.Hoque

	2nd Attempt at Code Analysis warnings

[CL 3122339 by Marcus Wassmer in Main branch]
2016-09-12 22:23:27 -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
Gil Gribb
2cf40e541e Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3091903)
#lockdown Nick.Penwarden
#rb none

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

Change 3072947 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 texture.
	#review-3072934 @marcus.wassmer
	#jira UE-34045

Change 3073301 on 2016/08/02 by Ben.Woodhouse

	Fix for large spotlight culling precision issues, reported on UDN by Aaron Jacobs at Double Fine. For a full description, see the UDN post
	https://udn.unrealengine.com/questions/305440/shadowed-light-flicker-caused-by-floating-point-pr.html
	#jira UE-34052

Change 3073689 on 2016/08/02 by Ben.Woodhouse

	Improved skin postprocess - support for full resolution, with diffuse/spec lighting combined into single RGBA (sharing chroma)

	Full res lighting gives less temporal AA flickering, sharper diffuse and specular lighting in the surface (since this is now at full resolution), faster postprocessing if using a 64-bit rendertarget (on NV 980Ti).

	Checkerboard rendering is controlled via the r.sss.checkerboard cvar. - 0 is off/full res, 1 is checkerboard, 2 is automatic based on scenecolor (non-checkerboard requires 64bit or more rendertarget w/separate alpha)

	Tested/profiled on PC, PS4

Change 3074666 on 2016/08/02 by Daniel.Wright

	Fixed stationary skylight brightness

Change 3074667 on 2016/08/02 by Daniel.Wright

	Fixed r.ReflectionEnvironmentLightmapMixing

Change 3074687 on 2016/08/02 by Daniel.Wright

	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.

Change 3075241 on 2016/08/03 by Rolando.Caloca

	DR - Fix linux compile issue & static analysis warning

Change 3075746 on 2016/08/03 by Daniel.Wright

	Removed bOverride_AntiAliasingMethod and outdated ini references to PP AntiAliasingMethod

Change 3075783 on 2016/08/03 by Ryan.Brucks

	#code.review Marcus.Wassmer

	Added two material nodes that return Atmospheric Light Vector and Light Direction using:

	View.AtmosphericFogSunColor
	View.AtmosphericFogSunDirection

	Nodes are called:
	AtmosphericLightVector
	AtmosphericLightColor

	Also changed SceneRendering.cpp so that values will be grabbed from directional lights without needing an Atmospheric Fog actor in the scene.

Change 3075969 on 2016/08/03 by Uriel.Doyon

	Material GUIDs are not updated anymore when parents or textures change.
	Lighting now uses a hash built from the list of parents, textures and shader functions.
	#review-3072980 @marcus.wassmer @daniel.wright

Change 3076116 on 2016/08/03 by Ryan.Brucks

	#code.review marcus.wassmer
	Fixed typo in the Caption of new Nodes "Atmospheric Light Vector" and "Atmospheric Light Color"

Change 3076456 on 2016/08/03 by Rolando.Caloca

	DR - Fix geometry shader gl_Layer for SPIR-V

Change 3076730 on 2016/08/03 by Uriel.Doyon

	Added user warning logic for the texture streaming build. Ran in MapCheck, BeginPlay and PreSave.
	#review-3072984 @marcus.wassmer

Change 3077616 on 2016/08/04 by Daniel.Wright

	Planar reflection show flags can now be edited

Change 3077621 on 2016/08/04 by Daniel.Wright

	Changed default Planar Reflection DistanceFromPlaneFadeoutEnd from 600 to 100, which reduces artifacts and is a more intuitive initial setting

Change 3077792 on 2016/08/04 by Daniel.Wright

	Fixed an unnecessary sky capture caused by the sky light component owned by the default ASkyLight

Change 3077799 on 2016/08/04 by Daniel.Wright

	Skip RF_ArchetypeObject for reflection captures

Change 3077876 on 2016/08/04 by Marc.Olano

	Noise material perf improvements

	Change random number generator for Gradient-ALU (1.7x perf boost), improve speed of Voronoi noise quality level 3.

	Removes integer BBS random number generators. Fewer instructions, but too slow to use (see 1.7x perf boost above)

Change 3077884 on 2016/08/04 by Daniel.Wright

	Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them

Change 3078994 on 2016/08/05 by Simon.Tovey

	Fix for UE-34241
	Scene proxy ptr was being cached during a downcast.
	Inside a call to CreateDynamicData, CheckMaterialUsage_Concurrent() was causing the scene proxy to be recreated an so the cached ptr was stale.
	I've fixed the immediate issue but recreating the scene proxy here doesn't seem great. Maybe CheckMaterailUsage() should be rethought a bit.

Change 3079162 on 2016/08/05 by Ben.Woodhouse

	Fix for jittering in Paper2D. Was caused by override being ignored due to a change in intiialization order for AA settings.
	#jira UE-34091

Change 3079613 on 2016/08/05 by Daniel.Wright

	New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly
	New blueprint function CreateRenderTarget2D

Change 3079708 on 2016/08/05 by Uriel.Doyon

	Fixed crash when building texture streaming on some levels.

Change 3079795 on 2016/08/05 by Uriel.Doyon

	Fixed issue with instanced static meshes when building texture streaming.
	Fixed typo with func "GetNumTextureStreamingPrimitives"

Change 3079806 on 2016/08/05 by Uriel.Doyon

	Enabled PerTexture MipBias. The per texture mip bias now resets to 0 when the texture gets required at low resolution.
	New scalability setting named "r.Streaming.LimitPoolSizeToVRAM" enabling the PoolSize to be limited the available VRAM
	(according to GPoolSizeVRAMPercentage)
	#review-3074662 @marcus.wassmer

Change 3082698 on 2016/08/09 by Daniel.Wright

	Copy - CreateRenderTarget2D uses a world context object as owner, allows use in a construction script

Change 3082699 on 2016/08/09 by Daniel.Wright

	Changed display name for 'Two Sided' shading model to 'Two Sided Foliage' to make it clear what it's intended to be used for

Change 3083909 on 2016/08/10 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)

Change 3084645 on 2016/08/10 by Olaf.Piesche

	#jira UE-30398

	Fix offset added to particle collision locations.

Change 3084709 on 2016/08/10 by Daniel.Wright

	Copy - 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()

Change 3084783 on 2016/08/10 by Rolando.Caloca

	DR - Use the first targeted rhi shader platform as the initial RHI to load on Windows
	#jira UE-34510

Change 3084958 on 2016/08/10 by Daniel.Wright

	Copy - Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards

Change 3086023 on 2016/08/11 by Marcus.Wassmer

	Merging //UE4/Dev-Main@3085468 to Dev-Rendering (//UE4/Dev-Rendering)
	#test none

Change 3086778 on 2016/08/11 by Ben.Woodhouse

	Workaround for fortnite character rendering issue. Enable checkerboard rendering by default until we can fix properly
	#jira UE-34561

Change 3087404 on 2016/08/12 by Rolando.Caloca

	DR - Upgrade glslang to 1.0.21.1
	- Added some more debug output

Change 3087524 on 2016/08/12 by Rolando.Caloca

	DR - vk - Fixed StencilRef, fixed size of RHIReadSurfaceFloatData (but still returns dummy data)

Change 3087663 on 2016/08/12 by Rolando.Caloca

	DR - vk - Fix for SRGB; support for mip texture views

Change 3087735 on 2016/08/12 by Daniel.Wright

	TextureRenderTarget2D's can now be up to 8192^2.  Anything over 2048 pops up an 'are you sure' dialog.

Change 3087750 on 2016/08/12 by Rolando.Caloca

	DR - vk - Minor renaming in prep for merge

Change 3087813 on 2016/08/12 by Rolando.Caloca

	DR - vk - More minor cleanup

Change 3087819 on 2016/08/12 by Chris.Bunner

	Check material function input types directly, no need to traverse connected graph.
	#jira UE-32134

Change 3087901 on 2016/08/12 by Rolando.Caloca

	DR - vk - Fix RT view to use 1 mip
	Fix depth buffer component swizzle

Change 3088193 on 2016/08/12 by Daniel.Wright

	DFAO and RTDF shadows are enabled in High and Epic scalability settings by default

Change 3088988 on 2016/08/15 by Rolando.Caloca

	DR - Add Accessors

Change 3089104 on 2016/08/15 by Olaf.Piesche

	#jira UE-34241

	Sceneproxy can be nullptr in FDynamicMeshEmitterData::Init if the proxy is being recreated

Change 3089208 on 2016/08/15 by Daniel.Wright

	Downsampled separate translucency uses a separate view uniform buffer with correct buffer sizes
	* Fixes WorldPosition in downsampled translucency
	* View uniform buffer parameters are now cached on the view, to allow recreating the uniform buffer without having to rebuild the entire struct.  Currently used by global distance field, downsampled separate translucency.
	* Fixed the downsampled translucency depth buffer being full res used together with a smaller color target, now they are both the downsampled res

Change 3089209 on 2016/08/15 by Daniel.Wright

	Fixed atmospheric fog on translucency

Change 3089457 on 2016/08/15 by Daniel.Wright

	Fixed lighting build failure from UMaterialInstanceDynamic assigned to a mesh that's being exported to Lightmass.  The Swarm cache entry is created using the parent's guid, causing multiple MID's with the same parent to acquire a file handle multiple times which fails after the first.

Change 3089549 on 2016/08/15 by Daniel.Wright

	UMaterialInterface initializes LightingGuid to something valid - causes UMaterialInstanceDynamic to have a valid LightingGuid so they can be used in lighting builds

Change 3089703 on 2016/08/15 by Daniel.Wright

	Custom expression fixup for View.RenderTargetSize

Change 3090546 on 2016/08/16 by Daniel.Wright

	Hopeful fix for recycled snapshot view crash

Change 3091202 on 2016/08/16 by Daniel.Wright

	Manually clear FViewInfo::CachedViewUniformShaderParameters on creating a snapshot, since memcpy is used to create the snapshot view

[CL 3091931 by Gil Gribb in Main branch]
2016-08-17 11:38:13 -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
223aefa047 Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main)
#lockdown nick.penwarden

[CL 2868391 by Gil Gribb in Main branch]
2016-02-16 05:48:48 -05:00
Matthew Griffin
bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00
Marc Audy
e5bb9b4d0d Integrate all non-branch Engine/Source changes from //depot/UE4-Orion to //depot/UE4
#lockdown Ben.Marsh
#platformnotify Josh.Adams

[CL 2718236 by Marc Audy in Main branch]
2015-10-06 15:59:09 -04:00
Marcus Wassmer
445543fd51 First pass at new RHITransitionResources API.
Rendertarget transitions are completed and validated on DX11 and PS4 RHI's.

[CL 2700116 by Marcus Wassmer in Main branch]
2015-09-21 20:07:00 -04:00
Guillaume Abadie
5f189f0f5d Bug UE-20116: Fixes Screen Space Subsurface Scatering pass' regression brought by CL 2640696, outputing the gbuffer's diffuse color additionaly to the scene color, creating global ilumination changes when material using SSS are coming in and out of the camera frutsum.
#code_review: Martin.Mittring

[CL 2661045 by Guillaume Abadie in Main branch]
2015-08-19 11:28:54 -04:00
Ryan Vance
fec728074d Custom HMD post process mesh implementation.
Instead of rendering a full screen quad for post process passes, render a mesh which represents only the screen area visible in the HMD after distortion.
This cuts the cost of post processing ~10-15% with no visible difference.
Initial implementation for the Vive.

[CL 2644327 by Ryan Vance in Main branch]
2015-08-04 19:33:26 -04:00
Martin Mittring
fcffb8a9cb Improved SubsurfaceScatteringProfile quality, base color is now applied after scattering which gives crisper textures and more control.
This is more correct for scanned textures as they include scattering already. Affects the look of emissive lighting (rarely needed and can be fixed by content). All diffuse lighting for SubsurfaceScatteringProfile is now done without the BaseColor (minor performance cost) and reading the Lighting before the SubsurfaceScattering pass would be different.

Removed the need for a SceneColor alpha channel as lighting is now stored in a checkerboard pattern for diffuse and specular separate. Specular and diffuse lighting on Subsurface materials can appear a bit less crips.

This means the use of 32bit SceneColor (for better performance) is now possible (we might change the defaults soon).

[CL 2640696 by Martin Mittring in Main branch]
2015-07-31 14:26:40 -04:00
Martin Mittring
fa6cf3affe removed usnused code in SubSurfaceScattering
[CL 2640514 by Martin Mittring in Main branch]
2015-07-31 12:41:03 -04:00
Robert Manuszewski
8e6b194e44 [BuildWatcher] Fixing CIS on the Mac
#codereview Martin.Mittring

[CL 2637747 by Robert Manuszewski in Main branch]
2015-07-29 17:46:15 -04:00
Martin Mittring
ea4ccb1c25 fixed ScreenSpaceSubusrfaceScattering actifacts
- wasn't scaling right with ViewportSize, e.g. HighResScreenshot
 - Missing a horizontal line in the 2d kernel
 - Improved quality of the full res portion
 - refactored to avoid one full res pass
 - simplified Stereo rendering support
 - In single viewport case it now goes down to 32bit texture format afterwards (input can be 32/RGB or 64/RGBA as before, without alpha it can look bad)

[CL 2637623 by Martin Mittring in Main branch]
2015-07-29 16:42:44 -04:00
Martin Mittring
af7edf2d27 added r.SSS.HalfRes to get ScreenSpaceSubSurfaceScattering in higher quality (not yet optimized) as reference
[CL 2631509 by Martin Mittring in Main branch]
2015-07-23 18:12:09 -04:00
Martin Mittring
6814deb985 nicer cvar help
[CL 2625994 by Martin Mittring in Main branch]
2015-07-20 12:22:51 -04:00
Martin Mittring
3eec69cda7 changed all direct access to PassOutputs to GetInput() to allow internal restructuring
[CL 2611739 by Martin Mittring in Main branch]
2015-07-06 18:04:49 -04:00
Martin Mittring
3dbde88871 fixed typo
[CL 2586757 by Martin Mittring in Main branch]
2015-06-12 20:26:35 -04:00
Gil Gribb
356a7d8f96 UE4 - Large upgrade to parallel rendering. No longer block per pass. Several RHI cmdlist passthrough functions added and implemented on the consoles
[CL 2570510 by Gil Gribb in Main branch]
2015-05-29 10:47:57 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00