2016-12-08 08:52:44 -05:00
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
2014-03-14 14:13:41 -04:00
# pragma once
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
# include "CoreMinimal.h"
# include "RHI.h"
2014-06-23 07:12:12 -04:00
# include "PackedNormal.h"
2014-03-14 14:13:41 -04:00
/**
* Constructs a basis matrix for the axis vectors and returns the sign of the determinant
*
* @ param XAxis - x axis ( tangent )
* @ param YAxis - y axis ( binormal )
* @ param ZAxis - z axis ( normal )
* @ return sign of determinant either - 1 or + 1
*/
FORCEINLINE float GetBasisDeterminantSign ( const FVector & XAxis , const FVector & YAxis , const FVector & ZAxis )
{
FMatrix Basis (
FPlane ( XAxis , 0 ) ,
FPlane ( YAxis , 0 ) ,
FPlane ( ZAxis , 0 ) ,
FPlane ( 0 , 0 , 0 , 1 )
) ;
return ( Basis . Determinant ( ) < 0 ) ? - 1.0f : + 1.0f ;
}
/**
* Constructs a basis matrix for the axis vectors and returns the sign of the determinant
*
* @ param XAxis - x axis ( tangent )
* @ param YAxis - y axis ( binormal )
* @ param ZAxis - z axis ( normal )
* @ return sign of determinant either 0 ( - 1 ) or + 1 ( 255 )
*/
FORCEINLINE uint8 GetBasisDeterminantSignByte ( const FPackedNormal & XAxis , const FPackedNormal & YAxis , const FPackedNormal & ZAxis )
{
2014-05-06 06:26:25 -04:00
return FMath : : TruncToInt ( GetBasisDeterminantSign ( XAxis , YAxis , ZAxis ) * 127.5f + 127.5f ) ;
2014-03-14 14:13:41 -04:00
}
/** Information about a pixel format. */
struct FPixelFormatInfo
{
const TCHAR * Name ;
int32 BlockSizeX ,
BlockSizeY ,
BlockSizeZ ,
BlockBytes ,
NumComponents ;
/** Platform specific token, e.g. D3DFORMAT with D3DDrv */
uint32 PlatformFormat ;
/** Whether the texture format is supported on the current platform/ rendering combination */
bool Supported ;
EPixelFormat UnrealFormat ;
} ;
extern RENDERCORE_API FPixelFormatInfo GPixelFormats [ PF_MAX ] ; // Maps members of EPixelFormat to a FPixelFormatInfo describing the format.
# define NUM_DEBUG_UTIL_COLORS (32)
static const FColor DebugUtilColor [ NUM_DEBUG_UTIL_COLORS ] =
{
FColor ( 20 , 226 , 64 ) ,
FColor ( 210 , 21 , 0 ) ,
FColor ( 72 , 100 , 224 ) ,
FColor ( 14 , 153 , 0 ) ,
FColor ( 186 , 0 , 186 ) ,
FColor ( 54 , 0 , 175 ) ,
FColor ( 25 , 204 , 0 ) ,
FColor ( 15 , 189 , 147 ) ,
FColor ( 23 , 165 , 0 ) ,
FColor ( 26 , 206 , 120 ) ,
FColor ( 28 , 163 , 176 ) ,
FColor ( 29 , 0 , 188 ) ,
FColor ( 130 , 0 , 50 ) ,
FColor ( 31 , 0 , 163 ) ,
FColor ( 147 , 0 , 190 ) ,
FColor ( 1 , 0 , 109 ) ,
FColor ( 2 , 126 , 203 ) ,
FColor ( 3 , 0 , 58 ) ,
FColor ( 4 , 92 , 218 ) ,
FColor ( 5 , 151 , 0 ) ,
FColor ( 18 , 221 , 0 ) ,
FColor ( 6 , 0 , 131 ) ,
FColor ( 7 , 163 , 176 ) ,
FColor ( 8 , 0 , 151 ) ,
FColor ( 102 , 0 , 216 ) ,
FColor ( 10 , 0 , 171 ) ,
FColor ( 11 , 112 , 0 ) ,
FColor ( 12 , 167 , 172 ) ,
FColor ( 13 , 189 , 0 ) ,
FColor ( 16 , 155 , 0 ) ,
FColor ( 178 , 161 , 0 ) ,
FColor ( 19 , 25 , 126 )
} ;
//
// CalculateImageBytes
//
extern RENDERCORE_API SIZE_T CalculateImageBytes ( uint32 SizeX , uint32 SizeY , uint32 SizeZ , uint8 Format ) ;
/** A global white texture. */
extern RENDERCORE_API class FTexture * GWhiteTexture ;
/** A global black texture. */
extern RENDERCORE_API class FTexture * GBlackTexture ;
/** A global black array texture. */
extern RENDERCORE_API class FTexture * GBlackArrayTexture ;
/** A global black volume texture. */
extern RENDERCORE_API class FTexture * GBlackVolumeTexture ;
/** A global white cube texture. */
extern RENDERCORE_API class FTexture * GWhiteTextureCube ;
/** A global black cube texture. */
extern RENDERCORE_API class FTexture * GBlackTextureCube ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3231693)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3219796 on 2016/12/02 by Rolando.Caloca
DR - vk - Increase timeout to 60ms
Change 3219884 on 2016/12/02 by Daniel.Wright
Assert to help track down rare crash locking capsule indirect shadow vertex buffer
Change 3219885 on 2016/12/02 by Daniel.Wright
Fixed saving a package that doesn't exist on disk but exists in p4 at a newer revision when the user chooses 'Mark Writable'
Change 3219886 on 2016/12/02 by Daniel.Wright
Don't create projected shadows when r.ShadowQuality is 0
* Fixes crash in the forward path trying to render shadows
* In the deferred path, the shadowmap was still being rendered and only the projection skipped, now all cost will be skipped
Change 3219887 on 2016/12/02 by Daniel.Wright
Changed ClearRenderTarget2D default alpha to 1, which is necessary for correct compositing
Change 3219893 on 2016/12/02 by Daniel.Wright
AMD AGS library with approved TPS
Disabled DFAO on AMD pre-GCN PC video cards to workaround a driver bug which won't be fixed (Radeon 6xxx and below)
Change 3219913 on 2016/12/02 by Daniel.Wright
Level unload of a lighting scenario propagates the lighting scenario change - fixes crash when precomputed lighting volume data gets unloaded
Change 3220029 on 2016/12/02 by Daniel.Wright
Async shader compiling now recreates scene proxies which are affected by the material which was compiled. This fixes crashes which were occuring as proxies cache various material properties, but applying compiled materials would not update these cached properties (bRequiresAdjacencyInformation).
* A new ensure has been added in FMeshElementCollector::AddMesh and FBatchingSPDI::DrawMesh to catch attempts to render with a material not reported in GetUsedMaterials
* Fixed UParticleSystemComponent::GetUsedMaterials and UMaterialBillboardComponent::GetUsedMaterials
* FMaterialUpdateContext should be changed to use the same pattern, but that hasn't been done yet
Change 3220108 on 2016/12/02 by Daniel.Wright
Fixed shadowmap channel assignment for stationary lights which are not in a lighting scenario level, when a lighting scenario level is present
Change 3220504 on 2016/12/03 by Mark.Satterthwaite
Metal Desktop Tessellation support from Unicorn.
- Apple: Metal tessellation support added to MetalShaderFormat, MetalRHI and incl. changes to engine runtime/shaders for Desktop renderer and enabled in ElementalDemo by default (OS X 10.11 will run SM4).
- Epic: Support for different Metal shader standards on Mac, iOS & tvOS which required moving some RHI functions around as this is a project setting and not a compile-time constant.
- Epic: Fragment shader UAV support, which is also tied to newer Metal shader standard like Tessellation.
- Epic: Significant refactor of MetalRHI's internals to clearly separate state-caching from render-pass management and command-encoding.
- Epic: Internal MetalRHI validation code is now cleanly separated out into custom implementations of the Metal @protocol's and is on by default.
- Epic: Various fixes to Layered Rendering for Metal.
- Omits Mobile Tessellation support which needs further revision.
Change 3220881 on 2016/12/04 by Mark.Satterthwaite
Compiles fixes for iOS & static analysis fixes from Windows.
Change 3221180 on 2016/12/05 by Guillaume.Abadie
Avoid compiling PreviousFrameSwitch's both Current Frame and Previous Frame inputs every time.
Change 3221217 on 2016/12/05 by Chris.Bunner
More NVAPI warning fixups.
Change 3221219 on 2016/12/05 by Chris.Bunner
When comparing overriden properties used to force instance recompilation we need to check against the base material, not assume the immediate parent.
#jira UE-37792
Change 3221220 on 2016/12/05 by Chris.Bunner
Exported GetAllStaticSwitchParamNames and GetAllStaticComponentMaskParamNames.
#jira UE-35132
Change 3221221 on 2016/12/05 by Chris.Bunner
PR #2785: Fix comment typo in RendererInterface.h (Contributed by dustin-biser)
#jira UE-35760
Change 3221223 on 2016/12/05 by Chris.Bunner
Default to include dev-code when compiling material preview stats.
#jira UE-20321
Change 3221534 on 2016/12/05 by Rolando.Caloca
DR - Added FDynamicRHI::GetName()
Change 3221833 on 2016/12/05 by Chris.Bunner
Set correct output extent on PostProcessUpscale (allows users to extend chain correctly).
#jira UE-36989
Change 3221852 on 2016/12/05 by Chris.Bunner
32-bit/ch EXR screenshot and frame dump output.
Fixed row increment bug in 128-bit/px surface format readback.
#jira UE-37962
Change 3222059 on 2016/12/05 by Rolando.Caloca
DR - vk - Fix memory type not found
Change 3222104 on 2016/12/05 by Rolando.Caloca
DR - Lambdaize
- Added quicker method to check if system textures are initialized
Change 3222290 on 2016/12/05 by Mark.Satterthwaite
Trivial fixes to reporting Metal shader pipeline errors - need to check if Hull & Domain exist.
Change 3222864 on 2016/12/06 by Rolando.Caloca
DR - Fix mem leak when exiting
Change 3222873 on 2016/12/06 by Rolando.Caloca
DR - vk - Minor info to help track down leaks
Change 3222875 on 2016/12/06 by Rolando.Caloca
DR - Fix mem leak with VisualizeTexture
#jira UE-39360
Change 3223226 on 2016/12/06 by Chris.Bunner
Static analysis warning workaround.
Change 3223235 on 2016/12/06 by Ben.Woodhouse
Integrate from NREAL: Set a custom projection matrix on a SceneCapture2D
Change 3223343 on 2016/12/06 by Chris.Bunner
Moved HLOD persistent data to viewstate to fix per-view compatability.
#jira UE-37539
Change 3223349 on 2016/12/06 by Chris.Bunner
Fixed HLOD with FreezeRendering command.
#jira UE-29839
Change 3223371 on 2016/12/06 by Michael.Trepka
Removed obsolete check() in FMetalSurface constructor
Change 3223450 on 2016/12/06 by Chris.Bunner
Added explicit ScRGB output device selection rather than Nvidia-only hardcoded checks. Allows easier support for Mac and other devices moving forward.
Change 3223638 on 2016/12/06 by Michael.Trepka
Restored part of the check() in FMetalSurface constructor removed in CL 3223371
Change 3223642 on 2016/12/06 by Mark.Satterthwaite
Experimental Metal EDR/HDR output support for Mac (iOS/tvOS need custom formats & shaders so they are not supported yet).
- Only available on macOS Sierra (10.12) for Macs with HDR displays (e.g. Retina iMacs).
- Enable with -metaledr command-line argument as it is off-by-default.
- Sets up the CAMetalLayer & the back-buffer for RGBA_FP16 output on Mac using DCI-P3 as the color gamut and ACES 1000 nit ScRGB output encoding.
Change 3223830 on 2016/12/06 by Rolando.Caloca
DR - vk - Better error when finding an invalid Vulkan driver
#jira UE-37495
Change 3223869 on 2016/12/06 by Rolando.Caloca
DR - vk - Reuse fences
Change 3223906 on 2016/12/06 by Guillaume.Abadie
Fix alpha through TempAA artifact causing a small darker edge layouts.
Change 3224199 on 2016/12/06 by Mark.Satterthwaite
Fix a dumb copy-paste error from the HDR changes to Metal.
Change 3224220 on 2016/12/06 by Mark.Satterthwaite
Fix various errors with Metal UAV & Render-Pass Restart support so that we can use the Pixel Shader culling for DistanceField effects.
- Unfortunately Metal requires that a texture be bound to start a render-pass, so reuse the dummy depth-stencil surface from the problematic editor preview tile rendering.
Change 3224236 on 2016/12/06 by Mark.Satterthwaite
IWYU CIS compile fix for iOS.
Change 3224366 on 2016/12/06 by Mark.Satterthwaite
Simplify some of the changes from CL# 3224220 so that we don't perform unnecessary clears.
- If the RenderPass is broken to issue compute or blit operations then treat the cached RenderTargetsInfo as invalid, unless the RenderPass is restarted.
- This guarantees that we don't erroneously ignore calls to SetRenderTargets if the calling code issues a dispatch between two RenderPasses that use the same RenderTargetsInfo.
Change 3224416 on 2016/12/06 by Uriel.Doyon
New default implementation for UPrimitiveComponent::GetStreamingTextureInfo using a conservative heuristic where the textures are stretched across the bounds.
Optimized UPrimitiveComponent::GetStreamingTextureInfoWithNULLRemoval by not handling registered components with no proxy (essentially hidden game / collision primitives).
Added blueprint support for texture streaming built data through FStaticMeshComponentInstanceData.
Fix for material texture streaming data not being available on some cooked builds.
Enabled split requests on all texture load requests (first loading everything visible and then loaded everything not visible).
This is controlled by "r.Streaming.MinMipForSplitRequest" which defines the minimum mip for which to allow splitting.
Forced residency are now loaded in two steps (visible, then forced), improving reactiveness.
Updated "stat streaming" to include "UnkownRefMips" which represent texture with no known component referencing them,
and also "LastRenderTimeMips" which related to timed primitives.
Changed "Forced Mips" so that it only shows mips that are loaded become of forced residency.
"Texture Streaming Build" now updates the map check after execution.
Removed Orphaned texture logic as this has become irrelevant with the latest retention priority logic.
Updated "r.streaming.usenewmetrics" so that it shows behavior before and after 4.12 improvements.
Change 3224532 on 2016/12/07 by Uriel.Doyon
Integrated CL 3223965 :
Building texture streaming data for materials does not wait for pending shaders to finish compilation anymore.
Added more options to allow the user to cancel this build also.
Change 3224714 on 2016/12/07 by Ben.Woodhouse
Cherry pick CL 3223972 from //fortnite/main:
Disable Geometry shader onchip on XB1. This saves 4ms for a single shadow casting point light @ 512x512 (4.8ms to 1.8ms)
Change 3224715 on 2016/12/07 by Ben.Woodhouse
New version of d3dx12.h from Microsoft which incorporates my suggested static analysis fixes. This avoids us diverging from the official version
Change 3224975 on 2016/12/07 by Rolando.Caloca
DR - vk - Dump improvements
Change 3225012 on 2016/12/07 by Rolando.Caloca
DR - Show warning if trying to use num samples != (1,2,4,8,16)
Change 3225126 on 2016/12/07 by Chris.Bunner
Added 'force 128-bit rendering pipeline' to high-res screenshot tool.
#jira UE-39345
Change 3225449 on 2016/12/07 by Chris.Bunner
Updated engine rendering defaults to better match current best practices.
#jira UE-38081
Change 3225485 on 2016/12/07 by Chris.Bunner
Moved QuantizeSceneBufferSize to RenderCore and added call for PostProcess settings. Fixes screenpercentage out-of-bounds reads in some cases.
#jira UE-19394
Change 3225486 on 2016/12/07 by Chris.Bunner
Only disable TAA during HighResScreenshots if we don't have a reasonable frame-delay enabled.
Change 3225505 on 2016/12/07 by Daniel.Wright
Fixed exponential height fog disappearing with no skybox
Change 3225655 on 2016/12/07 by Benjamin.Hyder
Updating TM-Shadermodels to include Translucent lighting, Two sided, updated cloth animation, and adjusted lighting.
Change 3225668 on 2016/12/07 by Chris.Bunner
Dirty owning packages when user manually forces regeneration of all reflection captures.
#jira UE-38759
Change 3226139 on 2016/12/07 by Rolando.Caloca
DR - Fix recompute tangents disabling skin cache
- Make some macros into lambdas
#jira UE-39143
Change 3226212 on 2016/12/07 by Daniel.Wright
Features which require a full prepass use DDM_AllOpaque instead of DDM_AllOccluders, which can be skipped if the component has bUseAsOccluder=false
Change 3226213 on 2016/12/07 by Daniel.Wright
Scene Capture 2D can specify a global clip plane, which is useful for portals
* Requires the global clip plane project setting to be enabled
Change 3226214 on 2016/12/07 by Daniel.Wright
Improved deferred shadowing with MSAA by upsampling light attenuation intelligently in the base pass
* If the current fragment's depth doesn't match what was used for deferred shadowing, the neighbor (cross pattern) with the nearest depth's shadowing is used
* Edge artifacts can still occur where the upsample fails or the shadow factor was computed per-sample due to depth / stencil testing
* Indirect Occlusion from capsule shadows also uses the nearest depth neighbor UV for no extra cost
* Base pass on 970 GTX 1.69ms -> 1.85ms (.16ms) in RoboRecall
Change 3226258 on 2016/12/07 by Rolando.Caloca
DR - Typo fix
Change 3226259 on 2016/12/07 by Rolando.Caloca
DR - compile fix
#jira UE-39143
Change 3226932 on 2016/12/08 by Chris.Bunner
Re-saved Infiltrator maps to update reflection captures.
#jira UE-38759
Change 3227063 on 2016/12/08 by Mark.Satterthwaite
For Metal platforms ONLY temporarily disable USE_LIGHT_GRID_REFLECTION_CAPTURE_CULLING to avoid UE-37436 while the Nvidia driver team investigate why this doesn't work for them but does for the others. This won't affect non-Metal platforms and the intent is to revert this prior to 4.16 provided we can work through the problem with Nvidia.
#jira UE-37436
Change 3227120 on 2016/12/08 by Gil.Gribb
Merging //UE4/Dev-Main@3226895 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3227211 on 2016/12/08 by Arne.Schober
DR - UE-38585 - Fixing crash where HierInstStaticMesh duplication fails. Also reverting the fix from UE-28189 which is redundant.
Change 3227257 on 2016/12/08 by Marc.Olano
Extension to PseudoVolumeTexture for more flexible layout
Change by ryan.brucks
Change 3227286 on 2016/12/08 by Rolando.Caloca
DR - Fix crash when using custom expressions and using reserved keywords
#jira UE-39311
Change 3227376 on 2016/12/08 by Mark.Satterthwaite
Must not include a private header inside the MenuStack public header as that causes compile errors in plugins.
Change 3227415 on 2016/12/08 by Mark.Satterthwaite
Fix shader compilation due to my disabling of USE_LIGHT_GRID_REFLECTION_CAPTURE_CULLING on Metal - InstancedCompositeTileReflectionCaptureIndices needs to be defined even though Metal doesn't support instanced-stereo rendering.
Change 3227516 on 2016/12/08 by Daniel.Wright
Implemented UWidgetComponent::GetUsedMaterials
Change 3227521 on 2016/12/08 by Guillaume.Abadie
Fixes post process volume's indirect lighting color.
#jira UE-38888
Change 3227567 on 2016/12/08 by Marc.Olano
New upscale filters: Lanczos-2 (new default), Lanczos-3 and Gaussian Unsharp Mask
Change 3227628 on 2016/12/08 by Daniel.Wright
Removed redundant ResolveSceneDepthTexture from the merge
Change 3227635 on 2016/12/08 by Daniel.Wright
Forward renderer supports shadowing from movable lights and light functions
* Only 4 shadow casting movable or stationary lights can overlap at any point in space, otherwise the movable lights will lose their shadows and an on-screen message will be displayed
* Light functions only work on shadow casting lights since they need a shadowmap channel to be assigned
Change 3227660 on 2016/12/08 by Rolando.Caloca
DR - vk - Fix r.MobileMSAA on Vulkan
- r.MobileMSAA is now read-only (to be fixed on 4.16)
- Show time for PSO creation hitches
#jira UE-39184
Change 3227704 on 2016/12/08 by Mark.Satterthwaite
Fix Mac HDR causing incorrect output color encoding being used, HDR support is now entirely off unless you pass -metaledr which will enable it regardless of whether the current display supports HDR (as we haven't written the detection code yet). Fixed the LUT/UI compositing along the way - Mac Metal wasn't using volume LUT as it should have been, RHISupportsVertexShaderLayer now correctly returns false for non-Mac Metal platforms.
Change 3227705 on 2016/12/08 by Daniel.Wright
Replaced built-in samplers in the nearest depth translucency upsample because the built-in samplers are no longer bound on PC (cl 2852426)
Change 3227787 on 2016/12/08 by Chris.Bunner
Added extent clear to motion blur pass to catch misized buffers bringing in errors.
Added early out to clear call when excluded region matches RT region.
#jira UE-39437
Change 3228177 on 2016/12/08 by Marc.Olano
Fix DCC sqrt(int) error
Change 3228285 on 2016/12/08 by Chris.Bunner
Back out changelist 3225449.
#jira UE-39528
Change 3228680 on 2016/12/09 by Gil.Gribb
Merging //UE4/Dev-Main@3228528 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3228940 on 2016/12/09 by Mark.Satterthwaite
Editor fixes for 4.15:
- PostProcessTonemap can't fail to bind a texture to the ColorLUT or the subsequent rendering will be garbage: the changes for optimising stereo rendering forgot to account for the Editor's use of Views without States for the asset preview thumbnails. Amended the CombineLUT post-processing to allocate a local output texture when there's no ViewState and read from this when this situation arises which makes everything function again.
- Don't start render-passes without a valid render-target-array in MetalRHI.
Change 3228950 on 2016/12/09 by Mark.Satterthwaite
Make GPUSkinCache run on Mac Metal - it wasn't working because it was forcibly disabled on all platforms but for Windows D3D 11.
- Fixed the Skeleton editor tree trying to access a widget before it has been constructed.
- Enable GPUSkinCache for Metal SM5: doesn't render correctly, even on AMD, so needs Radar's filing and investigation.
#jira UE-39256
Change 3229013 on 2016/12/09 by Mark.Satterthwaite
Further tidy up in SSkeletonTreeView as suggested by Nick.A.
Change 3229101 on 2016/12/09 by Chris.Bunner
Log compile error fix and updated cvar comments.
Change 3229236 on 2016/12/09 by Ben.Woodhouse
XB1 D3D11 and D3D12: Use the DXGI frame statistics to get accurate GPU time unaffected by bubbles
Change 3229430 on 2016/12/09 by Ben.Woodhouse
PR #2680: Optimized histogram generation. (Contributed by PjotrSvetachov)
Profiled on nvidia 980GTX (2x faster), and on XB1 (marginally faster)
Change 3229580 on 2016/12/09 by Marcus.Wassmer
DepthBoundsTest for AMD.
Change 3229701 on 2016/12/09 by Michael.Trepka
Changed "OS X" to "macOS" in few places where we display it and updated the code that asks users to update to latest version to check for 10.12.2
Change 3229706 on 2016/12/09 by Chris.Bunner
Added GameUserSettings controls for HDR display output.
Removed Metal commandline as this should replace the need for it.
Change 3229774 on 2016/12/09 by Michael.Trepka
Disabled OpenGL on Mac. -opengl is now ignored, we always use Metal. On old Macs that do not support Metal we show a message saying that the app requires Metal and exit.
Change 3229819 on 2016/12/09 by Chris.Bunner
Updated engine rendering defaults to better match current best practices.
#jira UE-38081
Change 3229948 on 2016/12/09 by Rolando.Caloca
DR - Fix d3d debug error
#jira UE-39589
Change 3230341 on 2016/12/11 by Mark.Satterthwaite
Don't fatally assert that the game-thread stalled waiting for the rendering thread in the Editor executable, even when running -game as the rendering thread can take a while to respond if shaders need to be compiled.
#jira UE-39613
Change 3230860 on 2016/12/12 by Marcus.Wassmer
Experimental Nvidia AFR support.
Change 3230930 on 2016/12/12 by Mark.Satterthwaite
Disable RHICmdList state-caching on Mac - Metal already does this internally and depends on receiving all state changes in order to function.
Change 3231252 on 2016/12/12 by Marcus.Wassmer
Fix NumGPU detection. (SLI only crash)
Change 3231486 on 2016/12/12 by Mark.Satterthwaite
Fix a stupid mistake in MetalStateCache::CommitResourceTable that would unnecessarily rebind samplers.
Change 3231661 on 2016/12/12 by Mark.Satterthwaite
Retain the RHI samplers in MetalRHI to guarantee lifetime.
[CL 3231696 by Gil Gribb in Main branch]
2016-12-12 17:47:42 -05:00
/** A global black cube depth texture. */
extern RENDERCORE_API class FTexture * GBlackTextureDepthCube ;
2014-03-14 14:13:41 -04:00
/** A global black cube array texture. */
extern RENDERCORE_API class FTexture * GBlackCubeArrayTexture ;
/** A global texture that has a different solid color in each mip-level. */
extern RENDERCORE_API class FTexture * GMipColorTexture ;
/** Number of mip-levels in 'GMipColorTexture' */
extern RENDERCORE_API int32 GMipColorTextureMipLevels ;
// 4: 8x8 cubemap resolution, shader needs to use the same value as preprocessing
extern RENDERCORE_API const uint32 GDiffuseConvolveMipLevel ;
/** The indices for drawing a cube. */
extern RENDERCORE_API const uint16 GCubeIndices [ 12 * 3 ] ;
/**
* Maps from an X , Y , Z cube vertex coordinate to the corresponding vertex index .
*/
inline uint16 GetCubeVertexIndex ( uint32 X , uint32 Y , uint32 Z ) { return X * 4 + Y * 2 + Z ; }
/**
* A 3 x1 of xyz ( 11 : 11 : 10 ) format .
*/
struct FPackedPosition
{
union
{
struct
{
# if PLATFORM_LITTLE_ENDIAN
int32 X : 11 ;
int32 Y : 11 ;
int32 Z : 10 ;
# else
int32 Z : 10 ;
int32 Y : 11 ;
int32 X : 11 ;
# endif
} Vector ;
uint32 Packed ;
} ;
// Constructors.
FPackedPosition ( ) : Packed ( 0 ) { }
FPackedPosition ( const FVector & Other ) : Packed ( 0 )
{
Set ( Other ) ;
}
// Conversion operators.
FPackedPosition & operator = ( FVector Other )
{
Set ( Other ) ;
return * this ;
}
operator FVector ( ) const ;
VectorRegister GetVectorRegister ( ) const ;
// Set functions.
void Set ( const FVector & InVector ) ;
// Serializer.
friend FArchive & operator < < ( FArchive & Ar , FPackedPosition & N ) ;
} ;
/** Flags that control ConstructTexture2D */
enum EConstructTextureFlags
{
/** Compress RGBA8 to DXT */
CTF_Compress = 0x01 ,
/** Don't actually compress until the pacakge is saved */
CTF_DeferCompression = 0x02 ,
/** Enable SRGB on the texture */
CTF_SRGB = 0x04 ,
/** Generate mipmaps for the texture */
CTF_AllowMips = 0x08 ,
/** Use DXT1a to get 1 bit alpha but only 4 bits per pixel (note: color of alpha'd out part will be black) */
CTF_ForceOneBitAlpha = 0x10 ,
/** When rendering a masked material, the depth is in the alpha, and anywhere not rendered will be full depth, which should actually be alpha of 0, and anything else is alpha of 255 */
CTF_RemapAlphaAsMasked = 0x20 ,
/** Ensure the alpha channel of the texture is opaque white (255). */
CTF_ForceOpaque = 0x40 ,
/** Default flags (maps to previous defaults to ConstructTexture2D) */
CTF_Default = CTF_Compress | CTF_SRGB ,
} ;
/**
* Calculates the extent of a mip .
*
* @ param TextureSizeX Number of horizontal texels ( for the base mip - level )
* @ param TextureSizeY Number of vertical texels ( for the base mip - level )
* @ param Format Texture format
* @ param MipIndex The index of the mip - map to compute the size of .
*/
RENDERCORE_API FIntPoint CalcMipMapExtent ( uint32 TextureSizeX , uint32 TextureSizeY , EPixelFormat Format , uint32 MipIndex ) ;
2016-03-16 21:16:51 -04:00
/**
* Calculates the width of a mip , in blocks .
*
* @ param TextureSizeX Number of horizontal texels ( for the base mip - level )
* @ param Format Texture format
* @ param MipIndex The index of the mip - map to compute the size of .
*/
RENDERCORE_API SIZE_T CalcTextureMipWidthInBlocks ( uint32 TextureSizeX , EPixelFormat Format , uint32 MipIndex ) ;
/**
* Calculates the height of a mip , in blocks .
*
* @ param TextureSizeY Number of vertical texels ( for the base mip - level )
* @ param Format Texture format
* @ param MipIndex The index of the mip - map to compute the size of .
*/
RENDERCORE_API SIZE_T CalcTextureMipHeightInBlocks ( uint32 TextureSizeY , EPixelFormat Format , uint32 MipIndex ) ;
2014-03-14 14:13:41 -04:00
/**
* Calculates the amount of memory used for a single mip - map of a texture .
*
* @ param TextureSizeX Number of horizontal texels ( for the base mip - level )
* @ param TextureSizeY Number of vertical texels ( for the base mip - level )
* @ param Format Texture format
* @ param MipIndex The index of the mip - map to compute the size of .
*/
RENDERCORE_API SIZE_T CalcTextureMipMapSize ( uint32 TextureSizeX , uint32 TextureSizeY , EPixelFormat Format , uint32 MipIndex ) ;
/**
* Calculates the amount of memory used for a texture .
*
* @ param SizeX Number of horizontal texels ( for the base mip - level )
* @ param SizeY Number of vertical texels ( for the base mip - level )
* @ param Format Texture format
* @ param MipCount Number of mip - levels ( including the base mip - level )
*/
RENDERCORE_API SIZE_T CalcTextureSize ( uint32 SizeX , uint32 SizeY , EPixelFormat Format , uint32 MipCount ) ;
/**
* Calculates the amount of memory used for a texture .
*
* @ param SizeX Number of horizontal texels ( for the base mip - level )
* @ param SizeY Number of vertical texels ( for the base mip - level )
* @ param SizeY Number of depth texels ( for the base mip - level )
* @ param Format Texture format
* @ param MipCount Number of mip - levels ( including the base mip - level )
*/
RENDERCORE_API SIZE_T CalcTextureSize3D ( uint32 SizeX , uint32 SizeY , uint32 SizeZ , EPixelFormat Format , uint32 MipCount ) ;
/**
* Copies the data for a 2 D texture between two buffers with potentially different strides .
* @ param Source - The source buffer
* @ param Dest - The destination buffer .
* @ param SizeY - The height of the texture data to copy in pixels .
* @ param Format - The format of the texture being copied .
* @ param SourceStride - The stride of the source buffer .
* @ param DestStride - The stride of the destination buffer .
*/
RENDERCORE_API void CopyTextureData2D ( const void * Source , void * Dest , uint32 SizeY , EPixelFormat Format , uint32 SourceStride , uint32 DestStride ) ;
/**
* enum to string
*
* @ return e . g . " PF_B8G8R8A8 "
*/
RENDERCORE_API const TCHAR * GetPixelFormatString ( EPixelFormat InPixelFormat ) ;
/**
* string to enum ( not case sensitive )
*
* @ param InPixelFormatStr e . g . " PF_B8G8R8A8 " , must not not be 0
*/
RENDERCORE_API EPixelFormat GetPixelFormatFromString ( const TCHAR * InPixelFormatStr ) ;
/**
* Convert from ECubeFace to text string
* @ param Face - ECubeFace type to convert
* @ return text string for cube face enum value
*/
RENDERCORE_API const TCHAR * GetCubeFaceName ( ECubeFace Face ) ;
/**
* Convert from text string to ECubeFace
* @ param Name e . g . RandomNamePosX
* @ return CubeFace_MAX if not recognized
*/
RENDERCORE_API ECubeFace GetCubeFaceFromName ( const FString & Name ) ;
RENDERCORE_API FVertexDeclarationRHIRef & GetVertexDeclarationFVector4 ( ) ;
RENDERCORE_API FVertexDeclarationRHIRef & GetVertexDeclarationFVector3 ( ) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 2981742)
#lockdown nick.penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2967522 on 2016/05/05 by Martin.Mittring
fixed UE-30208 Ensure taking high resolution screenshot
renamed cvar from r.SaveUncompressedEXRFrame to r.SaveEXR.CompressionQuality and change meaning
Change 2967541 on 2016/05/05 by Martin.Mittring
added cvar help entry to the editor menu
Change 2967544 on 2016/05/05 by Martin.Mittring
* added ensures to track down UE-22073 [CrashReport] Crash when changing Editor Window Size - FDeferredShadingSceneRenderer::ClearTranslucentVolumeLighting()
* fixed typo
* improved r.DisplayInternals
Change 2967685 on 2016/05/05 by Rolando.Caloca
DR - Fix 2013 compile
#jira UE-30369
Change 2967883 on 2016/05/05 by Olaf.Piesche
Making inherit rotation work for mesh particles
#jira UE-30153
Change 2967948 on 2016/05/05 by Daniel.Wright
MaterialParameterCollections now create default resources (uniform buffers) which are used when no valid FScene is present (eg DrawTile while exporting materials to lightmass)
Change 2967954 on 2016/05/05 by Daniel.Wright
New refraction mode 'Pixel Normal Offset', which uses the difference between the per-pixel normal and the per-vertex normal to compute the refraction offset. This is useful for refraction from large water surfaces without reading outside of screen bounds as much.
Change 2967970 on 2016/05/05 by Olaf.Piesche
Improvement for depth buffer collision; reduce tunneling by sampling midpoint instead of predicted position.
#jira UE-27297
Change 2968125 on 2016/05/05 by Daniel.Wright
Hopeful fix for mac compile error with enum
Change 2968126 on 2016/05/05 by Daniel.Wright
Forward declare to fix compile error
Change 2969070 on 2016/05/06 by Martin.Mittring
fixed Clang Compile error
Change 2969224 on 2016/05/06 by Martin.Mittring
fixed Clang
Change 2969275 on 2016/05/06 by Rolando.Caloca
DR - Fix for simulation time from BP not matching material editor expression time
#jira UE-26431
Change 2969413 on 2016/05/06 by Daniel.Wright
Simple forward shading path
* Support for a directional light in the base pass, which can be shadowed either by distance field shadowmaps or a single shadow factor from the Indirect Lighting Cache
* Binding and outputting to GBuffers is disabled when using simple forward shading, along with dependencies of the GBuffers
* Specular, normal maps and the 3rd SH band of skylighting are all hardcoded off. Materials are forced fully rough.
* Enabled with 'r.SimpleForwardShading 1', which can be changed at runtime
* Added r.SupportSimpleForwardShading, which determines if the necessary shaders are compiled
* Removed r.SimpleDynamicLighting, whose functionality (unshadowed directional light in the base pass) is a subset of simple forward shading, and was unused
Change 2969414 on 2016/05/06 by Daniel.Wright
Added cvar 'r.Fog' for scalability
Change 2969415 on 2016/05/06 by Daniel.Wright
Low end scalability setup for Paragon
Change 2969583 on 2016/05/06 by Daniel.Wright
Effectively disabled the WRITES_PRECSHADOWFACTOR_TO_GBUFFER optimization, as all combinations use the GBuffer target
* This fixes bSingleSampleShadowFromStationaryLights which was broken in cl 2863775 when selective GBuffer outputs was enabled
Change 2969597 on 2016/05/06 by Olaf.Piesche
Adding emitter tick times to Cascade viewport overlays
#jira UE-25172
Change 2969599 on 2016/05/06 by Daniel.Wright
Added r.Shadow.ForceSingleSampleShadowingFromStationary for scalability
Change 2969795 on 2016/05/06 by Daniel.Wright
Made r.SimpleForwardShading a scalability cvar
Change 2969796 on 2016/05/06 by Daniel.Wright
Enabled simple forward shading for the lowest shadow quality in Paragon
* Moved Orion.Character.NonLocalHeroPreshadows to be under shadow quality
* Enabling r.Shadow.ForceSingleSampleShadowingFromStationary when shadows are disabled through r.ShadowQuality
Change 2972338 on 2016/05/10 by Martin.Mittring
Added ImageValidator V0.11 to Perforce (for automated screenshot comparison)
Change 2972450 on 2016/05/10 by Martin.Mittring
fixed sorting issues, added column sort
Change 2972564 on 2016/05/10 by Martin.Mittring
fixed PixelCountToFail
Change 2972572 on 2016/05/10 by Martin.Mittring
added color
Change 2972667 on 2016/05/10 by Daniel.Wright
Capsule shadows support an off-center projection - fixes stereo rendering
Indirect lighting cache is updated for primitives with a visible indirect capsule shadow - fixes indirect shadows disappearing when the caster is off-screen in the Static skylight case
Change 2972687 on 2016/05/10 by Martin.Mittring
split data from view
Change 2972713 on 2016/05/10 by Martin.Mittring
background validation
Change 2972742 on 2016/05/10 by Martin.Mittring
do not lock files in folder
Change 2972837 on 2016/05/10 by Daniel.Wright
Comment for tiled reflection culling edge failure case
Change 2972891 on 2016/05/10 by Daniel.Wright
Simple forward shading only supported on PC now
Change 2972927 on 2016/05/10 by Martin.Mittring
fixed comparison, added directory watcher
Change 2972952 on 2016/05/10 by Martin.Mittring
tooltips
Change 2972965 on 2016/05/10 by Martin.Mittring
readme
Change 2972986 on 2016/05/10 by Martin.Mittring
polish
Change 2973015 on 2016/05/10 by Zabir.Hoque
Clamp max cubemap resolutions for reflection capture component.
Change 2973067 on 2016/05/10 by Uriel.Doyon
Removed temporary streaming data from ULevel. Now the data goes directly in FStreamingManagerTexture.
Removed deprecated classes and structures associated with old data.
Uniformized dynamic primitives and static primitives streaming logic.
Static primitive instances are now bound to level component and have visibility information.
MeshTexCoordSize Debug now shows live update when tweaking "StreamingDistanceMultiplier"
Change 2973129 on 2016/05/10 by Martin.Mittring
fixed crash (uninit var)
Change 2973167 on 2016/05/10 by Olaf.Piesche
Fixing mac compiler warnings; removed beam tangent from particle source and target, as it's treated separately anyway.
Change 2973654 on 2016/05/11 by Gil.Gribb
FIxed bad resolve from main merge
Change 2973787 on 2016/05/11 by Simon.Tovey
PR #2080: Added 7 additional blueprint nodes and assoicated functions to Particle System Compoenent (Contributed by alwintom)
#2080
Change 2973794 on 2016/05/11 by Simon.Tovey
GitHub 1646 : Increase Wireframe Linear Color Value for Particles in Cascade Preview viewport
#1646
Change 2973814 on 2016/05/11 by Chris.Bunner
Fixed D3D warning.
Change 2973868 on 2016/05/11 by Martin.Mittring
fixed compiler warning
Change 2974104 on 2016/05/11 by Uriel.Doyon
Optimized TextureStreaming ASync task by improving cache efficency.
Removed ForcedFullyLoad texture sets and merged them with the other entries (to prevent checking in two data structures).
Change 2974163 on 2016/05/11 by Uriel.Doyon
Fixed Editor Build
Change 2974263 on 2016/05/11 by Olaf.Piesche
Fix for particle beam source/target selection
Change 2974313 on 2016/05/11 by Martin.Mittring
nicer icon
Change 2974632 on 2016/05/11 by Martin.Mittring
zoom (mouse wheel) and pan support
Change 2974651 on 2016/05/11 by Martin.Mittring
UE-30565 Blend Radius does not override Priority for blendable post process material array
#test:PC
Change 2974994 on 2016/05/12 by Uriel.Doyon
Fixed uninitialized members in texture streaming when updating dynamic primitives.
#jira UE-30632
Change 2975514 on 2016/05/12 by Olaf.Piesche
Getting mesh particle transform down to pixel shader, making available in TransformVector/TransformPosition nodes
#udn 288158, and requests from several artists
Change 2975970 on 2016/05/12 by Zabir.Hoque
Enable setting high precision normals/tangets as a part of static mesh import.
Change 2976134 on 2016/05/12 by Daniel.Wright
Moved RHI prefix out of command list macros so you can find callers in a Find in Files for RHIBlendState, etc
Change 2976135 on 2016/05/12 by Daniel.Wright
Added material property bAllowNegativeEmissiveColor which is useful when rendering to an offscreen render target
Change 2976139 on 2016/05/12 by Daniel.Wright
Blueprint can now be used to draw to a TextureRenderTarget2D with DrawMaterialToRenderTarget
Canvas can now draw to a TextureRenderTarget2D in a Blueprint with BeginDrawCanvasToRenderTarget / EndDrawCanvasToRenderTarget
Change 2976199 on 2016/05/12 by Brian.Karis
Improved screen space ray cast intersection heuristic.
Change 2976203 on 2016/05/12 by Brian.Karis
Fixed hair NaNs
Change 2976214 on 2016/05/12 by Zabir.Hoque
Fix compiler error on Clang
Change 2976239 on 2016/05/12 by Brian.Karis
Improved hair shadows
Change 2976240 on 2016/05/12 by Brian.Karis
Made recompileshaders specific file work again. Kind of hacky but better than nothing
Change 2976290 on 2016/05/12 by Zabir.Hoque
Few more clang compiler fixes.
#jira UE-30713
Change 2976517 on 2016/05/13 by Zabir.Hoque
Final set of fixes for compile breaks.
Change 2976535 on 2016/05/13 by Zabir.Hoque
Fix mono builds
Change 2977270 on 2016/05/13 by Zabir.Hoque
Incorrectly used 7 as max texcoords. Corrected to #define MAX_TEX_COORDS
#lockdown gil.gribb
Change 2980140 on 2016/05/17 by Gil.Gribb
Merging //UE4/Dev-Main@2980127 to Dev-Rendering (//UE4/Dev-Rendering)
#lockdown nick.penwarden
Change 2980211 on 2016/05/17 by Ben.Marsh
EC: Build DDC in Dev-Rendering every 3 hours.
#lockdown Gil.Gribb
Change 2980876 on 2016/05/17 by Michael.Trepka
Metal shader compile fix
#lockdown gil.gribb
[CL 2981788 by Gil Gribb in Main branch]
2016-05-18 09:31:59 -04:00
RENDERCORE_API bool PlatformSupportsSimpleForwardShading ( EShaderPlatform Platform ) ;
RENDERCORE_API bool IsSimpleForwardShadingEnabled ( EShaderPlatform Platform ) ;
2015-06-25 02:07:29 -04:00
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3045398)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3028958 on 2016/06/27 by Ben.Woodhouse
Fix for perf issue with GetSingleFinalDataConst
This was caused by the LPV integration/switch to blendables. Now we cache the flag for the directionalocclusion in the LPV class. This reduces calls to GetSingleFinalDataConst on the blendable data (potentially slow), and makes things a bit cleaner and consistent.
Tested in QAGame editor (with LPV enabled in ConsoleSettings.ini)
#jira UE-26179
Change 3029401 on 2016/06/27 by Rolando.Caloca
DR - More vk logging
Change 3029549 on 2016/06/27 by Uriel.Doyon
Refactored "r.OnlyStreamInTextures" into "r.Streaming.FullyLoadUsedTextures", making it fully load every used textures, as an alternative to disabling texture streaming.
New options "r.Streaming.UsePerTextureBias" that assign a bias between 0 and MipBias to each texture in order to fit in budget.
Fixed crash when disabling texture streaming.
Fixed issue when disabling texture streaming that would make current loaded texture low res.
New logic to prevent retrying to cancel a streaming request more than once.
Pending load request of one extra mip will not be cancelled anymore.
Changed UTexture2D from float to double. Also using FApp::GetCurrentTime() instead of FPlatformTime::Seconds().
#jira UE-32197
#jira UE-31102
Change 3029837 on 2016/06/27 by David.Hill
Fixed Shutter SM4 not working when using compute shader eye-adaptation
#jira UE-32443
The default eye adaptation value was missing.
Change 3030039 on 2016/06/27 by Uriel.Doyon
Fix for crash when landscape materials are used in the Texture Streaming Build.
#jira UE-32196
Change 3030081 on 2016/06/27 by Uriel.Doyon
Updated MaterialTexCoordScalesPixelShader to use PackedEyeIndex, preventing crash when building the map with stereo rendering enabled.
Change 3030401 on 2016/06/28 by Ben.Woodhouse
Perf Monitor: Fix for perf warning due to cvar FindConsoleVariable being called too frequently. Tested in QAGame editor (DX11)
#jira UE-31238
Change 3030607 on 2016/06/28 by Marc.Olano
Random Number generators: fixed bug in TEA, added integer and float Blum-Blum-Shub. BBS is way cheaper for similar quality, suggest it for future use.
Change 3030627 on 2016/06/28 by Ben.Woodhouse
Fix for warning. CVar naming scope clash (doesn't appear to happen in vs2015).
Change 3030809 on 2016/06/28 by Marc.Olano
Noise shader function rename & perf improvement.
Due to incorrect terminology in internet soruces, previous "Perlin" noise was not, in fact, Perlin noise. Now more accurately called "Value" noise. 6x perf improvement for value noise by changing random number function to BBS. Also updated instruction counts in UI tooltips.
Change 3030850 on 2016/06/28 by Marc.Olano
Rename & redirect noise material enums. At some point these got switched around and no longer accurately described the noise options the selected. Redirect, so all existing content will continue to work as-is. Updated UDN docs to match.
Change 3030981 on 2016/06/28 by Rolando.Caloca
DR - vk - More logging
Change 3031056 on 2016/06/28 by Marc.Olano
Introduce new pure-ALU gradient shader noise. Add noise samples to RenderTest map
Change 3031398 on 2016/06/28 by Benjamin.Hyder
updating TM-Shadermodels (correcting Mt Rushmore)
Change 3031441 on 2016/06/28 by Marc.Olano
Use only float version of BBS shader rand function for ES2
Change 3031463 on 2016/06/28 by John.Billon
Fixed F4 changing the viewmode in Fortnite editor. The detailed lighting viewmode (detaillighting) named in DefaultInput.ini differed from the one in BaseInput.ini(lit_detaillighting).
#Jira UE-32020
Change 3031512 on 2016/06/28 by Zabir.Hoque
Relax clear flags for DX12 RHIs.
Properly flush pending commands before residency is updated.
Change 3031517 on 2016/06/28 by Rolando.Caloca
DR - vk logging using r.Vulkan.DumpLayer
Change 3032359 on 2016/06/29 by Allan.Bentham
Fix mobile shadows crash.
Change 3032431 on 2016/06/29 by Gil.Gribb
Merging //UE4/Dev-Main@3032394 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3032757 on 2016/06/29 by Uriel.Doyon
Fixed global mip bias being applied twice following integration with main.
Change 3033121 on 2016/06/29 by Rolando.Caloca
DR - vk - Logging
Change 3033529 on 2016/06/29 by Daniel.Wright
Null world guard on UReflectionCaptureComponent::ReadbackFromGPU
Change 3033668 on 2016/06/29 by Uriel.Doyon
Grouped texture streaming settings to simplify logic.
New options "r.Streaming.UseAllMips" to ignores the different lod and cinematic bias
#jira UE-32118
Change 3034403 on 2016/06/30 by Rolando.Caloca
DR - Shorten dumped shader debug strings
Change 3034475 on 2016/06/30 by Rolando.Caloca
DR - Missing logging
Change 3034722 on 2016/06/30 by Uriel.Doyon
Improved StreamingAccuracy viewmodes with alpha test and translucent materials
#jira UE-32656
Change 3034797 on 2016/06/30 by Rolando.Caloca
DR - vk - 'fix' RHIClear but causes a CPU hang on AMD, so disabled again
Change 3034799 on 2016/06/30 by Rolando.Caloca
DR - vk - missed file
Change 3034905 on 2016/06/30 by Rolando.Caloca
DR - vk - Fix for render passes being reused with wrong dimensions
Change 3035503 on 2016/07/01 by Simon.Tovey
Async compute version of translucency lighting volume clear.
Change 3035577 on 2016/07/01 by Marc.Olano
Tiling noise. Adds tiling option for gradient, gradient texture, and value noise in the noise material node. Tiling is more expensive, but allows noise functions to be baked into a seamless repeating texture.
Change 3035587 on 2016/07/01 by Ben.Woodhouse
Fix for async SSAO bug (SSAO Async Compute results are used before the async job wait)
#jira UE-32709
Change 3035618 on 2016/07/01 by Olaf.Piesche
Asset fixes
Change 3035692 on 2016/07/01 by Rolando.Caloca
DR - vk - Deferred deletion queue
Change 3035808 on 2016/07/01 by Rolando.Caloca
DR - vk - Stat for deletion time, fixed some logging
Change 3036012 on 2016/07/01 by John.Billon
Alpha Coverage Preservation
-Textures have a Alpha Preservation Vec4 property which dictates about much of that channel to preserve down the mip chain during mip generation.
#Jira UE-31986
Change 3036041 on 2016/07/01 by Rolando.Caloca
DR - vk - Fix for 32bit
Change 3036433 on 2016/07/01 by Rolando.Caloca
DR - More vk logging
Change 3036935 on 2016/07/04 by Simon.Tovey
Removing Data Objects
Change 3036942 on 2016/07/04 by Ben.Woodhouse
Fix for decal rendering resource leak
The cause was that FD3D11BoundRenderTargets doesn't support setting RTs sparsely. So if one element is NULL, it won't release the ones after it.
The sparse RT layout happened as a result of a change back in October, which meant that GBuffers for decals could be set sparsely, dependent on whether the decal wrote to the normalbuffer
This change adds support for sparsely bound rendertargets in FD3D11BoundRenderTargets.
#jira UE-32602
Change 3037563 on 2016/07/05 by Chris.Bunner
HLOD self-shadowing in baked lighting fix.
Change 3037640 on 2016/07/05 by Marcus.Wassmer
Fix bug in USE_GPU_OVERWRITE_CHECKING
Change 3037927 on 2016/07/05 by Rolando.Caloca
DR - Fix touch pads not showing on Vulkan
#jira UE-32062
Change 3038085 on 2016/07/05 by Chris.Bunner
HLOD dynamic shadowing support.
#jira UE-22627
Change 3038209 on 2016/07/05 by Rolando.Caloca
DR - vk - Android compile fix
Change 3038644 on 2016/07/05 by Uriel.Doyon
Added LerpRange that allows to lerp between two rotators without taking the sortest path.
Change 3038820 on 2016/07/05 by Uriel.Doyon
Selecting streaming accuracy view modes will not automatically generate missing visualization data.
Change 3039332 on 2016/07/06 by John.Billon
-Made MaxGPUSkinBonesCvar a FAutoConsoleVariableRef and moved it to mesh utilitles from console manager to fix a thread initialization problem.
#Jira UE-31710
Change 3039454 on 2016/07/06 by Simon.Tovey
Moved all Niagara files from Engine and UnrealEd to remove dependancies and increase compile times.
Niagara is now 99.999% decoupled from engine and editor so development should be much streamlined.
Plus a few other edits to remove Curves/DataObjects that I missed in last CL.
Change 3039517 on 2016/07/06 by Gil.Gribb
Merging //UE4/Dev-Main@3039013 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3039587 on 2016/07/06 by Rolando.Caloca
DR - vk logging, submit counter
Change 3039603 on 2016/07/06 by Rolando.Caloca
DR - Allow more samplers on GL4
#jira UE-32628
#jira UE-32744
Change 3039661 on 2016/07/06 by Daniel.Wright
Fixed non-directional DFAO occlusion on specular 'r.AOSpecularOcclusionMode 0'
Skylight occlusion tint now applies to specular
Skylight occlusion tint on diffuse is now correctly affected by DiffuseColor
Change 3039960 on 2016/07/06 by Daniel.Wright
Forward renderer initial implementation
* Point and spot lights are culled to a frustum space grid, base pass loops over culled lights.
* Light culling uses a reverse linked list to avoid a per-cell limit, and the linked list is compacted to an array before the base pass.
* New cvars to control light culling: r.Forward.MaxCulledLightsPerCell, r.Forward.LightGridSizeZ, r.Forward.LightGridPixelSize
* A full Z Prepass is forced with forward shading. This allows deferred rendering before the base pass of shadow projection methods that only rely on depth.
* Dynamic shadows are packed based on the assigned stationary light ShadowMapChannel, since stationary lights are already restricted to 4 overlapping.
* GBuffer render targets are still allocated
* Fixed several issues in parallax corrected base pass reflections - not blending out box shape, discontinuity in reflection vector, not blending with stationary skylight properly
* Forward shading is now used for TLM_SurfacePerPixelLighting translucency in the deferred path
* Notable missing features: shadowing of translucency, support for various translucency lighting modes, multiple blended reflection captures
Change 3040050 on 2016/07/06 by Daniel.Wright
Added r.Shadow.WholeSceneShadowCacheMb, which defaults to 150, to limit how much memory can be spent caching whole scene shadowmaps
Change 3040160 on 2016/07/06 by Daniel.Wright
Fixed tile artifacts in indirect capsule shadows from doing the scaled sphere vs tile bounding sphere intersection in the wrong space
Change 3040163 on 2016/07/06 by Rolando.Caloca
DR - vk - More logging
Change 3040257 on 2016/07/06 by Daniel.Wright
Skylights aren't captured until their level is made visible- fixes the case where skylights capture too early
Change 3040316 on 2016/07/06 by Daniel.Wright
PerObject shadows from point / spot lights do the light source pull back based on subject box size, not subject radius, since the box is used to find a valid < 90 degree projection. Fix from licensee
Change 3040361 on 2016/07/06 by Daniel.Wright
Fixed TexCreate_UAV being used on translucency volume textures in SM4
Change 3040402 on 2016/07/06 by Rolando.Caloca
DR - vk - Make host mem accesses coherent
Change 3040486 on 2016/07/06 by Daniel.Wright
CIS fixes
Change 3041028 on 2016/07/07 by Gil.Gribb
Merging //UE4/Dev-Main@3040917 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3041235 on 2016/07/07 by Simon.Tovey
Compile fix for FName conflict on UProperty (hopefully).
Change 3041666 on 2016/07/07 by Daniel.Wright
Fixed TLM_SurfacePerPixelLighting in SM4, falls back to lighting volume
Change 3041731 on 2016/07/07 by Olaf.Piesche
Adding Niagara to dynamically loaded module list; should fix UE-32915
Change 3042181 on 2016/07/07 by Daniel.Wright
CIS fix
[CL 3045471 by Gil Gribb in Main branch]
2016-07-11 18:51:20 -04:00
RENDERCORE_API bool IsForwardShadingEnabled ( ERHIFeatureLevel : : Type FeatureLevel ) ;
inline bool IsAnyForwardShadingEnabled ( EShaderPlatform Platform )
{
return IsForwardShadingEnabled ( GetMaxSupportedFeatureLevel ( Platform ) ) | | IsSimpleForwardShadingEnabled ( Platform ) ;
}
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
inline bool IsUsingGBuffers ( EShaderPlatform Platform )
{
return ! IsAnyForwardShadingEnabled ( Platform ) ;
}
2015-06-25 02:07:29 -04:00
/** Unit cube vertex buffer (VertexDeclarationFVector4) */
RENDERCORE_API FVertexBufferRHIRef & GetUnitCubeVertexBuffer ( ) ;
2015-06-25 02:49:34 -04:00
2015-06-25 02:07:29 -04:00
/** Unit cube index buffer */
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
RENDERCORE_API FIndexBufferRHIRef & GetUnitCubeIndexBuffer ( ) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3231693)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3219796 on 2016/12/02 by Rolando.Caloca
DR - vk - Increase timeout to 60ms
Change 3219884 on 2016/12/02 by Daniel.Wright
Assert to help track down rare crash locking capsule indirect shadow vertex buffer
Change 3219885 on 2016/12/02 by Daniel.Wright
Fixed saving a package that doesn't exist on disk but exists in p4 at a newer revision when the user chooses 'Mark Writable'
Change 3219886 on 2016/12/02 by Daniel.Wright
Don't create projected shadows when r.ShadowQuality is 0
* Fixes crash in the forward path trying to render shadows
* In the deferred path, the shadowmap was still being rendered and only the projection skipped, now all cost will be skipped
Change 3219887 on 2016/12/02 by Daniel.Wright
Changed ClearRenderTarget2D default alpha to 1, which is necessary for correct compositing
Change 3219893 on 2016/12/02 by Daniel.Wright
AMD AGS library with approved TPS
Disabled DFAO on AMD pre-GCN PC video cards to workaround a driver bug which won't be fixed (Radeon 6xxx and below)
Change 3219913 on 2016/12/02 by Daniel.Wright
Level unload of a lighting scenario propagates the lighting scenario change - fixes crash when precomputed lighting volume data gets unloaded
Change 3220029 on 2016/12/02 by Daniel.Wright
Async shader compiling now recreates scene proxies which are affected by the material which was compiled. This fixes crashes which were occuring as proxies cache various material properties, but applying compiled materials would not update these cached properties (bRequiresAdjacencyInformation).
* A new ensure has been added in FMeshElementCollector::AddMesh and FBatchingSPDI::DrawMesh to catch attempts to render with a material not reported in GetUsedMaterials
* Fixed UParticleSystemComponent::GetUsedMaterials and UMaterialBillboardComponent::GetUsedMaterials
* FMaterialUpdateContext should be changed to use the same pattern, but that hasn't been done yet
Change 3220108 on 2016/12/02 by Daniel.Wright
Fixed shadowmap channel assignment for stationary lights which are not in a lighting scenario level, when a lighting scenario level is present
Change 3220504 on 2016/12/03 by Mark.Satterthwaite
Metal Desktop Tessellation support from Unicorn.
- Apple: Metal tessellation support added to MetalShaderFormat, MetalRHI and incl. changes to engine runtime/shaders for Desktop renderer and enabled in ElementalDemo by default (OS X 10.11 will run SM4).
- Epic: Support for different Metal shader standards on Mac, iOS & tvOS which required moving some RHI functions around as this is a project setting and not a compile-time constant.
- Epic: Fragment shader UAV support, which is also tied to newer Metal shader standard like Tessellation.
- Epic: Significant refactor of MetalRHI's internals to clearly separate state-caching from render-pass management and command-encoding.
- Epic: Internal MetalRHI validation code is now cleanly separated out into custom implementations of the Metal @protocol's and is on by default.
- Epic: Various fixes to Layered Rendering for Metal.
- Omits Mobile Tessellation support which needs further revision.
Change 3220881 on 2016/12/04 by Mark.Satterthwaite
Compiles fixes for iOS & static analysis fixes from Windows.
Change 3221180 on 2016/12/05 by Guillaume.Abadie
Avoid compiling PreviousFrameSwitch's both Current Frame and Previous Frame inputs every time.
Change 3221217 on 2016/12/05 by Chris.Bunner
More NVAPI warning fixups.
Change 3221219 on 2016/12/05 by Chris.Bunner
When comparing overriden properties used to force instance recompilation we need to check against the base material, not assume the immediate parent.
#jira UE-37792
Change 3221220 on 2016/12/05 by Chris.Bunner
Exported GetAllStaticSwitchParamNames and GetAllStaticComponentMaskParamNames.
#jira UE-35132
Change 3221221 on 2016/12/05 by Chris.Bunner
PR #2785: Fix comment typo in RendererInterface.h (Contributed by dustin-biser)
#jira UE-35760
Change 3221223 on 2016/12/05 by Chris.Bunner
Default to include dev-code when compiling material preview stats.
#jira UE-20321
Change 3221534 on 2016/12/05 by Rolando.Caloca
DR - Added FDynamicRHI::GetName()
Change 3221833 on 2016/12/05 by Chris.Bunner
Set correct output extent on PostProcessUpscale (allows users to extend chain correctly).
#jira UE-36989
Change 3221852 on 2016/12/05 by Chris.Bunner
32-bit/ch EXR screenshot and frame dump output.
Fixed row increment bug in 128-bit/px surface format readback.
#jira UE-37962
Change 3222059 on 2016/12/05 by Rolando.Caloca
DR - vk - Fix memory type not found
Change 3222104 on 2016/12/05 by Rolando.Caloca
DR - Lambdaize
- Added quicker method to check if system textures are initialized
Change 3222290 on 2016/12/05 by Mark.Satterthwaite
Trivial fixes to reporting Metal shader pipeline errors - need to check if Hull & Domain exist.
Change 3222864 on 2016/12/06 by Rolando.Caloca
DR - Fix mem leak when exiting
Change 3222873 on 2016/12/06 by Rolando.Caloca
DR - vk - Minor info to help track down leaks
Change 3222875 on 2016/12/06 by Rolando.Caloca
DR - Fix mem leak with VisualizeTexture
#jira UE-39360
Change 3223226 on 2016/12/06 by Chris.Bunner
Static analysis warning workaround.
Change 3223235 on 2016/12/06 by Ben.Woodhouse
Integrate from NREAL: Set a custom projection matrix on a SceneCapture2D
Change 3223343 on 2016/12/06 by Chris.Bunner
Moved HLOD persistent data to viewstate to fix per-view compatability.
#jira UE-37539
Change 3223349 on 2016/12/06 by Chris.Bunner
Fixed HLOD with FreezeRendering command.
#jira UE-29839
Change 3223371 on 2016/12/06 by Michael.Trepka
Removed obsolete check() in FMetalSurface constructor
Change 3223450 on 2016/12/06 by Chris.Bunner
Added explicit ScRGB output device selection rather than Nvidia-only hardcoded checks. Allows easier support for Mac and other devices moving forward.
Change 3223638 on 2016/12/06 by Michael.Trepka
Restored part of the check() in FMetalSurface constructor removed in CL 3223371
Change 3223642 on 2016/12/06 by Mark.Satterthwaite
Experimental Metal EDR/HDR output support for Mac (iOS/tvOS need custom formats & shaders so they are not supported yet).
- Only available on macOS Sierra (10.12) for Macs with HDR displays (e.g. Retina iMacs).
- Enable with -metaledr command-line argument as it is off-by-default.
- Sets up the CAMetalLayer & the back-buffer for RGBA_FP16 output on Mac using DCI-P3 as the color gamut and ACES 1000 nit ScRGB output encoding.
Change 3223830 on 2016/12/06 by Rolando.Caloca
DR - vk - Better error when finding an invalid Vulkan driver
#jira UE-37495
Change 3223869 on 2016/12/06 by Rolando.Caloca
DR - vk - Reuse fences
Change 3223906 on 2016/12/06 by Guillaume.Abadie
Fix alpha through TempAA artifact causing a small darker edge layouts.
Change 3224199 on 2016/12/06 by Mark.Satterthwaite
Fix a dumb copy-paste error from the HDR changes to Metal.
Change 3224220 on 2016/12/06 by Mark.Satterthwaite
Fix various errors with Metal UAV & Render-Pass Restart support so that we can use the Pixel Shader culling for DistanceField effects.
- Unfortunately Metal requires that a texture be bound to start a render-pass, so reuse the dummy depth-stencil surface from the problematic editor preview tile rendering.
Change 3224236 on 2016/12/06 by Mark.Satterthwaite
IWYU CIS compile fix for iOS.
Change 3224366 on 2016/12/06 by Mark.Satterthwaite
Simplify some of the changes from CL# 3224220 so that we don't perform unnecessary clears.
- If the RenderPass is broken to issue compute or blit operations then treat the cached RenderTargetsInfo as invalid, unless the RenderPass is restarted.
- This guarantees that we don't erroneously ignore calls to SetRenderTargets if the calling code issues a dispatch between two RenderPasses that use the same RenderTargetsInfo.
Change 3224416 on 2016/12/06 by Uriel.Doyon
New default implementation for UPrimitiveComponent::GetStreamingTextureInfo using a conservative heuristic where the textures are stretched across the bounds.
Optimized UPrimitiveComponent::GetStreamingTextureInfoWithNULLRemoval by not handling registered components with no proxy (essentially hidden game / collision primitives).
Added blueprint support for texture streaming built data through FStaticMeshComponentInstanceData.
Fix for material texture streaming data not being available on some cooked builds.
Enabled split requests on all texture load requests (first loading everything visible and then loaded everything not visible).
This is controlled by "r.Streaming.MinMipForSplitRequest" which defines the minimum mip for which to allow splitting.
Forced residency are now loaded in two steps (visible, then forced), improving reactiveness.
Updated "stat streaming" to include "UnkownRefMips" which represent texture with no known component referencing them,
and also "LastRenderTimeMips" which related to timed primitives.
Changed "Forced Mips" so that it only shows mips that are loaded become of forced residency.
"Texture Streaming Build" now updates the map check after execution.
Removed Orphaned texture logic as this has become irrelevant with the latest retention priority logic.
Updated "r.streaming.usenewmetrics" so that it shows behavior before and after 4.12 improvements.
Change 3224532 on 2016/12/07 by Uriel.Doyon
Integrated CL 3223965 :
Building texture streaming data for materials does not wait for pending shaders to finish compilation anymore.
Added more options to allow the user to cancel this build also.
Change 3224714 on 2016/12/07 by Ben.Woodhouse
Cherry pick CL 3223972 from //fortnite/main:
Disable Geometry shader onchip on XB1. This saves 4ms for a single shadow casting point light @ 512x512 (4.8ms to 1.8ms)
Change 3224715 on 2016/12/07 by Ben.Woodhouse
New version of d3dx12.h from Microsoft which incorporates my suggested static analysis fixes. This avoids us diverging from the official version
Change 3224975 on 2016/12/07 by Rolando.Caloca
DR - vk - Dump improvements
Change 3225012 on 2016/12/07 by Rolando.Caloca
DR - Show warning if trying to use num samples != (1,2,4,8,16)
Change 3225126 on 2016/12/07 by Chris.Bunner
Added 'force 128-bit rendering pipeline' to high-res screenshot tool.
#jira UE-39345
Change 3225449 on 2016/12/07 by Chris.Bunner
Updated engine rendering defaults to better match current best practices.
#jira UE-38081
Change 3225485 on 2016/12/07 by Chris.Bunner
Moved QuantizeSceneBufferSize to RenderCore and added call for PostProcess settings. Fixes screenpercentage out-of-bounds reads in some cases.
#jira UE-19394
Change 3225486 on 2016/12/07 by Chris.Bunner
Only disable TAA during HighResScreenshots if we don't have a reasonable frame-delay enabled.
Change 3225505 on 2016/12/07 by Daniel.Wright
Fixed exponential height fog disappearing with no skybox
Change 3225655 on 2016/12/07 by Benjamin.Hyder
Updating TM-Shadermodels to include Translucent lighting, Two sided, updated cloth animation, and adjusted lighting.
Change 3225668 on 2016/12/07 by Chris.Bunner
Dirty owning packages when user manually forces regeneration of all reflection captures.
#jira UE-38759
Change 3226139 on 2016/12/07 by Rolando.Caloca
DR - Fix recompute tangents disabling skin cache
- Make some macros into lambdas
#jira UE-39143
Change 3226212 on 2016/12/07 by Daniel.Wright
Features which require a full prepass use DDM_AllOpaque instead of DDM_AllOccluders, which can be skipped if the component has bUseAsOccluder=false
Change 3226213 on 2016/12/07 by Daniel.Wright
Scene Capture 2D can specify a global clip plane, which is useful for portals
* Requires the global clip plane project setting to be enabled
Change 3226214 on 2016/12/07 by Daniel.Wright
Improved deferred shadowing with MSAA by upsampling light attenuation intelligently in the base pass
* If the current fragment's depth doesn't match what was used for deferred shadowing, the neighbor (cross pattern) with the nearest depth's shadowing is used
* Edge artifacts can still occur where the upsample fails or the shadow factor was computed per-sample due to depth / stencil testing
* Indirect Occlusion from capsule shadows also uses the nearest depth neighbor UV for no extra cost
* Base pass on 970 GTX 1.69ms -> 1.85ms (.16ms) in RoboRecall
Change 3226258 on 2016/12/07 by Rolando.Caloca
DR - Typo fix
Change 3226259 on 2016/12/07 by Rolando.Caloca
DR - compile fix
#jira UE-39143
Change 3226932 on 2016/12/08 by Chris.Bunner
Re-saved Infiltrator maps to update reflection captures.
#jira UE-38759
Change 3227063 on 2016/12/08 by Mark.Satterthwaite
For Metal platforms ONLY temporarily disable USE_LIGHT_GRID_REFLECTION_CAPTURE_CULLING to avoid UE-37436 while the Nvidia driver team investigate why this doesn't work for them but does for the others. This won't affect non-Metal platforms and the intent is to revert this prior to 4.16 provided we can work through the problem with Nvidia.
#jira UE-37436
Change 3227120 on 2016/12/08 by Gil.Gribb
Merging //UE4/Dev-Main@3226895 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3227211 on 2016/12/08 by Arne.Schober
DR - UE-38585 - Fixing crash where HierInstStaticMesh duplication fails. Also reverting the fix from UE-28189 which is redundant.
Change 3227257 on 2016/12/08 by Marc.Olano
Extension to PseudoVolumeTexture for more flexible layout
Change by ryan.brucks
Change 3227286 on 2016/12/08 by Rolando.Caloca
DR - Fix crash when using custom expressions and using reserved keywords
#jira UE-39311
Change 3227376 on 2016/12/08 by Mark.Satterthwaite
Must not include a private header inside the MenuStack public header as that causes compile errors in plugins.
Change 3227415 on 2016/12/08 by Mark.Satterthwaite
Fix shader compilation due to my disabling of USE_LIGHT_GRID_REFLECTION_CAPTURE_CULLING on Metal - InstancedCompositeTileReflectionCaptureIndices needs to be defined even though Metal doesn't support instanced-stereo rendering.
Change 3227516 on 2016/12/08 by Daniel.Wright
Implemented UWidgetComponent::GetUsedMaterials
Change 3227521 on 2016/12/08 by Guillaume.Abadie
Fixes post process volume's indirect lighting color.
#jira UE-38888
Change 3227567 on 2016/12/08 by Marc.Olano
New upscale filters: Lanczos-2 (new default), Lanczos-3 and Gaussian Unsharp Mask
Change 3227628 on 2016/12/08 by Daniel.Wright
Removed redundant ResolveSceneDepthTexture from the merge
Change 3227635 on 2016/12/08 by Daniel.Wright
Forward renderer supports shadowing from movable lights and light functions
* Only 4 shadow casting movable or stationary lights can overlap at any point in space, otherwise the movable lights will lose their shadows and an on-screen message will be displayed
* Light functions only work on shadow casting lights since they need a shadowmap channel to be assigned
Change 3227660 on 2016/12/08 by Rolando.Caloca
DR - vk - Fix r.MobileMSAA on Vulkan
- r.MobileMSAA is now read-only (to be fixed on 4.16)
- Show time for PSO creation hitches
#jira UE-39184
Change 3227704 on 2016/12/08 by Mark.Satterthwaite
Fix Mac HDR causing incorrect output color encoding being used, HDR support is now entirely off unless you pass -metaledr which will enable it regardless of whether the current display supports HDR (as we haven't written the detection code yet). Fixed the LUT/UI compositing along the way - Mac Metal wasn't using volume LUT as it should have been, RHISupportsVertexShaderLayer now correctly returns false for non-Mac Metal platforms.
Change 3227705 on 2016/12/08 by Daniel.Wright
Replaced built-in samplers in the nearest depth translucency upsample because the built-in samplers are no longer bound on PC (cl 2852426)
Change 3227787 on 2016/12/08 by Chris.Bunner
Added extent clear to motion blur pass to catch misized buffers bringing in errors.
Added early out to clear call when excluded region matches RT region.
#jira UE-39437
Change 3228177 on 2016/12/08 by Marc.Olano
Fix DCC sqrt(int) error
Change 3228285 on 2016/12/08 by Chris.Bunner
Back out changelist 3225449.
#jira UE-39528
Change 3228680 on 2016/12/09 by Gil.Gribb
Merging //UE4/Dev-Main@3228528 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3228940 on 2016/12/09 by Mark.Satterthwaite
Editor fixes for 4.15:
- PostProcessTonemap can't fail to bind a texture to the ColorLUT or the subsequent rendering will be garbage: the changes for optimising stereo rendering forgot to account for the Editor's use of Views without States for the asset preview thumbnails. Amended the CombineLUT post-processing to allocate a local output texture when there's no ViewState and read from this when this situation arises which makes everything function again.
- Don't start render-passes without a valid render-target-array in MetalRHI.
Change 3228950 on 2016/12/09 by Mark.Satterthwaite
Make GPUSkinCache run on Mac Metal - it wasn't working because it was forcibly disabled on all platforms but for Windows D3D 11.
- Fixed the Skeleton editor tree trying to access a widget before it has been constructed.
- Enable GPUSkinCache for Metal SM5: doesn't render correctly, even on AMD, so needs Radar's filing and investigation.
#jira UE-39256
Change 3229013 on 2016/12/09 by Mark.Satterthwaite
Further tidy up in SSkeletonTreeView as suggested by Nick.A.
Change 3229101 on 2016/12/09 by Chris.Bunner
Log compile error fix and updated cvar comments.
Change 3229236 on 2016/12/09 by Ben.Woodhouse
XB1 D3D11 and D3D12: Use the DXGI frame statistics to get accurate GPU time unaffected by bubbles
Change 3229430 on 2016/12/09 by Ben.Woodhouse
PR #2680: Optimized histogram generation. (Contributed by PjotrSvetachov)
Profiled on nvidia 980GTX (2x faster), and on XB1 (marginally faster)
Change 3229580 on 2016/12/09 by Marcus.Wassmer
DepthBoundsTest for AMD.
Change 3229701 on 2016/12/09 by Michael.Trepka
Changed "OS X" to "macOS" in few places where we display it and updated the code that asks users to update to latest version to check for 10.12.2
Change 3229706 on 2016/12/09 by Chris.Bunner
Added GameUserSettings controls for HDR display output.
Removed Metal commandline as this should replace the need for it.
Change 3229774 on 2016/12/09 by Michael.Trepka
Disabled OpenGL on Mac. -opengl is now ignored, we always use Metal. On old Macs that do not support Metal we show a message saying that the app requires Metal and exit.
Change 3229819 on 2016/12/09 by Chris.Bunner
Updated engine rendering defaults to better match current best practices.
#jira UE-38081
Change 3229948 on 2016/12/09 by Rolando.Caloca
DR - Fix d3d debug error
#jira UE-39589
Change 3230341 on 2016/12/11 by Mark.Satterthwaite
Don't fatally assert that the game-thread stalled waiting for the rendering thread in the Editor executable, even when running -game as the rendering thread can take a while to respond if shaders need to be compiled.
#jira UE-39613
Change 3230860 on 2016/12/12 by Marcus.Wassmer
Experimental Nvidia AFR support.
Change 3230930 on 2016/12/12 by Mark.Satterthwaite
Disable RHICmdList state-caching on Mac - Metal already does this internally and depends on receiving all state changes in order to function.
Change 3231252 on 2016/12/12 by Marcus.Wassmer
Fix NumGPU detection. (SLI only crash)
Change 3231486 on 2016/12/12 by Mark.Satterthwaite
Fix a stupid mistake in MetalStateCache::CommitResourceTable that would unnecessarily rebind samplers.
Change 3231661 on 2016/12/12 by Mark.Satterthwaite
Retain the RHI samplers in MetalRHI to guarantee lifetime.
[CL 3231696 by Gil Gribb in Main branch]
2016-12-12 17:47:42 -05:00
/**
* Takes the requested buffer size and quantizes it to an appropriate size for the rest of the
* rendering pipeline . Currently ensures that sizes are multiples of 4 so that they can safely
* be halved in size several times .
*/
RENDERCORE_API void QuantizeSceneBufferSize ( int32 & InOutBufferSizeX , int32 & InOutBufferSizeY ) ;