2016-12-08 08:52:44 -05:00
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
// .
2014-09-25 14:27:21 -04:00
// This code is largely based on that in ir_print_glsl_visitor.cpp from
// glsl-optimizer.
// https://github.com/aras-p/glsl-optimizer
// The license for glsl-optimizer is reproduced below:
/*
GLSL Optimizer is licensed according to the terms of the MIT license :
Copyright ( C ) 1999 - 2007 Brian Paul All Rights Reserved .
Copyright ( C ) 2010 - 2011 Unity Technologies All Rights Reserved .
Permission is hereby granted , free of charge , to any person obtaining a
copy of this software and associated documentation files ( the " Software " ) ,
to deal in the Software without restriction , including without limitation
the rights to use , copy , modify , merge , publish , distribute , sublicense ,
and / or sell copies of the Software , and to permit persons to whom the
Software is furnished to do so , subject to the following conditions :
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software .
THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS
OR IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL
BRIAN PAUL BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER LIABILITY , WHETHER IN
AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE .
*/
2014-09-25 18:03:18 -04:00
# include "GlslBackend.h"
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 "hlslcc_private.h"
2014-09-30 18:44:44 -04:00
# include "compiler.h"
2015-04-13 13:43:25 -04:00
PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS
2014-09-30 18:44:44 -04:00
# include "glsl_parser_extras.h"
2015-05-12 17:41:47 -04:00
PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS
2015-04-13 13:43:25 -04:00
2014-09-30 18:44:44 -04:00
# include "hash_table.h"
# include "ir_rvalue_visitor.h"
2014-09-25 14:27:21 -04:00
# include "PackUniformBuffers.h"
# include "IRDump.h"
//@todo-rco: Remove STL!
# include <sstream>
//#define OPTIMIZE_ANON_STRUCTURES_OUT
// We can't optimize them out presently, because apparently Windows Radeon
// OpenGL driver chokes on valid GLSL code then.
# if !PLATFORM_WINDOWS
2014-10-01 18:16:34 -04:00
# define _strdup strdup
2014-09-25 14:27:21 -04:00
# endif
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3292174 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Linux toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292193 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- ThirdParty libs compiled with new toolchain with wasm support
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292215 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and wbegl2 support
- emscripten toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292222 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm support
- ENGINE changes (c# & cpp files)
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292223 on 2017/02/08 by Nick.Shin
HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile
Change 3292228 on 2017/02/08 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches
- and a lot of UE4 patches to package HTML5 on LINUX
- mostly from mozilla's jukka -- thx jukka!
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3292285 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Windows toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3293994 on 2017/02/09 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- OSX toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3294391 on 2017/02/09 by Nick.Shin
HTML5 "black box issues" revisited
- jukka rewrote the window resize handler -- much cleaner and more straightforward
#jira UE-36341 HTML5 - View is incorrectly drawn
#jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On
Change 3296421 on 2017/02/10 by Jack.Porter
Fix landscape spline segment splitting placing when using streaming levels
Change 3296587 on 2017/02/10 by Jack.Porter
Additional fix for landscape spline segment splitting when using streaming levels
Change 3301241 on 2017/02/14 by Mi.Wang
Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter
Change 3301387 on 2017/02/14 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches from mozilla's jukka
+ hardware instancing
+ glBlitFramebuffer
+ GL AlaphaBlendOperation
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3301405 on 2017/02/14 by Nick.Shin
HTML5 plugin fix when blueprint projects are promoted to code projects automatically.
#jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc
Change 3302278 on 2017/02/14 by Omar.Rodriguez
UE-36651: Mac Vulkan Android Projects crash on launch.
* Glslang library has been built for Mac but flag was not updated
* Set GlslangAvailable to true for Mac when building an Android project with vulkan
#jira UE-36651
Change 3302773 on 2017/02/14 by Chris.Babcock
Add a dropdown with some common console commands on Android (contributed by rafortis)
#jira UE-40834
#PR #3143
#ue4
#android
Change 3305604 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader- turn on: instance static mesh vertex factory
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3308154 on 2017/02/16 by Nick.Shin
HTML5 GitHub PR
#jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5
Change 3308510 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3308971 on 2017/02/17 by Jack.Porter
Fix for landscape painting when height<0 in the Ortho viewports
Change 3309075 on 2017/02/17 by Allan.Bentham
Include static subject meshes when masking out modulated shadow casters.
#jira UE-41581
Change 3309531 on 2017/02/17 by Chris.Babcock
Handle large OBB files in APK
#jira UE-41443
#ue4
#android
Change 3311320 on 2017/02/19 by Dmitriy.Dyomin
Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
#jira UE-41970
Change 3311347 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
#jira UE-41976
Change 3311398 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Landscapes do not render on PowerVR device
#jira UE-35530
Change 3311428 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
#jira UE-42036
Change 3311448 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Packaged game Crashes on android after entering "Help" command twice
#jira UE-41956
Change 3311587 on 2017/02/20 by Allan.Bentham
ES2 GLSL - Silently swap all uint to ints
#jira UE-41548
Change 3313930 on 2017/02/21 by Allan.Bentham
Print literal uints as ints when generating ES2 code.
#jira UE-41548
Change 3317924 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317929 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317951 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318004 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318669 on 2017/02/23 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318672 on 2017/02/23 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318819 on 2017/02/23 by Dmitriy.Dyomin
Fixed: Rendering artifacts with bloom on iPhone7 Metal
#jira UE-40978
Change 3319702 on 2017/02/23 by Chris.Babcock
Disable eglSwapInterval since it can cause issues with some drivers
#ue4
#android
Change 3320880 on 2017/02/24 by Dmitriy.Dyomin
Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
#jira UEMOB-195
Change 3321042 on 2017/02/24 by Jack.Porter
Fixed incorrect sizeof in Vulkan pipleine cache
pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/
#code_review: rolando.caloca
Change 3322383 on 2017/02/24 by Chris.Babcock
Fix issue with ad banner on Android 7.0 devices
#jira UE-42390
#ue4
#android
Change 3322479 on 2017/02/24 by Omar.Rodriguez
UEMOB-199 - WEX: Improved virtual keyboard for Android
* Calculating the area covered by the virtual keyboard
* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event
#jira UEMOB-199
Change 3323353 on 2017/02/27 by Allan.Bentham
Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
#jira UE-42191
Change 3323431 on 2017/02/27 by Allan.Bentham
CIS fix
Change 3323687 on 2017/02/27 by Allan.Bentham
Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
#jira UE-42131
Change 3324652 on 2017/02/28 by Dmitriy.Dyomin
Fixed: Canvas elements appear darker on iOS Metal
Change 3324885 on 2017/02/28 by Jack.Porter
Fixed "Minimum iOS Version" setting display name
#jira UE-42270
Change 3324899 on 2017/02/28 by Jack.Porter
GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
#jira UE-40018
#3063
Change 3324932 on 2017/02/28 by Jack.Porter
GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows
#jira UE-41984
#3257
#codereview: Peter.Sauerbrei
Change 3324956 on 2017/02/28 by Jack.Porter
FOpenGLFrontend::GetMaxSamplers incorrect for IOS
#jira UE-42038
#3264
Change 3325478 on 2017/02/28 by Allan.Bentham
PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna)
#jira UE-41442
Change 3327300 on 2017/03/01 by Allan.Bentham
PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen)
#jira UE-41257
Change 3328917 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
#jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac
#jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings
Change 3329169 on 2017/03/02 by Allan.Bentham
increase render thread timeout to 1 minute for suntemple / android.
Prevents low end devices timing out during load.
#jira UE-40696
Change 3330849 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3331078 on 2017/03/03 by Dmitriy.Dyomin
Fixed: Device output log partial lines
integrated from WEX (3250488)
Change 3331112 on 2017/03/03 by Dmitriy.Dyomin
Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)
integrated from WEX (3256584)
Change 3331117 on 2017/03/03 by Dmitriy.Dyomin
Fixed redundant blend state changes in opengl
integrated from WEX (3256586)
Change 3331173 on 2017/03/03 by Dmitriy.Dyomin
Slate pixel shaders will use half precision where possible on mobile
integrated from WEX (3256656)
Change 3332865 on 2017/03/06 by Dmitriy.Dyomin
Better MobileContentScaleFactor defaults for iOS devices
#jira UEMOB-330
Change 3333129 on 2017/03/06 by Peter.Sauerbrei
move to Library/Caches instead of documents for saved files
re-enable iterative deploy on TVOS
#jira UEMOB-284
Change 3334692 on 2017/03/06 by Jack.Porter
Allow r.MobileContentScaleFactor to be changed at runtime on Android
#jira UEMOB-173
Change 3336255 on 2017/03/07 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3337094 on 2017/03/08 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3338800 on 2017/03/08 by Chris.Babcock
Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
#jira UE-42677
#ue4
#android
Change 3338813 on 2017/03/08 by Chris.Babcock
Pass build configuration to UPL for access during packaging as $S(Configuration)
#jira UE-42678
#ue4
#android
#ios
Change 3339401 on 2017/03/09 by Alicia.Cano
Android runtime permissions
- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
- Fix for Location Services
- Fix for if target sdk is not set to 23+
#jira UE-38512
#android
#rb: chris.babcock
Change 3340736 on 2017/03/09 by Chris.Babcock
Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
#jira UE-41965
#PR #3254
#ue4
#android
Change 3340744 on 2017/03/09 by Jack.Porter
Expose Custom Depth to Foliage
#jira UE-6061
Change 3340849 on 2017/03/09 by Dmitriy.Dyomin
Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
#jira UE-42351
Change 3341268 on 2017/03/10 by Alicia.Cano
PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
#jira UE-37945
#android
#rb: chris.babcock, jack.porter
Change 3341303 on 2017/03/10 by Allan.Bentham
Remove optimisation that prevents full specular occulsion on mobile.
PR #3186 : Specular can't be blocked on high-end mobile.
#jira UE-41393
Change 3342304 on 2017/03/10 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343344 on 2017/03/13 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343591 on 2017/03/13 by Brent.Pease
iOS multiplayer fix part 1. Correct byte ordering.
#jira UE-34875
Change 3343669 on 2017/03/13 by Chris.Babcock
Update carefullyredist script version
#jira UE-42832
Change 3344212 on 2017/03/13 by Will.Fissler
Various compile fixes for Xcode 8.3.
These fixes must also be added to //UE4/Release-4.15.
#jira UE-41313
Change 3344396 on 2017/03/13 by Chris.Babcock
Fix Java 1.5 obsolete warnings
#jira UE-42851
#ue4
#android
Change 3345132 on 2017/03/14 by Will.Fissler
Added ifdef wrapper to check clang version for presentDrawable.
Change 3345336 on 2017/03/14 by Will.Fissler
Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.
Change 3345460 on 2017/03/14 by Will.Fissler
ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none
Change 3346046 on 2017/03/14 by Will.Fissler
Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.
Change 3346367 on 2017/03/14 by Chris.Babcock
Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
#ue4
#android
Change 3347682 on 2017/03/15 by Allan.Bentham
Enable HW sRGB correction with retainer widget's render target.
Use slate's gamma correction for mobile (where no such support exists)
Render retainer box RT content with gamma correction.
#jira UE-40967
Change 3348712 on 2017/03/15 by Nick.Shin
HTML5 - upload to S3
updated to AWS "signature version 4" authentication
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349254 on 2017/03/16 by Jack.Porter
Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
#jira UE-42971
Change 3349739 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
better error message feedback on upload failures
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349765 on 2017/03/16 by Alicia.Cano
Disable mouseover events in Mobile Previewer
#jira UE-19903
#mobile
#rb: Jack.Porter
Change 3350049 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
folder in bucket is optional
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3350153 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
updated S3 public link generator
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3351582 on 2017/03/17 by Will.Fissler
Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";
Currently we cannot build arm64 for iOS with this change.
Change 3352085 on 2017/03/17 by Alicia.Cano
iOS doesn't honor request to close the virtual keyboard leading to a crash
#jira UE-36447
#ios
#rb:Peter.Sauerbrei
Change 3353313 on 2017/03/19 by Ben.Marsh
Always allow large *.js files in Github.
Change 3354444 on 2017/03/20 by Nick.Shin
HTML5 - upload to S3
to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3355618 on 2017/03/20 by Nick.Shin
HTML5 Save Game System
- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3355621 on 2017/03/20 by Nick.Shin
remove temp debugging code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3356937 on 2017/03/21 by Chris.Babcock
Add "stat vulkanrhi" to new console dropdown
#jira UE-43149
#ue4
#android
Change 3357652 on 2017/03/21 by Nick.Shin
HTML5 performance speed ups
added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel
this option is based on the suggestions by jukka's post:
- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html
however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...
#jira UE-30214 - Implement a warning message for fps settings
Change 3360415 on 2017/03/23 by Allan.Bentham
Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.
Change 3360418 on 2017/03/23 by Allan.Bentham
Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
#jira UE-40913
Change 3360557 on 2017/03/23 by Allan.Bentham
Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
#jira UE-42131
Change 3362258 on 2017/03/23 by Dmitriy.Dyomin
Fixed: Canvas texture element gamma issues on iOS Metal
Change 3362321 on 2017/03/24 by Dmitriy.Dyomin
GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)
#3173
Change 3363550 on 2017/03/24 by Alicia.Cano
build fix for devices < Android 5.0
#jira UE-43299
#android
#rb: chris.babcock
Change 3363687 on 2017/03/24 by Chris.Babcock
Fix Android password hiding in input dialog
#jira WEX-5159
#ue4
#android
Change 3365280 on 2017/03/27 by Dmitriy.Dyomin
Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension
Change 3365291 on 2017/03/27 by Dmitriy.Dyomin
Copied form WEX CL# 3308653
Fixed: Enabling shader cache causes crash on NVIDIA Shield
#jira UE-41639
Change 3365293 on 2017/03/27 by Dmitriy.Dyomin
GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
#jira UE-43247
#3411
Change 3365340 on 2017/03/27 by Dmitriy.Dyomin
Fixed: Moving sublevel in world composition browser does not appear in Undo History
#jira UE-35535
Change 3365564 on 2017/03/27 by Allan.Bentham
SkyLightComponent now serializes IrradianceMap SH values.
clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
#jira UE-42436
Change 3366282 on 2017/03/27 by Nick.Shin
remove dead links
these files to not exist anywhere in the make-3.81 subfolders
#UDN-354501
#jira none
Change 3366306 on 2017/03/27 by Nick.Shin
HTML5 - disable multi-threading for wasm
#jira UE-43219 - HTML5 disable multi-threading for wasm
Change 3366307 on 2017/03/27 by Nick.Shin
HTML5 packaging Shipping builds
big cleanup / additions to *gz file support for amazon s3
* both, uploading to s3
* and allowing s3 to host the games there
#jira UE-43002 HTML5 in Shipping fails downloading symbols files
#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.
Change 3367385 on 2017/03/28 by Allan.Bentham
Display skylight serialization warning only when cooking for mobile platforms.
#jira UE-42436
Change 3368583 on 2017/03/28 by Chris.Babcock
Expose JAVA_HOME setting in Android SDK project settings on Mac
#jira UE-43418
#ue4
#android
Change 3368803 on 2017/03/28 by Chris.Babcock
Fix features requested in manifest for "Daydream and Cardboard" mode
#jira UE-43314
#ue4
#android
Change 3369087 on 2017/03/28 by Jack.Porter
Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
#jira UE-42438
Change 3369372 on 2017/03/29 by Allan.Bentham
Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
#jira UE-43366
Change 3369381 on 2017/03/29 by Jack.Porter
Show warnings when mobile shader permutations required for rendering are disbaled
Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
#jira UE-43050
Change 3369430 on 2017/03/29 by Allan.Bentham
fix CIS build
Change 3369740 on 2017/03/29 by Allan.Bentham
Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
Android links with -gc-sections to remove unused code/data
Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
Add support for map file generation with android.
Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini
#jira UEMOB-168
Change 3369975 on 2017/03/29 by Nick.Shin
HTML5 - AWS S3 shareable link for shipping builds corrected
#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.
Change 3369998 on 2017/03/29 by Nick.Shin
HTML5 python build scripts
PR:
https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3
#jira none
Change 3370214 on 2017/03/29 by Nick.Shin
HTML5 - default bUseFixedTimeStep to false...
#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms
Change 3370762 on 2017/03/29 by Chris.Babcock
Fixes to new keyboard for Android
- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
#ue4
#android
Change 3371344 on 2017/03/30 by Jack.Porter
Fixed issue where Vulkan screenshot R/B channels were reversed on Android
#jira UE-43479
Change 3372926 on 2017/03/30 by Peter.Sauerbrei
start the process of sunsetting 32-bit and GLES2 on iOS
#jira UE-42266
Change 3372970 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3372989 on 2017/03/30 by Peter.Sauerbrei
fix for Xcode 8.3 build with 32-bit
Change 3373007 on 2017/03/30 by Peter.Sauerbrei
fix for crash when online subsystem is disabled on IOS
Change 3373108 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373163 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373169 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
license file updated
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rnx
Change 3373287 on 2017/03/30 by Nick.Shin
HTML5 - 1.36.11 emscripten - remove old SDK
#jira none
#rnx
Change 3373289 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373595 on 2017/03/30 by Chris.Babcock
Reenable GooglePlay for ARM64 now that it doesn't crash
#jira UE-36198
#ue4
#android
Change 3373606 on 2017/03/30 by Chris.Babcock
Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
#ue4
#android
Change 3375456 on 2017/03/31 by Chris.Babcock
Add missing keycodes for Android keyboard (@ and #)
#jira WEX-5777
#ue4
#android
Change 3376309 on 2017/04/03 by Allan.Bentham
Fix overflow issues with mobile DoF.
Change 3377041 on 2017/04/03 by Will.Fissler
Adding Testbed content for PlatformShowcase.
Change 3377582 on 2017/04/03 by Alicia.Cano
adding back in GET_ACCOUNTS permission as it is required for Reset Achievements
#jira: UE-43265
#android
#rb: Chris.Babcock
Change 3377643 on 2017/04/03 by Peter.Sauerbrei
fix for memory leak in MallocBinned
#jira UE-43008
Change 3378033 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3378034 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty build scripts
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3378035 on 2017/04/04 by Nick.Shin
HTML5 - Update GameX template to make it work with trunk Emscripten
PR
https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978
#jira none
#rn
Change 3378044 on 2017/04/04 by Nick.Shin
HTML5 harfbuzz - double checking recompiled with NO multithreading
wasm currently does not support pthreads
*** THIS IS STILL WIP ***
checking in to match 3rd party libs compiled configuration
#jira UE-28588 - Build HarfBuzz for HTML5
#rnx
Change 3378264 on 2017/04/04 by Allan.Bentham
Fix crash when using consolas font on android sdk 24
#jira UE-43464
Change 3379097 on 2017/04/04 by Nick.Shin
CIS HTML5 build warning fix
#jria none
#rnx
Change 3379333 on 2017/04/04 by Chris.Babcock
Prevent inserting extra permissions into manifest multiple times
#jira UE-43583
#ue4
#android
Change 3380870 on 2017/04/05 by Chris.Babcock
Fix merge issue
Change 3380898 on 2017/04/05 by Chris.Babcock
Fixed again
Change 3381443 on 2017/04/05 by Chris.Babcock
Fix for GearVR non-unity build
#ue4
#android
Change 3381941 on 2017/04/05 by Chris.Babcock
Fix HTTPChunkInstaller texture format checks and missing #define warning
#jira UE-43706
#ue4
#android
Change 3382056 on 2017/04/05 by Chris.Babcock
Updates to Android AARs needed for Facebook plugin
Change 3382097 on 2017/04/05 by Chris.Babcock
Disable java console cmd receiver only in shipping builds
#jira UE-43710
#ue4
#android
Change 3382497 on 2017/04/06 by Allan.Bentham
Fix Fortnite Cooked Server crashes when joining game from lobby.
#jira UE-43695
Change 3383227 on 2017/04/06 by Will.Fissler
Reverted case sensitive change, from yesterday, and implemented a pragma instead.
#jira UE-41313
[CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
static inline FCustomStdString FixHlslName ( const glsl_type * Type , bool bIsES2 )
2014-09-25 14:27:21 -04:00
{
check ( Type - > is_image ( ) | | Type - > is_vector ( ) | | Type - > is_numeric ( ) | | Type - > is_void ( ) | | Type - > is_sampler ( ) | | Type - > is_scalar ( ) ) ;
2015-12-10 16:56:55 -05:00
FCustomStdString Name = Type - > name ;
2014-09-25 14:27:21 -04:00
if ( Type = = glsl_type : : half_type )
{
return " float " ;
}
else if ( Type = = glsl_type : : half2_type )
{
return " vec2 " ;
}
else if ( Type = = glsl_type : : half3_type )
{
return " vec3 " ;
}
else if ( Type = = glsl_type : : half4_type )
{
return " vec4 " ;
}
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
else if ( Type = = glsl_type : : half2x2_type )
{
return " mat2 " ;
}
else if ( Type = = glsl_type : : half2x3_type )
{
return " mat2x3 " ;
}
else if ( Type = = glsl_type : : half2x4_type )
{
return " mat2x4 " ;
}
else if ( Type = = glsl_type : : half3x2_type )
{
return " mat3x2 " ;
}
else if ( Type = = glsl_type : : half3x3_type )
{
return " mat3 " ;
}
else if ( Type = = glsl_type : : half3x4_type )
{
return " mat3x4 " ;
}
else if ( Type = = glsl_type : : half4x2_type )
{
return " mat4x2 " ;
}
else if ( Type = = glsl_type : : half4x3_type )
{
return " mat4x3 " ;
}
else if ( Type = = glsl_type : : half4x4_type )
{
return " mat4 " ;
}
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3292174 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Linux toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292193 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- ThirdParty libs compiled with new toolchain with wasm support
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292215 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and wbegl2 support
- emscripten toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292222 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm support
- ENGINE changes (c# & cpp files)
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292223 on 2017/02/08 by Nick.Shin
HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile
Change 3292228 on 2017/02/08 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches
- and a lot of UE4 patches to package HTML5 on LINUX
- mostly from mozilla's jukka -- thx jukka!
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3292285 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Windows toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3293994 on 2017/02/09 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- OSX toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3294391 on 2017/02/09 by Nick.Shin
HTML5 "black box issues" revisited
- jukka rewrote the window resize handler -- much cleaner and more straightforward
#jira UE-36341 HTML5 - View is incorrectly drawn
#jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On
Change 3296421 on 2017/02/10 by Jack.Porter
Fix landscape spline segment splitting placing when using streaming levels
Change 3296587 on 2017/02/10 by Jack.Porter
Additional fix for landscape spline segment splitting when using streaming levels
Change 3301241 on 2017/02/14 by Mi.Wang
Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter
Change 3301387 on 2017/02/14 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches from mozilla's jukka
+ hardware instancing
+ glBlitFramebuffer
+ GL AlaphaBlendOperation
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3301405 on 2017/02/14 by Nick.Shin
HTML5 plugin fix when blueprint projects are promoted to code projects automatically.
#jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc
Change 3302278 on 2017/02/14 by Omar.Rodriguez
UE-36651: Mac Vulkan Android Projects crash on launch.
* Glslang library has been built for Mac but flag was not updated
* Set GlslangAvailable to true for Mac when building an Android project with vulkan
#jira UE-36651
Change 3302773 on 2017/02/14 by Chris.Babcock
Add a dropdown with some common console commands on Android (contributed by rafortis)
#jira UE-40834
#PR #3143
#ue4
#android
Change 3305604 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader- turn on: instance static mesh vertex factory
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3308154 on 2017/02/16 by Nick.Shin
HTML5 GitHub PR
#jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5
Change 3308510 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3308971 on 2017/02/17 by Jack.Porter
Fix for landscape painting when height<0 in the Ortho viewports
Change 3309075 on 2017/02/17 by Allan.Bentham
Include static subject meshes when masking out modulated shadow casters.
#jira UE-41581
Change 3309531 on 2017/02/17 by Chris.Babcock
Handle large OBB files in APK
#jira UE-41443
#ue4
#android
Change 3311320 on 2017/02/19 by Dmitriy.Dyomin
Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
#jira UE-41970
Change 3311347 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
#jira UE-41976
Change 3311398 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Landscapes do not render on PowerVR device
#jira UE-35530
Change 3311428 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
#jira UE-42036
Change 3311448 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Packaged game Crashes on android after entering "Help" command twice
#jira UE-41956
Change 3311587 on 2017/02/20 by Allan.Bentham
ES2 GLSL - Silently swap all uint to ints
#jira UE-41548
Change 3313930 on 2017/02/21 by Allan.Bentham
Print literal uints as ints when generating ES2 code.
#jira UE-41548
Change 3317924 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317929 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317951 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318004 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318669 on 2017/02/23 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318672 on 2017/02/23 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318819 on 2017/02/23 by Dmitriy.Dyomin
Fixed: Rendering artifacts with bloom on iPhone7 Metal
#jira UE-40978
Change 3319702 on 2017/02/23 by Chris.Babcock
Disable eglSwapInterval since it can cause issues with some drivers
#ue4
#android
Change 3320880 on 2017/02/24 by Dmitriy.Dyomin
Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
#jira UEMOB-195
Change 3321042 on 2017/02/24 by Jack.Porter
Fixed incorrect sizeof in Vulkan pipleine cache
pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/
#code_review: rolando.caloca
Change 3322383 on 2017/02/24 by Chris.Babcock
Fix issue with ad banner on Android 7.0 devices
#jira UE-42390
#ue4
#android
Change 3322479 on 2017/02/24 by Omar.Rodriguez
UEMOB-199 - WEX: Improved virtual keyboard for Android
* Calculating the area covered by the virtual keyboard
* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event
#jira UEMOB-199
Change 3323353 on 2017/02/27 by Allan.Bentham
Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
#jira UE-42191
Change 3323431 on 2017/02/27 by Allan.Bentham
CIS fix
Change 3323687 on 2017/02/27 by Allan.Bentham
Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
#jira UE-42131
Change 3324652 on 2017/02/28 by Dmitriy.Dyomin
Fixed: Canvas elements appear darker on iOS Metal
Change 3324885 on 2017/02/28 by Jack.Porter
Fixed "Minimum iOS Version" setting display name
#jira UE-42270
Change 3324899 on 2017/02/28 by Jack.Porter
GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
#jira UE-40018
#3063
Change 3324932 on 2017/02/28 by Jack.Porter
GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows
#jira UE-41984
#3257
#codereview: Peter.Sauerbrei
Change 3324956 on 2017/02/28 by Jack.Porter
FOpenGLFrontend::GetMaxSamplers incorrect for IOS
#jira UE-42038
#3264
Change 3325478 on 2017/02/28 by Allan.Bentham
PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna)
#jira UE-41442
Change 3327300 on 2017/03/01 by Allan.Bentham
PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen)
#jira UE-41257
Change 3328917 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
#jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac
#jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings
Change 3329169 on 2017/03/02 by Allan.Bentham
increase render thread timeout to 1 minute for suntemple / android.
Prevents low end devices timing out during load.
#jira UE-40696
Change 3330849 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3331078 on 2017/03/03 by Dmitriy.Dyomin
Fixed: Device output log partial lines
integrated from WEX (3250488)
Change 3331112 on 2017/03/03 by Dmitriy.Dyomin
Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)
integrated from WEX (3256584)
Change 3331117 on 2017/03/03 by Dmitriy.Dyomin
Fixed redundant blend state changes in opengl
integrated from WEX (3256586)
Change 3331173 on 2017/03/03 by Dmitriy.Dyomin
Slate pixel shaders will use half precision where possible on mobile
integrated from WEX (3256656)
Change 3332865 on 2017/03/06 by Dmitriy.Dyomin
Better MobileContentScaleFactor defaults for iOS devices
#jira UEMOB-330
Change 3333129 on 2017/03/06 by Peter.Sauerbrei
move to Library/Caches instead of documents for saved files
re-enable iterative deploy on TVOS
#jira UEMOB-284
Change 3334692 on 2017/03/06 by Jack.Porter
Allow r.MobileContentScaleFactor to be changed at runtime on Android
#jira UEMOB-173
Change 3336255 on 2017/03/07 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3337094 on 2017/03/08 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3338800 on 2017/03/08 by Chris.Babcock
Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
#jira UE-42677
#ue4
#android
Change 3338813 on 2017/03/08 by Chris.Babcock
Pass build configuration to UPL for access during packaging as $S(Configuration)
#jira UE-42678
#ue4
#android
#ios
Change 3339401 on 2017/03/09 by Alicia.Cano
Android runtime permissions
- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
- Fix for Location Services
- Fix for if target sdk is not set to 23+
#jira UE-38512
#android
#rb: chris.babcock
Change 3340736 on 2017/03/09 by Chris.Babcock
Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
#jira UE-41965
#PR #3254
#ue4
#android
Change 3340744 on 2017/03/09 by Jack.Porter
Expose Custom Depth to Foliage
#jira UE-6061
Change 3340849 on 2017/03/09 by Dmitriy.Dyomin
Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
#jira UE-42351
Change 3341268 on 2017/03/10 by Alicia.Cano
PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
#jira UE-37945
#android
#rb: chris.babcock, jack.porter
Change 3341303 on 2017/03/10 by Allan.Bentham
Remove optimisation that prevents full specular occulsion on mobile.
PR #3186 : Specular can't be blocked on high-end mobile.
#jira UE-41393
Change 3342304 on 2017/03/10 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343344 on 2017/03/13 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343591 on 2017/03/13 by Brent.Pease
iOS multiplayer fix part 1. Correct byte ordering.
#jira UE-34875
Change 3343669 on 2017/03/13 by Chris.Babcock
Update carefullyredist script version
#jira UE-42832
Change 3344212 on 2017/03/13 by Will.Fissler
Various compile fixes for Xcode 8.3.
These fixes must also be added to //UE4/Release-4.15.
#jira UE-41313
Change 3344396 on 2017/03/13 by Chris.Babcock
Fix Java 1.5 obsolete warnings
#jira UE-42851
#ue4
#android
Change 3345132 on 2017/03/14 by Will.Fissler
Added ifdef wrapper to check clang version for presentDrawable.
Change 3345336 on 2017/03/14 by Will.Fissler
Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.
Change 3345460 on 2017/03/14 by Will.Fissler
ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none
Change 3346046 on 2017/03/14 by Will.Fissler
Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.
Change 3346367 on 2017/03/14 by Chris.Babcock
Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
#ue4
#android
Change 3347682 on 2017/03/15 by Allan.Bentham
Enable HW sRGB correction with retainer widget's render target.
Use slate's gamma correction for mobile (where no such support exists)
Render retainer box RT content with gamma correction.
#jira UE-40967
Change 3348712 on 2017/03/15 by Nick.Shin
HTML5 - upload to S3
updated to AWS "signature version 4" authentication
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349254 on 2017/03/16 by Jack.Porter
Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
#jira UE-42971
Change 3349739 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
better error message feedback on upload failures
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349765 on 2017/03/16 by Alicia.Cano
Disable mouseover events in Mobile Previewer
#jira UE-19903
#mobile
#rb: Jack.Porter
Change 3350049 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
folder in bucket is optional
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3350153 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
updated S3 public link generator
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3351582 on 2017/03/17 by Will.Fissler
Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";
Currently we cannot build arm64 for iOS with this change.
Change 3352085 on 2017/03/17 by Alicia.Cano
iOS doesn't honor request to close the virtual keyboard leading to a crash
#jira UE-36447
#ios
#rb:Peter.Sauerbrei
Change 3353313 on 2017/03/19 by Ben.Marsh
Always allow large *.js files in Github.
Change 3354444 on 2017/03/20 by Nick.Shin
HTML5 - upload to S3
to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3355618 on 2017/03/20 by Nick.Shin
HTML5 Save Game System
- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3355621 on 2017/03/20 by Nick.Shin
remove temp debugging code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3356937 on 2017/03/21 by Chris.Babcock
Add "stat vulkanrhi" to new console dropdown
#jira UE-43149
#ue4
#android
Change 3357652 on 2017/03/21 by Nick.Shin
HTML5 performance speed ups
added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel
this option is based on the suggestions by jukka's post:
- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html
however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...
#jira UE-30214 - Implement a warning message for fps settings
Change 3360415 on 2017/03/23 by Allan.Bentham
Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.
Change 3360418 on 2017/03/23 by Allan.Bentham
Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
#jira UE-40913
Change 3360557 on 2017/03/23 by Allan.Bentham
Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
#jira UE-42131
Change 3362258 on 2017/03/23 by Dmitriy.Dyomin
Fixed: Canvas texture element gamma issues on iOS Metal
Change 3362321 on 2017/03/24 by Dmitriy.Dyomin
GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)
#3173
Change 3363550 on 2017/03/24 by Alicia.Cano
build fix for devices < Android 5.0
#jira UE-43299
#android
#rb: chris.babcock
Change 3363687 on 2017/03/24 by Chris.Babcock
Fix Android password hiding in input dialog
#jira WEX-5159
#ue4
#android
Change 3365280 on 2017/03/27 by Dmitriy.Dyomin
Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension
Change 3365291 on 2017/03/27 by Dmitriy.Dyomin
Copied form WEX CL# 3308653
Fixed: Enabling shader cache causes crash on NVIDIA Shield
#jira UE-41639
Change 3365293 on 2017/03/27 by Dmitriy.Dyomin
GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
#jira UE-43247
#3411
Change 3365340 on 2017/03/27 by Dmitriy.Dyomin
Fixed: Moving sublevel in world composition browser does not appear in Undo History
#jira UE-35535
Change 3365564 on 2017/03/27 by Allan.Bentham
SkyLightComponent now serializes IrradianceMap SH values.
clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
#jira UE-42436
Change 3366282 on 2017/03/27 by Nick.Shin
remove dead links
these files to not exist anywhere in the make-3.81 subfolders
#UDN-354501
#jira none
Change 3366306 on 2017/03/27 by Nick.Shin
HTML5 - disable multi-threading for wasm
#jira UE-43219 - HTML5 disable multi-threading for wasm
Change 3366307 on 2017/03/27 by Nick.Shin
HTML5 packaging Shipping builds
big cleanup / additions to *gz file support for amazon s3
* both, uploading to s3
* and allowing s3 to host the games there
#jira UE-43002 HTML5 in Shipping fails downloading symbols files
#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.
Change 3367385 on 2017/03/28 by Allan.Bentham
Display skylight serialization warning only when cooking for mobile platforms.
#jira UE-42436
Change 3368583 on 2017/03/28 by Chris.Babcock
Expose JAVA_HOME setting in Android SDK project settings on Mac
#jira UE-43418
#ue4
#android
Change 3368803 on 2017/03/28 by Chris.Babcock
Fix features requested in manifest for "Daydream and Cardboard" mode
#jira UE-43314
#ue4
#android
Change 3369087 on 2017/03/28 by Jack.Porter
Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
#jira UE-42438
Change 3369372 on 2017/03/29 by Allan.Bentham
Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
#jira UE-43366
Change 3369381 on 2017/03/29 by Jack.Porter
Show warnings when mobile shader permutations required for rendering are disbaled
Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
#jira UE-43050
Change 3369430 on 2017/03/29 by Allan.Bentham
fix CIS build
Change 3369740 on 2017/03/29 by Allan.Bentham
Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
Android links with -gc-sections to remove unused code/data
Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
Add support for map file generation with android.
Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini
#jira UEMOB-168
Change 3369975 on 2017/03/29 by Nick.Shin
HTML5 - AWS S3 shareable link for shipping builds corrected
#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.
Change 3369998 on 2017/03/29 by Nick.Shin
HTML5 python build scripts
PR:
https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3
#jira none
Change 3370214 on 2017/03/29 by Nick.Shin
HTML5 - default bUseFixedTimeStep to false...
#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms
Change 3370762 on 2017/03/29 by Chris.Babcock
Fixes to new keyboard for Android
- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
#ue4
#android
Change 3371344 on 2017/03/30 by Jack.Porter
Fixed issue where Vulkan screenshot R/B channels were reversed on Android
#jira UE-43479
Change 3372926 on 2017/03/30 by Peter.Sauerbrei
start the process of sunsetting 32-bit and GLES2 on iOS
#jira UE-42266
Change 3372970 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3372989 on 2017/03/30 by Peter.Sauerbrei
fix for Xcode 8.3 build with 32-bit
Change 3373007 on 2017/03/30 by Peter.Sauerbrei
fix for crash when online subsystem is disabled on IOS
Change 3373108 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373163 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373169 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
license file updated
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rnx
Change 3373287 on 2017/03/30 by Nick.Shin
HTML5 - 1.36.11 emscripten - remove old SDK
#jira none
#rnx
Change 3373289 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373595 on 2017/03/30 by Chris.Babcock
Reenable GooglePlay for ARM64 now that it doesn't crash
#jira UE-36198
#ue4
#android
Change 3373606 on 2017/03/30 by Chris.Babcock
Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
#ue4
#android
Change 3375456 on 2017/03/31 by Chris.Babcock
Add missing keycodes for Android keyboard (@ and #)
#jira WEX-5777
#ue4
#android
Change 3376309 on 2017/04/03 by Allan.Bentham
Fix overflow issues with mobile DoF.
Change 3377041 on 2017/04/03 by Will.Fissler
Adding Testbed content for PlatformShowcase.
Change 3377582 on 2017/04/03 by Alicia.Cano
adding back in GET_ACCOUNTS permission as it is required for Reset Achievements
#jira: UE-43265
#android
#rb: Chris.Babcock
Change 3377643 on 2017/04/03 by Peter.Sauerbrei
fix for memory leak in MallocBinned
#jira UE-43008
Change 3378033 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3378034 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty build scripts
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3378035 on 2017/04/04 by Nick.Shin
HTML5 - Update GameX template to make it work with trunk Emscripten
PR
https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978
#jira none
#rn
Change 3378044 on 2017/04/04 by Nick.Shin
HTML5 harfbuzz - double checking recompiled with NO multithreading
wasm currently does not support pthreads
*** THIS IS STILL WIP ***
checking in to match 3rd party libs compiled configuration
#jira UE-28588 - Build HarfBuzz for HTML5
#rnx
Change 3378264 on 2017/04/04 by Allan.Bentham
Fix crash when using consolas font on android sdk 24
#jira UE-43464
Change 3379097 on 2017/04/04 by Nick.Shin
CIS HTML5 build warning fix
#jria none
#rnx
Change 3379333 on 2017/04/04 by Chris.Babcock
Prevent inserting extra permissions into manifest multiple times
#jira UE-43583
#ue4
#android
Change 3380870 on 2017/04/05 by Chris.Babcock
Fix merge issue
Change 3380898 on 2017/04/05 by Chris.Babcock
Fixed again
Change 3381443 on 2017/04/05 by Chris.Babcock
Fix for GearVR non-unity build
#ue4
#android
Change 3381941 on 2017/04/05 by Chris.Babcock
Fix HTTPChunkInstaller texture format checks and missing #define warning
#jira UE-43706
#ue4
#android
Change 3382056 on 2017/04/05 by Chris.Babcock
Updates to Android AARs needed for Facebook plugin
Change 3382097 on 2017/04/05 by Chris.Babcock
Disable java console cmd receiver only in shipping builds
#jira UE-43710
#ue4
#android
Change 3382497 on 2017/04/06 by Allan.Bentham
Fix Fortnite Cooked Server crashes when joining game from lobby.
#jira UE-43695
Change 3383227 on 2017/04/06 by Will.Fissler
Reverted case sensitive change, from yesterday, and implemented a pragma instead.
#jira UE-41313
[CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
else if ( bIsES2 & & Type - > base_type = = GLSL_TYPE_UINT )
{
// uint does not exist with GLSL 1.00 (ES2)
// So we silently swap uint types to int.
if ( Type = = glsl_type : : uint_type )
{
return " int " ;
}
else if ( Type = = glsl_type : : uvec2_type )
{
return " ivec2 " ;
}
else if ( Type = = glsl_type : : uvec3_type )
{
return " ivec3 " ;
}
else if ( Type = = glsl_type : : uvec4_type )
{
return " ivec4 " ;
}
}
2014-09-25 14:27:21 -04:00
return Name ;
}
/**
* This table must match the ir_expression_operation enum .
*/
static const char * const GLSLExpressionTable [ ir_opcode_count ] [ 4 ] =
{
{ " (~ " , " ) " , " " , " " } , // ir_unop_bit_not,
{ " not( " , " ) " , " " , " ! " } , // ir_unop_logic_not,
{ " (- " , " ) " , " " , " " } , // ir_unop_neg,
{ " abs( " , " ) " , " " , " " } , // ir_unop_abs,
{ " sign( " , " ) " , " " , " " } , // ir_unop_sign,
{ " (1.0/( " , " )) " , " " , " " } , // ir_unop_rcp,
{ " inversesqrt( " , " ) " , " " , " " } , // ir_unop_rsq,
{ " sqrt( " , " ) " , " " , " " } , // ir_unop_sqrt,
{ " exp( " , " ) " , " " , " " } , // ir_unop_exp, /**< Log base e on gentype */
{ " log( " , " ) " , " " , " " } , // ir_unop_log, /**< Natural log on gentype */
{ " exp2( " , " ) " , " " , " " } , // ir_unop_exp2,
{ " log2( " , " ) " , " " , " " } , // ir_unop_log2,
{ " int( " , " ) " , " " , " " } , // ir_unop_f2i, /**< Float-to-integer conversion. */
{ " float( " , " ) " , " " , " " } , // ir_unop_i2f, /**< Integer-to-float conversion. */
{ " bool( " , " ) " , " " , " " } , // ir_unop_f2b, /**< Float-to-boolean conversion */
{ " float( " , " ) " , " " , " " } , // ir_unop_b2f, /**< Boolean-to-float conversion */
{ " bool( " , " ) " , " " , " " } , // ir_unop_i2b, /**< int-to-boolean conversion */
{ " int( " , " ) " , " " , " " } , // ir_unop_b2i, /**< Boolean-to-int conversion */
{ " uint( " , " ) " , " " , " " } , // ir_unop_b2u,
{ " bool( " , " ) " , " " , " " } , // ir_unop_u2b,
{ " uint( " , " ) " , " " , " " } , // ir_unop_f2u,
{ " float( " , " ) " , " " , " " } , // ir_unop_u2f, /**< Unsigned-to-float conversion. */
{ " uint( " , " ) " , " " , " " } , // ir_unop_i2u, /**< Integer-to-unsigned conversion. */
{ " int( " , " ) " , " " , " " } , // ir_unop_u2i, /**< Unsigned-to-integer conversion. */
{ " int( " , " ) " , " " , " " } , // ir_unop_h2i,
{ " float( " , " ) " , " " , " " } , // ir_unop_i2h,
{ " ( " , " ) " , " " , " " } , // ir_unop_h2f,
{ " ( " , " ) " , " " , " " } , // ir_unop_f2h,
{ " bool( " , " ) " , " " , " " } , // ir_unop_h2b,
{ " float( " , " ) " , " " , " " } , // ir_unop_b2h,
{ " uint( " , " ) " , " " , " " } , // ir_unop_h2u,
{ " uint( " , " ) " , " " , " " } , // ir_unop_u2h,
{ " transpose( " , " ) " , " " , " " } , // ir_unop_transpose
{ " any( " , " ) " , " " , " " } , // ir_unop_any,
{ " all( " , " ) " , " " , " " } , // ir_unop_all,
/**
* \ name Unary floating - point rounding operations .
*/
/*@{*/
{ " trunc( " , " ) " , " " , " " } , // ir_unop_trunc,
{ " ceil( " , " ) " , " " , " " } , // ir_unop_ceil,
{ " floor( " , " ) " , " " , " " } , // ir_unop_floor,
{ " fract( " , " ) " , " " , " " } , // ir_unop_fract,
{ " round( " , " ) " , " " , " " } , // ir_unop_round,
/*@}*/
/**
* \ name Trigonometric operations .
*/
/*@{*/
{ " sin( " , " ) " , " " , " " } , // ir_unop_sin,
{ " cos( " , " ) " , " " , " " } , // ir_unop_cos,
{ " tan( " , " ) " , " " , " " } , // ir_unop_tan,
{ " asin( " , " ) " , " " , " " } , // ir_unop_asin,
{ " acos( " , " ) " , " " , " " } , // ir_unop_acos,
{ " atan( " , " ) " , " " , " " } , // ir_unop_atan,
{ " sinh( " , " ) " , " " , " " } , // ir_unop_sinh,
{ " cosh( " , " ) " , " " , " " } , // ir_unop_cosh,
{ " tanh( " , " ) " , " " , " " } , // ir_unop_tanh,
/*@}*/
/**
* \ name Normalize .
*/
/*@{*/
{ " normalize( " , " ) " , " " , " " } , // ir_unop_normalize,
/*@}*/
/**
* \ name Partial derivatives .
*/
/*@{*/
{ " dFdx( " , " ) " , " " , " " } , // ir_unop_dFdx,
{ " dFdy( " , " ) " , " " , " " } , // ir_unop_dFdy,
/*@}*/
{ " isnan( " , " ) " , " " , " " } , // ir_unop_isnan,
{ " isinf( " , " ) " , " " , " " } , // ir_unop_isinf,
{ " floatBitsToUint( " , " ) " , " " , " " } , // ir_unop_fasu,
{ " floatBitsToInt( " , " ) " , " " , " " } , // ir_unop_fasi,
{ " intBitsToFloat( " , " ) " , " " , " " } , // ir_unop_iasf,
{ " uintBitsToFloat( " , " ) " , " " , " " } , // ir_unop_uasf,
{ " bitfieldReverse( " , " ) " , " " , " " } , // ir_unop_bitreverse,
{ " bitCount( " , " ) " , " " , " " } , // ir_unop_bitcount,
{ " findMSB( " , " ) " , " " , " " } , // ir_unop_msb,
{ " findLSB( " , " ) " , " " , " " } , // ir_unop_lsb,
{ " ERROR_NO_NOISE_FUNCS( " , " ) " , " " , " " } , // ir_unop_noise,
{ " ( " , " + " , " ) " , " " } , // ir_binop_add,
{ " ( " , " - " , " ) " , " " } , // ir_binop_sub,
{ " ( " , " * " , " ) " , " " } , // ir_binop_mul,
{ " ( " , " / " , " ) " , " " } , // ir_binop_div,
/**
* Takes one of two combinations of arguments :
*
* - mod ( vecN , vecN )
* - mod ( vecN , float )
*
* Does not take integer types .
*/
{ " mod( " , " , " , " ) " , " % " } , // ir_binop_mod,
{ " modf( " , " , " , " ) " , " " } , // ir_binop_modf,
{ " step( " , " , " , " ) " , " " } , // ir_binop_step,
/**
* \ name Binary comparison operators which return a boolean vector .
* The type of both operands must be equal .
*/
/*@{*/
{ " lessThan( " , " , " , " ) " , " < " } , // ir_binop_less,
{ " greaterThan( " , " , " , " ) " , " > " } , // ir_binop_greater,
{ " lessThanEqual( " , " , " , " ) " , " <= " } , // ir_binop_lequal,
{ " greaterThanEqual( " , " , " , " ) " , " >= " } , // ir_binop_gequal,
{ " equal( " , " , " , " ) " , " == " } , // ir_binop_equal,
{ " notEqual( " , " , " , " ) " , " != " } , // ir_binop_nequal,
/**
* Returns single boolean for whether all components of operands [ 0 ]
* equal the components of operands [ 1 ] .
*/
{ " ( " , " == " , " ) " , " " } , // ir_binop_all_equal,
/**
* Returns single boolean for whether any component of operands [ 0 ]
* is not equal to the corresponding component of operands [ 1 ] .
*/
{ " ( " , " != " , " ) " , " " } , // ir_binop_any_nequal,
/*@}*/
/**
* \ name Bit - wise binary operations .
*/
/*@{*/
{ " ( " , " << " , " ) " , " " } , // ir_binop_lshift,
{ " ( " , " >> " , " ) " , " " } , // ir_binop_rshift,
{ " ( " , " & " , " ) " , " " } , // ir_binop_bit_and,
{ " ( " , " ^ " , " ) " , " " } , // ir_binop_bit_xor,
{ " ( " , " | " , " ) " , " " } , // ir_binop_bit_or,
/*@}*/
{ " bvec%d(uvec%d( " , " )*uvec%d( " , " )) " , " && " } , // ir_binop_logic_and,
{ " bvec%d(abs(ivec%d( " , " )+ivec%d( " , " ))) " , " ^^ " } , // ir_binop_logic_xor,
{ " bvec%d(uvec%d( " , " )+uvec%d( " , " )) " , " || " } , // ir_binop_logic_or,
{ " dot( " , " , " , " ) " , " " } , // ir_binop_dot,
{ " cross( " , " , " , " ) " , " " } , // ir_binop_cross,
{ " min( " , " , " , " ) " , " " } , // ir_binop_min,
{ " max( " , " , " , " ) " , " " } , // ir_binop_max,
{ " atan( " , " , " , " ) " , " " } ,
{ " pow( " , " , " , " ) " , " " } , // ir_binop_pow,
{ " mix( " , " , " , " , " , " ) " } , // ir_ternop_lerp,
{ " smoothstep( " , " , " , " , " , " ) " } , // ir_ternop_smoothstep,
{ " clamp( " , " , " , " , " , " ) " } , // ir_ternop_clamp,
{ " ERROR_QUADOP_VECTOR( " , " , " , " ) " } , // ir_quadop_vector,
} ;
static const char * OutputStreamTypeStrings [ 4 ] = {
" !invalid! " ,
" points " ,
" line_strip " ,
" triangle_strip "
} ;
static const char * GeometryInputStrings [ 6 ] = {
" !invalid! " ,
" points " ,
" lines " ,
" line_adjacency " ,
" triangles " ,
" triangles_adjacency "
} ;
static const char * DomainStrings [ 4 ] = {
" !invalid! " ,
" triangles " ,
" quads " ,
" isolines " ,
} ;
static const char * PartitioningStrings [ 5 ] = {
" !invalid! " ,
" equal_spacing " ,
" fractional_even_spacing " ,
" fractional_odd_spacing " ,
" pow2 " ,
} ;
static const char * OutputTopologyStrings [ 5 ] = {
" !invalid! " ,
" point_needs_to_be_fixed " ,
" line_needs_to_be_fixed " ,
" cw " ,
" ccw " ,
} ;
static_assert ( ( sizeof ( GLSLExpressionTable ) / sizeof ( GLSLExpressionTable [ 0 ] ) ) = = ir_opcode_count , " GLSLExpressionTableSizeMismatch " ) ;
struct SDMARange
{
unsigned SourceCB ;
unsigned SourceOffset ;
unsigned Size ;
unsigned DestCBIndex ;
unsigned DestCBPrecision ;
unsigned DestOffset ;
bool operator < ( SDMARange const & Other ) const
{
if ( SourceCB = = Other . SourceCB )
{
return SourceOffset < Other . SourceOffset ;
}
return SourceCB < Other . SourceCB ;
}
} ;
typedef std : : list < SDMARange > TDMARangeList ;
typedef std : : map < unsigned , TDMARangeList > TCBDMARangeMap ;
static void InsertRange ( TCBDMARangeMap & CBAllRanges , unsigned SourceCB , unsigned SourceOffset , unsigned Size , unsigned DestCBIndex , unsigned DestCBPrecision , unsigned DestOffset )
{
check ( SourceCB < ( 1 < < 12 ) ) ;
check ( DestCBIndex < ( 1 < < 12 ) ) ;
check ( DestCBPrecision < ( 1 < < 8 ) ) ;
unsigned SourceDestCBKey = ( SourceCB < < 20 ) | ( DestCBIndex < < 8 ) | DestCBPrecision ;
SDMARange Range = { SourceCB , SourceOffset , Size , DestCBIndex , DestCBPrecision , DestOffset } ;
TDMARangeList & CBRanges = CBAllRanges [ SourceDestCBKey ] ;
2016-04-13 12:14:19 -04:00
//printf("* InsertRange: %08x\t%u:%u - %u:%c:%u:%u\n", SourceDestCBKey, SourceCB, SourceOffset, DestCBIndex, DestCBPrecision, DestOffset, Size);
2014-09-25 14:27:21 -04:00
if ( CBRanges . empty ( ) )
{
CBRanges . push_back ( Range ) ;
}
else
{
TDMARangeList : : iterator Prev = CBRanges . end ( ) ;
bool bAdded = false ;
for ( auto Iter = CBRanges . begin ( ) ; Iter ! = CBRanges . end ( ) ; + + Iter )
{
if ( SourceOffset + Size < = Iter - > SourceOffset )
{
if ( Prev = = CBRanges . end ( ) )
{
CBRanges . push_front ( Range ) ;
}
else
{
CBRanges . insert ( Iter , Range ) ;
}
bAdded = true ;
break ;
}
Prev = Iter ;
}
if ( ! bAdded )
{
CBRanges . push_back ( Range ) ;
}
if ( CBRanges . size ( ) > 1 )
{
// Try to merge ranges
bool bDirty = false ;
do
{
bDirty = false ;
TDMARangeList NewCBRanges ;
for ( auto Iter = CBRanges . begin ( ) ; Iter ! = CBRanges . end ( ) ; + + Iter )
{
if ( Iter = = CBRanges . begin ( ) )
{
Prev = CBRanges . begin ( ) ;
}
else
{
if ( Prev - > SourceOffset + Prev - > Size = = Iter - > SourceOffset & & Prev - > DestOffset + Prev - > Size = = Iter - > DestOffset )
{
SDMARange Merged = * Prev ;
Merged . Size = Prev - > Size + Iter - > Size ;
NewCBRanges . pop_back ( ) ;
NewCBRanges . push_back ( Merged ) ;
+ + Iter ;
NewCBRanges . insert ( NewCBRanges . end ( ) , Iter , CBRanges . end ( ) ) ;
bDirty = true ;
break ;
}
}
NewCBRanges . push_back ( * Iter ) ;
Prev = Iter ;
}
CBRanges . swap ( NewCBRanges ) ;
}
while ( bDirty ) ;
}
}
}
static TDMARangeList SortRanges ( TCBDMARangeMap & CBRanges )
{
TDMARangeList Sorted ;
for ( auto & Pair : CBRanges )
{
Sorted . insert ( Sorted . end ( ) , Pair . second . begin ( ) , Pair . second . end ( ) ) ;
}
Sorted . sort ( ) ;
return Sorted ;
}
static void DumpSortedRanges ( TDMARangeList & SortedRanges )
{
printf ( " ********************************** \n " ) ;
for ( auto & o : SortedRanges )
{
2016-04-13 12:14:19 -04:00
printf ( " \t %u:%u - %u:%c:%u:%u \n " , o . SourceCB , o . SourceOffset , o . DestCBIndex , o . DestCBPrecision , o . DestOffset , o . Size ) ;
2014-09-25 14:27:21 -04:00
}
}
2015-07-15 06:39:44 -04:00
// Returns true if the passed 'intrinsic' is used
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
static bool UsesUEIntrinsic ( exec_list * Instructions , const char * UEIntrinsic )
2014-09-25 14:27:21 -04:00
{
2015-07-15 06:39:44 -04:00
struct SFindUEIntrinsic : public ir_hierarchical_visitor
2014-09-25 14:27:21 -04:00
{
bool bFound ;
2015-07-15 06:39:44 -04:00
const char * UEIntrinsic ;
SFindUEIntrinsic ( const char * InUEIntrinsic ) : bFound ( false ) , UEIntrinsic ( InUEIntrinsic ) { }
2014-09-25 14:27:21 -04:00
virtual ir_visitor_status visit_enter ( ir_call * IR ) override
{
2015-07-15 06:39:44 -04:00
if ( IR - > use_builtin & & ! strcmp ( IR - > callee_name ( ) , UEIntrinsic ) )
2014-09-25 14:27:21 -04:00
{
bFound = true ;
return visit_stop ;
}
return visit_continue ;
}
} ;
2015-07-15 06:39:44 -04:00
SFindUEIntrinsic Visitor ( UEIntrinsic ) ;
2014-09-25 14:27:21 -04:00
Visitor . run ( Instructions ) ;
return Visitor . bFound ;
}
2015-06-25 02:07:29 -04:00
2014-09-25 14:27:21 -04:00
/**
* IR visitor used to generate GLSL . Based on ir_print_visitor .
*/
class ir_gen_glsl_visitor : public ir_visitor
{
/** Track which multi-dimensional arrays are used. */
struct md_array_entry : public exec_node
{
const glsl_type * type ;
} ;
/** Track external variables. */
struct extern_var : public exec_node
{
ir_variable * var ;
explicit extern_var ( ir_variable * in_var ) : var ( in_var ) { }
} ;
/** External variables. */
exec_list input_variables ;
exec_list output_variables ;
exec_list uniform_variables ;
exec_list sampler_variables ;
exec_list image_variables ;
/** Data tied globally to the shader via attributes */
bool early_depth_stencil ;
int wg_size_x ;
int wg_size_y ;
int wg_size_z ;
glsl_tessellation_info tessellation ;
/** Track global instructions. */
struct global_ir : public exec_node
{
ir_instruction * ir ;
explicit global_ir ( ir_instruction * in_ir ) : ir ( in_ir ) { }
} ;
/** Global instructions. */
exec_list global_instructions ;
/** A mapping from ir_variable * -> unique printable names. */
hash_table * printable_names ;
/** Structures required by the code. */
hash_table * used_structures ;
/** Uniform block variables required by the code. */
hash_table * used_uniform_blocks ;
/** Multi-dimensional arrays required by the code. */
exec_list used_md_arrays ;
// Code generation flags
bool bIsES ;
2015-06-18 14:24:11 -04:00
bool bEmitPrecision ;
2015-06-19 19:28:40 -04:00
bool bIsES31 ;
2014-09-25 14:27:21 -04:00
_mesa_glsl_parser_targets ShaderTarget ;
bool bGenerateLayoutLocations ;
2016-06-13 12:20:22 -04:00
bool bDefaultPrecisionIsHalf ;
2014-09-25 14:27:21 -04:00
/** Memory context within which to make allocations. */
void * mem_ctx ;
/** Buffer to which GLSL source is being generated. */
char * * buffer ;
/** Indentation level. */
int indentation ;
/** Scope depth. */
int scope_depth ;
/** The number of temporary variables declared in the current scope. */
int temp_id ;
/** The number of global variables declared. */
int global_id ;
/** Whether a semicolon must be printed before the next EOL. */
bool needs_semicolon ;
/**
* Whether uint literals should be printed as int literals . This is a hack
* because glCompileShader crashes on Mac OS X with code like this :
* foo = bar [ 0u ] ;
*/
bool should_print_uint_literals_as_ints ;
/** number of loops in the generated code */
int loop_count ;
/** Whether the shader being cross compiled needs EXT_shader_texture_lod. */
bool bUsesES2TextureLODExtension ;
// Found dFdx or dFdy
bool bUsesDXDY ;
2015-12-09 15:04:15 -05:00
// Uses gl_InstanceID
bool bUsesInstanceID ;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
// Don't allow global uniforms; instead, wrap in a struct to make a proper uniform buffer
bool bNoGlobalUniforms ;
2014-09-25 14:27:21 -04:00
/**
* Return true if the type is a multi - dimensional array . Also , track the
* array .
*/
bool is_md_array ( const glsl_type * type )
{
if ( type - > base_type = = GLSL_TYPE_ARRAY & &
type - > fields . array - > base_type = = GLSL_TYPE_ARRAY )
{
foreach_iter ( exec_list_iterator , iter , used_md_arrays )
{
md_array_entry * entry = ( md_array_entry * ) iter . get ( ) ;
if ( entry - > type = = type )
return true ;
}
md_array_entry * entry = new ( mem_ctx ) md_array_entry ( ) ;
entry - > type = type ;
used_md_arrays . push_tail ( entry ) ;
return true ;
}
return false ;
}
/**
* Fetch / generate a unique name for ir_variable .
*
* GLSL IR permits multiple ir_variables to share the same name . This works
* fine until we try to print it , when we really need a unique one .
*/
const char * unique_name ( ir_variable * var )
{
if ( var - > mode = = ir_var_temporary | | var - > mode = = ir_var_auto )
{
/* Do we already have a name for this variable? */
const char * name = ( const char * ) hash_table_find ( this - > printable_names , var ) ;
if ( name = = NULL )
{
2015-03-20 16:18:49 -04:00
bool bIsGlobal = ( scope_depth = = 0 & & var - > mode ! = ir_var_temporary ) ;
const char * prefix = " g " ;
if ( ! bIsGlobal )
{
if ( var - > type - > is_matrix ( ) )
{
prefix = " m " ;
}
else if ( var - > type - > is_vector ( ) )
{
prefix = " v " ;
}
else
{
switch ( var - > type - > base_type )
{
case GLSL_TYPE_BOOL : prefix = " b " ; break ;
case GLSL_TYPE_UINT : prefix = " u " ; break ;
case GLSL_TYPE_INT : prefix = " i " ; break ;
case GLSL_TYPE_HALF : prefix = " h " ; break ;
case GLSL_TYPE_FLOAT : prefix = " f " ; break ;
default : prefix = " t " ; break ;
}
}
}
int var_id = bIsGlobal ? global_id + + : temp_id + + ;
2014-09-25 14:27:21 -04:00
name = ralloc_asprintf ( mem_ctx , " %s%d " , prefix , var_id ) ;
hash_table_insert ( this - > printable_names , ( void * ) name , var ) ;
}
return name ;
}
/* If there's no conflict, just use the original name */
return var - > name ;
}
/**
* Add tabs / spaces for the current indentation level .
*/
void indent ( void )
{
for ( int i = 0 ; i < indentation ; i + + )
{
ralloc_asprintf_append ( buffer , " \t " ) ;
}
}
/**
* Print out the internal name for a multi - dimensional array .
*/
void print_md_array_type ( const glsl_type * t )
{
if ( t - > base_type = = GLSL_TYPE_ARRAY )
{
ralloc_asprintf_append ( buffer , " _mdarr_ " ) ;
do
{
2016-04-13 12:14:19 -04:00
ralloc_asprintf_append ( buffer , " %u_ " , t - > length ) ;
2014-09-25 14:27:21 -04:00
t = t - > fields . array ;
} while ( t - > base_type = = GLSL_TYPE_ARRAY ) ;
print_base_type ( t ) ;
}
}
/**
* Print the base type , e . g . vec3 .
*/
void print_base_type ( const glsl_type * t )
{
if ( t - > base_type = = GLSL_TYPE_ARRAY )
{
print_base_type ( t - > fields . array ) ;
}
else if ( t - > base_type = = GLSL_TYPE_INPUTPATCH )
{
ralloc_asprintf_append ( buffer , " /* %s */ " , t - > name ) ;
print_base_type ( t - > inner_type ) ;
}
else if ( t - > base_type = = GLSL_TYPE_OUTPUTPATCH )
{
ralloc_asprintf_append ( buffer , " /* %s */ " , t - > name ) ;
print_base_type ( t - > inner_type ) ;
}
else if ( ( t - > base_type = = GLSL_TYPE_STRUCT )
& & ( strncmp ( " gl_ " , t - > name , 3 ) ! = 0 ) )
{
ralloc_asprintf_append ( buffer , " %s " , t - > name ) ;
}
else
{
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3292174 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Linux toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292193 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- ThirdParty libs compiled with new toolchain with wasm support
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292215 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and wbegl2 support
- emscripten toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292222 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm support
- ENGINE changes (c# & cpp files)
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292223 on 2017/02/08 by Nick.Shin
HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile
Change 3292228 on 2017/02/08 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches
- and a lot of UE4 patches to package HTML5 on LINUX
- mostly from mozilla's jukka -- thx jukka!
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3292285 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Windows toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3293994 on 2017/02/09 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- OSX toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3294391 on 2017/02/09 by Nick.Shin
HTML5 "black box issues" revisited
- jukka rewrote the window resize handler -- much cleaner and more straightforward
#jira UE-36341 HTML5 - View is incorrectly drawn
#jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On
Change 3296421 on 2017/02/10 by Jack.Porter
Fix landscape spline segment splitting placing when using streaming levels
Change 3296587 on 2017/02/10 by Jack.Porter
Additional fix for landscape spline segment splitting when using streaming levels
Change 3301241 on 2017/02/14 by Mi.Wang
Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter
Change 3301387 on 2017/02/14 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches from mozilla's jukka
+ hardware instancing
+ glBlitFramebuffer
+ GL AlaphaBlendOperation
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3301405 on 2017/02/14 by Nick.Shin
HTML5 plugin fix when blueprint projects are promoted to code projects automatically.
#jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc
Change 3302278 on 2017/02/14 by Omar.Rodriguez
UE-36651: Mac Vulkan Android Projects crash on launch.
* Glslang library has been built for Mac but flag was not updated
* Set GlslangAvailable to true for Mac when building an Android project with vulkan
#jira UE-36651
Change 3302773 on 2017/02/14 by Chris.Babcock
Add a dropdown with some common console commands on Android (contributed by rafortis)
#jira UE-40834
#PR #3143
#ue4
#android
Change 3305604 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader- turn on: instance static mesh vertex factory
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3308154 on 2017/02/16 by Nick.Shin
HTML5 GitHub PR
#jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5
Change 3308510 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3308971 on 2017/02/17 by Jack.Porter
Fix for landscape painting when height<0 in the Ortho viewports
Change 3309075 on 2017/02/17 by Allan.Bentham
Include static subject meshes when masking out modulated shadow casters.
#jira UE-41581
Change 3309531 on 2017/02/17 by Chris.Babcock
Handle large OBB files in APK
#jira UE-41443
#ue4
#android
Change 3311320 on 2017/02/19 by Dmitriy.Dyomin
Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
#jira UE-41970
Change 3311347 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
#jira UE-41976
Change 3311398 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Landscapes do not render on PowerVR device
#jira UE-35530
Change 3311428 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
#jira UE-42036
Change 3311448 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Packaged game Crashes on android after entering "Help" command twice
#jira UE-41956
Change 3311587 on 2017/02/20 by Allan.Bentham
ES2 GLSL - Silently swap all uint to ints
#jira UE-41548
Change 3313930 on 2017/02/21 by Allan.Bentham
Print literal uints as ints when generating ES2 code.
#jira UE-41548
Change 3317924 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317929 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317951 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318004 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318669 on 2017/02/23 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318672 on 2017/02/23 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318819 on 2017/02/23 by Dmitriy.Dyomin
Fixed: Rendering artifacts with bloom on iPhone7 Metal
#jira UE-40978
Change 3319702 on 2017/02/23 by Chris.Babcock
Disable eglSwapInterval since it can cause issues with some drivers
#ue4
#android
Change 3320880 on 2017/02/24 by Dmitriy.Dyomin
Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
#jira UEMOB-195
Change 3321042 on 2017/02/24 by Jack.Porter
Fixed incorrect sizeof in Vulkan pipleine cache
pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/
#code_review: rolando.caloca
Change 3322383 on 2017/02/24 by Chris.Babcock
Fix issue with ad banner on Android 7.0 devices
#jira UE-42390
#ue4
#android
Change 3322479 on 2017/02/24 by Omar.Rodriguez
UEMOB-199 - WEX: Improved virtual keyboard for Android
* Calculating the area covered by the virtual keyboard
* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event
#jira UEMOB-199
Change 3323353 on 2017/02/27 by Allan.Bentham
Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
#jira UE-42191
Change 3323431 on 2017/02/27 by Allan.Bentham
CIS fix
Change 3323687 on 2017/02/27 by Allan.Bentham
Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
#jira UE-42131
Change 3324652 on 2017/02/28 by Dmitriy.Dyomin
Fixed: Canvas elements appear darker on iOS Metal
Change 3324885 on 2017/02/28 by Jack.Porter
Fixed "Minimum iOS Version" setting display name
#jira UE-42270
Change 3324899 on 2017/02/28 by Jack.Porter
GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
#jira UE-40018
#3063
Change 3324932 on 2017/02/28 by Jack.Porter
GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows
#jira UE-41984
#3257
#codereview: Peter.Sauerbrei
Change 3324956 on 2017/02/28 by Jack.Porter
FOpenGLFrontend::GetMaxSamplers incorrect for IOS
#jira UE-42038
#3264
Change 3325478 on 2017/02/28 by Allan.Bentham
PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna)
#jira UE-41442
Change 3327300 on 2017/03/01 by Allan.Bentham
PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen)
#jira UE-41257
Change 3328917 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
#jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac
#jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings
Change 3329169 on 2017/03/02 by Allan.Bentham
increase render thread timeout to 1 minute for suntemple / android.
Prevents low end devices timing out during load.
#jira UE-40696
Change 3330849 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3331078 on 2017/03/03 by Dmitriy.Dyomin
Fixed: Device output log partial lines
integrated from WEX (3250488)
Change 3331112 on 2017/03/03 by Dmitriy.Dyomin
Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)
integrated from WEX (3256584)
Change 3331117 on 2017/03/03 by Dmitriy.Dyomin
Fixed redundant blend state changes in opengl
integrated from WEX (3256586)
Change 3331173 on 2017/03/03 by Dmitriy.Dyomin
Slate pixel shaders will use half precision where possible on mobile
integrated from WEX (3256656)
Change 3332865 on 2017/03/06 by Dmitriy.Dyomin
Better MobileContentScaleFactor defaults for iOS devices
#jira UEMOB-330
Change 3333129 on 2017/03/06 by Peter.Sauerbrei
move to Library/Caches instead of documents for saved files
re-enable iterative deploy on TVOS
#jira UEMOB-284
Change 3334692 on 2017/03/06 by Jack.Porter
Allow r.MobileContentScaleFactor to be changed at runtime on Android
#jira UEMOB-173
Change 3336255 on 2017/03/07 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3337094 on 2017/03/08 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3338800 on 2017/03/08 by Chris.Babcock
Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
#jira UE-42677
#ue4
#android
Change 3338813 on 2017/03/08 by Chris.Babcock
Pass build configuration to UPL for access during packaging as $S(Configuration)
#jira UE-42678
#ue4
#android
#ios
Change 3339401 on 2017/03/09 by Alicia.Cano
Android runtime permissions
- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
- Fix for Location Services
- Fix for if target sdk is not set to 23+
#jira UE-38512
#android
#rb: chris.babcock
Change 3340736 on 2017/03/09 by Chris.Babcock
Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
#jira UE-41965
#PR #3254
#ue4
#android
Change 3340744 on 2017/03/09 by Jack.Porter
Expose Custom Depth to Foliage
#jira UE-6061
Change 3340849 on 2017/03/09 by Dmitriy.Dyomin
Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
#jira UE-42351
Change 3341268 on 2017/03/10 by Alicia.Cano
PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
#jira UE-37945
#android
#rb: chris.babcock, jack.porter
Change 3341303 on 2017/03/10 by Allan.Bentham
Remove optimisation that prevents full specular occulsion on mobile.
PR #3186 : Specular can't be blocked on high-end mobile.
#jira UE-41393
Change 3342304 on 2017/03/10 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343344 on 2017/03/13 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343591 on 2017/03/13 by Brent.Pease
iOS multiplayer fix part 1. Correct byte ordering.
#jira UE-34875
Change 3343669 on 2017/03/13 by Chris.Babcock
Update carefullyredist script version
#jira UE-42832
Change 3344212 on 2017/03/13 by Will.Fissler
Various compile fixes for Xcode 8.3.
These fixes must also be added to //UE4/Release-4.15.
#jira UE-41313
Change 3344396 on 2017/03/13 by Chris.Babcock
Fix Java 1.5 obsolete warnings
#jira UE-42851
#ue4
#android
Change 3345132 on 2017/03/14 by Will.Fissler
Added ifdef wrapper to check clang version for presentDrawable.
Change 3345336 on 2017/03/14 by Will.Fissler
Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.
Change 3345460 on 2017/03/14 by Will.Fissler
ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none
Change 3346046 on 2017/03/14 by Will.Fissler
Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.
Change 3346367 on 2017/03/14 by Chris.Babcock
Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
#ue4
#android
Change 3347682 on 2017/03/15 by Allan.Bentham
Enable HW sRGB correction with retainer widget's render target.
Use slate's gamma correction for mobile (where no such support exists)
Render retainer box RT content with gamma correction.
#jira UE-40967
Change 3348712 on 2017/03/15 by Nick.Shin
HTML5 - upload to S3
updated to AWS "signature version 4" authentication
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349254 on 2017/03/16 by Jack.Porter
Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
#jira UE-42971
Change 3349739 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
better error message feedback on upload failures
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349765 on 2017/03/16 by Alicia.Cano
Disable mouseover events in Mobile Previewer
#jira UE-19903
#mobile
#rb: Jack.Porter
Change 3350049 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
folder in bucket is optional
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3350153 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
updated S3 public link generator
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3351582 on 2017/03/17 by Will.Fissler
Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";
Currently we cannot build arm64 for iOS with this change.
Change 3352085 on 2017/03/17 by Alicia.Cano
iOS doesn't honor request to close the virtual keyboard leading to a crash
#jira UE-36447
#ios
#rb:Peter.Sauerbrei
Change 3353313 on 2017/03/19 by Ben.Marsh
Always allow large *.js files in Github.
Change 3354444 on 2017/03/20 by Nick.Shin
HTML5 - upload to S3
to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3355618 on 2017/03/20 by Nick.Shin
HTML5 Save Game System
- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3355621 on 2017/03/20 by Nick.Shin
remove temp debugging code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3356937 on 2017/03/21 by Chris.Babcock
Add "stat vulkanrhi" to new console dropdown
#jira UE-43149
#ue4
#android
Change 3357652 on 2017/03/21 by Nick.Shin
HTML5 performance speed ups
added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel
this option is based on the suggestions by jukka's post:
- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html
however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...
#jira UE-30214 - Implement a warning message for fps settings
Change 3360415 on 2017/03/23 by Allan.Bentham
Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.
Change 3360418 on 2017/03/23 by Allan.Bentham
Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
#jira UE-40913
Change 3360557 on 2017/03/23 by Allan.Bentham
Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
#jira UE-42131
Change 3362258 on 2017/03/23 by Dmitriy.Dyomin
Fixed: Canvas texture element gamma issues on iOS Metal
Change 3362321 on 2017/03/24 by Dmitriy.Dyomin
GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)
#3173
Change 3363550 on 2017/03/24 by Alicia.Cano
build fix for devices < Android 5.0
#jira UE-43299
#android
#rb: chris.babcock
Change 3363687 on 2017/03/24 by Chris.Babcock
Fix Android password hiding in input dialog
#jira WEX-5159
#ue4
#android
Change 3365280 on 2017/03/27 by Dmitriy.Dyomin
Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension
Change 3365291 on 2017/03/27 by Dmitriy.Dyomin
Copied form WEX CL# 3308653
Fixed: Enabling shader cache causes crash on NVIDIA Shield
#jira UE-41639
Change 3365293 on 2017/03/27 by Dmitriy.Dyomin
GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
#jira UE-43247
#3411
Change 3365340 on 2017/03/27 by Dmitriy.Dyomin
Fixed: Moving sublevel in world composition browser does not appear in Undo History
#jira UE-35535
Change 3365564 on 2017/03/27 by Allan.Bentham
SkyLightComponent now serializes IrradianceMap SH values.
clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
#jira UE-42436
Change 3366282 on 2017/03/27 by Nick.Shin
remove dead links
these files to not exist anywhere in the make-3.81 subfolders
#UDN-354501
#jira none
Change 3366306 on 2017/03/27 by Nick.Shin
HTML5 - disable multi-threading for wasm
#jira UE-43219 - HTML5 disable multi-threading for wasm
Change 3366307 on 2017/03/27 by Nick.Shin
HTML5 packaging Shipping builds
big cleanup / additions to *gz file support for amazon s3
* both, uploading to s3
* and allowing s3 to host the games there
#jira UE-43002 HTML5 in Shipping fails downloading symbols files
#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.
Change 3367385 on 2017/03/28 by Allan.Bentham
Display skylight serialization warning only when cooking for mobile platforms.
#jira UE-42436
Change 3368583 on 2017/03/28 by Chris.Babcock
Expose JAVA_HOME setting in Android SDK project settings on Mac
#jira UE-43418
#ue4
#android
Change 3368803 on 2017/03/28 by Chris.Babcock
Fix features requested in manifest for "Daydream and Cardboard" mode
#jira UE-43314
#ue4
#android
Change 3369087 on 2017/03/28 by Jack.Porter
Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
#jira UE-42438
Change 3369372 on 2017/03/29 by Allan.Bentham
Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
#jira UE-43366
Change 3369381 on 2017/03/29 by Jack.Porter
Show warnings when mobile shader permutations required for rendering are disbaled
Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
#jira UE-43050
Change 3369430 on 2017/03/29 by Allan.Bentham
fix CIS build
Change 3369740 on 2017/03/29 by Allan.Bentham
Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
Android links with -gc-sections to remove unused code/data
Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
Add support for map file generation with android.
Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini
#jira UEMOB-168
Change 3369975 on 2017/03/29 by Nick.Shin
HTML5 - AWS S3 shareable link for shipping builds corrected
#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.
Change 3369998 on 2017/03/29 by Nick.Shin
HTML5 python build scripts
PR:
https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3
#jira none
Change 3370214 on 2017/03/29 by Nick.Shin
HTML5 - default bUseFixedTimeStep to false...
#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms
Change 3370762 on 2017/03/29 by Chris.Babcock
Fixes to new keyboard for Android
- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
#ue4
#android
Change 3371344 on 2017/03/30 by Jack.Porter
Fixed issue where Vulkan screenshot R/B channels were reversed on Android
#jira UE-43479
Change 3372926 on 2017/03/30 by Peter.Sauerbrei
start the process of sunsetting 32-bit and GLES2 on iOS
#jira UE-42266
Change 3372970 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3372989 on 2017/03/30 by Peter.Sauerbrei
fix for Xcode 8.3 build with 32-bit
Change 3373007 on 2017/03/30 by Peter.Sauerbrei
fix for crash when online subsystem is disabled on IOS
Change 3373108 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373163 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373169 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
license file updated
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rnx
Change 3373287 on 2017/03/30 by Nick.Shin
HTML5 - 1.36.11 emscripten - remove old SDK
#jira none
#rnx
Change 3373289 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373595 on 2017/03/30 by Chris.Babcock
Reenable GooglePlay for ARM64 now that it doesn't crash
#jira UE-36198
#ue4
#android
Change 3373606 on 2017/03/30 by Chris.Babcock
Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
#ue4
#android
Change 3375456 on 2017/03/31 by Chris.Babcock
Add missing keycodes for Android keyboard (@ and #)
#jira WEX-5777
#ue4
#android
Change 3376309 on 2017/04/03 by Allan.Bentham
Fix overflow issues with mobile DoF.
Change 3377041 on 2017/04/03 by Will.Fissler
Adding Testbed content for PlatformShowcase.
Change 3377582 on 2017/04/03 by Alicia.Cano
adding back in GET_ACCOUNTS permission as it is required for Reset Achievements
#jira: UE-43265
#android
#rb: Chris.Babcock
Change 3377643 on 2017/04/03 by Peter.Sauerbrei
fix for memory leak in MallocBinned
#jira UE-43008
Change 3378033 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3378034 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty build scripts
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3378035 on 2017/04/04 by Nick.Shin
HTML5 - Update GameX template to make it work with trunk Emscripten
PR
https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978
#jira none
#rn
Change 3378044 on 2017/04/04 by Nick.Shin
HTML5 harfbuzz - double checking recompiled with NO multithreading
wasm currently does not support pthreads
*** THIS IS STILL WIP ***
checking in to match 3rd party libs compiled configuration
#jira UE-28588 - Build HarfBuzz for HTML5
#rnx
Change 3378264 on 2017/04/04 by Allan.Bentham
Fix crash when using consolas font on android sdk 24
#jira UE-43464
Change 3379097 on 2017/04/04 by Nick.Shin
CIS HTML5 build warning fix
#jria none
#rnx
Change 3379333 on 2017/04/04 by Chris.Babcock
Prevent inserting extra permissions into manifest multiple times
#jira UE-43583
#ue4
#android
Change 3380870 on 2017/04/05 by Chris.Babcock
Fix merge issue
Change 3380898 on 2017/04/05 by Chris.Babcock
Fixed again
Change 3381443 on 2017/04/05 by Chris.Babcock
Fix for GearVR non-unity build
#ue4
#android
Change 3381941 on 2017/04/05 by Chris.Babcock
Fix HTTPChunkInstaller texture format checks and missing #define warning
#jira UE-43706
#ue4
#android
Change 3382056 on 2017/04/05 by Chris.Babcock
Updates to Android AARs needed for Facebook plugin
Change 3382097 on 2017/04/05 by Chris.Babcock
Disable java console cmd receiver only in shipping builds
#jira UE-43710
#ue4
#android
Change 3382497 on 2017/04/06 by Allan.Bentham
Fix Fortnite Cooked Server crashes when joining game from lobby.
#jira UE-43695
Change 3383227 on 2017/04/06 by Will.Fissler
Reverted case sensitive change, from yesterday, and implemented a pragma instead.
#jira UE-41313
[CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
FCustomStdString Name = FixHlslName ( t , bIsES & & ! bIsES31 ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " %s " , Name . c_str ( ) ) ;
}
}
/**
* Print the portion of the type that appears before a variable declaration .
*/
void print_type_pre ( const glsl_type * t )
{
if ( is_md_array ( t ) )
{
print_md_array_type ( t ) ;
}
else
{
print_base_type ( t ) ;
}
}
/**
* Print the portion of the type that appears after a variable declaration .
*/
void print_type_post ( const glsl_type * t , bool is_unsized = false )
{
if ( t - > base_type = = GLSL_TYPE_ARRAY & & ! is_md_array ( t ) )
{
if ( is_unsized )
{
ralloc_asprintf_append ( buffer , " [] " ) ;
}
else
{
ralloc_asprintf_append ( buffer , " [%u] " , t - > length ) ;
}
}
else if ( t - > base_type = = GLSL_TYPE_INPUTPATCH | | t - > base_type = = GLSL_TYPE_OUTPUTPATCH )
{
ralloc_asprintf_append ( buffer , " [%u] /* %s */ " , t - > patch_length , t - > name ) ;
}
}
/**
* Print a full variable declaration .
*/
void print_type_full ( const glsl_type * t )
{
print_type_pre ( t ) ;
print_type_post ( t ) ;
}
/**
* Visit a single instruction . Appends a semicolon and EOL if needed .
*/
void do_visit ( ir_instruction * ir )
{
needs_semicolon = true ;
ir - > accept ( this ) ;
if ( needs_semicolon )
{
ralloc_asprintf_append ( buffer , " ; \n " ) ;
}
}
2015-07-08 22:20:29 -04:00
enum EPrecisionModifier
{
GLSL_PRECISION_DEFAULT ,
GLSL_PRECISION_LOWP ,
GLSL_PRECISION_MEDIUMP ,
GLSL_PRECISION_HIGHP ,
} ;
EPrecisionModifier GetPrecisionModifier ( const struct glsl_type * type )
{
if ( type - > is_sampler ( ) | | type - > is_image ( ) )
{
2016-06-13 12:20:22 -04:00
if ( bDefaultPrecisionIsHalf & & type - > inner_type - > base_type = = GLSL_TYPE_FLOAT )
2015-07-08 22:20:29 -04:00
{
return GLSL_PRECISION_HIGHP ;
}
2016-06-13 12:20:22 -04:00
else if ( ! bDefaultPrecisionIsHalf & & type - > inner_type - > base_type = = GLSL_TYPE_HALF )
2015-07-08 22:20:29 -04:00
{
return GLSL_PRECISION_MEDIUMP ;
}
else // shadow samplers, integer textures etc
{
return GLSL_PRECISION_HIGHP ;
}
}
2016-06-13 12:20:22 -04:00
else if ( bDefaultPrecisionIsHalf & & ( type - > base_type = = GLSL_TYPE_FLOAT | | ( type - > is_array ( ) & & type - > element_type ( ) - > base_type = = GLSL_TYPE_FLOAT ) ) )
2015-07-08 22:20:29 -04:00
{
return GLSL_PRECISION_HIGHP ;
}
2016-06-13 12:20:22 -04:00
else if ( ! bDefaultPrecisionIsHalf & & ( type - > base_type = = GLSL_TYPE_HALF | | ( type - > is_array ( ) & & type - > element_type ( ) - > base_type = = GLSL_TYPE_HALF ) ) )
2015-07-08 22:20:29 -04:00
{
return GLSL_PRECISION_MEDIUMP ;
}
else if ( type - > is_integer ( ) )
{
return GLSL_PRECISION_HIGHP ;
}
return GLSL_PRECISION_DEFAULT ;
}
2015-07-09 02:21:05 -04:00
void AppendPrecisionModifier ( char * * inBuffer , EPrecisionModifier PrecisionModifier )
2015-07-08 22:20:29 -04:00
{
switch ( PrecisionModifier )
{
case GLSL_PRECISION_LOWP :
2015-07-09 02:21:05 -04:00
ralloc_asprintf_append ( inBuffer , " lowp " ) ;
2015-07-08 22:20:29 -04:00
break ;
case GLSL_PRECISION_MEDIUMP :
2015-07-09 02:21:05 -04:00
ralloc_asprintf_append ( inBuffer , " mediump " ) ;
2015-07-08 22:20:29 -04:00
break ;
case GLSL_PRECISION_HIGHP :
2015-07-09 02:21:05 -04:00
ralloc_asprintf_append ( inBuffer , " highp " ) ;
2015-07-08 22:20:29 -04:00
break ;
case GLSL_PRECISION_DEFAULT :
break ;
default :
// we missed a type
check ( false ) ;
}
}
2014-09-25 14:27:21 -04:00
/**
* \ name Visit methods
*
* As typical for the visitor pattern , there must be one \ c visit method for
* each concrete subclass of \ c ir_instruction . Virtual base classes within
* the hierarchy should not have \ c visit methods .
*/
virtual void visit ( ir_rvalue * rvalue )
{
check ( 0 & & " ir_rvalue not handled for GLSL export. " ) ;
}
virtual void visit ( ir_variable * var )
{
const char * const centroid_str [ ] = { " " , " centroid " } ;
const char * const invariant_str [ ] = { " " , " invariant " } ;
const char * const patch_constant_str [ ] = { " " , " patch " } ;
const char * const GLSLmode_str [ ] = { " " , " uniform " , " in " , " out " , " inout " , " in " , " " , " shared " , " " , " " , " uniform_ref " } ;
const char * const ESVSmode_str [ ] = { " " , " uniform " , " attribute " , " varying " , " inout " , " in " , " " , " shared " } ;
const char * const ESFSmode_str [ ] = { " " , " uniform " , " varying " , " attribute " , " " , " in " , " " , " shared " } ;
2015-12-09 15:04:15 -05:00
const char * const GLSLinterp_str [ ] = { " " , " smooth " , " flat " , " noperspective " } ;
const char * const ESinterp_str [ ] = { " " , " " , " " , " " } ;
2014-09-25 14:27:21 -04:00
const char * const layout_str [ ] = { " " , " layout(origin_upper_left) " , " layout(pixel_center_integer) " , " layout(origin_upper_left,pixel_center_integer) " } ;
const char * const * mode_str = bIsES ? ( ( ShaderTarget = = vertex_shader ) ? ESVSmode_str : ESFSmode_str ) : GLSLmode_str ;
2015-12-09 15:04:15 -05:00
const char * const * interp_str = bIsES ? ESinterp_str : GLSLinterp_str ;
2014-09-25 14:27:21 -04:00
// Check for an initialized const variable
// If var is read-only and initialized, set it up as an initialized const
bool constInit = false ;
if ( var - > has_initializer & & var - > read_only & & ( var - > constant_initializer | | var - > constant_value ) )
{
ralloc_asprintf_append ( buffer , " const " ) ;
constInit = true ;
}
if ( scope_depth = = 0 )
{
glsl_base_type base_type = var - > type - > base_type ;
if ( base_type = = GLSL_TYPE_ARRAY )
{
base_type = var - > type - > fields . array - > base_type ;
}
if ( var - > mode = = ir_var_in )
{
input_variables . push_tail ( new ( mem_ctx ) extern_var ( var ) ) ;
}
else if ( var - > mode = = ir_var_out )
{
output_variables . push_tail ( new ( mem_ctx ) extern_var ( var ) ) ;
}
else if ( var - > mode = = ir_var_uniform & & var - > type - > is_sampler ( ) )
{
sampler_variables . push_tail ( new ( mem_ctx ) extern_var ( var ) ) ;
}
else if ( var - > mode = = ir_var_uniform & & var - > type - > is_image ( ) )
{
image_variables . push_tail ( new ( mem_ctx ) extern_var ( var ) ) ;
}
else if ( var - > mode = = ir_var_uniform & & base_type = = GLSL_TYPE_SAMPLER_STATE )
{
// ignore sampler state uniforms
}
else if ( var - > mode = = ir_var_uniform & & var - > semantic = = NULL )
{
uniform_variables . push_tail ( new ( mem_ctx ) extern_var ( var ) ) ;
}
}
2015-12-09 15:04:15 -05:00
const bool bBuiltinVariable = ( var - > name & & strncmp ( var - > name , " gl_ " , 3 ) = = 0 ) ;
if ( bBuiltinVariable & & ShaderTarget = = vertex_shader & & strncmp ( var - > name , " gl_InstanceID " , 13 ) = = 0 )
{
bUsesInstanceID = true ;
}
if ( bBuiltinVariable & &
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
var - > centroid = = 0 & & ( var - > interpolation = = 0 | | strncmp ( var - > name , " gl_Layer " , 3 ) = = 0 ) & &
2014-09-25 14:27:21 -04:00
var - > invariant = = 0 & & var - > origin_upper_left = = 0 & &
var - > pixel_center_integer = = 0 )
{
// Don't emit builtin GL variable declarations.
needs_semicolon = false ;
}
else if ( scope_depth = = 0 & & var - > mode = = ir_var_temporary )
{
global_instructions . push_tail ( new ( mem_ctx ) global_ir ( var ) ) ;
needs_semicolon = false ;
}
else
{
int layout_bits =
( var - > origin_upper_left ? 0x1 : 0 ) |
( var - > pixel_center_integer ? 0x2 : 0 ) ;
2015-02-06 11:35:30 -05:00
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
// this is for NVN which doesn't support global params, so we wrap each of the typed
// buffer in a struct, which ends up as a proper, non global parameter, uniform buffer
bool bUseGlobalUniformBufferWrapper = false ;
if ( bNoGlobalUniforms & & var - > mode = = ir_var_uniform & & var - > semantic )
{
bUseGlobalUniformBufferWrapper = true ;
}
2014-09-25 14:27:21 -04:00
if ( scope_depth = = 0 & &
( ( var - > mode = = ir_var_in ) | | ( var - > mode = = ir_var_out ) ) & &
var - > is_interface_block )
{
/**
Hack to display our fake structs as what they are supposed to be - interface blocks
' in ' or ' out ' variable qualifier becomes interface block declaration start ,
structure name becomes block name ,
we add information about block contents , taking type from sole struct member type , and
struct variable name becomes block instance name .
Note : With tessellation , matching interfaces between shaders is tricky , so we need
to assign explicit locations to shader input and output variables .
The reason we use a struct instead of an interface block is that with
GL4 .2 / GL_ARB_separate_shader_objects , you can add a layout ( location = foo ) to a variable
that is not part of an interface block . However , in order to add a location to a variable
inside an interface block , you need GL4 .4 / GL_enhanced_layouts . Since for now , we don ' t want
that dependency , we use structs .
*/
2015-02-06 11:35:30 -05:00
if ( bGenerateLayoutLocations & & var - > explicit_location & & var - > is_patch_constant = = 0 )
2014-09-25 14:27:21 -04:00
{
check ( layout_bits = = 0 ) ;
Copying //UE4/Dev-Mobile to //UE4/Main (Source: //UE4/Dev-Mobile @ 2945914)
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2911743 on 2016/03/16 by Allan.Bentham
Fix broken tonemapper when using 32bpp encoded HDR. Fixes UE-28359
Cleaned up some ronin integration hacks from ronin.
Change 2912053 on 2016/03/16 by Peter.Sauerbrei
disable Vulkan in Win32 builds for now
#codereview rolando.caloca
#jira UE-28465
Change 2914512 on 2016/03/18 by Dmitriy.Dyomin
Fixed crash on Nexus5 with Android 4.4.2 when TonemapperFilm is enabled
Change 2914944 on 2016/03/18 by Allan.Bentham
Fix es2 tonemap flip. Fixes UE-25148
Change 2915248 on 2016/03/18 by Chris.Babcock
Updates to support NDK r11
#jira UE-28529
#ue4
#android
Change 2919192 on 2016/03/22 by Chris.Babcock
NDK level set above 19 forces minSdkVersion to 21 or above to prevent installing on unsupported devices
#jira UE-28408
#ue4
#android
#codereview Jack.Porter
Change 2919591 on 2016/03/23 by Allan.Bentham
Merge ronin's Gaussian DoF to 4.11's dof changes.
Gaussian DoF will use a single recombine pass with ES31 devices or if no separate translucency is used on SM4+.
Added permutation to exclude separate translucency from Gaussian recombine shader when not in use.
#codereview martin.mittring
Change 2920758 on 2016/03/24 by Dmitriy.Dyomin
Fixed: shifting lighting samples octree
https://udn.unrealengine.com/questions/276026/lighting-samples-visualization-not-working-with-le.html
Change 2920793 on 2016/03/24 by Dmitriy.Dyomin
Fixed: When sub-level set to be unloaded but with visbility state set to true, ULevelStreaming::IsStreamingStatePending returns wrong value
#jira UE-26426
Change 2920981 on 2016/03/24 by Dmitriy.Dyomin
GPU particles support for iOS Metal (A8+ only)
#jira UE-11067
#jira UE-28514
#codereview Jack.Porter
Change 2921383 on 2016/03/24 by Allan.Bentham
Fix inverted image on device when framebuffer fetch/bViewRectSource is not used.
#codereview jack.porter
Change 2925694 on 2016/03/29 by Dmitriy.Dyomin
Fixed: GPU particles and bloom on S7 Mali
Change 2927065 on 2016/03/29 by Chris.Babcock
Set the DT_SONAME field in linker (stops warning toast)
#ue4
#android
#codereview Jack.Porter
Change 2927375 on 2016/03/30 by Jack.Porter
Fixed localization for placement mode Cube, Sphere, Cylinder and Cone
Change 2928643 on 2016/03/30 by Jack.Porter
Fixed bug introdued by Ronin merge with DepthOfFieldScale setting being locked for BokehDOF
#code_review: allan.bentham
Change 2932773 on 2016/04/04 by Jack.Porter
Reapply android Vulkan version fixes
Change 2932853 on 2016/04/05 by Jack.Porter
Enable VULKAN_CLEAR_SURFACE_ON_CREATE on Android to prevent assertion
Change 2932998 on 2016/04/05 by Jack.Porter
Native web browser widget on iOS
#jira UEMOB-20
Change 2933420 on 2016/04/05 by Chris.Babcock
Removed hard-coded bUseUnityBuild in UBT for Android (contributed by kosz78)
#jira UE-29066
#pr #2236
#ue4
#android
Change 2934315 on 2016/04/05 by Chris.Babcock
Allow Android to act as server with OnlineSubsystemNull (contributed by psychogony)
#jira UE-23937
#PR #1820
#ue4
#android
#codereview Ryan.Gerleve
Change 2935038 on 2016/04/06 by Chris.Babcock
Fix OpenGLES31 compile error
#ue4
#android
#codereview Jack.Porter
Change 2936288 on 2016/04/07 by Allan.Bentham
Planar reflection captures for mobile. (UE-27426)
Added mobile planar reflection flag to material.
#codereview jack.porter, daniel.wright
Change 2936297 on 2016/04/07 by Allan.Bentham
Missed file. Planar reflection captures for mobile. (UE-27426)
#codereview jack.porter, daniel.wright
Change 2937763 on 2016/04/08 by Dmitriy.Dyomin
Fix InstancedStaticMesh batches for ES2 (contributed by Grimmick)
GitHub #2031
#jira UE-26576
#codereview Jack.Porter
Change 2937863 on 2016/04/08 by Jack.Porter
Merged Ronin CLs 2840392, 2860028
Allow vertex texture fetches on ES2 (requires absolute mip level)
Change 2938461 on 2016/04/08 by Chris.Babcock
Write Android uninstall batch files
#ue4
#android
Change 2939679 on 2016/04/11 by Allan.Bentham
Remove bStationaryLightUsesCSMForMovableShadows from light component's UI.
renamed proxy equivalent and infer its state from Inset Shadows For Movable Objects
#codereview jack.porter, daniel.wright
Change 2939887 on 2016/04/11 by Chris.Babcock
Android ARM64 libraries
#jira UEPLAT-1268
#ue4
#android
Change 2940125 on 2016/04/11 by Chris.Babcock
Added requirements to Arm64 and x86_64 tooltips
Change 2941051 on 2016/04/12 by Allan.Bentham
Fix for inverted RG channels when using filmic tonemapper with ES2.
#codereview jack.porter
Change 2942523 on 2016/04/13 by Chris.Babcock
Add cxa_demangle build.cs instead of hiding dependency in UEBuildAndroid.cs
#ue4
#android
#codereview Josh.Adams
Change 2942578 on 2016/04/13 by Chris.Babcock
Add cxademangle dependency to Core for Android
#ue4
#android
#codereview Josh.Adams
Change 2942997 on 2016/04/13 by Chris.Babcock
Run Ant with -quiet first and run again without if there is an error for the log
#ue4
#android
#codereview Josh.Adams
Change 2943320 on 2016/04/14 by Jack.Porter
Fixed planar reflection merge errors
Change 2943352 on 2016/04/14 by Jack.Porter
Fix NAME_VULKAN_ES3_1_ANDROID shader format name
#codereview: Rolando.Coloca
Change 2943367 on 2016/04/14 by Dmitriy.Dyomin
Added cvars to add or strip specific GL extensions from a driver reported extensions string
#jira UE-29467
Change 2943425 on 2016/04/14 by Dmitriy.Dyomin
Better logging of MobileHDR mode
Change 2943461 on 2016/04/14 by Dmitriy.Dyomin
Fixing HDR rendering and bloom on Galaxy S7
Change 2943493 on 2016/04/14 by Dmitriy.Dyomin
Better HDR fix for devices with ES3 support
Change 2943855 on 2016/04/14 by Allan.Bentham
Mobile planar reflections.
- currently only supports opaque materials
#codereview jack.porter
Change 2944721 on 2016/04/14 by Chris.Babcock
Allow Vulkan-only Android builds
#ue4
#android
#codereview Allan.Bentham,Jack.Porter
Change 2944771 on 2016/04/14 by Dmitriy.Dyomin
Fixed: mesh particles crash in ES2
Change 2944827 on 2016/04/15 by Dmitriy.Dyomin
Fixed: GPU particles not working on S6 with Android 6.0.1
Change 2944836 on 2016/04/15 by Jack.Porter
Disable FX system calls in forward renderer when particles showflag is off
Change 2944840 on 2016/04/15 by Jack.Porter
Re-enabled non-radial TDeferredLightVS on ES2 for planar and put #if FEATURE_LEVEL >= FEATURE_LEVEL_SM4 around the radial shader code which was tripping up ES2.
#codereview: Allan.Bentham, Chris.Babcock, Daniel.Wright
Change 2944914 on 2016/04/15 by Jack.Porter
Device profiles to detect Galaxy S7 Mali and Adreno variants in Vulkan mode
Change 2945020 on 2016/04/15 by Gareth.Martin
Cloning changes across from Dev-Landscape to Dev-Mobile due to feature deadline for 4.12.
Change 2943560 on 2016/04/14 by Gareth.Martin
Added ability to expand landscape bounds
#jira UE-28928
#jira UE-25230
Change 2943538 on 2016/04/14 by Gareth.Martin
Fix a crash with saving a level >2GB in size.
There may still be other crashes with >2GB levels.
Change 2943477 on 2016/04/14 by Gareth.Martin
Fixed LODFalloff setting on landscape getting reset when using the "Change Landscape Component Size" tool
Also moved all the LOD settings together in LandscapeProxy.h because it was messy
Change 2942113 on 2016/04/13 by Gareth.Martin
Updating comment to clarify behaviour of Foliage Align-To-Normal when Random-Yaw is disabled.
Change 2941030 on 2016/04/12 by Gareth.Martin
Cleanup and commenting
Change 2940994 on 2016/04/12 by Gareth.Martin
Implement random scale option for Landscape Grass.
#jira UE-25743
Change 2940993 on 2016/04/12 by Gareth.Martin
Remove unused BuildFlatTree function from HierarchicalInstancedStaticMeshComponent
Change 2940150 on 2016/04/11 by Gareth.Martin
Harden UHierarchicalInstancedStaticMeshComponent::UpdateInstanceTransform
Change 2940101 on 2016/04/11 by Gareth.Martin
Additional checks for bad static mesh when building the HISMC tree
Change 2945560 on 2016/04/15 by Rolando.Caloca
DM - Fix for newer Vulkan sdks
Change 2945638 on 2016/04/15 by Chris.Babcock
Fix permissions on uninstall script on Mac
#jira UE-29236
#ue4
#android
#lockdown Jack.Porter
Change 2945856 on 2016/04/15 by Rolando.Caloca
DM - vk - Fix mapped allocations on mobile
#lockdown nick.penwarden
[CL 2945995 by Chris Babcock in Main branch]
2016-04-15 18:19:26 -04:00
// Some devices (S6 G920L 6.0.1) may complain about second empty parameter in an INTERFACE_BLOCK macro
// Make sure we put something there
const char * interp_qualifier = interp_str [ var - > interpolation ] ;
if ( bIsES31 & & strlen ( interp_qualifier ) = = 0 )
{
interp_qualifier = " smooth " ;
}
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append (
buffer ,
2015-02-06 11:35:30 -05:00
" INTERFACE_BLOCK(%d, %s, %s%s%s%s, " ,
2014-09-25 14:27:21 -04:00
var - > location ,
Copying //UE4/Dev-Mobile to //UE4/Main (Source: //UE4/Dev-Mobile @ 2945914)
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2911743 on 2016/03/16 by Allan.Bentham
Fix broken tonemapper when using 32bpp encoded HDR. Fixes UE-28359
Cleaned up some ronin integration hacks from ronin.
Change 2912053 on 2016/03/16 by Peter.Sauerbrei
disable Vulkan in Win32 builds for now
#codereview rolando.caloca
#jira UE-28465
Change 2914512 on 2016/03/18 by Dmitriy.Dyomin
Fixed crash on Nexus5 with Android 4.4.2 when TonemapperFilm is enabled
Change 2914944 on 2016/03/18 by Allan.Bentham
Fix es2 tonemap flip. Fixes UE-25148
Change 2915248 on 2016/03/18 by Chris.Babcock
Updates to support NDK r11
#jira UE-28529
#ue4
#android
Change 2919192 on 2016/03/22 by Chris.Babcock
NDK level set above 19 forces minSdkVersion to 21 or above to prevent installing on unsupported devices
#jira UE-28408
#ue4
#android
#codereview Jack.Porter
Change 2919591 on 2016/03/23 by Allan.Bentham
Merge ronin's Gaussian DoF to 4.11's dof changes.
Gaussian DoF will use a single recombine pass with ES31 devices or if no separate translucency is used on SM4+.
Added permutation to exclude separate translucency from Gaussian recombine shader when not in use.
#codereview martin.mittring
Change 2920758 on 2016/03/24 by Dmitriy.Dyomin
Fixed: shifting lighting samples octree
https://udn.unrealengine.com/questions/276026/lighting-samples-visualization-not-working-with-le.html
Change 2920793 on 2016/03/24 by Dmitriy.Dyomin
Fixed: When sub-level set to be unloaded but with visbility state set to true, ULevelStreaming::IsStreamingStatePending returns wrong value
#jira UE-26426
Change 2920981 on 2016/03/24 by Dmitriy.Dyomin
GPU particles support for iOS Metal (A8+ only)
#jira UE-11067
#jira UE-28514
#codereview Jack.Porter
Change 2921383 on 2016/03/24 by Allan.Bentham
Fix inverted image on device when framebuffer fetch/bViewRectSource is not used.
#codereview jack.porter
Change 2925694 on 2016/03/29 by Dmitriy.Dyomin
Fixed: GPU particles and bloom on S7 Mali
Change 2927065 on 2016/03/29 by Chris.Babcock
Set the DT_SONAME field in linker (stops warning toast)
#ue4
#android
#codereview Jack.Porter
Change 2927375 on 2016/03/30 by Jack.Porter
Fixed localization for placement mode Cube, Sphere, Cylinder and Cone
Change 2928643 on 2016/03/30 by Jack.Porter
Fixed bug introdued by Ronin merge with DepthOfFieldScale setting being locked for BokehDOF
#code_review: allan.bentham
Change 2932773 on 2016/04/04 by Jack.Porter
Reapply android Vulkan version fixes
Change 2932853 on 2016/04/05 by Jack.Porter
Enable VULKAN_CLEAR_SURFACE_ON_CREATE on Android to prevent assertion
Change 2932998 on 2016/04/05 by Jack.Porter
Native web browser widget on iOS
#jira UEMOB-20
Change 2933420 on 2016/04/05 by Chris.Babcock
Removed hard-coded bUseUnityBuild in UBT for Android (contributed by kosz78)
#jira UE-29066
#pr #2236
#ue4
#android
Change 2934315 on 2016/04/05 by Chris.Babcock
Allow Android to act as server with OnlineSubsystemNull (contributed by psychogony)
#jira UE-23937
#PR #1820
#ue4
#android
#codereview Ryan.Gerleve
Change 2935038 on 2016/04/06 by Chris.Babcock
Fix OpenGLES31 compile error
#ue4
#android
#codereview Jack.Porter
Change 2936288 on 2016/04/07 by Allan.Bentham
Planar reflection captures for mobile. (UE-27426)
Added mobile planar reflection flag to material.
#codereview jack.porter, daniel.wright
Change 2936297 on 2016/04/07 by Allan.Bentham
Missed file. Planar reflection captures for mobile. (UE-27426)
#codereview jack.porter, daniel.wright
Change 2937763 on 2016/04/08 by Dmitriy.Dyomin
Fix InstancedStaticMesh batches for ES2 (contributed by Grimmick)
GitHub #2031
#jira UE-26576
#codereview Jack.Porter
Change 2937863 on 2016/04/08 by Jack.Porter
Merged Ronin CLs 2840392, 2860028
Allow vertex texture fetches on ES2 (requires absolute mip level)
Change 2938461 on 2016/04/08 by Chris.Babcock
Write Android uninstall batch files
#ue4
#android
Change 2939679 on 2016/04/11 by Allan.Bentham
Remove bStationaryLightUsesCSMForMovableShadows from light component's UI.
renamed proxy equivalent and infer its state from Inset Shadows For Movable Objects
#codereview jack.porter, daniel.wright
Change 2939887 on 2016/04/11 by Chris.Babcock
Android ARM64 libraries
#jira UEPLAT-1268
#ue4
#android
Change 2940125 on 2016/04/11 by Chris.Babcock
Added requirements to Arm64 and x86_64 tooltips
Change 2941051 on 2016/04/12 by Allan.Bentham
Fix for inverted RG channels when using filmic tonemapper with ES2.
#codereview jack.porter
Change 2942523 on 2016/04/13 by Chris.Babcock
Add cxa_demangle build.cs instead of hiding dependency in UEBuildAndroid.cs
#ue4
#android
#codereview Josh.Adams
Change 2942578 on 2016/04/13 by Chris.Babcock
Add cxademangle dependency to Core for Android
#ue4
#android
#codereview Josh.Adams
Change 2942997 on 2016/04/13 by Chris.Babcock
Run Ant with -quiet first and run again without if there is an error for the log
#ue4
#android
#codereview Josh.Adams
Change 2943320 on 2016/04/14 by Jack.Porter
Fixed planar reflection merge errors
Change 2943352 on 2016/04/14 by Jack.Porter
Fix NAME_VULKAN_ES3_1_ANDROID shader format name
#codereview: Rolando.Coloca
Change 2943367 on 2016/04/14 by Dmitriy.Dyomin
Added cvars to add or strip specific GL extensions from a driver reported extensions string
#jira UE-29467
Change 2943425 on 2016/04/14 by Dmitriy.Dyomin
Better logging of MobileHDR mode
Change 2943461 on 2016/04/14 by Dmitriy.Dyomin
Fixing HDR rendering and bloom on Galaxy S7
Change 2943493 on 2016/04/14 by Dmitriy.Dyomin
Better HDR fix for devices with ES3 support
Change 2943855 on 2016/04/14 by Allan.Bentham
Mobile planar reflections.
- currently only supports opaque materials
#codereview jack.porter
Change 2944721 on 2016/04/14 by Chris.Babcock
Allow Vulkan-only Android builds
#ue4
#android
#codereview Allan.Bentham,Jack.Porter
Change 2944771 on 2016/04/14 by Dmitriy.Dyomin
Fixed: mesh particles crash in ES2
Change 2944827 on 2016/04/15 by Dmitriy.Dyomin
Fixed: GPU particles not working on S6 with Android 6.0.1
Change 2944836 on 2016/04/15 by Jack.Porter
Disable FX system calls in forward renderer when particles showflag is off
Change 2944840 on 2016/04/15 by Jack.Porter
Re-enabled non-radial TDeferredLightVS on ES2 for planar and put #if FEATURE_LEVEL >= FEATURE_LEVEL_SM4 around the radial shader code which was tripping up ES2.
#codereview: Allan.Bentham, Chris.Babcock, Daniel.Wright
Change 2944914 on 2016/04/15 by Jack.Porter
Device profiles to detect Galaxy S7 Mali and Adreno variants in Vulkan mode
Change 2945020 on 2016/04/15 by Gareth.Martin
Cloning changes across from Dev-Landscape to Dev-Mobile due to feature deadline for 4.12.
Change 2943560 on 2016/04/14 by Gareth.Martin
Added ability to expand landscape bounds
#jira UE-28928
#jira UE-25230
Change 2943538 on 2016/04/14 by Gareth.Martin
Fix a crash with saving a level >2GB in size.
There may still be other crashes with >2GB levels.
Change 2943477 on 2016/04/14 by Gareth.Martin
Fixed LODFalloff setting on landscape getting reset when using the "Change Landscape Component Size" tool
Also moved all the LOD settings together in LandscapeProxy.h because it was messy
Change 2942113 on 2016/04/13 by Gareth.Martin
Updating comment to clarify behaviour of Foliage Align-To-Normal when Random-Yaw is disabled.
Change 2941030 on 2016/04/12 by Gareth.Martin
Cleanup and commenting
Change 2940994 on 2016/04/12 by Gareth.Martin
Implement random scale option for Landscape Grass.
#jira UE-25743
Change 2940993 on 2016/04/12 by Gareth.Martin
Remove unused BuildFlatTree function from HierarchicalInstancedStaticMeshComponent
Change 2940150 on 2016/04/11 by Gareth.Martin
Harden UHierarchicalInstancedStaticMeshComponent::UpdateInstanceTransform
Change 2940101 on 2016/04/11 by Gareth.Martin
Additional checks for bad static mesh when building the HISMC tree
Change 2945560 on 2016/04/15 by Rolando.Caloca
DM - Fix for newer Vulkan sdks
Change 2945638 on 2016/04/15 by Chris.Babcock
Fix permissions on uninstall script on Mac
#jira UE-29236
#ue4
#android
#lockdown Jack.Porter
Change 2945856 on 2016/04/15 by Rolando.Caloca
DM - vk - Fix mapped allocations on mobile
#lockdown nick.penwarden
[CL 2945995 by Chris Babcock in Main branch]
2016-04-15 18:19:26 -04:00
interp_qualifier ,
2015-02-06 11:35:30 -05:00
centroid_str [ var - > centroid ] ,
invariant_str [ var - > invariant ] ,
patch_constant_str [ var - > is_patch_constant ] ,
mode_str [ var - > mode ] ) ;
2014-09-25 14:27:21 -04:00
2015-02-06 11:35:30 -05:00
print_type_pre ( var - > type ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
const glsl_type * inner_type = var - > type ;
if ( inner_type - > is_array ( ) )
{
inner_type = inner_type - > fields . array ;
}
check ( inner_type - > is_record ( ) ) ;
check ( inner_type - > length = = 1 ) ;
const glsl_struct_field * field = & inner_type - > fields . structure [ 0 ] ;
check ( strcmp ( field - > name , " Data " ) = = 0 ) ;
2015-07-08 22:20:29 -04:00
if ( bEmitPrecision )
{
if ( field - > type - > is_integer ( ) )
{
ralloc_asprintf_append ( buffer , " flat " ) ;
}
AppendPrecisionModifier ( buffer , GetPrecisionModifier ( field - > type ) ) ;
}
2015-02-06 11:35:30 -05:00
print_type_pre ( field - > type ) ;
ralloc_asprintf_append ( buffer , " , Data " ) ;
print_type_post ( field - > type ) ;
ralloc_asprintf_append ( buffer , " ) " ) ;
2014-09-25 14:27:21 -04:00
}
else
{
2015-02-06 11:35:30 -05:00
ralloc_asprintf_append (
buffer ,
" %s%s%s%s%s " ,
layout_str [ layout_bits ] ,
centroid_str [ var - > centroid ] ,
invariant_str [ var - > invariant ] ,
patch_constant_str [ var - > is_patch_constant ] ,
mode_str [ var - > mode ]
) ;
print_type_pre ( var - > type ) ;
2014-09-25 14:27:21 -04:00
2015-02-06 11:35:30 -05:00
const glsl_type * inner_type = var - > type ;
if ( inner_type - > is_array ( ) )
{
inner_type = inner_type - > fields . array ;
}
check ( inner_type - > is_record ( ) ) ;
check ( inner_type - > length = = 1 ) ;
const glsl_struct_field * field = & inner_type - > fields . structure [ 0 ] ;
check ( strcmp ( field - > name , " Data " ) = = 0 ) ;
ralloc_asprintf_append ( buffer , " { %s " , interp_str [ var - > interpolation ] ) ;
print_type_pre ( field - > type ) ;
ralloc_asprintf_append ( buffer , " Data " ) ;
print_type_post ( field - > type ) ;
ralloc_asprintf_append ( buffer , " ; } " ) ;
}
2014-09-25 14:27:21 -04:00
}
else if ( var - > type - > is_image ( ) )
{
2015-06-19 19:28:40 -04:00
const bool bSingleComp = ( var - > type - > inner_type - > vector_elements = = 1 ) ;
2014-09-25 14:27:21 -04:00
const char * const coherent_str [ ] = { " " , " coherent " } ;
const char * const writeonly_str [ ] = { " " , " writeonly " } ;
2015-06-19 19:28:40 -04:00
const char * const type_str [ ] = { " 32ui " , " 32i " , " 16f " , ( bIsES31 & & ! bSingleComp ) ? " 16f " : " 32f " } ;
const char * const comp_str = bSingleComp ? " r " : " rgba " ;
2014-09-25 14:27:21 -04:00
const int writeonly = var - > image_write & & ! ( var - > image_read ) ;
check ( var - > type - > inner_type - > base_type > = GLSL_TYPE_UINT & &
var - > type - > inner_type - > base_type < = GLSL_TYPE_FLOAT ) ;
ralloc_asprintf_append (
buffer ,
" %s%s%s%s " ,
invariant_str [ var - > invariant ] ,
mode_str [ var - > mode ] ,
coherent_str [ var - > coherent ] ,
writeonly_str [ writeonly ]
) ;
if ( bGenerateLayoutLocations & & var - > explicit_location )
{
//should check here on base type
ralloc_asprintf_append (
buffer ,
2015-06-19 19:28:40 -04:00
" layout(%s%s,binding=%d) " ,
comp_str ,
2014-09-25 14:27:21 -04:00
type_str [ var - > type - > inner_type - > base_type ] ,
var - > location
) ;
}
else
{
//should check here on base type
ralloc_asprintf_append (
buffer ,
2015-06-19 19:28:40 -04:00
" layout(%s%s) " ,
comp_str ,
2014-09-25 14:27:21 -04:00
type_str [ var - > type - > inner_type - > base_type ]
) ;
}
2015-06-18 14:24:11 -04:00
if ( bEmitPrecision )
2014-09-25 14:27:21 -04:00
{
2015-07-08 22:20:29 -04:00
AppendPrecisionModifier ( buffer , GetPrecisionModifier ( var - > type ) ) ;
2014-09-25 14:27:21 -04:00
}
print_type_pre ( var - > type ) ;
}
else
{
char * layout = nullptr ;
if ( bGenerateLayoutLocations & & var - > explicit_location )
{
check ( layout_bits = = 0 ) ;
2015-02-06 11:35:30 -05:00
layout = ralloc_asprintf ( nullptr , " INTERFACE_LOCATION(%d) " , var - > location ) ;
2014-09-25 14:27:21 -04:00
}
ralloc_asprintf_append (
buffer ,
" %s%s%s%s%s%s " ,
layout ? layout : layout_str [ layout_bits ] ,
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
var - > mode ! = ir_var_temporary & & var - > mode ! = ir_var_auto ? interp_str [ var - > interpolation ] : " " ,
2015-12-10 16:56:55 -05:00
var - > mode ! = ir_var_temporary & & var - > mode ! = ir_var_auto ? centroid_str [ var - > centroid ] : " " ,
var - > mode ! = ir_var_temporary & & var - > mode ! = ir_var_auto ? invariant_str [ var - > invariant ] : " " ,
2014-09-25 14:27:21 -04:00
patch_constant_str [ var - > is_patch_constant ] ,
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
mode_str [ var - > mode ]
2014-09-25 14:27:21 -04:00
) ;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
if ( bUseGlobalUniformBufferWrapper )
{
ralloc_asprintf_append (
buffer ,
" Block_%s { " ,
var - > semantic
) ;
}
2015-06-18 14:24:11 -04:00
if ( bEmitPrecision )
2014-09-25 14:27:21 -04:00
{
2015-07-08 22:20:29 -04:00
AppendPrecisionModifier ( buffer , GetPrecisionModifier ( var - > type ) ) ;
2014-09-25 14:27:21 -04:00
}
if ( bGenerateLayoutLocations & & var - > explicit_location )
{
ralloc_free ( layout ) ;
}
print_type_pre ( var - > type ) ;
}
ralloc_asprintf_append ( buffer , " %s " , unique_name ( var ) ) ;
const bool bUnsizedArray = var - > mode = = ir_var_in & & ( ( ShaderTarget = = tessellation_evaluation_shader ) | | ( ShaderTarget = = tessellation_control_shader ) ) ;
print_type_post ( var - > type , bUnsizedArray ) ;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
if ( bUseGlobalUniformBufferWrapper )
{
ralloc_asprintf_append (
buffer ,
" ; } "
) ;
}
2014-09-25 14:27:21 -04:00
}
// Add the initializer if we need it
if ( constInit )
{
ralloc_asprintf_append ( buffer , " = " ) ;
if ( var - > constant_initializer )
{
var - > constant_initializer - > accept ( this ) ;
}
else
{
var - > constant_value - > accept ( this ) ;
}
}
// add type to used_structures so we can later declare them at the start of the GLSL shader
// this is for the case of a variable that is declared, but not later dereferenced (which can happen
// when debugging HLSLCC and running without optimization
AddTypeToUsedStructs ( var - > type ) ;
}
virtual void visit ( ir_function_signature * sig )
{
// Reset temporary id count.
temp_id = 0 ;
bool bPrintComma = false ;
scope_depth + + ;
print_type_full ( sig - > return_type ) ;
ralloc_asprintf_append ( buffer , " %s( " , sig - > function_name ( ) ) ;
foreach_iter ( exec_list_iterator , iter , sig - > parameters )
{
ir_variable * const inst = ( ir_variable * ) iter . get ( ) ;
if ( bPrintComma )
{
ralloc_asprintf_append ( buffer , " , " ) ;
}
inst - > accept ( this ) ;
bPrintComma = true ;
}
ralloc_asprintf_append ( buffer , " ) \n " ) ;
indent ( ) ;
ralloc_asprintf_append ( buffer , " { \n " ) ;
if ( sig - > is_main & & ! global_instructions . is_empty ( ) )
{
indentation + + ;
foreach_iter ( exec_list_iterator , iter , global_instructions )
{
global_ir * gir = ( global_ir * ) iter . get ( ) ;
indent ( ) ;
do_visit ( gir - > ir ) ;
}
indentation - - ;
}
//grab the global attributes
if ( sig - > is_main )
{
early_depth_stencil = sig - > is_early_depth_stencil ;
wg_size_x = sig - > wg_size_x ;
wg_size_y = sig - > wg_size_y ;
wg_size_z = sig - > wg_size_z ;
tessellation = sig - > tessellation ;
}
indentation + + ;
foreach_iter ( exec_list_iterator , iter , sig - > body )
{
ir_instruction * const inst = ( ir_instruction * ) iter . get ( ) ;
indent ( ) ;
do_visit ( inst ) ;
}
indentation - - ;
indent ( ) ;
ralloc_asprintf_append ( buffer , " } \n " ) ;
needs_semicolon = false ;
scope_depth - - ;
}
virtual void visit ( ir_function * func )
{
foreach_iter ( exec_list_iterator , iter , * func )
{
ir_function_signature * const sig = ( ir_function_signature * ) iter . get ( ) ;
if ( sig - > is_defined & & ! sig - > is_builtin )
{
indent ( ) ;
sig - > accept ( this ) ;
}
}
needs_semicolon = false ;
}
virtual void visit ( ir_expression * expr )
{
check ( scope_depth > 0 ) ;
int numOps = expr - > get_num_operands ( ) ;
ir_expression_operation op = expr - > operation ;
if ( numOps = = 1 & & op > = ir_unop_first_conversion & & op < = ir_unop_last_conversion )
{
if ( op = = ir_unop_f2h | | op = = ir_unop_h2f )
{
// No need to convert from half<->float as that is part of the precision of a variable
expr - > operands [ 0 ] - > accept ( this ) ;
}
else
{
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3292174 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Linux toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292193 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- ThirdParty libs compiled with new toolchain with wasm support
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292215 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and wbegl2 support
- emscripten toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292222 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm support
- ENGINE changes (c# & cpp files)
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292223 on 2017/02/08 by Nick.Shin
HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile
Change 3292228 on 2017/02/08 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches
- and a lot of UE4 patches to package HTML5 on LINUX
- mostly from mozilla's jukka -- thx jukka!
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3292285 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Windows toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3293994 on 2017/02/09 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- OSX toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3294391 on 2017/02/09 by Nick.Shin
HTML5 "black box issues" revisited
- jukka rewrote the window resize handler -- much cleaner and more straightforward
#jira UE-36341 HTML5 - View is incorrectly drawn
#jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On
Change 3296421 on 2017/02/10 by Jack.Porter
Fix landscape spline segment splitting placing when using streaming levels
Change 3296587 on 2017/02/10 by Jack.Porter
Additional fix for landscape spline segment splitting when using streaming levels
Change 3301241 on 2017/02/14 by Mi.Wang
Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter
Change 3301387 on 2017/02/14 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches from mozilla's jukka
+ hardware instancing
+ glBlitFramebuffer
+ GL AlaphaBlendOperation
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3301405 on 2017/02/14 by Nick.Shin
HTML5 plugin fix when blueprint projects are promoted to code projects automatically.
#jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc
Change 3302278 on 2017/02/14 by Omar.Rodriguez
UE-36651: Mac Vulkan Android Projects crash on launch.
* Glslang library has been built for Mac but flag was not updated
* Set GlslangAvailable to true for Mac when building an Android project with vulkan
#jira UE-36651
Change 3302773 on 2017/02/14 by Chris.Babcock
Add a dropdown with some common console commands on Android (contributed by rafortis)
#jira UE-40834
#PR #3143
#ue4
#android
Change 3305604 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader- turn on: instance static mesh vertex factory
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3308154 on 2017/02/16 by Nick.Shin
HTML5 GitHub PR
#jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5
Change 3308510 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3308971 on 2017/02/17 by Jack.Porter
Fix for landscape painting when height<0 in the Ortho viewports
Change 3309075 on 2017/02/17 by Allan.Bentham
Include static subject meshes when masking out modulated shadow casters.
#jira UE-41581
Change 3309531 on 2017/02/17 by Chris.Babcock
Handle large OBB files in APK
#jira UE-41443
#ue4
#android
Change 3311320 on 2017/02/19 by Dmitriy.Dyomin
Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
#jira UE-41970
Change 3311347 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
#jira UE-41976
Change 3311398 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Landscapes do not render on PowerVR device
#jira UE-35530
Change 3311428 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
#jira UE-42036
Change 3311448 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Packaged game Crashes on android after entering "Help" command twice
#jira UE-41956
Change 3311587 on 2017/02/20 by Allan.Bentham
ES2 GLSL - Silently swap all uint to ints
#jira UE-41548
Change 3313930 on 2017/02/21 by Allan.Bentham
Print literal uints as ints when generating ES2 code.
#jira UE-41548
Change 3317924 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317929 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317951 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318004 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318669 on 2017/02/23 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318672 on 2017/02/23 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318819 on 2017/02/23 by Dmitriy.Dyomin
Fixed: Rendering artifacts with bloom on iPhone7 Metal
#jira UE-40978
Change 3319702 on 2017/02/23 by Chris.Babcock
Disable eglSwapInterval since it can cause issues with some drivers
#ue4
#android
Change 3320880 on 2017/02/24 by Dmitriy.Dyomin
Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
#jira UEMOB-195
Change 3321042 on 2017/02/24 by Jack.Porter
Fixed incorrect sizeof in Vulkan pipleine cache
pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/
#code_review: rolando.caloca
Change 3322383 on 2017/02/24 by Chris.Babcock
Fix issue with ad banner on Android 7.0 devices
#jira UE-42390
#ue4
#android
Change 3322479 on 2017/02/24 by Omar.Rodriguez
UEMOB-199 - WEX: Improved virtual keyboard for Android
* Calculating the area covered by the virtual keyboard
* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event
#jira UEMOB-199
Change 3323353 on 2017/02/27 by Allan.Bentham
Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
#jira UE-42191
Change 3323431 on 2017/02/27 by Allan.Bentham
CIS fix
Change 3323687 on 2017/02/27 by Allan.Bentham
Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
#jira UE-42131
Change 3324652 on 2017/02/28 by Dmitriy.Dyomin
Fixed: Canvas elements appear darker on iOS Metal
Change 3324885 on 2017/02/28 by Jack.Porter
Fixed "Minimum iOS Version" setting display name
#jira UE-42270
Change 3324899 on 2017/02/28 by Jack.Porter
GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
#jira UE-40018
#3063
Change 3324932 on 2017/02/28 by Jack.Porter
GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows
#jira UE-41984
#3257
#codereview: Peter.Sauerbrei
Change 3324956 on 2017/02/28 by Jack.Porter
FOpenGLFrontend::GetMaxSamplers incorrect for IOS
#jira UE-42038
#3264
Change 3325478 on 2017/02/28 by Allan.Bentham
PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna)
#jira UE-41442
Change 3327300 on 2017/03/01 by Allan.Bentham
PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen)
#jira UE-41257
Change 3328917 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
#jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac
#jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings
Change 3329169 on 2017/03/02 by Allan.Bentham
increase render thread timeout to 1 minute for suntemple / android.
Prevents low end devices timing out during load.
#jira UE-40696
Change 3330849 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3331078 on 2017/03/03 by Dmitriy.Dyomin
Fixed: Device output log partial lines
integrated from WEX (3250488)
Change 3331112 on 2017/03/03 by Dmitriy.Dyomin
Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)
integrated from WEX (3256584)
Change 3331117 on 2017/03/03 by Dmitriy.Dyomin
Fixed redundant blend state changes in opengl
integrated from WEX (3256586)
Change 3331173 on 2017/03/03 by Dmitriy.Dyomin
Slate pixel shaders will use half precision where possible on mobile
integrated from WEX (3256656)
Change 3332865 on 2017/03/06 by Dmitriy.Dyomin
Better MobileContentScaleFactor defaults for iOS devices
#jira UEMOB-330
Change 3333129 on 2017/03/06 by Peter.Sauerbrei
move to Library/Caches instead of documents for saved files
re-enable iterative deploy on TVOS
#jira UEMOB-284
Change 3334692 on 2017/03/06 by Jack.Porter
Allow r.MobileContentScaleFactor to be changed at runtime on Android
#jira UEMOB-173
Change 3336255 on 2017/03/07 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3337094 on 2017/03/08 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3338800 on 2017/03/08 by Chris.Babcock
Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
#jira UE-42677
#ue4
#android
Change 3338813 on 2017/03/08 by Chris.Babcock
Pass build configuration to UPL for access during packaging as $S(Configuration)
#jira UE-42678
#ue4
#android
#ios
Change 3339401 on 2017/03/09 by Alicia.Cano
Android runtime permissions
- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
- Fix for Location Services
- Fix for if target sdk is not set to 23+
#jira UE-38512
#android
#rb: chris.babcock
Change 3340736 on 2017/03/09 by Chris.Babcock
Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
#jira UE-41965
#PR #3254
#ue4
#android
Change 3340744 on 2017/03/09 by Jack.Porter
Expose Custom Depth to Foliage
#jira UE-6061
Change 3340849 on 2017/03/09 by Dmitriy.Dyomin
Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
#jira UE-42351
Change 3341268 on 2017/03/10 by Alicia.Cano
PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
#jira UE-37945
#android
#rb: chris.babcock, jack.porter
Change 3341303 on 2017/03/10 by Allan.Bentham
Remove optimisation that prevents full specular occulsion on mobile.
PR #3186 : Specular can't be blocked on high-end mobile.
#jira UE-41393
Change 3342304 on 2017/03/10 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343344 on 2017/03/13 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343591 on 2017/03/13 by Brent.Pease
iOS multiplayer fix part 1. Correct byte ordering.
#jira UE-34875
Change 3343669 on 2017/03/13 by Chris.Babcock
Update carefullyredist script version
#jira UE-42832
Change 3344212 on 2017/03/13 by Will.Fissler
Various compile fixes for Xcode 8.3.
These fixes must also be added to //UE4/Release-4.15.
#jira UE-41313
Change 3344396 on 2017/03/13 by Chris.Babcock
Fix Java 1.5 obsolete warnings
#jira UE-42851
#ue4
#android
Change 3345132 on 2017/03/14 by Will.Fissler
Added ifdef wrapper to check clang version for presentDrawable.
Change 3345336 on 2017/03/14 by Will.Fissler
Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.
Change 3345460 on 2017/03/14 by Will.Fissler
ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none
Change 3346046 on 2017/03/14 by Will.Fissler
Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.
Change 3346367 on 2017/03/14 by Chris.Babcock
Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
#ue4
#android
Change 3347682 on 2017/03/15 by Allan.Bentham
Enable HW sRGB correction with retainer widget's render target.
Use slate's gamma correction for mobile (where no such support exists)
Render retainer box RT content with gamma correction.
#jira UE-40967
Change 3348712 on 2017/03/15 by Nick.Shin
HTML5 - upload to S3
updated to AWS "signature version 4" authentication
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349254 on 2017/03/16 by Jack.Porter
Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
#jira UE-42971
Change 3349739 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
better error message feedback on upload failures
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349765 on 2017/03/16 by Alicia.Cano
Disable mouseover events in Mobile Previewer
#jira UE-19903
#mobile
#rb: Jack.Porter
Change 3350049 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
folder in bucket is optional
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3350153 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
updated S3 public link generator
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3351582 on 2017/03/17 by Will.Fissler
Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";
Currently we cannot build arm64 for iOS with this change.
Change 3352085 on 2017/03/17 by Alicia.Cano
iOS doesn't honor request to close the virtual keyboard leading to a crash
#jira UE-36447
#ios
#rb:Peter.Sauerbrei
Change 3353313 on 2017/03/19 by Ben.Marsh
Always allow large *.js files in Github.
Change 3354444 on 2017/03/20 by Nick.Shin
HTML5 - upload to S3
to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3355618 on 2017/03/20 by Nick.Shin
HTML5 Save Game System
- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3355621 on 2017/03/20 by Nick.Shin
remove temp debugging code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3356937 on 2017/03/21 by Chris.Babcock
Add "stat vulkanrhi" to new console dropdown
#jira UE-43149
#ue4
#android
Change 3357652 on 2017/03/21 by Nick.Shin
HTML5 performance speed ups
added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel
this option is based on the suggestions by jukka's post:
- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html
however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...
#jira UE-30214 - Implement a warning message for fps settings
Change 3360415 on 2017/03/23 by Allan.Bentham
Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.
Change 3360418 on 2017/03/23 by Allan.Bentham
Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
#jira UE-40913
Change 3360557 on 2017/03/23 by Allan.Bentham
Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
#jira UE-42131
Change 3362258 on 2017/03/23 by Dmitriy.Dyomin
Fixed: Canvas texture element gamma issues on iOS Metal
Change 3362321 on 2017/03/24 by Dmitriy.Dyomin
GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)
#3173
Change 3363550 on 2017/03/24 by Alicia.Cano
build fix for devices < Android 5.0
#jira UE-43299
#android
#rb: chris.babcock
Change 3363687 on 2017/03/24 by Chris.Babcock
Fix Android password hiding in input dialog
#jira WEX-5159
#ue4
#android
Change 3365280 on 2017/03/27 by Dmitriy.Dyomin
Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension
Change 3365291 on 2017/03/27 by Dmitriy.Dyomin
Copied form WEX CL# 3308653
Fixed: Enabling shader cache causes crash on NVIDIA Shield
#jira UE-41639
Change 3365293 on 2017/03/27 by Dmitriy.Dyomin
GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
#jira UE-43247
#3411
Change 3365340 on 2017/03/27 by Dmitriy.Dyomin
Fixed: Moving sublevel in world composition browser does not appear in Undo History
#jira UE-35535
Change 3365564 on 2017/03/27 by Allan.Bentham
SkyLightComponent now serializes IrradianceMap SH values.
clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
#jira UE-42436
Change 3366282 on 2017/03/27 by Nick.Shin
remove dead links
these files to not exist anywhere in the make-3.81 subfolders
#UDN-354501
#jira none
Change 3366306 on 2017/03/27 by Nick.Shin
HTML5 - disable multi-threading for wasm
#jira UE-43219 - HTML5 disable multi-threading for wasm
Change 3366307 on 2017/03/27 by Nick.Shin
HTML5 packaging Shipping builds
big cleanup / additions to *gz file support for amazon s3
* both, uploading to s3
* and allowing s3 to host the games there
#jira UE-43002 HTML5 in Shipping fails downloading symbols files
#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.
Change 3367385 on 2017/03/28 by Allan.Bentham
Display skylight serialization warning only when cooking for mobile platforms.
#jira UE-42436
Change 3368583 on 2017/03/28 by Chris.Babcock
Expose JAVA_HOME setting in Android SDK project settings on Mac
#jira UE-43418
#ue4
#android
Change 3368803 on 2017/03/28 by Chris.Babcock
Fix features requested in manifest for "Daydream and Cardboard" mode
#jira UE-43314
#ue4
#android
Change 3369087 on 2017/03/28 by Jack.Porter
Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
#jira UE-42438
Change 3369372 on 2017/03/29 by Allan.Bentham
Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
#jira UE-43366
Change 3369381 on 2017/03/29 by Jack.Porter
Show warnings when mobile shader permutations required for rendering are disbaled
Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
#jira UE-43050
Change 3369430 on 2017/03/29 by Allan.Bentham
fix CIS build
Change 3369740 on 2017/03/29 by Allan.Bentham
Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
Android links with -gc-sections to remove unused code/data
Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
Add support for map file generation with android.
Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini
#jira UEMOB-168
Change 3369975 on 2017/03/29 by Nick.Shin
HTML5 - AWS S3 shareable link for shipping builds corrected
#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.
Change 3369998 on 2017/03/29 by Nick.Shin
HTML5 python build scripts
PR:
https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3
#jira none
Change 3370214 on 2017/03/29 by Nick.Shin
HTML5 - default bUseFixedTimeStep to false...
#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms
Change 3370762 on 2017/03/29 by Chris.Babcock
Fixes to new keyboard for Android
- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
#ue4
#android
Change 3371344 on 2017/03/30 by Jack.Porter
Fixed issue where Vulkan screenshot R/B channels were reversed on Android
#jira UE-43479
Change 3372926 on 2017/03/30 by Peter.Sauerbrei
start the process of sunsetting 32-bit and GLES2 on iOS
#jira UE-42266
Change 3372970 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3372989 on 2017/03/30 by Peter.Sauerbrei
fix for Xcode 8.3 build with 32-bit
Change 3373007 on 2017/03/30 by Peter.Sauerbrei
fix for crash when online subsystem is disabled on IOS
Change 3373108 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373163 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373169 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
license file updated
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rnx
Change 3373287 on 2017/03/30 by Nick.Shin
HTML5 - 1.36.11 emscripten - remove old SDK
#jira none
#rnx
Change 3373289 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373595 on 2017/03/30 by Chris.Babcock
Reenable GooglePlay for ARM64 now that it doesn't crash
#jira UE-36198
#ue4
#android
Change 3373606 on 2017/03/30 by Chris.Babcock
Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
#ue4
#android
Change 3375456 on 2017/03/31 by Chris.Babcock
Add missing keycodes for Android keyboard (@ and #)
#jira WEX-5777
#ue4
#android
Change 3376309 on 2017/04/03 by Allan.Bentham
Fix overflow issues with mobile DoF.
Change 3377041 on 2017/04/03 by Will.Fissler
Adding Testbed content for PlatformShowcase.
Change 3377582 on 2017/04/03 by Alicia.Cano
adding back in GET_ACCOUNTS permission as it is required for Reset Achievements
#jira: UE-43265
#android
#rb: Chris.Babcock
Change 3377643 on 2017/04/03 by Peter.Sauerbrei
fix for memory leak in MallocBinned
#jira UE-43008
Change 3378033 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3378034 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty build scripts
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3378035 on 2017/04/04 by Nick.Shin
HTML5 - Update GameX template to make it work with trunk Emscripten
PR
https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978
#jira none
#rn
Change 3378044 on 2017/04/04 by Nick.Shin
HTML5 harfbuzz - double checking recompiled with NO multithreading
wasm currently does not support pthreads
*** THIS IS STILL WIP ***
checking in to match 3rd party libs compiled configuration
#jira UE-28588 - Build HarfBuzz for HTML5
#rnx
Change 3378264 on 2017/04/04 by Allan.Bentham
Fix crash when using consolas font on android sdk 24
#jira UE-43464
Change 3379097 on 2017/04/04 by Nick.Shin
CIS HTML5 build warning fix
#jria none
#rnx
Change 3379333 on 2017/04/04 by Chris.Babcock
Prevent inserting extra permissions into manifest multiple times
#jira UE-43583
#ue4
#android
Change 3380870 on 2017/04/05 by Chris.Babcock
Fix merge issue
Change 3380898 on 2017/04/05 by Chris.Babcock
Fixed again
Change 3381443 on 2017/04/05 by Chris.Babcock
Fix for GearVR non-unity build
#ue4
#android
Change 3381941 on 2017/04/05 by Chris.Babcock
Fix HTTPChunkInstaller texture format checks and missing #define warning
#jira UE-43706
#ue4
#android
Change 3382056 on 2017/04/05 by Chris.Babcock
Updates to Android AARs needed for Facebook plugin
Change 3382097 on 2017/04/05 by Chris.Babcock
Disable java console cmd receiver only in shipping builds
#jira UE-43710
#ue4
#android
Change 3382497 on 2017/04/06 by Allan.Bentham
Fix Fortnite Cooked Server crashes when joining game from lobby.
#jira UE-43695
Change 3383227 on 2017/04/06 by Will.Fissler
Reverted case sensitive change, from yesterday, and implemented a pragma instead.
#jira UE-41313
[CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
ralloc_asprintf_append ( buffer , " %s( " , FixHlslName ( expr - > type , bIsES & & ! bIsES31 ) . c_str ( ) ) ;
2014-09-25 14:27:21 -04:00
expr - > operands [ 0 ] - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) " ) ;
}
}
else if ( expr - > type - > is_scalar ( ) & &
( ( numOps = = 1 & & op = = ir_unop_logic_not ) | |
( numOps = = 2 & & op > = ir_binop_first_comparison & & op < = ir_binop_last_comparison ) | |
( numOps = = 2 & & op > = ir_binop_first_logic & & op < = ir_binop_last_logic ) ) )
{
const char * op_str = GLSLExpressionTable [ op ] [ 3 ] ;
ralloc_asprintf_append ( buffer , " %s( " , ( numOps = = 1 ) ? op_str : " " ) ;
expr - > operands [ 0 ] - > accept ( this ) ;
if ( numOps = = 2 )
{
ralloc_asprintf_append ( buffer , " %s " , op_str ) ;
expr - > operands [ 1 ] - > accept ( this ) ;
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
else if ( expr - > type - > is_vector ( ) & & numOps = = 2 & &
op > = ir_binop_first_logic & & op < = ir_binop_last_logic )
{
ralloc_asprintf_append ( buffer , GLSLExpressionTable [ op ] [ 0 ] , expr - > type - > vector_elements , expr - > type - > vector_elements ) ;
expr - > operands [ 0 ] - > accept ( this ) ;
ralloc_asprintf_append ( buffer , GLSLExpressionTable [ op ] [ 1 ] , expr - > type - > vector_elements ) ;
expr - > operands [ 1 ] - > accept ( this ) ;
ralloc_asprintf_append ( buffer , GLSLExpressionTable [ op ] [ 2 ] ) ;
}
else if ( op = = ir_binop_mod & & ! expr - > type - > is_float ( ) )
{
ralloc_asprintf_append ( buffer , " (( " ) ;
expr - > operands [ 0 ] - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " )%%( " ) ;
expr - > operands [ 1 ] - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " )) " ) ;
}
else if ( op = = ir_binop_mul & & expr - > type - > is_matrix ( )
& & expr - > operands [ 0 ] - > type - > is_matrix ( )
& & expr - > operands [ 1 ] - > type - > is_matrix ( ) )
{
ralloc_asprintf_append ( buffer , " matrixCompMult( " ) ;
expr - > operands [ 0 ] - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
expr - > operands [ 1 ] - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) " ) ;
}
else if ( numOps < 4 )
{
if ( op = = ir_unop_dFdx | | op = = ir_unop_dFdy )
{
bUsesDXDY = true ;
}
ralloc_asprintf_append ( buffer , GLSLExpressionTable [ op ] [ 0 ] ) ;
for ( int i = 0 ; i < numOps ; + + i )
{
expr - > operands [ i ] - > accept ( this ) ;
ralloc_asprintf_append ( buffer , GLSLExpressionTable [ op ] [ i + 1 ] ) ;
}
}
}
virtual void visit ( ir_texture * tex )
{
check ( scope_depth > 0 ) ;
const char * const fetch_str [ ] = { " texture " , " texelFetch " } ;
const char * const Dim [ ] = { " " , " 2D " , " 3D " , " Cube " , " " , " " , " " } ;
static const char * const size_str [ ] = { " " , " Size " } ;
static const char * const proj_str [ ] = { " " , " Proj " } ;
static const char * const grad_str [ ] = { " " , " Grad " } ;
static const char * const lod_str [ ] = { " " , " Lod " } ;
static const char * const offset_str [ ] = { " " , " Offset " } ;
static const char * const gather_str [ ] = { " " , " Gather " } ;
static const char * const querymips_str [ ] = { " " , " QueryLevels " } ;
static const char * const EXT_str [ ] = { " " , " EXT " } ;
const bool cube_array = tex - > sampler - > type - > sampler_dimensionality = = GLSL_SAMPLER_DIM_CUBE & &
tex - > sampler - > type - > sampler_array ;
ir_texture_opcode op = tex - > op ;
if ( op = = ir_txl & & tex - > sampler - > type - > sampler_shadow & & tex - > sampler - > type - > sampler_dimensionality = = GLSL_SAMPLER_DIM_CUBE )
{
// This very instruction is missing in OpenGL 3.2, so we need to change the sampling to instruction that exists in order for shader to compile
op = ir_tex ;
}
bool bEmitEXT = false ;
if ( bIsES & & op = = ir_txl )
{
// See http://www.khronos.org/registry/gles/extensions/EXT/EXT_shader_texture_lod.txt
bUsesES2TextureLODExtension = true ;
bEmitEXT = true ;
}
// Emit texture function and sampler.
ralloc_asprintf_append ( buffer , " %s%s%s%s%s%s%s%s%s%s( " ,
fetch_str [ op = = ir_txf ] ,
bIsES ? Dim [ tex - > sampler - > type - > sampler_dimensionality ] : " " ,
gather_str [ op = = ir_txg ] ,
size_str [ op = = ir_txs ] ,
querymips_str [ op = = ir_txm ] ,
proj_str [ tex - > projector ! = 0 ] ,
grad_str [ op = = ir_txd ] ,
lod_str [ op = = ir_txl ] ,
offset_str [ tex - > offset ! = 0 ] ,
EXT_str [ ( int ) bEmitEXT ]
) ;
tex - > sampler - > accept ( this ) ;
// Emit coordinates.
if ( ( op = = ir_txs & & tex - > lod_info . lod ) | | op = = ir_txm )
{
if ( ! tex - > sampler - > type - > sampler_ms & & op ! = ir_txm )
{
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > lod_info . lod - > accept ( this ) ;
}
}
else if ( tex - > sampler - > type - > sampler_shadow & & ( op ! = ir_txg & & ! cube_array ) )
{
int coord_dims = 0 ;
switch ( tex - > sampler - > type - > sampler_dimensionality )
{
case GLSL_SAMPLER_DIM_1D : coord_dims = 2 ; break ;
case GLSL_SAMPLER_DIM_2D : coord_dims = 3 ; break ;
case GLSL_SAMPLER_DIM_3D : coord_dims = 4 ; break ;
case GLSL_SAMPLER_DIM_CUBE : coord_dims = 4 ; break ;
default : check ( 0 & & " Shadow sampler has unsupported dimensionality. " ) ;
}
ralloc_asprintf_append ( buffer , " ,vec%d( " , coord_dims ) ;
tex - > coordinate - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > shadow_comparitor - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) " ) ;
}
else
{
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > coordinate - > accept ( this ) ;
}
// Emit gather compare value
if ( tex - > sampler - > type - > sampler_shadow & & ( op = = ir_txg | | cube_array ) )
{
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > shadow_comparitor - > accept ( this ) ;
}
// Emit sample index.
if ( op = = ir_txf & & tex - > sampler - > type - > sampler_ms )
{
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > lod_info . sample_index - > accept ( this ) ;
}
// Emit LOD.
if ( op = = ir_txl | |
( op = = ir_txf & & tex - > lod_info . lod & &
! tex - > sampler - > type - > sampler_ms & & ! tex - > sampler - > type - > sampler_buffer ) )
{
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > lod_info . lod - > accept ( this ) ;
}
// Emit gradients.
if ( op = = ir_txd )
{
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > lod_info . grad . dPdx - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > lod_info . grad . dPdy - > accept ( this ) ;
}
else if ( op = = ir_txb )
{
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > lod_info . bias - > accept ( this ) ;
}
// Emit offset.
if ( tex - > offset )
{
ralloc_asprintf_append ( buffer , " , " ) ;
tex - > offset - > accept ( this ) ;
}
// Emit channel selection for gather
if ( op = = ir_txg & & tex - > channel > ir_channel_none )
{
check ( tex - > channel < ir_channel_unknown ) ;
ralloc_asprintf_append ( buffer , " , %d " , int ( tex - > channel ) - 1 ) ;
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
virtual void visit ( ir_swizzle * swizzle )
{
check ( scope_depth > 0 ) ;
const unsigned mask [ 4 ] =
{
swizzle - > mask . x ,
swizzle - > mask . y ,
swizzle - > mask . z ,
swizzle - > mask . w ,
} ;
if ( swizzle - > val - > type - > is_scalar ( ) )
{
// Scalar -> Vector swizzles must use the constructor syntax.
if ( swizzle - > type - > is_scalar ( ) = = false )
{
print_type_full ( swizzle - > type ) ;
ralloc_asprintf_append ( buffer , " ( " ) ;
swizzle - > val - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) " ) ;
}
}
else
{
const bool is_constant = swizzle - > val - > as_constant ( ) ! = nullptr ;
if ( is_constant )
{
ralloc_asprintf_append ( buffer , " ( " ) ;
}
swizzle - > val - > accept ( this ) ;
if ( is_constant )
{
ralloc_asprintf_append ( buffer , " ) " ) ;
}
ralloc_asprintf_append ( buffer , " . " ) ;
for ( unsigned i = 0 ; i < swizzle - > mask . num_components ; i + + )
{
ralloc_asprintf_append ( buffer , " %c " , " xyzw " [ mask [ i ] ] ) ;
}
}
}
virtual void visit ( ir_dereference_variable * deref )
{
check ( scope_depth > 0 ) ;
ir_variable * var = deref - > variable_referenced ( ) ;
ralloc_asprintf_append ( buffer , unique_name ( var ) ) ;
// add type to used_structures so we can later declare them at the start of the GLSL shader
AddTypeToUsedStructs ( var - > type ) ;
if ( var - > mode = = ir_var_uniform & & var - > semantic ! = NULL )
{
if ( hash_table_find ( used_uniform_blocks , var - > semantic ) = = NULL )
{
hash_table_insert ( used_uniform_blocks , ( void * ) var - > semantic , var - > semantic ) ;
}
}
if ( is_md_array ( deref - > type ) )
{
ralloc_asprintf_append ( buffer , " .Inner " ) ;
}
}
virtual void visit ( ir_dereference_array * deref )
{
check ( scope_depth > 0 ) ;
deref - > array - > accept ( this ) ;
// Make extra sure crappy Mac OS X compiler won't have any reason to crash
bool enforceInt = false ;
if ( deref - > array_index - > type - > base_type = = GLSL_TYPE_UINT )
{
if ( deref - > array_index - > ir_type = = ir_type_constant )
{
should_print_uint_literals_as_ints = true ;
}
else
{
enforceInt = true ;
}
}
if ( enforceInt )
{
ralloc_asprintf_append ( buffer , " [int( " ) ;
}
else
{
ralloc_asprintf_append ( buffer , " [ " ) ;
}
deref - > array_index - > accept ( this ) ;
should_print_uint_literals_as_ints = false ;
if ( enforceInt )
{
ralloc_asprintf_append ( buffer , " )] " ) ;
}
else
{
ralloc_asprintf_append ( buffer , " ] " ) ;
}
if ( is_md_array ( deref - > array - > type ) )
{
ralloc_asprintf_append ( buffer , " .Inner " ) ;
}
}
void print_image_op ( ir_dereference_image * deref , ir_rvalue * src )
{
const char * swizzle [ ] =
{
" x " , " xy " , " xyz " , " xyzw "
} ;
const char * expand [ ] =
{
" xxxx " , " xyxx " , " xyzx " , " xyzw "
} ;
const char * int_cast [ ] =
{
" int " , " ivec2 " , " ivec3 " , " ivec4 "
} ;
const int dst_elements = deref - > type - > vector_elements ;
const int src_elements = ( src ) ? src - > type - > vector_elements : 1 ;
check ( 1 < = dst_elements & & dst_elements < = 4 ) ;
check ( 1 < = src_elements & & src_elements < = 4 ) ;
if ( deref - > op = = ir_image_access )
{
if ( src = = NULL )
{
ralloc_asprintf_append ( buffer , " imageLoad( " ) ;
deref - > image - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
deref - > image_index - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ).%s " , swizzle [ dst_elements - 1 ] ) ;
}
else
{
ralloc_asprintf_append ( buffer , " imageStore( " ) ;
deref - > image - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
deref - > image_index - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
src - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " .%s) " , expand [ src_elements - 1 ] ) ;
}
}
else if ( deref - > op = = ir_image_dimensions )
{
ralloc_asprintf_append ( buffer , " imageSize( " ) ;
deref - > image - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) " ) ;
}
else
{
check ( ! " Unknown image operation " ) ;
}
}
virtual void visit ( ir_dereference_image * deref )
{
check ( scope_depth > 0 ) ;
print_image_op ( deref , NULL ) ;
}
virtual void visit ( ir_dereference_record * deref )
{
check ( scope_depth > 0 ) ;
deref - > record - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " .%s " , deref - > field ) ;
if ( is_md_array ( deref - > type ) )
{
ralloc_asprintf_append ( buffer , " .Inner " ) ;
}
}
virtual void visit ( ir_assignment * assign )
{
if ( scope_depth = = 0 )
{
global_instructions . push_tail ( new ( mem_ctx ) global_ir ( assign ) ) ;
needs_semicolon = false ;
return ;
}
// constant variables with initializers are statically assigned
ir_variable * var = assign - > lhs - > variable_referenced ( ) ;
if ( var - > has_initializer & & var - > read_only & & ( var - > constant_initializer | | var - > constant_value ) )
{
//This will leave a blank line with a semi-colon
return ;
}
if ( assign - > condition )
{
ralloc_asprintf_append ( buffer , " if( " ) ;
assign - > condition - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) { " ) ;
}
if ( assign - > lhs - > as_dereference_image ( ) ! = NULL )
{
/** EHart - should the write mask be checked here? */
print_image_op ( assign - > lhs - > as_dereference_image ( ) , assign - > rhs ) ;
}
else
{
char mask [ 6 ] ;
unsigned j = 1 ;
if ( assign - > lhs - > type - > is_scalar ( ) = = false | |
assign - > write_mask ! = 0x1 )
{
for ( unsigned i = 0 ; i < 4 ; i + + )
{
if ( ( assign - > write_mask & ( 1 < < i ) ) ! = 0 )
{
mask [ j ] = " xyzw " [ i ] ;
j + + ;
}
}
}
mask [ j ] = ' \0 ' ;
mask [ 0 ] = ( j = = 1 ) ? ' \0 ' : ' . ' ;
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
// decide if we need to cast to float
const bool need_float_conv = ( assign - > lhs - > type - > is_float ( )
& & ( ( assign - > rhs - > as_constant ( ) ! = nullptr )
& & assign - > rhs - > type - > is_scalar ( )
& & ! assign - > rhs - > type - > is_float ( ) ) ) ;
2014-09-25 14:27:21 -04:00
assign - > lhs - > accept ( this ) ;
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
ralloc_asprintf_append ( buffer , ( need_float_conv ? " %s = float( " : " %s = " ) , mask ) ;
2014-09-25 14:27:21 -04:00
assign - > rhs - > accept ( this ) ;
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
if ( need_float_conv )
{
ralloc_asprintf_append ( buffer , " ) " ) ;
}
2014-09-25 14:27:21 -04:00
}
if ( assign - > condition )
{
ralloc_asprintf_append ( buffer , " %s } " , needs_semicolon ? " ; " : " " ) ;
}
}
void print_constant ( ir_constant * constant , int index )
{
if ( constant - > type - > is_float ( ) )
{
if ( constant - > is_component_finite ( index ) )
{
float value = constant - > value . f [ index ] ;
// Original formatting code relied on %f style formatting
// %e is more accureate, and has been available since at least ES 2.0
// leaving original code in place, in case some drivers don't properly handle it
#if 0
const char * format = ( fabsf ( fmodf ( value , 1.0f ) ) < 1.e-8 f ) ? " %.1f " : " %.8f " ;
# else
const char * format = " %e " ;
# endif
ralloc_asprintf_append ( buffer , format , value ) ;
}
else
{
switch ( constant - > value . u [ index ] )
{
case 0x7f800000u :
ralloc_asprintf_append ( buffer , " (1.0/0.0) " ) ;
break ;
case 0xffc00000u :
ralloc_asprintf_append ( buffer , " (0.0/0.0) " ) ;
break ;
case 0xff800000u :
ralloc_asprintf_append ( buffer , " (-1.0/0.0) " ) ;
break ;
2016-10-10 10:24:00 -04:00
case 0x7fc00000u :
ralloc_asprintf_append ( buffer , " (0.0/0.0) /*Real Nan*/ " ) ;
break ;
2014-09-25 14:27:21 -04:00
default :
2016-10-10 10:24:00 -04:00
ralloc_asprintf_append ( buffer , " Unhandled_Nan0x%08x " , constant - > value . u [ index ] ) ;
break ;
2014-09-25 14:27:21 -04:00
}
}
}
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3292174 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Linux toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292193 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- ThirdParty libs compiled with new toolchain with wasm support
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292215 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and wbegl2 support
- emscripten toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292222 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm support
- ENGINE changes (c# & cpp files)
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292223 on 2017/02/08 by Nick.Shin
HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile
Change 3292228 on 2017/02/08 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches
- and a lot of UE4 patches to package HTML5 on LINUX
- mostly from mozilla's jukka -- thx jukka!
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3292285 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Windows toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3293994 on 2017/02/09 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- OSX toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3294391 on 2017/02/09 by Nick.Shin
HTML5 "black box issues" revisited
- jukka rewrote the window resize handler -- much cleaner and more straightforward
#jira UE-36341 HTML5 - View is incorrectly drawn
#jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On
Change 3296421 on 2017/02/10 by Jack.Porter
Fix landscape spline segment splitting placing when using streaming levels
Change 3296587 on 2017/02/10 by Jack.Porter
Additional fix for landscape spline segment splitting when using streaming levels
Change 3301241 on 2017/02/14 by Mi.Wang
Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter
Change 3301387 on 2017/02/14 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches from mozilla's jukka
+ hardware instancing
+ glBlitFramebuffer
+ GL AlaphaBlendOperation
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3301405 on 2017/02/14 by Nick.Shin
HTML5 plugin fix when blueprint projects are promoted to code projects automatically.
#jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc
Change 3302278 on 2017/02/14 by Omar.Rodriguez
UE-36651: Mac Vulkan Android Projects crash on launch.
* Glslang library has been built for Mac but flag was not updated
* Set GlslangAvailable to true for Mac when building an Android project with vulkan
#jira UE-36651
Change 3302773 on 2017/02/14 by Chris.Babcock
Add a dropdown with some common console commands on Android (contributed by rafortis)
#jira UE-40834
#PR #3143
#ue4
#android
Change 3305604 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader- turn on: instance static mesh vertex factory
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3308154 on 2017/02/16 by Nick.Shin
HTML5 GitHub PR
#jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5
Change 3308510 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3308971 on 2017/02/17 by Jack.Porter
Fix for landscape painting when height<0 in the Ortho viewports
Change 3309075 on 2017/02/17 by Allan.Bentham
Include static subject meshes when masking out modulated shadow casters.
#jira UE-41581
Change 3309531 on 2017/02/17 by Chris.Babcock
Handle large OBB files in APK
#jira UE-41443
#ue4
#android
Change 3311320 on 2017/02/19 by Dmitriy.Dyomin
Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
#jira UE-41970
Change 3311347 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
#jira UE-41976
Change 3311398 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Landscapes do not render on PowerVR device
#jira UE-35530
Change 3311428 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
#jira UE-42036
Change 3311448 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Packaged game Crashes on android after entering "Help" command twice
#jira UE-41956
Change 3311587 on 2017/02/20 by Allan.Bentham
ES2 GLSL - Silently swap all uint to ints
#jira UE-41548
Change 3313930 on 2017/02/21 by Allan.Bentham
Print literal uints as ints when generating ES2 code.
#jira UE-41548
Change 3317924 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317929 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317951 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318004 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318669 on 2017/02/23 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318672 on 2017/02/23 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318819 on 2017/02/23 by Dmitriy.Dyomin
Fixed: Rendering artifacts with bloom on iPhone7 Metal
#jira UE-40978
Change 3319702 on 2017/02/23 by Chris.Babcock
Disable eglSwapInterval since it can cause issues with some drivers
#ue4
#android
Change 3320880 on 2017/02/24 by Dmitriy.Dyomin
Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
#jira UEMOB-195
Change 3321042 on 2017/02/24 by Jack.Porter
Fixed incorrect sizeof in Vulkan pipleine cache
pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/
#code_review: rolando.caloca
Change 3322383 on 2017/02/24 by Chris.Babcock
Fix issue with ad banner on Android 7.0 devices
#jira UE-42390
#ue4
#android
Change 3322479 on 2017/02/24 by Omar.Rodriguez
UEMOB-199 - WEX: Improved virtual keyboard for Android
* Calculating the area covered by the virtual keyboard
* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event
#jira UEMOB-199
Change 3323353 on 2017/02/27 by Allan.Bentham
Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
#jira UE-42191
Change 3323431 on 2017/02/27 by Allan.Bentham
CIS fix
Change 3323687 on 2017/02/27 by Allan.Bentham
Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
#jira UE-42131
Change 3324652 on 2017/02/28 by Dmitriy.Dyomin
Fixed: Canvas elements appear darker on iOS Metal
Change 3324885 on 2017/02/28 by Jack.Porter
Fixed "Minimum iOS Version" setting display name
#jira UE-42270
Change 3324899 on 2017/02/28 by Jack.Porter
GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
#jira UE-40018
#3063
Change 3324932 on 2017/02/28 by Jack.Porter
GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows
#jira UE-41984
#3257
#codereview: Peter.Sauerbrei
Change 3324956 on 2017/02/28 by Jack.Porter
FOpenGLFrontend::GetMaxSamplers incorrect for IOS
#jira UE-42038
#3264
Change 3325478 on 2017/02/28 by Allan.Bentham
PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna)
#jira UE-41442
Change 3327300 on 2017/03/01 by Allan.Bentham
PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen)
#jira UE-41257
Change 3328917 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
#jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac
#jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings
Change 3329169 on 2017/03/02 by Allan.Bentham
increase render thread timeout to 1 minute for suntemple / android.
Prevents low end devices timing out during load.
#jira UE-40696
Change 3330849 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3331078 on 2017/03/03 by Dmitriy.Dyomin
Fixed: Device output log partial lines
integrated from WEX (3250488)
Change 3331112 on 2017/03/03 by Dmitriy.Dyomin
Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)
integrated from WEX (3256584)
Change 3331117 on 2017/03/03 by Dmitriy.Dyomin
Fixed redundant blend state changes in opengl
integrated from WEX (3256586)
Change 3331173 on 2017/03/03 by Dmitriy.Dyomin
Slate pixel shaders will use half precision where possible on mobile
integrated from WEX (3256656)
Change 3332865 on 2017/03/06 by Dmitriy.Dyomin
Better MobileContentScaleFactor defaults for iOS devices
#jira UEMOB-330
Change 3333129 on 2017/03/06 by Peter.Sauerbrei
move to Library/Caches instead of documents for saved files
re-enable iterative deploy on TVOS
#jira UEMOB-284
Change 3334692 on 2017/03/06 by Jack.Porter
Allow r.MobileContentScaleFactor to be changed at runtime on Android
#jira UEMOB-173
Change 3336255 on 2017/03/07 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3337094 on 2017/03/08 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3338800 on 2017/03/08 by Chris.Babcock
Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
#jira UE-42677
#ue4
#android
Change 3338813 on 2017/03/08 by Chris.Babcock
Pass build configuration to UPL for access during packaging as $S(Configuration)
#jira UE-42678
#ue4
#android
#ios
Change 3339401 on 2017/03/09 by Alicia.Cano
Android runtime permissions
- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
- Fix for Location Services
- Fix for if target sdk is not set to 23+
#jira UE-38512
#android
#rb: chris.babcock
Change 3340736 on 2017/03/09 by Chris.Babcock
Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
#jira UE-41965
#PR #3254
#ue4
#android
Change 3340744 on 2017/03/09 by Jack.Porter
Expose Custom Depth to Foliage
#jira UE-6061
Change 3340849 on 2017/03/09 by Dmitriy.Dyomin
Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
#jira UE-42351
Change 3341268 on 2017/03/10 by Alicia.Cano
PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
#jira UE-37945
#android
#rb: chris.babcock, jack.porter
Change 3341303 on 2017/03/10 by Allan.Bentham
Remove optimisation that prevents full specular occulsion on mobile.
PR #3186 : Specular can't be blocked on high-end mobile.
#jira UE-41393
Change 3342304 on 2017/03/10 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343344 on 2017/03/13 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343591 on 2017/03/13 by Brent.Pease
iOS multiplayer fix part 1. Correct byte ordering.
#jira UE-34875
Change 3343669 on 2017/03/13 by Chris.Babcock
Update carefullyredist script version
#jira UE-42832
Change 3344212 on 2017/03/13 by Will.Fissler
Various compile fixes for Xcode 8.3.
These fixes must also be added to //UE4/Release-4.15.
#jira UE-41313
Change 3344396 on 2017/03/13 by Chris.Babcock
Fix Java 1.5 obsolete warnings
#jira UE-42851
#ue4
#android
Change 3345132 on 2017/03/14 by Will.Fissler
Added ifdef wrapper to check clang version for presentDrawable.
Change 3345336 on 2017/03/14 by Will.Fissler
Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.
Change 3345460 on 2017/03/14 by Will.Fissler
ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none
Change 3346046 on 2017/03/14 by Will.Fissler
Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.
Change 3346367 on 2017/03/14 by Chris.Babcock
Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
#ue4
#android
Change 3347682 on 2017/03/15 by Allan.Bentham
Enable HW sRGB correction with retainer widget's render target.
Use slate's gamma correction for mobile (where no such support exists)
Render retainer box RT content with gamma correction.
#jira UE-40967
Change 3348712 on 2017/03/15 by Nick.Shin
HTML5 - upload to S3
updated to AWS "signature version 4" authentication
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349254 on 2017/03/16 by Jack.Porter
Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
#jira UE-42971
Change 3349739 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
better error message feedback on upload failures
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349765 on 2017/03/16 by Alicia.Cano
Disable mouseover events in Mobile Previewer
#jira UE-19903
#mobile
#rb: Jack.Porter
Change 3350049 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
folder in bucket is optional
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3350153 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
updated S3 public link generator
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3351582 on 2017/03/17 by Will.Fissler
Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";
Currently we cannot build arm64 for iOS with this change.
Change 3352085 on 2017/03/17 by Alicia.Cano
iOS doesn't honor request to close the virtual keyboard leading to a crash
#jira UE-36447
#ios
#rb:Peter.Sauerbrei
Change 3353313 on 2017/03/19 by Ben.Marsh
Always allow large *.js files in Github.
Change 3354444 on 2017/03/20 by Nick.Shin
HTML5 - upload to S3
to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3355618 on 2017/03/20 by Nick.Shin
HTML5 Save Game System
- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3355621 on 2017/03/20 by Nick.Shin
remove temp debugging code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3356937 on 2017/03/21 by Chris.Babcock
Add "stat vulkanrhi" to new console dropdown
#jira UE-43149
#ue4
#android
Change 3357652 on 2017/03/21 by Nick.Shin
HTML5 performance speed ups
added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel
this option is based on the suggestions by jukka's post:
- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html
however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...
#jira UE-30214 - Implement a warning message for fps settings
Change 3360415 on 2017/03/23 by Allan.Bentham
Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.
Change 3360418 on 2017/03/23 by Allan.Bentham
Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
#jira UE-40913
Change 3360557 on 2017/03/23 by Allan.Bentham
Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
#jira UE-42131
Change 3362258 on 2017/03/23 by Dmitriy.Dyomin
Fixed: Canvas texture element gamma issues on iOS Metal
Change 3362321 on 2017/03/24 by Dmitriy.Dyomin
GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)
#3173
Change 3363550 on 2017/03/24 by Alicia.Cano
build fix for devices < Android 5.0
#jira UE-43299
#android
#rb: chris.babcock
Change 3363687 on 2017/03/24 by Chris.Babcock
Fix Android password hiding in input dialog
#jira WEX-5159
#ue4
#android
Change 3365280 on 2017/03/27 by Dmitriy.Dyomin
Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension
Change 3365291 on 2017/03/27 by Dmitriy.Dyomin
Copied form WEX CL# 3308653
Fixed: Enabling shader cache causes crash on NVIDIA Shield
#jira UE-41639
Change 3365293 on 2017/03/27 by Dmitriy.Dyomin
GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
#jira UE-43247
#3411
Change 3365340 on 2017/03/27 by Dmitriy.Dyomin
Fixed: Moving sublevel in world composition browser does not appear in Undo History
#jira UE-35535
Change 3365564 on 2017/03/27 by Allan.Bentham
SkyLightComponent now serializes IrradianceMap SH values.
clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
#jira UE-42436
Change 3366282 on 2017/03/27 by Nick.Shin
remove dead links
these files to not exist anywhere in the make-3.81 subfolders
#UDN-354501
#jira none
Change 3366306 on 2017/03/27 by Nick.Shin
HTML5 - disable multi-threading for wasm
#jira UE-43219 - HTML5 disable multi-threading for wasm
Change 3366307 on 2017/03/27 by Nick.Shin
HTML5 packaging Shipping builds
big cleanup / additions to *gz file support for amazon s3
* both, uploading to s3
* and allowing s3 to host the games there
#jira UE-43002 HTML5 in Shipping fails downloading symbols files
#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.
Change 3367385 on 2017/03/28 by Allan.Bentham
Display skylight serialization warning only when cooking for mobile platforms.
#jira UE-42436
Change 3368583 on 2017/03/28 by Chris.Babcock
Expose JAVA_HOME setting in Android SDK project settings on Mac
#jira UE-43418
#ue4
#android
Change 3368803 on 2017/03/28 by Chris.Babcock
Fix features requested in manifest for "Daydream and Cardboard" mode
#jira UE-43314
#ue4
#android
Change 3369087 on 2017/03/28 by Jack.Porter
Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
#jira UE-42438
Change 3369372 on 2017/03/29 by Allan.Bentham
Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
#jira UE-43366
Change 3369381 on 2017/03/29 by Jack.Porter
Show warnings when mobile shader permutations required for rendering are disbaled
Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
#jira UE-43050
Change 3369430 on 2017/03/29 by Allan.Bentham
fix CIS build
Change 3369740 on 2017/03/29 by Allan.Bentham
Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
Android links with -gc-sections to remove unused code/data
Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
Add support for map file generation with android.
Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini
#jira UEMOB-168
Change 3369975 on 2017/03/29 by Nick.Shin
HTML5 - AWS S3 shareable link for shipping builds corrected
#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.
Change 3369998 on 2017/03/29 by Nick.Shin
HTML5 python build scripts
PR:
https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3
#jira none
Change 3370214 on 2017/03/29 by Nick.Shin
HTML5 - default bUseFixedTimeStep to false...
#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms
Change 3370762 on 2017/03/29 by Chris.Babcock
Fixes to new keyboard for Android
- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
#ue4
#android
Change 3371344 on 2017/03/30 by Jack.Porter
Fixed issue where Vulkan screenshot R/B channels were reversed on Android
#jira UE-43479
Change 3372926 on 2017/03/30 by Peter.Sauerbrei
start the process of sunsetting 32-bit and GLES2 on iOS
#jira UE-42266
Change 3372970 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3372989 on 2017/03/30 by Peter.Sauerbrei
fix for Xcode 8.3 build with 32-bit
Change 3373007 on 2017/03/30 by Peter.Sauerbrei
fix for crash when online subsystem is disabled on IOS
Change 3373108 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373163 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373169 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
license file updated
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rnx
Change 3373287 on 2017/03/30 by Nick.Shin
HTML5 - 1.36.11 emscripten - remove old SDK
#jira none
#rnx
Change 3373289 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373595 on 2017/03/30 by Chris.Babcock
Reenable GooglePlay for ARM64 now that it doesn't crash
#jira UE-36198
#ue4
#android
Change 3373606 on 2017/03/30 by Chris.Babcock
Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
#ue4
#android
Change 3375456 on 2017/03/31 by Chris.Babcock
Add missing keycodes for Android keyboard (@ and #)
#jira WEX-5777
#ue4
#android
Change 3376309 on 2017/04/03 by Allan.Bentham
Fix overflow issues with mobile DoF.
Change 3377041 on 2017/04/03 by Will.Fissler
Adding Testbed content for PlatformShowcase.
Change 3377582 on 2017/04/03 by Alicia.Cano
adding back in GET_ACCOUNTS permission as it is required for Reset Achievements
#jira: UE-43265
#android
#rb: Chris.Babcock
Change 3377643 on 2017/04/03 by Peter.Sauerbrei
fix for memory leak in MallocBinned
#jira UE-43008
Change 3378033 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3378034 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty build scripts
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3378035 on 2017/04/04 by Nick.Shin
HTML5 - Update GameX template to make it work with trunk Emscripten
PR
https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978
#jira none
#rn
Change 3378044 on 2017/04/04 by Nick.Shin
HTML5 harfbuzz - double checking recompiled with NO multithreading
wasm currently does not support pthreads
*** THIS IS STILL WIP ***
checking in to match 3rd party libs compiled configuration
#jira UE-28588 - Build HarfBuzz for HTML5
#rnx
Change 3378264 on 2017/04/04 by Allan.Bentham
Fix crash when using consolas font on android sdk 24
#jira UE-43464
Change 3379097 on 2017/04/04 by Nick.Shin
CIS HTML5 build warning fix
#jria none
#rnx
Change 3379333 on 2017/04/04 by Chris.Babcock
Prevent inserting extra permissions into manifest multiple times
#jira UE-43583
#ue4
#android
Change 3380870 on 2017/04/05 by Chris.Babcock
Fix merge issue
Change 3380898 on 2017/04/05 by Chris.Babcock
Fixed again
Change 3381443 on 2017/04/05 by Chris.Babcock
Fix for GearVR non-unity build
#ue4
#android
Change 3381941 on 2017/04/05 by Chris.Babcock
Fix HTTPChunkInstaller texture format checks and missing #define warning
#jira UE-43706
#ue4
#android
Change 3382056 on 2017/04/05 by Chris.Babcock
Updates to Android AARs needed for Facebook plugin
Change 3382097 on 2017/04/05 by Chris.Babcock
Disable java console cmd receiver only in shipping builds
#jira UE-43710
#ue4
#android
Change 3382497 on 2017/04/06 by Allan.Bentham
Fix Fortnite Cooked Server crashes when joining game from lobby.
#jira UE-43695
Change 3383227 on 2017/04/06 by Will.Fissler
Reverted case sensitive change, from yesterday, and implemented a pragma instead.
#jira UE-41313
[CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
else if ( constant - > type - > base_type = = GLSL_TYPE_INT
// print literal uints as ints for ES2.
| | ( bIsES & & ! bIsES31 & & constant - > type - > base_type = = GLSL_TYPE_UINT )
)
2014-09-25 14:27:21 -04:00
{
ralloc_asprintf_append ( buffer , " %d " , constant - > value . i [ index ] ) ;
}
else if ( constant - > type - > base_type = = GLSL_TYPE_UINT )
{
ralloc_asprintf_append ( buffer , " %u%s " ,
constant - > value . u [ index ] ,
should_print_uint_literals_as_ints ? " " : " u "
) ;
}
else if ( constant - > type - > base_type = = GLSL_TYPE_BOOL )
{
ralloc_asprintf_append ( buffer , " %s " , constant - > value . b [ index ] ? " true " : " false " ) ;
}
}
virtual void visit ( ir_constant * constant )
{
if ( constant - > type = = glsl_type : : float_type
| | constant - > type = = glsl_type : : half_type
| | constant - > type = = glsl_type : : bool_type
| | constant - > type = = glsl_type : : int_type
| | constant - > type = = glsl_type : : uint_type )
{
print_constant ( constant , 0 ) ;
}
else if ( constant - > type - > is_record ( ) )
{
print_type_full ( constant - > type ) ;
ralloc_asprintf_append ( buffer , " ( " ) ;
ir_constant * value = ( ir_constant * ) constant - > components . get_head ( ) ;
if ( value )
{
value - > accept ( this ) ;
}
for ( uint32 i = 1 ; i < constant - > type - > length ; i + + )
{
check ( value ) ;
value = ( ir_constant * ) value - > next ;
if ( value )
{
ralloc_asprintf_append ( buffer , " , " ) ;
value - > accept ( this ) ;
}
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
else if ( constant - > type - > is_array ( ) )
{
print_type_full ( constant - > type ) ;
ralloc_asprintf_append ( buffer , " ( " ) ;
constant - > get_array_element ( 0 ) - > accept ( this ) ;
for ( uint32 i = 1 ; i < constant - > type - > length ; + + i )
{
ralloc_asprintf_append ( buffer , " , " ) ;
constant - > get_array_element ( i ) - > accept ( this ) ;
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
else
{
print_type_full ( constant - > type ) ;
ralloc_asprintf_append ( buffer , " ( " ) ;
print_constant ( constant , 0 ) ;
int num_components = constant - > type - > components ( ) ;
for ( int i = 1 ; i < num_components ; + + i )
{
ralloc_asprintf_append ( buffer , " , " ) ;
print_constant ( constant , i ) ;
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
}
virtual void visit ( ir_call * call )
{
if ( scope_depth = = 0 )
{
global_instructions . push_tail ( new ( mem_ctx ) global_ir ( call ) ) ;
needs_semicolon = false ;
return ;
}
if ( call - > return_deref )
{
call - > return_deref - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " = " ) ;
}
ralloc_asprintf_append ( buffer , " %s( " , call - > callee_name ( ) ) ;
bool bPrintComma = false ;
foreach_iter ( exec_list_iterator , iter , * call )
{
ir_instruction * const inst = ( ir_instruction * ) iter . get ( ) ;
if ( bPrintComma )
{
ralloc_asprintf_append ( buffer , " , " ) ;
}
inst - > accept ( this ) ;
bPrintComma = true ;
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
virtual void visit ( ir_return * ret )
{
check ( scope_depth > 0 ) ;
ralloc_asprintf_append ( buffer , " return " ) ;
ir_rvalue * const value = ret - > get_value ( ) ;
if ( value )
{
value - > accept ( this ) ;
}
}
virtual void visit ( ir_discard * discard )
{
check ( scope_depth > 0 ) ;
if ( discard - > condition )
{
ralloc_asprintf_append ( buffer , " if ( " ) ;
discard - > condition - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) " ) ;
}
ralloc_asprintf_append ( buffer , " discard " ) ;
}
bool try_conditional_move ( ir_if * expr )
{
ir_dereference_variable * dest_deref = NULL ;
ir_rvalue * true_value = NULL ;
ir_rvalue * false_value = NULL ;
unsigned write_mask = 0 ;
const glsl_type * assign_type = NULL ;
int num_inst ;
num_inst = 0 ;
foreach_iter ( exec_list_iterator , iter , expr - > then_instructions )
{
if ( num_inst > 0 )
{
// multiple instructions? not a conditional move
return false ;
}
ir_instruction * const inst = ( ir_instruction * ) iter . get ( ) ;
ir_assignment * assignment = inst - > as_assignment ( ) ;
if ( assignment & & ( assignment - > rhs - > ir_type = = ir_type_dereference_variable | | assignment - > rhs - > ir_type = = ir_type_constant ) )
{
dest_deref = assignment - > lhs - > as_dereference_variable ( ) ;
true_value = assignment - > rhs ;
write_mask = assignment - > write_mask ;
}
num_inst + + ;
}
if ( dest_deref = = NULL | | true_value = = NULL )
return false ;
num_inst = 0 ;
foreach_iter ( exec_list_iterator , iter , expr - > else_instructions )
{
if ( num_inst > 0 )
{
// multiple instructions? not a conditional move
return false ;
}
ir_instruction * const inst = ( ir_instruction * ) iter . get ( ) ;
ir_assignment * assignment = inst - > as_assignment ( ) ;
if ( assignment & & ( assignment - > rhs - > ir_type = = ir_type_dereference_variable | | assignment - > rhs - > ir_type = = ir_type_constant ) )
{
ir_dereference_variable * tmp_deref = assignment - > lhs - > as_dereference_variable ( ) ;
if ( tmp_deref
& & tmp_deref - > var = = dest_deref - > var
& & tmp_deref - > type = = dest_deref - > type
& & assignment - > write_mask = = write_mask )
{
false_value = assignment - > rhs ;
}
}
num_inst + + ;
}
if ( false_value = = NULL )
return false ;
char mask [ 6 ] ;
unsigned j = 1 ;
if ( dest_deref - > type - > is_scalar ( ) = = false | | write_mask ! = 0x1 )
{
for ( unsigned i = 0 ; i < 4 ; i + + )
{
if ( ( write_mask & ( 1 < < i ) ) ! = 0 )
{
mask [ j ] = " xyzw " [ i ] ;
j + + ;
}
}
}
mask [ j ] = ' \0 ' ;
mask [ 0 ] = ( j = = 1 ) ? ' \0 ' : ' . ' ;
dest_deref - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " %s = ( " , mask ) ;
expr - > condition - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " )?( " ) ;
true_value - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ):( " ) ;
false_value - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) " ) ;
return true ;
}
virtual void visit ( ir_if * expr )
{
check ( scope_depth > 0 ) ;
if ( try_conditional_move ( expr ) = = false )
{
ralloc_asprintf_append ( buffer , " if ( " ) ;
expr - > condition - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ) \n " ) ;
indent ( ) ;
ralloc_asprintf_append ( buffer , " { \n " ) ;
indentation + + ;
foreach_iter ( exec_list_iterator , iter , expr - > then_instructions )
{
ir_instruction * const inst = ( ir_instruction * ) iter . get ( ) ;
indent ( ) ;
do_visit ( inst ) ;
}
indentation - - ;
indent ( ) ;
ralloc_asprintf_append ( buffer , " } \n " ) ;
if ( ! expr - > else_instructions . is_empty ( ) )
{
indent ( ) ;
ralloc_asprintf_append ( buffer , " else \n " ) ;
indent ( ) ;
ralloc_asprintf_append ( buffer , " { \n " ) ;
indentation + + ;
foreach_iter ( exec_list_iterator , iter , expr - > else_instructions )
{
ir_instruction * const inst = ( ir_instruction * ) iter . get ( ) ;
indent ( ) ;
do_visit ( inst ) ;
}
indentation - - ;
indent ( ) ;
ralloc_asprintf_append ( buffer , " } \n " ) ;
}
needs_semicolon = false ;
}
}
virtual void visit ( ir_loop * loop )
{
check ( scope_depth > 0 ) ;
if ( loop - > counter & & loop - > to )
{
// IR cmp operator is when to terminate loop; whereas GLSL for loop syntax
// is while to continue the loop. Invert the meaning of operator when outputting.
const char * termOp = NULL ;
switch ( loop - > cmp )
{
case ir_binop_less : termOp = " >= " ; break ;
case ir_binop_greater : termOp = " <= " ; break ;
case ir_binop_lequal : termOp = " > " ; break ;
case ir_binop_gequal : termOp = " < " ; break ;
case ir_binop_equal : termOp = " != " ; break ;
case ir_binop_nequal : termOp = " == " ; break ;
default : check ( false ) ;
}
ralloc_asprintf_append ( buffer , " for (;%s%s " , unique_name ( loop - > counter ) , termOp ) ;
loop - > to - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " ;) \n " ) ;
}
else
{
# if 1
ralloc_asprintf_append ( buffer , " for (;;) \n " ) ;
# else
ralloc_asprintf_append ( buffer , " for ( int loop%d = 0; loop%d < 256; loop%d ++) \n " , loop_count , loop_count , loop_count ) ;
loop_count + + ;
# endif
}
indent ( ) ;
ralloc_asprintf_append ( buffer , " { \n " ) ;
indentation + + ;
foreach_iter ( exec_list_iterator , iter , loop - > body_instructions )
{
ir_instruction * const inst = ( ir_instruction * ) iter . get ( ) ;
indent ( ) ;
do_visit ( inst ) ;
}
indentation - - ;
indent ( ) ;
ralloc_asprintf_append ( buffer , " } \n " ) ;
needs_semicolon = false ;
}
virtual void visit ( ir_loop_jump * jmp )
{
check ( scope_depth > 0 ) ;
ralloc_asprintf_append ( buffer , " %s " ,
jmp - > is_break ( ) ? " break " : " continue " ) ;
}
virtual void visit ( ir_atomic * ir )
{
const char * sharedAtomicFunctions [ ] =
{
" atomicAdd " ,
" atomicAnd " ,
" atomicMin " ,
" atomicMax " ,
" atomicOr " ,
" atomicXor " ,
" atomicExchange " ,
" atomicCompSwap "
} ;
const char * imageAtomicFunctions [ ] =
{
" imageAtomicAdd " ,
" imageAtomicAnd " ,
" imageAtomicMin " ,
" imageAtomicMax " ,
" imageAtomicOr " ,
" imageAtomicXor " ,
" imageAtomicExchange " ,
" imageAtomicCompSwap "
} ;
check ( scope_depth > 0 ) ;
const bool is_image = ir - > memory_ref - > as_dereference_image ( ) ! = NULL ;
ir - > lhs - > accept ( this ) ;
if ( ! is_image )
{
ralloc_asprintf_append ( buffer , " = %s( " ,
sharedAtomicFunctions [ ir - > operation ] ) ;
ir - > memory_ref - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
ir - > operands [ 0 ] - > accept ( this ) ;
if ( ir - > operands [ 1 ] )
{
ralloc_asprintf_append ( buffer , " , " ) ;
ir - > operands [ 1 ] - > accept ( this ) ;
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
else
{
ir_dereference_image * image = ir - > memory_ref - > as_dereference_image ( ) ;
ralloc_asprintf_append ( buffer , " = %s( " ,
imageAtomicFunctions [ ir - > operation ] ) ;
image - > image - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
image - > image_index - > accept ( this ) ;
ralloc_asprintf_append ( buffer , " , " ) ;
ir - > operands [ 0 ] - > accept ( this ) ;
if ( ir - > operands [ 1 ] )
{
ralloc_asprintf_append ( buffer , " , " ) ;
ir - > operands [ 1 ] - > accept ( this ) ;
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
}
void AddTypeToUsedStructs ( const glsl_type * type ) ;
/**
* Declare structs used to simulate multi - dimensional arrays .
*/
void declare_md_array_struct ( const glsl_type * type , hash_table * ht )
{
check ( type - > is_array ( ) ) ;
if ( hash_table_find ( ht , ( void * ) type ) = = NULL )
{
const glsl_type * subtype = type - > fields . array ;
if ( subtype - > base_type = = GLSL_TYPE_ARRAY )
{
declare_md_array_struct ( subtype , ht ) ;
ralloc_asprintf_append ( buffer , " struct " ) ;
print_md_array_type ( type ) ;
ralloc_asprintf_append ( buffer , " \n { \n \t " ) ;
print_md_array_type ( subtype ) ;
ralloc_asprintf_append ( buffer , " Inner[%u]; \n }; \n \n " , type - > length ) ;
}
else
{
ralloc_asprintf_append ( buffer , " struct " ) ;
print_md_array_type ( type ) ;
ralloc_asprintf_append ( buffer , " \n { \n \t " ) ;
print_type_pre ( type ) ;
ralloc_asprintf_append ( buffer , " Inner " ) ;
print_type_post ( type ) ;
ralloc_asprintf_append ( buffer , " ; \n }; \n \n " ) ;
}
hash_table_insert ( ht , ( void * ) type , ( void * ) type ) ;
}
}
/**
* Declare structs used by the code that has been generated .
*/
void declare_structs ( _mesa_glsl_parse_state * state )
{
// If any variable in a uniform block is in use, the entire uniform block
// must be present including structs that are not actually accessed.
for ( unsigned i = 0 ; i < state - > num_uniform_blocks ; i + + )
{
const glsl_uniform_block * block = state - > uniform_blocks [ i ] ;
if ( hash_table_find ( used_uniform_blocks , block - > name ) )
{
for ( unsigned var_index = 0 ; var_index < block - > num_vars ; + + var_index )
{
const glsl_type * type = block - > vars [ var_index ] - > type ;
if ( type - > base_type = = GLSL_TYPE_STRUCT & &
hash_table_find ( used_structures , type ) = = NULL )
{
hash_table_insert ( used_structures , ( void * ) type , type ) ;
}
}
}
}
// If otherwise unused structure is a member of another, used structure, the unused structure is also, in fact, used
{
int added_structure_types ;
do
{
added_structure_types = 0 ;
for ( unsigned i = 0 ; i < state - > num_user_structures ; i + + )
{
const glsl_type * const s = state - > user_structures [ i ] ;
if ( hash_table_find ( used_structures , s ) = = NULL )
{
continue ;
}
for ( unsigned j = 0 ; j < s - > length ; j + + )
{
const glsl_type * type = s - > fields . structure [ j ] . type ;
if ( type - > base_type = = GLSL_TYPE_STRUCT )
{
if ( hash_table_find ( used_structures , type ) = = NULL )
{
hash_table_insert ( used_structures , ( void * ) type , type ) ;
+ + added_structure_types ;
}
}
else if ( type - > base_type = = GLSL_TYPE_ARRAY & & type - > fields . array - > base_type = = GLSL_TYPE_STRUCT )
{
if ( hash_table_find ( used_structures , type - > fields . array ) = = NULL )
{
hash_table_insert ( used_structures , ( void * ) type - > fields . array , type - > fields . array ) ;
}
}
else if ( ( type - > base_type = = GLSL_TYPE_INPUTPATCH | | type - > base_type = = GLSL_TYPE_OUTPUTPATCH ) & & type - > inner_type - > base_type = = GLSL_TYPE_STRUCT )
{
if ( hash_table_find ( used_structures , type - > inner_type ) = = NULL )
{
hash_table_insert ( used_structures , ( void * ) type - > inner_type , type - > inner_type ) ;
}
}
}
}
}
while ( added_structure_types > 0 ) ;
}
// Generate structures that allow support for multi-dimensional arrays.
{
hash_table * ht = hash_table_ctor ( 32 , hash_table_pointer_hash , hash_table_pointer_compare ) ;
foreach_iter ( exec_list_iterator , iter , used_md_arrays )
{
md_array_entry * entry = ( md_array_entry * ) iter . get ( ) ;
declare_md_array_struct ( entry - > type , ht ) ;
}
hash_table_dtor ( ht ) ;
}
# ifdef OPTIMIZE_ANON_STRUCTURES_OUT
// If a uniform block consists of a single, anonymous structure, don't declare this structure
// separately. We'll remove it entirely during uniform block code generation, and name the
// uniform block instead.
for ( unsigned i = 0 ; i < state - > num_uniform_blocks ; i + + )
{
const glsl_uniform_block * block = state - > uniform_blocks [ i ] ;
if ( hash_table_find ( used_uniform_blocks , block - > name ) )
{
if ( block - > num_vars = = 1 )
{
ir_variable * var = block - > vars [ 0 ] ;
const glsl_type * type = var - > type ;
if ( type - > base_type = = GLSL_TYPE_STRUCT & &
type - > name & &
! strcmp ( var - > name , block - > name ) & &
! strncmp ( type - > name , " anon_struct_ " , 12 ) )
{
hash_table_remove ( used_structures , type ) ;
}
}
}
}
# endif // OPTIMIZE_ANON_STRUCTURES_OUT
for ( unsigned i = 0 ; i < state - > num_user_structures ; i + + )
{
const glsl_type * const s = state - > user_structures [ i ] ;
if ( hash_table_find ( used_structures , s ) = = NULL )
{
continue ;
}
ralloc_asprintf_append ( buffer , " struct %s \n { \n " , s - > name ) ;
if ( s - > length = = 0 )
{
2015-06-18 14:24:11 -04:00
if ( bEmitPrecision )
2015-06-16 14:56:48 -04:00
{
ralloc_asprintf_append ( buffer , " \t highp float glsl_doesnt_like_empty_structs; \n " ) ;
}
else
{
ralloc_asprintf_append ( buffer , " \t float glsl_doesnt_like_empty_structs; \n " ) ;
}
2014-09-25 14:27:21 -04:00
}
else
{
for ( unsigned j = 0 ; j < s - > length ; j + + )
{
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
const glsl_type * field_type = s - > fields . structure [ j ] . type ;
ralloc_asprintf_append ( buffer , " \t %s " , ( state - > language_version = = 310 & & bEmitPrecision & & field_type - > base_type ! = GLSL_TYPE_STRUCT ) ? " highp " : " " ) ;
print_type_pre ( field_type ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " %s " , s - > fields . structure [ j ] . name ) ;
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
print_type_post ( field_type ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " ; \n " ) ;
}
}
ralloc_asprintf_append ( buffer , " }; \n \n " ) ;
}
unsigned num_used_blocks = 0 ;
for ( unsigned i = 0 ; i < state - > num_uniform_blocks ; i + + )
{
const glsl_uniform_block * block = state - > uniform_blocks [ i ] ;
if ( hash_table_find ( used_uniform_blocks , block - > name ) )
{
const char * block_name = block - > name ;
if ( state - > has_packed_uniforms )
{
block_name = ralloc_asprintf ( mem_ctx , " %sb%u " ,
glsl_variable_tag_from_parser_target ( state - > target ) ,
num_used_blocks
) ;
}
ralloc_asprintf_append ( buffer , " layout(std140) uniform %s \n { \n " , block_name ) ;
bool optimized_structure_out = false ;
# ifdef OPTIMIZE_ANON_STRUCTURES_OUT
if ( block - > num_vars = = 1 )
{
ir_variable * var = block - > vars [ 0 ] ;
const glsl_type * type = var - > type ;
if ( type - > base_type = = GLSL_TYPE_STRUCT & &
type - > name & &
! strcmp ( var - > name , block - > name ) & &
! strncmp ( type - > name , " anon_struct_ " , 12 ) )
{
for ( unsigned j = 0 ; j < type - > length ; j + + )
{
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
const glsl_type * field_type = type - > fields . structure [ j ] . type ;
ralloc_asprintf_append ( buffer , " \t %s " , ( state - > language_version = = 310 & & bEmitPrecision & & field_type - > base_type ! = GLSL_TYPE_STRUCT ) ? " highp " : " " ) ;
print_type_pre ( field_type ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " %s " , type - > fields . structure [ j ] . name ) ;
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
print_type_post ( field_type ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " ; \n " ) ;
}
ralloc_asprintf_append ( buffer , " } %s; \n \n " , block - > name ) ;
optimized_structure_out = true ;
}
}
# endif
if ( ! optimized_structure_out )
{
for ( unsigned var_index = 0 ; var_index < block - > num_vars ; + + var_index )
{
ir_variable * var = block - > vars [ var_index ] ;
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
const glsl_type * type = var - > type ;
2014-09-25 14:27:21 -04:00
//EHart - name-mangle variables to prevent colliding names
ralloc_asprintf_append ( buffer , " #define %s %s%s \n " , var - > name , var - > name , block_name ) ;
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
ralloc_asprintf_append ( buffer , " \t %s " , ( state - > language_version = = 310 & & bEmitPrecision & & type - > base_type ! = GLSL_TYPE_STRUCT ) ? " highp " : " " ) ;
print_type_pre ( type ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " %s " , var - > name ) ;
Copying //UE4/Release-Staging-4.14 to //UE4/Dev-Main (Source: //UE4/Release-4.14 @ 3182951)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3182951 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix "play together" invitations handling in PS4 OSS.
- Wrong condition in GetUserWebApiContext. Web API contexts can be created for local users (i.e. FUniqueNetIdPS4 instances with a valid SceUserServiceUserId).
#jira UE-38017
Change 3182892 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix incorrect identity API implementation in PS4 OSS.
- System events directly drive the login state of a user. This also removes the blocking call to sceNpGetState().
- GetAuthToken is only called if the engine calls IOnlineIdentity::Login().
#jira UE-38017
Change 3182767 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix PS4 session invitations.
- Was calling old Web API with SceNpOnlineId where SceNpAccountId is needed.
- Replaced with NpToolkit2's session invitation API.
#jira UE-38020
Change 3182766 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [!] Fix assert in FUniqueNetIdPS4::FindOrCreate. We were assuming an online-only ID could never become a local ID. This isn't the case in the following scenario:
- Two users join a session on two separate PS4s.
- One user signs into the other user's PS4 with the same account, with a second controller. PSN logs him out of the first PS4.
- That user's Net ID has now migrated from being online-only, to local-with-online. This is a case that was not handled.
#jira UE-38017 UE-38020
Change 3182765 on 2016/11/02 by Luke.Thatcher
[RELEASE] [PS4] [~] Additional logging for PS4 OSS "Play Together".
#jira UE-38017 UE-38020
Change 3182633 on 2016/11/01 by Jack.Porter
Fix crash sculpting a landscape with grass that uses the landscape's lightmap, when lighting has not been built
#jira UE-38042
Change 3182332 on 2016/11/01 by Mieszko.Zielinski
Added a sanity check to UNavigationSystem::AddElementToNavOctree to guard agains DirtyElement.NavInterface being null #UE4
#jira UE-37588
Change 3182321 on 2016/11/01 by Dmitry.Rekman
Updated READMEs for 4.14 (UE-38059).
#jira UE-38059
Change 3182231 on 2016/11/01 by Mitchell.Wilson
Adding Is Valid node in Retargeting_WorldInteractionBP to resolve warning.
#jira UE-38079
Change 3182164 on 2016/11/01 by Matt.Kuhlenschmidt
Fix alll collision being disabled if you dont auto-generate a simple hull when importing an FBX
#jira UE-38091
Change 3182017 on 2016/11/01 by Chris.Babcock
Disable glVertexAttribIPointer on PowerVR Rogue
#jira UE-38074
#ue4
#android
Change 3181942 on 2016/11/01 by Mitchell.Wilson
Resolving multiple warnings in CIS for Elemental Demo.
#jira UE-38075
Change 3181941 on 2016/11/01 by Nick.Shin
PhysX Bulid Automation script update
#jira UE-37329 'Compile UE4Game HTML5' - 300 Warnings
Change 3181939 on 2016/11/01 by Ryan.Vance
#jira UE-38072
We need to add a hook that can be called after native present has finished for SteamVR.
PostPresentHandoff should be called when using the interleaved compositor immediately after we've submitted our eye buffers and called present for the mirror window. This unblocks the compositor process so it can do it's re-projection work. Otherwise it will block until we call WaitGetPoses which is a ways into the next frame.
Change 3181849 on 2016/11/01 by Nick.Shin
jukka's (Mozilla) fixes to SSE2 and GL issues for HTML5
jukka's (Mozilla) python scripts to build ThirdParty HTML5 libs
the python scripts will need tweaking - they were moved from their original locations from:
https://github.com/Mozilla-Games/UnrealEngine/commit/fd48bc0e4a5f0278a1c036d2b81036ab1270ad68
the CMakeLists.txt (and one configure.ac) files are defiinitely used from the (bash) shell build script (to build thirdparty libs for HTML5)...
update existing (bash shell script and UE4 c#) build files to use the new "incoming" emsdk
#jira UE-37329 -'Compile UE4Game HTML5' - 300 Warnings
Change 3181848 on 2016/11/01 by Nick.Shin
update compiled ThirdParty HTML5 libs using new emscripten tool chain (CL:#3180924)
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181838 on 2016/11/01 by Nick.Shin
new emscripten tool chain configured by jukka from Mozilla
see Engine/Extras/ThirdPartyNotUE/emsdk/emscripten/incoming/EPIC_VERSION for details on where did this version come from
#jira UE-37329 - //UE4/Main: Step 'Compile UE4Game HTML5' - 300 Warnings
Change 3181611 on 2016/11/01 by Allan.Bentham
Recreate vulkan swapchain after a pause/resume on android.
#jira UE-36454
Change 3181451 on 2016/11/01 by Chris.Wood
CrashReportClient no longer attempts to restart Launcher-run Editors via IPC with the Launcher. They are now restarted directly.
[UE-37794] - Send and Restart from Crash Reporter Opens Project Browser
Launcher can't accept command line args when restarting an application so it can't restart the editor with the right project.
Also fixes broken SlateReflector in CRC (switched off in checked in version)
#jira UE-37794
Change 3181117 on 2016/11/01 by Dmitriy.Dyomin
Fixed: Text Actors not Rendering on Mobile
PowerVR based devices were rendring opaque objects twice
#jira UE-37949
Change 3181102 on 2016/11/01 by Jack.Porter
Fix for editor crash during Landscape sculpting on pressing Ctrl+z (Subdivision enabled in material)
#jira UE-36050
Change 3180851 on 2016/10/31 by Daniel.Wright
Ray Traced Distance Field shadows must be projected last, since they overlap the depth range as Far CSM. Fixes Kite demo medium-distance shadowing.
#jira UE-37793
Change 3180844 on 2016/10/31 by Michael.Trepka
Disabled high-DPI in Mac CrashReportClient
#jira UE-37697
Change 3180803 on 2016/10/31 by Michael.Trepka
Setup Mac Metal layer on the main thread to solve issues with empty game window when showing a separate log window.
#jira UE-37998
Change 3180764 on 2016/10/31 by zachary.wilson
Checkking in content for Lighting scenarios test, currently incomplete but needed for bug repro
#jira UE-29618
Change 3180666 on 2016/10/31 by Dmitry.Rekman
Fix Linux client & server hang when decoding voice chat (UE-36108).
- break out of voice channel while loop if unable to serialize the voice packet data.
- fixed by JoshM
#jira UE-36108
Change 3180428 on 2016/10/31 by Mitchell.Wilson
Rebuilt lighting in all Content Examples levels and saved to resolve warnings.
#jira UE-37880
Change 3180399 on 2016/10/31 by Dmitry.Rekman
Linux: revert to old commandline switch -binnedmalloc (UE-38001).
#jira UE-38001
Change 3180298 on 2016/10/31 by Steve.Robb
Extra information about which class has failed to have its CppStructOps initialized.
#jira UE-37921
Change 3180289 on 2016/10/31 by John.Pollard
Fix crash in FCurlHttpRequest::DebugCallback
+ Specify the string length to FString's constructor as the result from StringCast is not null terminated if the string's length is specified (instead of assuming null termination).
#jira UE-36658
Change 3180200 on 2016/10/31 by Benjamin.Hyder
Updating QA-Materials to include BuiltData
#jira UE-29618
Change 3180173 on 2016/10/31 by Nick.Whiting
Fixing up static analysis warning about array size in GoogleVRHMD code
#jira UE-38007
Change 3180123 on 2016/10/31 by ryan.brucks
#jira UE-35977
hooked up missing transform node inside of newly added function so that it works with variable rotations.
Change 3180108 on 2016/10/31 by Benjamin.Hyder
Updating QA-Effects map to include BuiltData
#jira UE-29618
Change 3180104 on 2016/10/31 by Marc.Audy
Don't recreate the render state if the component got unregistered in the interim.
#jira UE-37968
Change 3180084 on 2016/10/31 by Allan.Bentham
Use glVertexAttribIPointer for ES3.
Enable SupportsTextureMaxLevel for ES3.
ensure GL_HALF_FLOAT is used for vertex half float format on ES3 (instead of GL_HALF_FLOAT_OES)
Fix assert when previewing ES3.1 with PC OpenGL.
#jira UE-37472
Change 3180082 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [-] Back out PS4 OSS warnings filter in UBT output (original CL 3150360).
- We weren't relying on this anyway, since the build machines are filtering based on a perl script (See CL 3151027)
#jira UEPLAT-1424
Change 3180044 on 2016/10/31 by Michael.Trepka
Don't create additional autorelease pool for Metal context on the game thread.
#jira UE-37894
Change 3180023 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to OrionGame in //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179973 on 2016/10/31 by Sam.Deiter
#Jira UEDOC - 3957
#UE4 Docs: Fixing typos in the landscape tutorials for bug UEDOC - 3957
#Code_Review lauren.ridge, jeff.wilson, ian.shadden, wes.bunn, chase.mcallister, robert.gervais
Change 3179930 on 2016/10/31 by Luke.Thatcher
[RELEASE] [PS4] [^] Merge (as edit) PlayStation 4 Online Subsystem refactor for Sony SDK 4.008.061 (CL 3178249) from //UE4/Dev-Platform to //UE4/Release-4.14
Original CL description:
[~] Upgrade PlayStation 4 Online Subsystem to be compliant with Sony's new APIs in SDK 4.008.061.
- Replaced deprecated APIs with new ones.
- Replaced NpToolkit with NpToolkit2.
- Refactor of FUniqueNetIdPS4 and related code. FUniqueNetIdPS4 is now immutable and immovable.
- Added online ID cache system, which calls out to Sony's new ID Mapper Web API.
Contains a breaking change in FUniqueNetId
- FUniqueNetId::ToString() now returns the SceNpAccountId string of a user, rather than the SceNpOnlineId string.
- Custom backends which rely on this string to identify users will need to support SceNpAccountIds, and map them to existing accounts.
#jira UEPLAT-1424
Change 3179539 on 2016/10/31 by Jack.Porter
Fix crash when Toggling Landscape Mode with Hidden Sub-Level containing a Landscape
#jira UE-37954
Change 3179309 on 2016/10/29 by Benjamin.Hyder
Re-Saving Foliage asset in Tm-DistanceFields
#jira UE-29618
Change 3179308 on 2016/10/29 by Benjamin.Hyder
updating AutoLOD settings for foliage example in TM-Shadermodels
#jira UE-29618
Change 3179135 on 2016/10/28 by Chris.Babcock
Only use alternative event flow for Daydream packaged applications
#jira UE-37847
#ue4
#android
Change 3178995 on 2016/10/28 by JohnHenry.Carawon
Adding test content for the World Origin Rebasing feature
#jira UE-29618
Change 3178994 on 2016/10/28 by Chris.Babcock
Disable ARM64 Google Play Games - need new library to fix crash
#jira UE-37972
#ue4
#android
Change 3178955 on 2016/10/28 by Marc.Audy
Don't worry about clearing from world's end of frame update frame if being GC'd
#jira UE-37928
Change 3178921 on 2016/10/28 by Daniel.Wright
[Copy] Scene captures and planar reflections force a scene color alpha channel to be used when they are capturing (does not affect the scene color format for the main views). Fixes planar reflections with r.SceneColorFormat=3.
Setup scissor for scene depth resolves, helps with passes using screenpercentage to reduce resolution. Planar reflection depth resolves .8ms -> .2ms on 970
#jira UE-37970
Change 3178919 on 2016/10/28 by Daniel.Wright
[Copy] Fixed planar reflections in forward shading. The change to disable checkerboard SSS caused scene color alpha to be non-zero for opaque / masked pixels in forward, but there's no SSS pass run later to correct it, since this is the forward rendering path.
#jira UE-37970
Change 3178905 on 2016/10/28 by Max.Chen
Sequencer: Fix fade track instance compile
#jira UE-37939
Change 3178808 on 2016/10/28 by Dmitry.Rekman
Linux: fix crash on exit (UE-37536).
- Base virtual function (PostRun()) was called due to thread being stopped at the moment when the subclass destructor has already run.
#jira UE-37536
(Edigrating 3175651 from Dev-Platform to Release-4.14)
Change 3178707 on 2016/10/28 by Marc.Audy
Fix inverted null check that caused load game from slot to fail if using a BP generated class
#jira UE-37774
Change 3178664 on 2016/10/28 by Alexis.Matte
Fix the fbx automation tests
#jira UE-37960
Change 3178617 on 2016/10/28 by Bart.Hawthorne
Fix issue where changing the world origin in a single player game would try to access the FNetworkPredictionData_Client_Character on character movement components
#jira UE-37692
#tests ran QA game and tested that assert no longer fired in debug
Change 3178615 on 2016/10/28 by Max.Chen
Matinee to Level Sequence: Added interface to extend the matinee to level sequence converter
Copy from Dev-Sequencer
#jira UE-37328
#2864
Change 3178553 on 2016/10/28 by Michael.Trepka
Don't wait for the main thread in FMacWindow::Show()
#jira UE-37915
Change 3178526 on 2016/10/28 by Alexis.Matte
Clean unused material when importing a skeletal mesh. Its possible to have a material reference in a fbx node and not have any face referencing this material.
#jira UE-37923
Change 3178451 on 2016/10/28 by Mitchell.Wilson
Limit the max angle the cannon tower can be rotated when manually aiming.
When max rotation is reached, debug line turns red to be consistent with the arrow tower.
#jira UE-36512
Change 3178420 on 2016/10/28 by Lina.Halper
Fix build issue
#jira: UE-37911
Change 3178390 on 2016/10/28 by mason.seay
Enabling follow on certain notifies to help catch issues
#jira UE-29618
Change 3178325 on 2016/10/28 by Zak.Middleton
#ue4 - (4.14) - Fix crash when player is destroyed and server PlayerController checks to see if it needs to force a network update. Also fix crash when calling ACharacter::SetReplicateMovement when not on the server.
Mirror CL 3178247 and CL 3178256 in Dev-Framework.
#jira UE-37902
Change 3178312 on 2016/10/28 by Max.Chen
Sequencer: Fade only oin the current player context, not on all worlds.
#jira UE-37939
Change 3178267 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178146 on 2016/10/28 by Lina.Halper
#fix crash with thumbnail update when there is no animation, and so on.
#code review: Benn.Gallagher
#jira: UE-37911
Change 3178145 on 2016/10/28 by Matthew.Griffin
Fixed Clean process during a Hot Reload
Prevent engine build products, intermediates and exe/dlls from being deleted during Hot Reload and make sure Hot Reload state is preserved
#jira UE-37616
Change 3178143 on 2016/10/28 by Mitchell.Wilson
Updating BP_Spinning_Logo to stop spinning when disabled instead of finishing the rotation.
#jira UE-36269
Change 3178110 on 2016/10/28 by Mitchell.Wilson
Rebuilt lighting and saved levels.
#jira UE-36913
Change 3178070 on 2016/10/28 by Mitchell.Wilson
Adjusted trigger ragdoll time in shooter character so the character does not appear to float while in death animation.
#jira UE-37124
Change 3178034 on 2016/10/28 by Jon.Nabozny
Add missing Super::Tick call to ATP_TopDownCharacter::Tick.
#jira UE-37914
Change 3178021 on 2016/10/28 by Max.Chen
Sequence Recorder: Disable auto possess player for recorded pawns. This fixes a bug where if you record a third person template character, when you open the sequence, the recorded character will possess the viewport.
Copy from Dev-Sequencer
#jira UE-35342
Change 3177992 on 2016/10/28 by Matt.Kuhlenschmidt
Fix outlined text accumulating error due to measuring the outlines for each text run rather than the entire string
#jira UE-37935
Change 3177981 on 2016/10/28 by Nick.Darnell
UMG - Fixing how the virtual window calculates desired size. It was including scale again, which is fine for SWindow, but isn't what we want on the SVirtualWindow, should probably consider making a new SWindowBase class they can both share in the future.
#jira UE-36861
Change 3177888 on 2016/10/28 by Matthew.Griffin
Back out revision 4 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/InheritableComponentHandler.cpp
Change 3177881 on 2016/10/28 by Matthew.Griffin
Added guards to WITH_EDITOR only static initialisation
Change 3177871 on 2016/10/28 by Matt.Kuhlenschmidt
Fix crash import fbx scenes if objects contain procedural textures (not supported)
#jira UE-37917
Change 3177856 on 2016/10/28 by Matthew.Griffin
Adding THIRD_PARTY_INCLUDES macros around Google VR includes to fix static analysis warnings
Change 3177815 on 2016/10/28 by Graeme.Thornton
Non-editor build fix
#jira UE-37929
Change 3177812 on 2016/10/28 by Graeme.Thornton
Fix for COTF crash with EDL. Manually copied from CL 3174743 in Dev-Core
#jira UE-37810
Change 3177737 on 2016/10/28 by Guillaume.Abadie
Brings over 3141695 and 3173310 from //Odin/Main: Fixes particle collision in the forward renderer.
#jira UE-37927
Change 3177703 on 2016/10/28 by Phillip.Kavan
[UE-37852] Ensure that we create a unique template object in a child class's ICH when overriding an inherited SCS default scene root node.
change summary:
- added UInheritableComponentHandler::SCSDefaultSceneRootOverrideNamePrefix
- modified UInheritableComponentHandler::CreateOverridenComponentTemplate() to special-case SCS default scene root node overrides when determining the new template name
- modified UInheritableComponentHandler::PostLoad() to special-case SCS default scene root node overrides during template name fixup
- modified SSCSEditor::RemoveComponentNode() to skip renaming the component template away from the variable name for the default scene root node, since we don't actually recreate it when it gets re-added
#jira UE-37852
Change 3177600 on 2016/10/27 by Chris.Babcock
Pass through the intent action from splash screen
#jira UE-37925
#ue4
#android
Change 3177436 on 2016/10/27 by Mike.Beach
Guarding against a top crash that could occur when pasting a select node (unknown how) - now using an unchecked accessor to get a specific pin, and guarding again a null (instead of asserting).
#jira UE-37910
Change 3177365 on 2016/10/27 by Daniel.Wright
Fixed access of FPrecomputedLightVolumeData after it has been deleted (causes crash on exit with USE_MALLOC_STOMP enabled)
#jira UE-37903
Change 3177236 on 2016/10/27 by Mitchell.Wilson
Updated UVs on M_FloorTiles1 to resolve precision issues with the material's normal on mobile devices.
Fixed reflection captures in the level and rebuilt lighting.
#jira UE-36624
Change 3177235 on 2016/10/27 by mason.seay
Vehicle Assets
#jira UE-29618
Change 3177036 on 2016/10/27 by Mitchell.Wilson
Inverted throttle control for controller Right Joystick Up, Down, Y-Axis to be consistent with the info from our template wiki
#jira UE-37881
Change 3176996 on 2016/10/27 by mason.seay
Missed node link
#jira UE-29618
Change 3176993 on 2016/10/27 by mason.seay
Test AnimBP for crash
#jira UE-29618
Change 3176992 on 2016/10/27 by Mitchell.Wilson
Adding [EditoronlyBP] to DefaultEditor.ini of projects that were missing it.
#jira UE-37846
Change 3176946 on 2016/10/27 by Alexis.Matte
We recompile the material only if there is a material expression node that ask for a shader recompile when the texture is change with no specified property.
#jira UE-37705
Change 3176939 on 2016/10/27 by Alexis.Matte
Check the pointer before using it
#jira UE-37853
Change 3176927 on 2016/10/27 by mason.seay
Rebuilt Lighting
#jira UE-29618
Change 3176883 on 2016/10/27 by Steve.Robb
Fix for crash when an array property changes while instancing subobjects.
Fix for StrStr running off the end of a non-null-terminated string and a tidy up with TUniquePtr.
Fix for accessing a deleted StaticClass() in FInputBindingEditorModule::ShutdownModule.
#fyi matt.kuhlenschmidt, alex.fennell
#jira UE-37752
Change 3176811 on 2016/10/27 by Chris.Bunner
Rework of previous commit to avoid potential confusion moving forward.
#jira UE-37424
Change 3176783 on 2016/10/27 by Chris.Bunner
Default scalability settings to Epic, not Cinematic.
Duplicated default render resolution scale fix (CL 3170020).
#jira UE-37424
Change 3176692 on 2016/10/27 by Mike.Beach
Fixing up a mistake where we weren't reading all [EditoronlyBP] settings (which are now deprecated). Was causing certain settings to default to off, and caused an inaccurate deprecation warning.
#jira UE-37848
Change 3176635 on 2016/10/27 by mason.seay
Setting up skeleton for retargeting testing
#jira UE-29618
Change 3176586 on 2016/10/27 by Marcus.Wassmer
Fix crash on D3D12 editor when selecting objects
#jira UE-37861
Change 3176479 on 2016/10/27 by Robert.Manuszewski
Fix for a rare crash when loading into Orion match. Made sure the Skeleton asset is loaded before PostLoad is called on it.
#jira UE-37297
#jira UE-37711
Change 3176107 on 2016/10/27 by Phillip.Kavan
[UE-37690] AddComponent node template names now use a counter to avoid a potential component data cache mismatch with an existing instance of an old AddComponent node template.
change summary:
- added UBlueprint::ComponentTemplateNameIndex as a way to to map component class names to an incremental counter (saved).
- UK2Node_AddComponent::MakeNewComponentTemplateName() is now public, non-static, and uses an internal index map to generate unique component template names.
#jira UE-37690
Change 3176105 on 2016/10/27 by Phillip.Kavan
[UE-37686] Fix naming for archetype objects associated with new AddComponent nodes.
change summary:
- switched UK2Node_AddComponent::MakeNewComponentTemplateName() to be a public API.
- modified UBlueprintComponentNodeSpawner::Invoke() to call UK2Node_AddComponent::MakeNewComponentTemplateName() in place of MakeUniqueObjectName().
- modified UBlueprintGeneratedClass::FindArchetype() to better handle old AddComponent node template names. These were based on the UClass display name, and thus it was possible for the non-index form of that FName to collide with SCS variable names after the initial switch to use the non-indexed (base) FName for archetype matching in all cases. As a result I've reverted back to using the given ArchetypeName value for the SCS variable case.
#jira UE-37686
Change 3176009 on 2016/10/26 by Dmitriy.Dyomin
Fixed: Editor crash on changing sub-level visbility under certain conditions
#jira UE-34740
Change 3175807 on 2016/10/26 by Daniel.Wright
Fixed the editor thinking a lighting build is still active after you discard the results from one
#jira UE-37834
Change 3175777 on 2016/10/26 by Jon.Nabozny
#jira UT-6263
Fix crash when running ServerTravel on a client
Dupe of CL #3175731 on UT, checked in on behalf of ben.zeigler
Change 3175695 on 2016/10/26 by Ryan.Gerleve
Don't clear level collections in UWorld::CleanupWorld unless bCleanupResources is true.
#jira UE-37336
Change 3175628 on 2016/10/26 by Chad.Garyet
Added -Build vstream from 4-14 to allow checkins from physx
altered build script and json to reflect new changes
#JIRA UE-37085
Change 3175612 on 2016/10/26 by Martin.Wilson
Fix crash when running an in-editor cook on the fly server with unsaved virtual bone changes
#jira UE-37785
Change 3175552 on 2016/10/26 by Brian.Karis
Twinblast bust changes
#jira UE-0
Change 3175543 on 2016/10/26 by Marc.Audy
Allow audio thread on PS4 to use 7th core as opposed to being pinned to it
#jira OR-30447
Change 3175538 on 2016/10/26 by Matt.Kuhlenschmidt
Fixed a crash when clicking Apply when using the Brush Clip tool
#jira UE-37838
Change 3175502 on 2016/10/26 by Mitchell.Wilson
Enabled modulated shadows on lights in rolling template levels.
#jira UE-37047
Change 3175485 on 2016/10/26 by mason.seay
Test Map for virtual bones
#jira UE-29618
Change 3175469 on 2016/10/26 by mason.seay
Test assets for Virtual Bones testing
#jira UE-29618
Change 3175428 on 2016/10/26 by Marc.Audy
Possibly fix crash in Autosave due to dereferencing a world pointer which is freed memory
#jira UE-37590
Change 3175414 on 2016/10/26 by Michael.Trepka
Fixed mouse position calculations for secondary monitors on Mac
#jira UE-37822
Change 3175382 on 2016/10/26 by Yannick.Lange
VR Editor: - Fix: Landscape UI Elements are not visible #jira UE-36843
- Fix: First-time switch to Landscape tab in VREditor causes UI Errors #jira UE-37410
- Fix: Enabling Foilage Mode in VR Editor breaks the pointer #jira UE-37214
- Fix: Landscape sculpting when attempting to move menu panels in VREditor #jira UE-37581
#jira UE-36843 #jira UE-37410 #jira UE-37214 #jira UE-37581
Change 3175349 on 2016/10/26 by Chad.Garyet
Changing physx build agents to compile workspaces instead of full ones
#JIRA UE-37085
Change 3175267 on 2016/10/26 by Martin.Wilson
Fix retarget crash
#jira UE-37781
Change 3175205 on 2016/10/26 by Rolando.Caloca
UE4.14 - Remove erroneus assert
#jira UE-37584
Change 3175188 on 2016/10/26 by Chris.Babcock
Fix out of spec GLSL operations (contributed by JeffRous)
#jira UE-37800
#PR #2886
#ue4
#android
Change 3175156 on 2016/10/26 by Mitchell.Wilson
Adding missing iOS app icons to SunTemple project
#jira UE-36991
Change 3175095 on 2016/10/26 by Daniel.Wright
Fixed stationary skylight reflections using an inverted mask on materials without high quality reflections with Forward Shading
#jira UE-37783
Change 3175075 on 2016/10/26 by Daniel.Wright
[Copy] Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
#jira UE-36497
Change 3175050 on 2016/10/26 by Jamie.Dale
FTextRenderComponentMIDCache now marks MIDs as stale when the font parameters available in the parent material changes
#jira UE-37819
Change 3175039 on 2016/10/26 by Daniel.Wright
Fixed Duplication mode
#jira UE-37231
Change 3174996 on 2016/10/26 by Mitchell.Wilson
Removing [EditoronlyBP] changes made to DefaultEditor.ini. EDL is now disabled by default in ShooterGame.
#jira UE-37648
Change 3174987 on 2016/10/26 by Jon.Nabozny
Fix crash when moving InstancedStaticMeshComponent in editor when it had no mesh set, but had instances.
#jira UE-37594
Change 3174803 on 2016/10/26 by Ori.Cohen
Fix world origin shifting causing a crash inside physx.
#JIRA UE-37745
Change 3174776 on 2016/10/26 by Allan.Bentham
Work around broken depth reads on Galaxy S4.
#jira UE-35481
Change 3174723 on 2016/10/26 by Robert.Manuszewski
Changing the criteria for UBL to ignore the event driven loader flag to IsEngineInstalled() just like at runtime.
#jira UE-37617
Change 3174650 on 2016/10/26 by Matthew.Griffin
Ensured that Online Subsystem Oculus plugin is precompiled successfully for Android
Change 3174644 on 2016/10/26 by Matthew.Griffin
Fixing GoogleVR compile issues
Change 3174352 on 2016/10/25 by Daniel.Wright
Rename map build data along with the world - fixes lighting lost on map rename / save as.
Duplicate map build data along with the world - fixes lighting lost on map duplicate in the content browser, or save as when the source already exists.
Save map build data packages in SaveWorld - fixes lighting being lost on save as.
#jira UE-37231
Change 3174335 on 2016/10/25 by Chris.Babcock
Corrected Proguard issue with Codeworks for Android 1R5 installers
#jira UE-37680
#ue4
#android
Change 3174318 on 2016/10/25 by Marcus.Wassmer
Duplicate 3174187
#jira UE-37020
Change 3174263 on 2016/10/25 by patrickr.donovan
Test content updates and additions. Lighting Channel map added to TM-VRLoader.
#jira UE-29618
Change 3174120 on 2016/10/25 by Daniel.Wright
UObject::PostDuplicate with DuplicateMode
* Allows differentiating between being duplicated as part of a world duplication vs duplication within a level
* This is needed when generating a guid that needs to be unique within a level, but constant across instances of that level, like a light component
#jira UE-37231
Change 3174113 on 2016/10/25 by Daniel.Wright
Fixed log spam
#jira UE-37522
Change 3174010 on 2016/10/25 by Jamie.Dale
Fixed several crashes in the Session Frontend when viewing profiles
- SFiltersAndPresets wasn't being cleared when the profile data was changed back to a live instance.
- SFiltersAndPresets could crash if it was updated when no profile was selected.
- SDataGraph could cause a crash if you clicked on it when there was no data (passed a range of -1, 0).
- A session update message would clobber any loaded profile data, resetting to the current instance.
#jira UE-37597
Change 3173982 on 2016/10/25 by mason.seay
Deleting unneeded asset
#jira UE-29618
Change 3173912 on 2016/10/25 by Ori.Cohen
Fix divide by 0 crash when torque curve is 0
#JIRA UE-37737
Change 3173866 on 2016/10/25 by Ben.Marsh
Remove setting forcing UnrealCEFSubProcess to compile using Visual Studio 2013.
#jira UE-37678
Change 3173824 on 2016/10/25 by Ben.Marsh
Fix trying to recompile UBT in Rocket builds when cleaning a build target.
#jira UE-37616
Change 3173812 on 2016/10/25 by Nick.Darnell
XBoxOne - The Vertex and Index buffers are now allocated with the right nextwriteoffset to prevent stomping old data on future writes.
#jira UE-37757
Change 3173808 on 2016/10/25 by Ben.Marsh
Fix batch files detecting MSBuild install locations for Visual Studio "15" preview 5.
#jira UE-37627
Change 3173711 on 2016/10/25 by Ori.Cohen
Fix linux compiler issues for physx
#JIRA UE-37085, UE-37114, UE-37116
Change 3173704 on 2016/10/25 by James.Cobbett
Import test assets for Alembic Conversion test
#jira UE-29618
Change 3173694 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed Zip project not working in binary builds
#jira UE-37655
Change 3173692 on 2016/10/25 by James.Cobbett
Test content for Alembic Conversion options
#jira UE-29618
Change 3173666 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed array refreshing in the details panel not functioning properly for sub-object properties
#jira UE-37652
Change 3173619 on 2016/10/25 by Robert.Manuszewski
Making the cooker ignore EDL ini setting in binary engine build.
#jira UE-37617
Change 3173616 on 2016/10/25 by Nick.Whiting
Merging update to Google VR 1.01 SDK, which fixes multiple initialization errors
#jira UE-37440, UE-37236
Change 3173606 on 2016/10/25 by Jamie.Dale
Removed invalid assert
We're already passed the collection to modify, so the assert isn't needed.
#jira UE-37761
Change 3173604 on 2016/10/25 by Keli.Hlodversson
Work around an issue where the SteamVR plugin will fail to initialize if SteamVR was not already running before launching.
#jira UE-37623
Change 3173502 on 2016/10/25 by Matt.Kuhlenschmidt
Fixed more cases of undoing causing selections to become out of sync
#jira UE-37300
Change 3173475 on 2016/10/25 by Ori.Cohen
Critical 4.14 physx fixes
#JIRA UE-37085, UE-37114, UE-37116
Change 3173445 on 2016/10/25 by Robert.Manuszewski
Disabling the Event Driven Loader in ShooterGame. Making sure the EDL can't be enabled in binary engine distributions.
#jira UE-37394
Change 3173401 on 2016/10/25 by Matt.Kuhlenschmidt
Guard against crashes when textures or materials are explicitly marked as pending kill and then passed to slate for rendering
#jira UE-36261
Change 3173245 on 2016/10/25 by Allan.Bentham
Remove incorrect assert.
#jira UE-37699, UE-37707
Change 3173232 on 2016/10/25 by Jurre.deBaare
Post Processing Settings do not update in Persona when the values are changed in Preview Scene Settings
#fix make sure we also pick up vector4 fields
#jira UE-37656
Change 3173183 on 2016/10/25 by Matthew.Griffin
Added Shipping configs to BootstrapPackagedGame (Duplicating CL#3150210 from Main)
Change 3173065 on 2016/10/25 by Dmitriy.Dyomin
Fixed: Disabling 'Use Landscape Lightmap' option Skewing Procedural Foliage Instances
#jira UE-37736
Change 3172929 on 2016/10/24 by Ryan.Vance
#jira UE-37742
Adding SceneViewExtension hooks that are called right after init views completes. It might be advantageous to do the work we're currently doing in PreRenderViewFamily_RenderThread and PreRenderView_RenderThread after init views is called with the way SteamVR's running start is implemented.
Change 3172915 on 2016/10/24 by Rolando.Caloca
UE4.14 - Fix compile issues on CCT
#jira UE-37722
Change 3172762 on 2016/10/24 by Brian.Karis
#jira UE-37369
Change 3172742 on 2016/10/24 by Daniel.Lamb
Fixed issue with file-> cook error when you haven't built the exe which you are trying to cook for.
#jira UE-36796
#test Cook shootergame
Change 3172690 on 2016/10/24 by Maciej.Mroz
DynamicClass gives now, as componet-archetype, objects with non-exact name.
Manually merged cl#3171563
#jira UE-37480
Change 3172663 on 2016/10/24 by Daniel.Lamb
Stopped cooker from handling modification requests when they are PIE requests.
#test PIE shootergame
#jira UE-21572
Change 3172629 on 2016/10/24 by Mitchell.Wilson
Reconnected some material functions to resolve warnings which caused characters to render with default materials, and resolving 'Top Material' warnings.
Reimported SM_GodRay_Plane to resolve PhysX warning
Rebuilt lighting for the level.
#jira UE-37728
Change 3172523 on 2016/10/24 by Nick.Shin
update physx cmakefiles and automation build scripts for release-414 stream (as per request)
#jira UEFW-106 Add HTML5 support to PhysX CMake & automation scripts
Change 3172515 on 2016/10/24 by Nick.Shin
remove old emsdk (1.35.0)
#jira UEPLAT-1324 Update HTML5 PhysX to CMake
Change 3172511 on 2016/10/24 by Mark.Satterthwaite
Don't set Metal resource option fields on texture descriptors when running on an OS that doesn't support them.
#jira UE-37481
Change 3172461 on 2016/10/24 by Cody.Albert
Added check for pointer validity to prevent crash in ShooterGame
#jira UE-37433
Change 3172329 on 2016/10/24 by Peter.Sauerbrei
fix for remote notification method misspelling
#jira ue-37720
Change 3172322 on 2016/10/24 by Marc.Audy
Fix unreferenced variable the brute force to unblock QA
#jira UE-37718
Change 3172191 on 2016/10/24 by Mitchell.Wilson
Clearing preivew meshes on some materials to resolve warnings.
#jira UE-37713
Change 3172186 on 2016/10/24 by Matt.Kuhlenschmidt
Fix non-editor compile error
#jira UE-37695
Change 3172159 on 2016/10/24 by Dmitry.Rekman
Update GitDependencies.exe (UE-37530).
- Binary needs to be updated to support LINUX_MULTIARCH_ROOT variable.
#jira UE-37530
Change 3172132 on 2016/10/24 by Keith.Judge
Xbox One - Fix corrupted screenshots. Needed a GPU/CPU sync point, which legacy D3D11.x used to do for us, but now we have to do manually. Copied from Dev-Platform CL 3156872
#jira UE-37038
Change 3172131 on 2016/10/24 by Keith.Judge
Xbox One - Disable engine analytics on XB1 shipping games, as per XRs. Verified http requests from devkit with Fiddler. Copied from CL 3153176 in Dev-Platform.
#jira UE-36364
Change 3172106 on 2016/10/24 by Mitchell.Wilson
Updated reference to a material in VehicleMenu.umap to resolve warning
#jira UE-29748
Change 3172036 on 2016/10/24 by Steve.Robb
TEnumAsByte can be switchably deprecated for enum classes, and is currently not deprecated (reverting a change in behavior).
#jira UE-37706
Change 3172020 on 2016/10/24 by Marc.Audy
Child Actor should be created at registration, not creation. Otherwise attachment hierarchies can not be set up and thus, world positions incorrect
#jira UE-37615
Change 3171966 on 2016/10/24 by Dmitry.Rekman
Linux: fix Setup.sh on Ubuntu 16.10 (UE-37621)
#jira UE-37621
(Edigrating 3171266 from Dev-Platform to Release-4.14)
Change 3171964 on 2016/10/24 by Dmitry.Rekman
Linux: fix always rebuilding FixDeps (UE-37625).
#jira UE-37625
(Edigrating 3153471 from Dev-Platform to Release-4.14)
Change 3171957 on 2016/10/24 by Matt.Kuhlenschmidt
Guard against property editor crash happening when focused is lost on an object which has been GC'd due to PIE running
#jira UE-37636
Change 3171943 on 2016/10/24 by Matt.Kuhlenschmidt
Added mesh simplifcation plugin picker to the project settings under Editor - Mesh Simplification
The menu to pick simplification plugins also contains a link to find other plugins in the launcher marketplace. The launcher navigates to "/ue/marketplace/content-cat/assets/codeplugins" for now
#jira UE-37695
Change 3171928 on 2016/10/24 by Max.Chen
Sequencer: Revert CL#3162724. Fix time dilation in level sequence player because it's causing a regression. Will revisit the fix for UE-37277.
#jira UE-37589
Change 3171924 on 2016/10/24 by James.Cobbett
Test content 'preroll.abc'. Has empty frames at the start of animation. For alembic importer testing.
#jira UE-29618
Change 3171867 on 2016/10/24 by Lina.Halper
- Back out revision 2 from //UE4/Release-4.14/Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp
- Empties override materials before setting preview mesh in animation editor
#jira: UE-37610
#code review: Thomas.Sarkanen
Change 3171789 on 2016/10/24 by Allan.Bentham
Resolve depth on appropriate mobile devices when the view contains materials that read from the depth.
#jira UE-35023
Change 3171776 on 2016/10/24 by Robert.Manuszewski
Increasing the initial memory allocation size for FLargeMemoryWriter to reduce the number of allocations when saving or cooking
#jira UE-37599
Change 3171728 on 2016/10/24 by Dmitriy.Dyomin
Fix origin rebasing to work with precomputed lighting data stored in separate package
#jira UE-37693
Change 3171634 on 2016/10/24 by Dmitriy.Dyomin
Added commenets to 3171621
#jira UE-36449
Change 3171621 on 2016/10/23 by Dmitriy.Dyomin
Fixed: Editor crash when compiling the character blueprint after a PIE session with World Composition enabled
Actually disabled use of world composition with multiplayer PIE using separate processes
#jira UE-36449
Change 3171424 on 2016/10/22 by Jack.Porter
Remove unused exec command causing logspam
#jira UE-37661
Change 3171259 on 2016/10/21 by Ryan.Vance
Mobile multi-view update
#jira UE-37603
Removed dependence on shader name for determining if we need to enable multi-view, now relies on the presence of gl_ViewID_OVR
Worked around unsigned/signed integer driver issues. Some shader compilers were choking on the unsigned postfix
Attempted to clean up some of the code duplication in MobileBasePassRendering.cpp
Made a few design concessions which allows the feature to run on Mali devices in the wild right now:
Allow the feature to be enabled with ES2 rather than just ES3.1. Mali drivers have a bug preventing shader io blocks and multi-view from working together
Passing the view id from the vertex shader. Mali devices don't allow referencing gl_ViewID_OVR in a pixel shader
Change 3171165 on 2016/10/21 by Peter.Sauerbrei
revert out the memory changes for platform file cache for mobile
#jira UE-36835
Change 3171112 on 2016/10/21 by Matt.Barnes
Updating TM-Material_BP_Nodes to facilitate test UEQATC-2969.
#jira UEQATC-2969
Change 3171111 on 2016/10/21 by Mike.Beach
Mirroring CL 3171084 form Dev-BP
Guarding against a unrepro'able top-10 crash in SGraphPin. Making sure we're not operating on a null/pending-kill/transient pin.
#jira UE-37642
Change 3170980 on 2016/10/21 by patrickr.donovan
Motion controller test content update - further updates to combat thumbstick noise.
#jira UE-29618
Change 3170965 on 2016/10/21 by Mitchell.Wilson
Moved panner in M_Frame3_BG material to Custom UV0 to resolve issue with material rendering white on tvOS
#jira UE-37105
Change 3170905 on 2016/10/21 by Marc.Audy
Fix AActor::Serialize crash if a null in the owned components array
#jira UE-37641
Change 3170838 on 2016/10/21 by Ben.Woodhouse
Integrate crash fix from main CL3162008
Fix for crash in GPU profiler. This was caused by the RHIThread getting too far behind the renderthread. This change adds a fence wait on the renderthread in RHIEndDrawingViewport to ensure that the renderthread is never more than a frame ahead.
#jira UE-37216
Change 3170815 on 2016/10/21 by Jamie.Dale
Fixed a potential race-condition in FTextRenderComponentMIDCache, and updated it to detect "stale" MIDs
FMIDData was shared between the game and render threads, but used non-thread-safe shared pointers.
This also marks MIDs as "stale" if the number of MIDs no longer matches the number of pages in the font (which may happen if the font is edited). These "stale" MIDs are kept as a weak pointer in a separate array so that we can still keep the MID object alive as long as something is still using it (as it may still be used by a FTextRenderSceneProxy for a short while). This array of weak pointers is purged of unreferenced instances during the normal cache purge cycle.
#jira UE-37519
Change 3170784 on 2016/10/21 by Mitchell.Wilson
Changing a material in TM-Reflections level
#jira UE-29618
Change 3170668 on 2016/10/21 by Mitchell.Wilson
Updated defaulteditor.ini to resolve cook failure for UBlueprint.
#jira UE-37648
Change 3170595 on 2016/10/21 by Chris.Wood
Added "Vanilla" Editor detection and reporting it to analytics, MTBF and Crash Reporter.
[UE-37132] - Detect "Vanilla" Editor and report it to MTBF analytics and Crash Reporter
#jira UE-37132
Change 3170395 on 2016/10/21 by Robert.Manuszewski
UBT will now respect -remoteini command line param when looking for ini files for build settings. Fixes a crash when launching BP-only project from the Editor with EDL enabled.
#jira UE-37617
Change 3170367 on 2016/10/21 by Allan.Bentham
Prevent overflow of bright pixels during DoF calc.
#jira UE-31755
Change 3170363 on 2016/10/21 by Robert.Manuszewski
Fixing crashes when cancelling async loading
#jira UE-37634
Change 3170362 on 2016/10/21 by Robert.Manuszewski
Fixing MallocBinned2 crashes on 32-bit platforms.
#jira UE-37326
Change 3170280 on 2016/10/21 by Jack.Porter
Fix for landscape not rendering in Player Collision view mode after toggling G.
#jira UE-37576
Change 3170202 on 2016/10/21 by Dmitriy.Dyomin
Fixed: CustomDepth is incorrect when used in Custom PostProcess after Tonemapping
#jira UE-37628
Change 3170160 on 2016/10/20 by Aaron.McLeran
#jira UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Implementing CL 3169422 in 4.14
Change 3170029 on 2016/10/20 by Aaron.McLeran
#jira UE-37004
#jira UE-37005
Fixing stat soundwaves
Implementing 3154264 from Dev-Framework
Change 3170024 on 2016/10/20 by Aaron.McLeran
#jira UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Implementing the CL from Dev-Framework
Change 3169869 on 2016/10/20 by Arne.Schober
duplicated:
CL 3169845
#jira UE-35937
Change 3169810 on 2016/10/20 by Steve.Cano
Moving change from CL 3169642 to 4.14 - fix a library issue that was causing Kindle Fire 1st edition to crash when trying to run QA game, may be causing issues on other devices as well
#ue4
#android
#jira UE-22440
Change 3169635 on 2016/10/20 by Mike.Beach
Mirroring CL 3169443 from Dev-BP
Deprecating the [EditoronlyBP] config settings (which are super old, and support legacy functionality, allowing users to export editor-only UBlueprint objects on cook). This is in support of the new event-driven loader (EDL), which is incompatible with these exports. We will be removing support for these settings promptly in 4.15 (hence the choice to deprecate them for 4.14).
#jira UE-37605
Change 3169618 on 2016/10/20 by Mitchell.Wilson
rebuilt lighting for all levels in Content Examples
#jira UE-37570
Change 3169447 on 2016/10/20 by Peter.Sauerbrei
fix for double quotes causing arguments to not be sent correctly to rsync
#jira UE-37018
Change 3169362 on 2016/10/20 by tim.gautier
Updated TM-UMG Level Blueprint - mouse-clicks outside of UMG assets no longer take focus from the set Display Widget
#jira abc-123
Change 3169244 on 2016/10/20 by Chris.Babcock
Update to new CodeWorks for Android 1R5
#jira UE-37554
#ue4
#android
Change 3169240 on 2016/10/20 by Jon.Nabozny
#rn Fixup GameModeClassAliases in Engine.ini files. These must be prefixed with either /Game/ or /Script/ otherwise the asset may fail to resolve and an empty name will be used instead (and cause weird behavior).
#jira UE-37488
Change 3169155 on 2016/10/20 by Peter.Sauerbrei
fix for incorrect characters in bundle id when project has underscores in the name
#jira UE-36436
Change 3169127 on 2016/10/20 by Allan.Bentham
Fix android vulkan compile error with dev builds
#jira abc-123
Change 3169058 on 2016/10/20 by Allan.Bentham
Flush command buffer during init to fix vulkan crash when rendering thread is enabled.
Fix FDeferredDeletionQueue's resource handle storage on 32 bit platforms.
#jira UE-36452
Change 3169049 on 2016/10/20 by Peter.Sauerbrei
fix for minimum ios version in base ini file
#jira UE-37034
Change 3168910 on 2016/10/20 by Jack.Porter
Fix occasional race condition crash in FTcpMessageTransportConnection on editor shutdown
#jira UE-36944
Change 3168906 on 2016/10/20 by Dmitriy.Dyomin
Fixed: Black rendering on Galaxy S4 PowerVR
#jira UE-37567
Change 3168858 on 2016/10/20 by Richard.TalbotWatkin
Made BSP rendering more robust so that out-of-range array accesses trigger an 'ensure' rather than a crash (with a view to identifying the cause of this issue). Also fixed non-editor builds.
#jira UE-37267 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::GetDynamicMeshElements() [modelrender.cpp:322]
Change 3168826 on 2016/10/20 by Richard.TalbotWatkin
Duplicated from //UE4/Dev-Editor, CL 3156473
Attempt to make geometry render / rebuild more robust in the hope of catching UE-36265.
#jira UE-36265 - [CrashReport] UE4Editor_Engine!FModelSceneProxy::HasSelectedSurfaces() [modelrender.cpp:538]
Change 3168335 on 2016/10/19 by Michael.Trepka
Restored previous version of FMacWindow::IsPointInWindow function to solve issues with window dragging.
#jira UE-37418
Change 3168307 on 2016/10/19 by Rolando.Caloca
UE4.14 - Integrate changes from 3051720 and 3057522
[RENDERING] [!]
Revert fix in GPU skin cache (original CL 2722034)
- Waiting on shader compilation with the GPU skin update will destroy/recreate render state, causing a crash in the GPU skin cache.
#jira UE-37545
Change 3168201 on 2016/10/19 by Peter.Sauerbrei
fix for urls with queries not working correctly
#jira UE-35090
Change 3168200 on 2016/10/19 by Mitchell.Wilson
Re-saved multiple cloth assets to resolve building adjacency information warnings.
Replaced deprecated SetText and GrabComponent blueprint nodes with new SetText and GrabComponentAtLocation.
Re-saved multiple assets to resolve empty engine version warnings.
#jira UE-37537
Change 3168174 on 2016/10/19 by Alan.Noon
#jira UE-37534
deleted unnecessary files from Photorealistic Character project
Change 3168160 on 2016/10/19 by Arne.Schober
duplicated:
fixes for velocity render pass
CL 3166370
CL 3166799
#jira UE-37362
Change 3168136 on 2016/10/19 by Alan.Noon
#jira UE-37534
Initial add of Photorealistic Character Sample project
Change 3168127 on 2016/10/19 by Peter.Sauerbrei
fix for IOS_7 not being found
#jira UE-37034
Change 3167886 on 2016/10/19 by patrickr.donovan
#jira UE-37242
TLDR; Test content updates.
Bug entered due to finicky hardware returning noise values that weren't accounted for in test contet. Fortified test content against this edge case, no code change necessary.
Change 3167882 on 2016/10/19 by samuel.proctor
Updating asset for Profiler Heatmap testing
#jira UE-29618
Change 3167868 on 2016/10/19 by Dmitry.Rekman
Linux: disable XGE on Windows (UE-37446).
- XGE does not seem to handle new clang 3.9.0 toolchain well, with very reproducible crashes.
Also fix build breakage with clang 3.8.1.
- always_inline was still applied to debug builds and as such was ignored.
#jira UE-37446
(Edigrating CL 3166330, 3166456 from Dev-Platform to Release-4.14)
Change 3167832 on 2016/10/19 by Mitchell.Wilson
Reconnected 'TopMaterial' in multiple materials to resolve warnings.
Rebuilt lighting and saved levels.
#jira UE-37529 UE-37535
Change 3167688 on 2016/10/19 by Mitchell.Wilson
Removing preview mesh from multiple materials to resolve warnings.
Rebuilt lighting and saved all levels.
#jira UE-29678 UE-37526
Change 3167616 on 2016/10/19 by Marc.Audy
Fix reversed logic checking for an Actor after a cast was supposed to have failed, broken in CL 2695656.
#jira UE-37517
Change 3167585 on 2016/10/19 by Jamie.Dale
Re-enabled all-cultures upload to OneSky so we prime translations correctly
#jira UE-37518
Change 3167579 on 2016/10/19 by Jamie.Dale
Fixed text render component regression with custom MIDs
#jira UE-37305
Change 3167501 on 2016/10/19 by Matt.Kuhlenschmidt
Fixed realtime rendering in editor viewport being disabled when simulating in editor
#jira UE-37466
Change 3167498 on 2016/10/19 by Mitchell.Wilson
Re-saving multiple blueprints with nodeguid warnings.
Cleared preview mesh for materials with string asset reference warnings.
Rebuilt lighting and added _BuildData to resolve lighting rebuild warnings.
#jira UE-30840
Change 3167492 on 2016/10/19 by Matt.Kuhlenschmidt
Fix for disappearing menus in lastest windows 10 build
#jira UE-36752
Change 3167311 on 2016/10/19 by Mieszko.Zielinski
Fixed EQS template cache issues with multiple query run modes #UE4
#jira UE-37496
Change 3167206 on 2016/10/19 by Matthew.Griffin
Moved Github promotion earlier in build script and added 'After' dependencies so that we can guarantee the order of the nightly build/prevent unimportant jobs from running before binary build is completed
Change 3167205 on 2016/10/19 by Matthew.Griffin
Changed CommandUtils.UnzipFiles to use system unzip tool when running on mono, as there has been issues with Ionic not being able to decompress those created by the zip tool
Change 3167010 on 2016/10/19 by Dmitriy.Dyomin
Fix for LevelStreaming getting stuck, and World->PersistentLevel null assert
Contributed by Funcom: https://udn.unrealengine.com/questions/312900/fix-for-levelstreaming-getting-stuck-and-world-per.html
#jira UE-36397
[CL 3189774 by Matthew Griffin in Main branch]
2016-11-08 02:45:19 -05:00
print_type_post ( type ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " ; \n " ) ;
}
ralloc_asprintf_append ( buffer , " }; \n \n " ) ;
}
num_used_blocks + + ;
}
}
}
void PrintPackedSamplers ( _mesa_glsl_parse_state : : TUniformList & Samplers , TStringToSetMap & TextureToSamplerMap )
{
bool bPrintHeader = true ;
bool bNeedsComma = false ;
for ( _mesa_glsl_parse_state : : TUniformList : : iterator Iter = Samplers . begin ( ) ; Iter ! = Samplers . end ( ) ; + + Iter )
{
glsl_packed_uniform & Sampler = * Iter ;
2015-12-10 16:56:55 -05:00
FCustomStdString SamplerStates ( " " ) ;
2014-09-25 14:27:21 -04:00
TStringToSetMap : : iterator IterFound = TextureToSamplerMap . find ( Sampler . Name ) ;
if ( IterFound ! = TextureToSamplerMap . end ( ) )
{
TStringSet & ListSamplerStates = IterFound - > second ;
check ( ! ListSamplerStates . empty ( ) ) ;
for ( TStringSet : : iterator IterSS = ListSamplerStates . begin ( ) ; IterSS ! = ListSamplerStates . end ( ) ; + + IterSS )
{
if ( IterSS = = ListSamplerStates . begin ( ) )
{
SamplerStates + = " [ " ;
}
else
{
SamplerStates + = " , " ;
}
SamplerStates + = * IterSS ;
}
SamplerStates + = " ] " ;
}
ralloc_asprintf_append (
buffer ,
" %s%s(%u:%u%s) " ,
bNeedsComma ? " , " : " " ,
Sampler . Name . c_str ( ) ,
Sampler . offset ,
Sampler . num_components ,
SamplerStates . c_str ( )
) ;
bNeedsComma = true ;
}
/*
for ( TStringToSetMap : : iterator Iter = state - > TextureToSamplerMap . begin ( ) ; Iter ! = state - > TextureToSamplerMap . end ( ) ; + + Iter )
{
2015-12-10 16:56:55 -05:00
const FCustomStdString & Texture = Iter - > first ;
2014-09-25 14:27:21 -04:00
TStringSet & Samplers = Iter - > second ;
if ( ! Samplers . empty ( ) )
{
if ( bFirstTexture )
{
bFirstTexture = false ;
}
else
{
ralloc_asprintf_append ( buffer , " , " ) ;
}
ralloc_asprintf_append ( buffer , " %s( " , Texture . c_str ( ) ) ;
bool bFirstSampler = true ;
for ( TStringSet : : iterator IterSamplers = Samplers . begin ( ) ; IterSamplers ! = Samplers . end ( ) ; + + IterSamplers )
{
if ( bFirstSampler )
{
bFirstSampler = false ;
}
else
{
ralloc_asprintf_append ( buffer , " , " ) ;
}
ralloc_asprintf_append ( buffer , " %s " , IterSamplers - > c_str ( ) ) ;
}
ralloc_asprintf_append ( buffer , " ) " ) ;
}
}
*/
}
bool PrintPackedUniforms ( bool bPrintArrayType , char ArrayType , _mesa_glsl_parse_state : : TUniformList & Uniforms , bool bFlattenUniformBuffers , bool NeedsComma )
{
bool bPrintHeader = true ;
for ( glsl_packed_uniform & Uniform : Uniforms )
{
if ( ! bFlattenUniformBuffers | | Uniform . CB_PackedSampler . empty ( ) )
{
if ( bPrintArrayType & & bPrintHeader )
{
ralloc_asprintf_append ( buffer , " %s%c[ " ,
NeedsComma ? " , " : " " ,
ArrayType ) ;
bPrintHeader = false ;
NeedsComma = false ;
}
ralloc_asprintf_append (
buffer ,
" %s%s(%u:%u) " ,
NeedsComma ? " , " : " " ,
Uniform . Name . c_str ( ) ,
Uniform . offset ,
Uniform . num_components
) ;
NeedsComma = true ;
}
}
if ( bPrintArrayType & & ! bPrintHeader )
{
ralloc_asprintf_append ( buffer , " ] " ) ;
}
return NeedsComma ;
}
void PrintPackedGlobals ( _mesa_glsl_parse_state * State )
{
// @PackedGlobals: Global0(DestArrayType, DestOffset, SizeInFloats), Global1(DestArrayType, DestOffset, SizeInFloats), ...
bool bNeedsHeader = true ;
bool bNeedsComma = false ;
for ( auto & Pair : State - > GlobalPackedArraysMap )
{
char ArrayType = Pair . first ;
if ( ArrayType ! = EArrayType_Image & & ArrayType ! = EArrayType_Sampler )
{
_mesa_glsl_parse_state : : TUniformList & Uniforms = Pair . second ;
check ( ! Uniforms . empty ( ) ) ;
for ( auto Iter = Uniforms . begin ( ) ; Iter ! = Uniforms . end ( ) ; + + Iter )
{
glsl_packed_uniform & Uniform = * Iter ;
if ( ! State - > bFlattenUniformBuffers | | Uniform . CB_PackedSampler . empty ( ) )
{
if ( bNeedsHeader )
{
ralloc_asprintf_append ( buffer , " // @PackedGlobals: " ) ;
bNeedsHeader = false ;
}
ralloc_asprintf_append (
buffer ,
" %s%s(%c:%u,%u) " ,
bNeedsComma ? " , " : " " ,
Uniform . Name . c_str ( ) ,
ArrayType ,
Uniform . offset ,
Uniform . num_components
) ;
bNeedsComma = true ;
}
}
}
}
if ( ! bNeedsHeader )
{
ralloc_asprintf_append ( buffer , " \n " ) ;
}
}
void PrintPackedUniformBuffers ( _mesa_glsl_parse_state * State , bool bGroupFlattenedUBs )
{
// @PackedUB: UniformBuffer0(SourceIndex0): Member0(SourceOffset,SizeInFloats),Member1(SourceOffset,SizeInFloats), ...
// @PackedUB: UniformBuffer1(SourceIndex1): Member0(SourceOffset,SizeInFloats),Member1(SourceOffset,SizeInFloats), ...
// ...
// First find all used CBs (since we lost that info during flattening)
TStringSet UsedCBs ;
for ( auto IterCB = State - > CBPackedArraysMap . begin ( ) ; IterCB ! = State - > CBPackedArraysMap . end ( ) ; + + IterCB )
{
for ( auto Iter = IterCB - > second . begin ( ) ; Iter ! = IterCB - > second . end ( ) ; + + Iter )
{
_mesa_glsl_parse_state : : TUniformList & Uniforms = Iter - > second ;
for ( auto IterU = Uniforms . begin ( ) ; IterU ! = Uniforms . end ( ) ; + + IterU )
{
if ( ! IterU - > CB_PackedSampler . empty ( ) )
{
check ( IterCB - > first = = IterU - > CB_PackedSampler ) ;
UsedCBs . insert ( IterU - > CB_PackedSampler ) ;
}
}
}
}
check ( UsedCBs . size ( ) = = State - > CBPackedArraysMap . size ( ) ) ;
// Now get the CB index based off source declaration order, and print an info line for each, while creating the mem copy list
unsigned CBIndex = 0 ;
TCBDMARangeMap CBRanges ;
for ( unsigned i = 0 ; i < State - > num_uniform_blocks ; i + + )
{
const glsl_uniform_block * block = State - > uniform_blocks [ i ] ;
if ( UsedCBs . find ( block - > name ) ! = UsedCBs . end ( ) )
{
bool bNeedsHeader = true ;
// Now the members for this CB
bool bNeedsComma = false ;
auto IterPackedArrays = State - > CBPackedArraysMap . find ( block - > name ) ;
check ( IterPackedArrays ! = State - > CBPackedArraysMap . end ( ) ) ;
for ( auto Iter = IterPackedArrays - > second . begin ( ) ; Iter ! = IterPackedArrays - > second . end ( ) ; + + Iter )
{
char ArrayType = Iter - > first ;
check ( ArrayType ! = EArrayType_Image & & ArrayType ! = EArrayType_Sampler ) ;
_mesa_glsl_parse_state : : TUniformList & Uniforms = Iter - > second ;
for ( auto IterU = Uniforms . begin ( ) ; IterU ! = Uniforms . end ( ) ; + + IterU )
{
glsl_packed_uniform & Uniform = * IterU ;
if ( Uniform . CB_PackedSampler = = block - > name )
{
if ( bNeedsHeader )
{
2016-04-13 12:14:19 -04:00
ralloc_asprintf_append ( buffer , " // @PackedUB: %s(%u): " ,
2014-09-25 14:27:21 -04:00
block - > name ,
CBIndex ) ;
bNeedsHeader = false ;
}
ralloc_asprintf_append ( buffer , " %s%s(%u,%u) " ,
bNeedsComma ? " , " : " " ,
Uniform . Name . c_str ( ) ,
Uniform . OffsetIntoCBufferInFloats ,
Uniform . SizeInFloats ) ;
bNeedsComma = true ;
unsigned SourceOffset = Uniform . OffsetIntoCBufferInFloats ;
unsigned DestOffset = Uniform . offset ;
unsigned Size = Uniform . SizeInFloats ;
unsigned DestCBIndex = bGroupFlattenedUBs ? std : : distance ( UsedCBs . begin ( ) , UsedCBs . find ( block - > name ) ) : 0 ;
unsigned DestCBPrecision = ArrayType ;
InsertRange ( CBRanges , CBIndex , SourceOffset , Size , DestCBIndex , DestCBPrecision , DestOffset ) ;
}
}
}
if ( ! bNeedsHeader )
{
ralloc_asprintf_append ( buffer , " \n " ) ;
}
CBIndex + + ;
}
}
//DumpSortedRanges(SortRanges(CBRanges));
// @PackedUBCopies: SourceArray:SourceOffset-DestArray:DestOffset,SizeInFloats;SourceArray:SourceOffset-DestArray:DestOffset,SizeInFloats,...
bool bFirst = true ;
for ( auto & Pair : CBRanges )
{
TDMARangeList & List = Pair . second ;
for ( auto IterList = List . begin ( ) ; IterList ! = List . end ( ) ; + + IterList )
{
if ( bFirst )
{
ralloc_asprintf_append ( buffer , bGroupFlattenedUBs ? " // @PackedUBCopies: " : " // @PackedUBGlobalCopies: " ) ;
bFirst = false ;
}
else
{
ralloc_asprintf_append ( buffer , " , " ) ;
}
if ( bGroupFlattenedUBs )
{
2016-04-13 12:14:19 -04:00
ralloc_asprintf_append ( buffer , " %u:%u-%u:%c:%u:%u " , IterList - > SourceCB , IterList - > SourceOffset , IterList - > DestCBIndex , IterList - > DestCBPrecision , IterList - > DestOffset , IterList - > Size ) ;
2014-09-25 14:27:21 -04:00
}
else
{
check ( IterList - > DestCBIndex = = 0 ) ;
2016-04-13 12:14:19 -04:00
ralloc_asprintf_append ( buffer , " %u:%u-%c:%u:%u " , IterList - > SourceCB , IterList - > SourceOffset , IterList - > DestCBPrecision , IterList - > DestOffset , IterList - > Size ) ;
2014-09-25 14:27:21 -04:00
}
}
}
if ( ! bFirst )
{
ralloc_asprintf_append ( buffer , " \n " ) ;
}
}
void PrintPackedUniforms ( _mesa_glsl_parse_state * State , bool bGroupFlattenedUBs )
{
PrintPackedGlobals ( State ) ;
if ( State - > bFlattenUniformBuffers & & ! State - > CBuffersOriginal . empty ( ) )
{
PrintPackedUniformBuffers ( State , bGroupFlattenedUBs ) ;
}
}
/**
* Print a list of external variables .
*/
void print_extern_vars ( _mesa_glsl_parse_state * State , exec_list * extern_vars )
{
const char * type_str [ GLSL_TYPE_MAX ] = { " u " , " i " , " f " , " f " , " b " , " t " , " ? " , " ? " , " ? " , " ? " , " s " , " os " , " im " , " ip " , " op " } ;
const char * col_str [ ] = { " " , " " , " 2x " , " 3x " , " 4x " } ;
const char * row_str [ ] = { " " , " 1 " , " 2 " , " 3 " , " 4 " } ;
check ( sizeof ( type_str ) / sizeof ( char * ) = = GLSL_TYPE_MAX ) ;
bool need_comma = false ;
foreach_iter ( exec_list_iterator , iter , * extern_vars )
{
ir_variable * var = ( ( extern_var * ) iter . get ( ) ) - > var ;
const glsl_type * type = var - > type ;
if ( ! strcmp ( var - > name , " gl_in " ) )
{
// Ignore it, as we can't properly frame this information in current format, and it's not used anyway for geometry shaders
continue ;
}
if ( ! strncmp ( var - > name , " in_ " , 3 ) | | ! strncmp ( var - > name , " out_ " , 4 ) )
{
if ( type - > is_record ( ) )
{
// This is the specific case for GLSL >= 150, as we generate a struct with a member for each interpolator (which we still want to count)
if ( type - > length ! = 1 )
{
_mesa_glsl_warning ( State , " Found a complex structure as in/out, counting is not implemented yet... \n " ) ;
continue ;
}
type = type - > fields . structure - > type ;
}
}
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 2996057)
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2975196 on 2016/05/12 by Robert.Manuszewski
Garbage Collector will no longer be responsible for generating class token stream, instead the token stream will be generated on startup or when a class has finished loading.
- This way we can avoid very long GC times after new blueprints have been loaded.
- Temporarily enabled CLASS_TokenStreamAssembled check in development builds (for testing purposes)
Change 2993960 on 2016/05/30 by Robert.Manuszewski
Fixing leaked linkers created by blocking load requests during async loading.
Change 2959398 on 2016/04/28 by Steve.Robb
TMap references are strong and cannot be nulled by pending kill. This makes references in values strong too, even though we only really care about keys, which will corrupt the map when nulled.
#jira UE-20828
Change 2960723 on 2016/04/29 by Graeme.Thornton
Fix for texture asset import data being ignored when async loaded
Change 2960938 on 2016/04/29 by Robert.Manuszewski
Nulling out sql db handle after closing it.
Change 2967127 on 2016/05/05 by Steve.Robb
Move constructors explicitly disabled in generated code.
Change 2967143 on 2016/05/05 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2967164 on 2016/05/05 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer
Change 2968650 on 2016/05/06 by Steve.Robb
Fix for HotReload copying module manager.
Change 2968915 on 2016/05/06 by Robert.Manuszewski
Fixing spelling of SetImageIntegrityStatus function name.
Change 2970406 on 2016/05/09 by Steve.Robb
Static analysis fixes:
Function uses '...' bytes of stack: exceeds /analyze:stacksize '81940'. Consider moving some data to heap.
Change 2970419 on 2016/05/09 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
warning C6011: Dereferencing NULL pointer '...'.
warning C6385: Reading invalid data from '...': the readable size is '...' bytes, but '...' bytes may be read.
warning C6386: Buffer overrun while writing to '...': the writable size is '...' bytes, but '...' bytes might be written.
Change 2970431 on 2016/05/09 by Steve.Robb
Static analysis fixes:
warning C6299: Explicitly comparing a bit field to a Boolean type will yield unexpected results.
Change 2972032 on 2016/05/10 by Steven.Hutton
Workflow fixes to bugg / crashgroup filtering. Filters should now correctly persist across queries.
Change 2972085 on 2016/05/10 by Steve.Robb
Const-correctness fix for FLogCategoryBase::IsSuppressed.
Change 2972087 on 2016/05/10 by Steve.Robb
ELogVerbosity moved into its own header.
Change 2972090 on 2016/05/10 by Steve.Robb
Redundant ensure removed.
Change 2972103 on 2016/05/10 by Steve.Robb
Removal of redundant use of USING_CODE_ANALYSIS.
Change 2972139 on 2016/05/10 by Steve.Robb
Fix for ensure macros throwing C6326 warnings during static analysis.
Change 2972147 on 2016/05/10 by Steve.Robb
Fix for UE_LOG_ACTIVE macro throwing C6326 warnings during static analysis.
Change 2972162 on 2016/05/10 by Steve.Robb
SCOPE_CYCLE_COUNTER_GUARD removed.
Change 2972168 on 2016/05/10 by Steve.Robb
Compile error fix for logOrEnsureNanError in static analysis builds.
Change 2973084 on 2016/05/10 by Chris.Wood
Crash Report Server performance tweak
Change 2974030 on 2016/05/11 by Steve.Robb
Fix for IPropertyHandle::SetValue - used to take a non-const reference to a const UObject*, now it takes const references to both non-const and const UObject*.
Change 2974053 on 2016/05/11 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2974191 on 2016/05/11 by Steve.Robb
Fix for template instantiation error in VS2013.
Change 2975298 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6236: (<expression> || <non-zero constant>) is always a non-zero constant.
Change 2975318 on 2016/05/12 by Steve.Robb
Fix for hot reload info being reported as warnings.
#jira UE-30586
Change 2975447 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6235: (<non-zero constant> || <expression>) is always a non-zero constant.
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>. Did you intend to use the bitwise-and operator?
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>. Did you intend to use the bitwise-and operator?
warning C6285: (<non-zero constant> || <non-zero constant>) is always a non-zero constant. Did you intend to use the bitwise-and operator?
warning C6286: (<non-zero constant> || <expression>) is always a non-zero constant. <expression> is never evaluated and might have side effects.
warning C6289: Incorrect operator: mutual exclusion over || is always a non-zero constant. Did you intend to use && instead?
warning C6316: Incorrect operator: tested expression is constant and non-zero. Use bitwise-and to determine whether bits are set.
Change 2975478 on 2016/05/12 by Steve.Robb
Static analysis fixes for lots of redundant <zero constant> and <non-zero constant> warnings.
Change 2975538 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'StaticResource'
Change 2976640 on 2016/05/13 by Robert.Manuszewski
Fixing crashes caused by token stream generation changes. Making sure the token stream gets re-generated when a class gets re-linked.
#jira UE-30675
Change 2978320 on 2016/05/16 by Steve.Robb
Fix for static analysis warnings in XNA headers.
Change 2978329 on 2016/05/16 by Steve.Robb
Static analysis fixes:
warning C6334: sizeof operator applied to an expression with an operator might yield unexpected results: Parentheses can be used to disambiguate certain usages.
Change 2980222 on 2016/05/17 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'X'.
warning C28182: Dereferencing NULL pointer. 'X' contains the same NULL value as 'Y' did.
Change 2980458 on 2016/05/17 by Chris.Wood
Attempt to fix crash report submission problems from CRP to CR website
[UE-30257] - Crashreports are sometimes missing file attachments
Passing crash GUID so that website can easily check for duplicates in future
Increased request timeout for AddCrash to be longer than website database timeout
Logging retries for future visibility
CRP v.1.1.6
Change 2980639 on 2016/05/17 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'X'.
warning C28182: Dereferencing NULL pointer. 'X' contains the same NULL value as 'Y' did.
Change 2981750 on 2016/05/18 by Steve.Robb
check()s in ContainerAllocationPolicies.h changed to checkSlow()s, as they only exist to check that the container has been written correctly.
Change 2982106 on 2016/05/18 by John.Mahoney
Fixed a crash caused by loading two stat capture files simultaneously in the profiler.
If the user tries to load a capture file while another load is in progress, the previous load is now cancelled and cleaned up before proceeding with the new load.
Made the delegates in FNewStatsReader explicitly specify which profiler instance they are loading data for, instead of relying on the current value of LoadConnection->InstanceId.
This also fixes a crash that occurs when selecting a different capture file in the "Stats dump browser" pane of the profiler (after using Load Folder) while another file is still loading.
Cleaned up some weak pointer usage in the profiler window.
#jira UE-30741
Change 2983366 on 2016/05/19 by Steven.Hutton
Changes for passing crash type directly from CRP to CRW.
Change 2983394 on 2016/05/19 by Steven.Hutton
Minor changes to add crash with more error reporting
Change 2984685 on 2016/05/20 by Robert.Manuszewski
Merging //UE4/Dev-Main @ 2984626 to Dev-Core (//UE4/Dev-Core)
Change 2985143 on 2016/05/20 by Steve.Robb
Missing semi-colons.
Change 2986463 on 2016/05/23 by Steve.Robb
CopyTemp added to make it clear that you want to make a copy (rather than a move, or an accidental copy) at the call site of a function taking rvalue refs.
Change 2986475 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6313: Incorrect operator: zero-valued flag cannot be tested with bitwise-and.
Change 2986476 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6313: Incorrect operator: zero-valued flag cannot be tested with bitwise-and.
Change 2986480 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant
Change 2986515 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6340: Mismatch on sign: 'X' passed as _Param_(N) when some unsigned type is required in call to 'Func'
Change 2986680 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6386: Buffer overrun while writing to 'Ptr': the writable size is 'X' bytes, but 'Y' bytes might be written.
warning C6387: 'Ptr' could be '0': this does not adhere to the specification for the function 'Func'
warning C6031: Return value ignored: 'snprintf'.
warning C6340: Mismatch on sign: 'const unsigned int' passed as _Param_(4) when some signed type is required in call to 'snprintf'.
Change 2986865 on 2016/05/23 by Robert.Manuszewski
Removing redundand AddReferencedObjects functions
Change 2987968 on 2016/05/24 by Robert.Manuszewski
Removing redundant UPROPERTY macros from intrinsic classes.
Change 2987979 on 2016/05/24 by Steve.Robb
Optimization of some FString and FPaths operations to produce fewer temporaries.
Change 2988297 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6287: Redundant code: the left and right sub-expressions are identical.
Change 2988430 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6385: Reading invalid data from 'var': the readable size is 'X' bytes, but 'Y' bytes may be read.
Change 2988461 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6235: (<non-zero constant> || <expression>) is always a non-zero constant.
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>.
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>.
Change 2988464 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6262: Function uses 'X' bytes of stack: exceeds /analyze:stacksize 'Y'. Consider moving some data to heap.
Change 2988494 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6237: (<zero> && <expression>) is always zero. <expression> is never evaluated and might have side effects.
Change 2989411 on 2016/05/25 by Robert.Manuszewski
Splitting GC cluster index and intenral object flags to allow more UObjects in editor builds.
Change 2989429 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6387: '_Param_(X)' could be '0': this does not adhere to the specification for the function 'Func'.
Change 2989982 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6001: Using uninitialized memory 'LODPlanesMin'.
Change 2990018 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6386: Buffer overrun while writing to 'X'
Change 2990077 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>.
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2990114 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6336: Arithmetic operator has precedence over question operator, use parentheses to clarify intent.
Change 2990125 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>.
Change 2990162 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6294: Ill-defined for-loop: initial condition does not satisfy test. Loop body not executed.
Change 2990193 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C28182: Dereferencing NULL pointer. 'type' contains the same NULL value as 'type->base_type' did.
warning C6011: Dereferencing NULL pointer 'Semantic'.
Change 2991006 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C28113: Accessing a local variable dummy via an Interlocked function: This is an unusual usage which could be reconsidered.
Change 2991012 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6031: Return value ignored: 'InitializeCriticalSectionAndSpinCount'.
Change 2991013 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6287: Redundant code: the left and right sub-expressions are identical.
Change 2991016 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6236: (<expression> || <non-zero constant>) is always a non-zero constant.
Change 2991017 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2991019 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6292: Ill-defined for-loop: counts up from maximum.
Change 2991023 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6322: Empty _except block.
warning C28251: Inconsistent annotation for 'WinMain': this instance has no annotations.
Change 2991070 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C28182: Dereferencing NULL pointer. 'Ptr1' contains the same NULL value as 'Ptr2' did.
Change 2991416 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2992738 on 2016/05/27 by Steve.Robb
Revert changes to FString::MatchesWildcard.
Change 2992916 on 2016/05/27 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2992960 on 2016/05/27 by Chris.Wood
Optimized P4 access in Crash Report Process and MinidumpDiagostics.
Change 2992964 on 2016/05/27 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2993956 on 2016/05/30 by Robert.Manuszewski
Fixing a crash after adding a new C++ class in the editor - made sure new classes have the token stream assembled after hot-reload.
#jira UE-31309
Change 2993977 on 2016/05/30 by Robert.Manuszewski
Don't wait for all packages to finish loading before PostLoading those which already have.
Change 2994206 on 2016/05/31 by Robert.Manuszewski
PR #2429: Three bug fixes required for script support to work properly (Contributed by pluranium)
#lockdown Nick.Penwarden
[CL 2996251 by Robert Manuszewski in Main branch]
2016-06-01 12:08:56 -04:00
check ( type ) ;
2014-09-25 14:27:21 -04:00
bool is_array = type - > is_array ( ) ;
int array_size = is_array ? type - > length : 0 ;
if ( is_array )
{
type = type - > fields . array ;
}
ralloc_asprintf_append ( buffer , " %s%s%s%s " ,
need_comma ? " , " : " " ,
2015-07-02 11:52:03 -04:00
type - > base_type = = GLSL_TYPE_STRUCT ? type - > name : type_str [ type - > base_type ] ,
2014-09-25 14:27:21 -04:00
col_str [ type - > matrix_columns ] ,
row_str [ type - > vector_elements ] ) ;
if ( is_array )
{
ralloc_asprintf_append ( buffer , " [%u] " , array_size ) ;
}
2015-02-06 11:35:30 -05:00
ralloc_asprintf_append ( buffer , " ;%d:%s " , var - > location , var - > name ) ;
2014-09-25 14:27:21 -04:00
need_comma = true ;
}
}
/**
* Print the input / output signature for this shader .
*/
void print_signature ( _mesa_glsl_parse_state * state , bool bGroupFlattenedUBs )
{
if ( ! input_variables . is_empty ( ) )
{
ralloc_asprintf_append ( buffer , " // @Inputs: " ) ;
print_extern_vars ( state , & input_variables ) ;
ralloc_asprintf_append ( buffer , " \n " ) ;
}
if ( ! output_variables . is_empty ( ) )
{
ralloc_asprintf_append ( buffer , " // @Outputs: " ) ;
print_extern_vars ( state , & output_variables ) ;
ralloc_asprintf_append ( buffer , " \n " ) ;
}
if ( state - > num_uniform_blocks > 0 & & ! state - > bFlattenUniformBuffers )
{
bool first = true ;
int Index = 0 ;
for ( unsigned i = 0 ; i < state - > num_uniform_blocks ; i + + )
{
const glsl_uniform_block * block = state - > uniform_blocks [ i ] ;
if ( hash_table_find ( used_uniform_blocks , block - > name ) )
{
ralloc_asprintf_append ( buffer , " %s%s(%d) " ,
first ? " // @UniformBlocks: " : " , " ,
block - > name , Index ) ;
first = false ;
+ + Index ;
}
}
if ( ! first )
{
ralloc_asprintf_append ( buffer , " \n " ) ;
}
}
if ( state - > has_packed_uniforms )
{
PrintPackedUniforms ( state , bGroupFlattenedUBs ) ;
if ( ! state - > GlobalPackedArraysMap [ EArrayType_Sampler ] . empty ( ) )
{
ralloc_asprintf_append ( buffer , " // @Samplers: " ) ;
PrintPackedSamplers (
state - > GlobalPackedArraysMap [ EArrayType_Sampler ] ,
state - > TextureToSamplerMap
) ;
ralloc_asprintf_append ( buffer , " \n " ) ;
}
if ( ! state - > GlobalPackedArraysMap [ EArrayType_Image ] . empty ( ) )
{
ralloc_asprintf_append ( buffer , " // @UAVs: " ) ;
PrintPackedUniforms (
false ,
EArrayType_Image ,
state - > GlobalPackedArraysMap [ EArrayType_Image ] ,
false ,
false
) ;
ralloc_asprintf_append ( buffer , " \n " ) ;
}
}
else
{
if ( ! uniform_variables . is_empty ( ) )
{
ralloc_asprintf_append ( buffer , " // @Uniforms: " ) ;
print_extern_vars ( state , & uniform_variables ) ;
ralloc_asprintf_append ( buffer , " \n " ) ;
}
if ( ! sampler_variables . is_empty ( ) )
{
ralloc_asprintf_append ( buffer , " // @Samplers: " ) ;
print_extern_vars ( state , & sampler_variables ) ;
ralloc_asprintf_append ( buffer , " \n " ) ;
}
if ( ! image_variables . is_empty ( ) )
{
ralloc_asprintf_append ( buffer , " // @UAVs: " ) ;
print_extern_vars ( state , & image_variables ) ;
ralloc_asprintf_append ( buffer , " \n " ) ;
}
}
}
/**
* Print the layout directives for this shader .
*/
void print_layout ( _mesa_glsl_parse_state * state )
{
if ( early_depth_stencil )
{
ralloc_asprintf_append ( buffer , " layout(early_fragment_tests) in; \n " ) ;
}
if ( state - > target = = compute_shader )
{
ralloc_asprintf_append ( buffer , " layout( local_size_x = %d, "
" local_size_y = %d, local_size_z = %d ) in; \n " , wg_size_x ,
wg_size_y , wg_size_z ) ;
}
if ( state - > target = = tessellation_control_shader )
{
ralloc_asprintf_append ( buffer , " layout(vertices = %d) out; \n " , tessellation . outputcontrolpoints ) ;
}
if ( state - > target = = tessellation_evaluation_shader )
{
2015-12-10 16:56:55 -05:00
std : : basic_stringstream < char , std : : char_traits < char > , FCustomStdAllocator < char > > str ;
2014-09-25 14:27:21 -04:00
switch ( tessellation . outputtopology )
{
// culling is inverted, see TranslateCullMode in the OpenGL and D3D11 RHI
case GLSL_OUTPUTTOPOLOGY_POINT :
str < < " point_mode " ;
break ;
case GLSL_OUTPUTTOPOLOGY_LINE :
str < < " iso_lines " ;
break ;
default :
case GLSL_OUTPUTTOPOLOGY_NONE :
case GLSL_OUTPUTTOPOLOGY_TRIANGLE_CW :
str < < " triangles, ccw " ;
break ;
case GLSL_OUTPUTTOPOLOGY_TRIANGLE_CCW :
str < < " triangles, cw " ;
break ;
}
switch ( tessellation . partitioning )
{
default :
case GLSL_PARTITIONING_NONE :
case GLSL_PARTITIONING_INTEGER :
str < < " , equal_spacing " ;
break ;
case GLSL_PARTITIONING_FRACTIONAL_EVEN :
str < < " , fractional_even_spacing " ;
break ;
case GLSL_PARTITIONING_FRACTIONAL_ODD :
str < < " , fractional_odd_spacing " ;
break ;
// that assumes that the hull/control shader clamps the tessellation factors to be power of two
case GLSL_PARTITIONING_POW2 :
str < < " , equal_spacing " ;
break ;
}
ralloc_asprintf_append ( buffer , " layout(%s) in; \n " , str . str ( ) . c_str ( ) ) ;
}
#if 0
if ( state - > target = = tessellation_evaluation_shader | | state - > target = = tessellation_control_shader )
{
ralloc_asprintf_append ( buffer , " /* DEBUG DUMP \n " ) ;
ralloc_asprintf_append ( buffer , " tessellation.domain = %s \n " , DomainStrings [ tessellation . domain ] ) ;
ralloc_asprintf_append ( buffer , " tessellation.outputtopology = %s \n " , OutputTopologyStrings [ tessellation . outputtopology ] ) ;
ralloc_asprintf_append ( buffer , " tessellation.partitioning = %s \n " , PartitioningStrings [ tessellation . partitioning ] ) ;
ralloc_asprintf_append ( buffer , " tessellation.maxtessfactor = %f \n " , tessellation . maxtessfactor ) ;
ralloc_asprintf_append ( buffer , " tessellation.outputcontrolpoints = %d \n " , tessellation . outputcontrolpoints ) ;
ralloc_asprintf_append ( buffer , " tessellation.patchconstantfunc = %s \n " , tessellation . patchconstantfunc ) ;
ralloc_asprintf_append ( buffer , " */ \n " ) ;
}
# endif
}
2015-06-25 02:07:29 -04:00
void print_extensions ( _mesa_glsl_parse_state * state , bool bUsesFramebufferFetchES2 , bool bUsesDepthbufferFetchES2 , bool bUsesES31Extensions )
2014-09-25 14:27:21 -04:00
{
if ( bUsesES2TextureLODExtension )
{
ralloc_asprintf_append ( buffer , " #ifndef DONTEMITEXTENSIONSHADERTEXTURELODENABLE \n " ) ;
ralloc_asprintf_append ( buffer , " #extension GL_EXT_shader_texture_lod : enable \n " ) ;
ralloc_asprintf_append ( buffer , " #endif \n " ) ;
}
2015-03-18 16:16:25 -04:00
if ( state - > bSeparateShaderObjects & & ! state - > bGenerateES & &
2015-03-18 18:27:58 -04:00
( ( state - > target = = tessellation_control_shader ) | | ( state - > target = = tessellation_evaluation_shader ) ) )
2015-03-18 16:16:25 -04:00
{
ralloc_asprintf_append ( buffer , " #extension GL_ARB_tessellation_shader : enable \n " ) ;
}
2014-09-25 14:27:21 -04:00
if ( bUsesDXDY & & bIsES )
{
ralloc_asprintf_append ( buffer , " #extension GL_OES_standard_derivatives : enable \n " ) ;
}
2015-12-09 15:04:15 -05:00
if ( bUsesInstanceID & & bIsES )
{
ralloc_asprintf_append ( buffer , " #ifdef GL_EXT_draw_instanced \n " ) ;
ralloc_asprintf_append ( buffer , " #extension GL_EXT_draw_instanced : enable \n " ) ;
ralloc_asprintf_append ( buffer , " #define gl_InstanceID gl_InstanceIDEXT \n " ) ;
ralloc_asprintf_append ( buffer , " #endif \n " ) ;
}
2014-09-25 14:27:21 -04:00
if ( bUsesFramebufferFetchES2 )
{
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3292174 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Linux toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292193 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- ThirdParty libs compiled with new toolchain with wasm support
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292215 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and wbegl2 support
- emscripten toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292222 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm support
- ENGINE changes (c# & cpp files)
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292223 on 2017/02/08 by Nick.Shin
HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile
Change 3292228 on 2017/02/08 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches
- and a lot of UE4 patches to package HTML5 on LINUX
- mostly from mozilla's jukka -- thx jukka!
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3292285 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Windows toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3293994 on 2017/02/09 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- OSX toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3294391 on 2017/02/09 by Nick.Shin
HTML5 "black box issues" revisited
- jukka rewrote the window resize handler -- much cleaner and more straightforward
#jira UE-36341 HTML5 - View is incorrectly drawn
#jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On
Change 3296421 on 2017/02/10 by Jack.Porter
Fix landscape spline segment splitting placing when using streaming levels
Change 3296587 on 2017/02/10 by Jack.Porter
Additional fix for landscape spline segment splitting when using streaming levels
Change 3301241 on 2017/02/14 by Mi.Wang
Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter
Change 3301387 on 2017/02/14 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches from mozilla's jukka
+ hardware instancing
+ glBlitFramebuffer
+ GL AlaphaBlendOperation
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3301405 on 2017/02/14 by Nick.Shin
HTML5 plugin fix when blueprint projects are promoted to code projects automatically.
#jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc
Change 3302278 on 2017/02/14 by Omar.Rodriguez
UE-36651: Mac Vulkan Android Projects crash on launch.
* Glslang library has been built for Mac but flag was not updated
* Set GlslangAvailable to true for Mac when building an Android project with vulkan
#jira UE-36651
Change 3302773 on 2017/02/14 by Chris.Babcock
Add a dropdown with some common console commands on Android (contributed by rafortis)
#jira UE-40834
#PR #3143
#ue4
#android
Change 3305604 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader- turn on: instance static mesh vertex factory
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3308154 on 2017/02/16 by Nick.Shin
HTML5 GitHub PR
#jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5
Change 3308510 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3308971 on 2017/02/17 by Jack.Porter
Fix for landscape painting when height<0 in the Ortho viewports
Change 3309075 on 2017/02/17 by Allan.Bentham
Include static subject meshes when masking out modulated shadow casters.
#jira UE-41581
Change 3309531 on 2017/02/17 by Chris.Babcock
Handle large OBB files in APK
#jira UE-41443
#ue4
#android
Change 3311320 on 2017/02/19 by Dmitriy.Dyomin
Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
#jira UE-41970
Change 3311347 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
#jira UE-41976
Change 3311398 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Landscapes do not render on PowerVR device
#jira UE-35530
Change 3311428 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
#jira UE-42036
Change 3311448 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Packaged game Crashes on android after entering "Help" command twice
#jira UE-41956
Change 3311587 on 2017/02/20 by Allan.Bentham
ES2 GLSL - Silently swap all uint to ints
#jira UE-41548
Change 3313930 on 2017/02/21 by Allan.Bentham
Print literal uints as ints when generating ES2 code.
#jira UE-41548
Change 3317924 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317929 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317951 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318004 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318669 on 2017/02/23 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318672 on 2017/02/23 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318819 on 2017/02/23 by Dmitriy.Dyomin
Fixed: Rendering artifacts with bloom on iPhone7 Metal
#jira UE-40978
Change 3319702 on 2017/02/23 by Chris.Babcock
Disable eglSwapInterval since it can cause issues with some drivers
#ue4
#android
Change 3320880 on 2017/02/24 by Dmitriy.Dyomin
Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
#jira UEMOB-195
Change 3321042 on 2017/02/24 by Jack.Porter
Fixed incorrect sizeof in Vulkan pipleine cache
pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/
#code_review: rolando.caloca
Change 3322383 on 2017/02/24 by Chris.Babcock
Fix issue with ad banner on Android 7.0 devices
#jira UE-42390
#ue4
#android
Change 3322479 on 2017/02/24 by Omar.Rodriguez
UEMOB-199 - WEX: Improved virtual keyboard for Android
* Calculating the area covered by the virtual keyboard
* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event
#jira UEMOB-199
Change 3323353 on 2017/02/27 by Allan.Bentham
Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
#jira UE-42191
Change 3323431 on 2017/02/27 by Allan.Bentham
CIS fix
Change 3323687 on 2017/02/27 by Allan.Bentham
Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
#jira UE-42131
Change 3324652 on 2017/02/28 by Dmitriy.Dyomin
Fixed: Canvas elements appear darker on iOS Metal
Change 3324885 on 2017/02/28 by Jack.Porter
Fixed "Minimum iOS Version" setting display name
#jira UE-42270
Change 3324899 on 2017/02/28 by Jack.Porter
GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
#jira UE-40018
#3063
Change 3324932 on 2017/02/28 by Jack.Porter
GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows
#jira UE-41984
#3257
#codereview: Peter.Sauerbrei
Change 3324956 on 2017/02/28 by Jack.Porter
FOpenGLFrontend::GetMaxSamplers incorrect for IOS
#jira UE-42038
#3264
Change 3325478 on 2017/02/28 by Allan.Bentham
PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna)
#jira UE-41442
Change 3327300 on 2017/03/01 by Allan.Bentham
PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen)
#jira UE-41257
Change 3328917 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
#jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac
#jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings
Change 3329169 on 2017/03/02 by Allan.Bentham
increase render thread timeout to 1 minute for suntemple / android.
Prevents low end devices timing out during load.
#jira UE-40696
Change 3330849 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3331078 on 2017/03/03 by Dmitriy.Dyomin
Fixed: Device output log partial lines
integrated from WEX (3250488)
Change 3331112 on 2017/03/03 by Dmitriy.Dyomin
Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)
integrated from WEX (3256584)
Change 3331117 on 2017/03/03 by Dmitriy.Dyomin
Fixed redundant blend state changes in opengl
integrated from WEX (3256586)
Change 3331173 on 2017/03/03 by Dmitriy.Dyomin
Slate pixel shaders will use half precision where possible on mobile
integrated from WEX (3256656)
Change 3332865 on 2017/03/06 by Dmitriy.Dyomin
Better MobileContentScaleFactor defaults for iOS devices
#jira UEMOB-330
Change 3333129 on 2017/03/06 by Peter.Sauerbrei
move to Library/Caches instead of documents for saved files
re-enable iterative deploy on TVOS
#jira UEMOB-284
Change 3334692 on 2017/03/06 by Jack.Porter
Allow r.MobileContentScaleFactor to be changed at runtime on Android
#jira UEMOB-173
Change 3336255 on 2017/03/07 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3337094 on 2017/03/08 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3338800 on 2017/03/08 by Chris.Babcock
Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
#jira UE-42677
#ue4
#android
Change 3338813 on 2017/03/08 by Chris.Babcock
Pass build configuration to UPL for access during packaging as $S(Configuration)
#jira UE-42678
#ue4
#android
#ios
Change 3339401 on 2017/03/09 by Alicia.Cano
Android runtime permissions
- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
- Fix for Location Services
- Fix for if target sdk is not set to 23+
#jira UE-38512
#android
#rb: chris.babcock
Change 3340736 on 2017/03/09 by Chris.Babcock
Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
#jira UE-41965
#PR #3254
#ue4
#android
Change 3340744 on 2017/03/09 by Jack.Porter
Expose Custom Depth to Foliage
#jira UE-6061
Change 3340849 on 2017/03/09 by Dmitriy.Dyomin
Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
#jira UE-42351
Change 3341268 on 2017/03/10 by Alicia.Cano
PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
#jira UE-37945
#android
#rb: chris.babcock, jack.porter
Change 3341303 on 2017/03/10 by Allan.Bentham
Remove optimisation that prevents full specular occulsion on mobile.
PR #3186 : Specular can't be blocked on high-end mobile.
#jira UE-41393
Change 3342304 on 2017/03/10 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343344 on 2017/03/13 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343591 on 2017/03/13 by Brent.Pease
iOS multiplayer fix part 1. Correct byte ordering.
#jira UE-34875
Change 3343669 on 2017/03/13 by Chris.Babcock
Update carefullyredist script version
#jira UE-42832
Change 3344212 on 2017/03/13 by Will.Fissler
Various compile fixes for Xcode 8.3.
These fixes must also be added to //UE4/Release-4.15.
#jira UE-41313
Change 3344396 on 2017/03/13 by Chris.Babcock
Fix Java 1.5 obsolete warnings
#jira UE-42851
#ue4
#android
Change 3345132 on 2017/03/14 by Will.Fissler
Added ifdef wrapper to check clang version for presentDrawable.
Change 3345336 on 2017/03/14 by Will.Fissler
Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.
Change 3345460 on 2017/03/14 by Will.Fissler
ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none
Change 3346046 on 2017/03/14 by Will.Fissler
Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.
Change 3346367 on 2017/03/14 by Chris.Babcock
Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
#ue4
#android
Change 3347682 on 2017/03/15 by Allan.Bentham
Enable HW sRGB correction with retainer widget's render target.
Use slate's gamma correction for mobile (where no such support exists)
Render retainer box RT content with gamma correction.
#jira UE-40967
Change 3348712 on 2017/03/15 by Nick.Shin
HTML5 - upload to S3
updated to AWS "signature version 4" authentication
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349254 on 2017/03/16 by Jack.Porter
Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
#jira UE-42971
Change 3349739 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
better error message feedback on upload failures
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349765 on 2017/03/16 by Alicia.Cano
Disable mouseover events in Mobile Previewer
#jira UE-19903
#mobile
#rb: Jack.Porter
Change 3350049 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
folder in bucket is optional
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3350153 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
updated S3 public link generator
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3351582 on 2017/03/17 by Will.Fissler
Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";
Currently we cannot build arm64 for iOS with this change.
Change 3352085 on 2017/03/17 by Alicia.Cano
iOS doesn't honor request to close the virtual keyboard leading to a crash
#jira UE-36447
#ios
#rb:Peter.Sauerbrei
Change 3353313 on 2017/03/19 by Ben.Marsh
Always allow large *.js files in Github.
Change 3354444 on 2017/03/20 by Nick.Shin
HTML5 - upload to S3
to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3355618 on 2017/03/20 by Nick.Shin
HTML5 Save Game System
- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3355621 on 2017/03/20 by Nick.Shin
remove temp debugging code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3356937 on 2017/03/21 by Chris.Babcock
Add "stat vulkanrhi" to new console dropdown
#jira UE-43149
#ue4
#android
Change 3357652 on 2017/03/21 by Nick.Shin
HTML5 performance speed ups
added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel
this option is based on the suggestions by jukka's post:
- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html
however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...
#jira UE-30214 - Implement a warning message for fps settings
Change 3360415 on 2017/03/23 by Allan.Bentham
Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.
Change 3360418 on 2017/03/23 by Allan.Bentham
Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
#jira UE-40913
Change 3360557 on 2017/03/23 by Allan.Bentham
Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
#jira UE-42131
Change 3362258 on 2017/03/23 by Dmitriy.Dyomin
Fixed: Canvas texture element gamma issues on iOS Metal
Change 3362321 on 2017/03/24 by Dmitriy.Dyomin
GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)
#3173
Change 3363550 on 2017/03/24 by Alicia.Cano
build fix for devices < Android 5.0
#jira UE-43299
#android
#rb: chris.babcock
Change 3363687 on 2017/03/24 by Chris.Babcock
Fix Android password hiding in input dialog
#jira WEX-5159
#ue4
#android
Change 3365280 on 2017/03/27 by Dmitriy.Dyomin
Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension
Change 3365291 on 2017/03/27 by Dmitriy.Dyomin
Copied form WEX CL# 3308653
Fixed: Enabling shader cache causes crash on NVIDIA Shield
#jira UE-41639
Change 3365293 on 2017/03/27 by Dmitriy.Dyomin
GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
#jira UE-43247
#3411
Change 3365340 on 2017/03/27 by Dmitriy.Dyomin
Fixed: Moving sublevel in world composition browser does not appear in Undo History
#jira UE-35535
Change 3365564 on 2017/03/27 by Allan.Bentham
SkyLightComponent now serializes IrradianceMap SH values.
clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
#jira UE-42436
Change 3366282 on 2017/03/27 by Nick.Shin
remove dead links
these files to not exist anywhere in the make-3.81 subfolders
#UDN-354501
#jira none
Change 3366306 on 2017/03/27 by Nick.Shin
HTML5 - disable multi-threading for wasm
#jira UE-43219 - HTML5 disable multi-threading for wasm
Change 3366307 on 2017/03/27 by Nick.Shin
HTML5 packaging Shipping builds
big cleanup / additions to *gz file support for amazon s3
* both, uploading to s3
* and allowing s3 to host the games there
#jira UE-43002 HTML5 in Shipping fails downloading symbols files
#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.
Change 3367385 on 2017/03/28 by Allan.Bentham
Display skylight serialization warning only when cooking for mobile platforms.
#jira UE-42436
Change 3368583 on 2017/03/28 by Chris.Babcock
Expose JAVA_HOME setting in Android SDK project settings on Mac
#jira UE-43418
#ue4
#android
Change 3368803 on 2017/03/28 by Chris.Babcock
Fix features requested in manifest for "Daydream and Cardboard" mode
#jira UE-43314
#ue4
#android
Change 3369087 on 2017/03/28 by Jack.Porter
Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
#jira UE-42438
Change 3369372 on 2017/03/29 by Allan.Bentham
Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
#jira UE-43366
Change 3369381 on 2017/03/29 by Jack.Porter
Show warnings when mobile shader permutations required for rendering are disbaled
Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
#jira UE-43050
Change 3369430 on 2017/03/29 by Allan.Bentham
fix CIS build
Change 3369740 on 2017/03/29 by Allan.Bentham
Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
Android links with -gc-sections to remove unused code/data
Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
Add support for map file generation with android.
Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini
#jira UEMOB-168
Change 3369975 on 2017/03/29 by Nick.Shin
HTML5 - AWS S3 shareable link for shipping builds corrected
#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.
Change 3369998 on 2017/03/29 by Nick.Shin
HTML5 python build scripts
PR:
https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3
#jira none
Change 3370214 on 2017/03/29 by Nick.Shin
HTML5 - default bUseFixedTimeStep to false...
#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms
Change 3370762 on 2017/03/29 by Chris.Babcock
Fixes to new keyboard for Android
- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
#ue4
#android
Change 3371344 on 2017/03/30 by Jack.Porter
Fixed issue where Vulkan screenshot R/B channels were reversed on Android
#jira UE-43479
Change 3372926 on 2017/03/30 by Peter.Sauerbrei
start the process of sunsetting 32-bit and GLES2 on iOS
#jira UE-42266
Change 3372970 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3372989 on 2017/03/30 by Peter.Sauerbrei
fix for Xcode 8.3 build with 32-bit
Change 3373007 on 2017/03/30 by Peter.Sauerbrei
fix for crash when online subsystem is disabled on IOS
Change 3373108 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373163 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373169 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
license file updated
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rnx
Change 3373287 on 2017/03/30 by Nick.Shin
HTML5 - 1.36.11 emscripten - remove old SDK
#jira none
#rnx
Change 3373289 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373595 on 2017/03/30 by Chris.Babcock
Reenable GooglePlay for ARM64 now that it doesn't crash
#jira UE-36198
#ue4
#android
Change 3373606 on 2017/03/30 by Chris.Babcock
Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
#ue4
#android
Change 3375456 on 2017/03/31 by Chris.Babcock
Add missing keycodes for Android keyboard (@ and #)
#jira WEX-5777
#ue4
#android
Change 3376309 on 2017/04/03 by Allan.Bentham
Fix overflow issues with mobile DoF.
Change 3377041 on 2017/04/03 by Will.Fissler
Adding Testbed content for PlatformShowcase.
Change 3377582 on 2017/04/03 by Alicia.Cano
adding back in GET_ACCOUNTS permission as it is required for Reset Achievements
#jira: UE-43265
#android
#rb: Chris.Babcock
Change 3377643 on 2017/04/03 by Peter.Sauerbrei
fix for memory leak in MallocBinned
#jira UE-43008
Change 3378033 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3378034 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty build scripts
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3378035 on 2017/04/04 by Nick.Shin
HTML5 - Update GameX template to make it work with trunk Emscripten
PR
https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978
#jira none
#rn
Change 3378044 on 2017/04/04 by Nick.Shin
HTML5 harfbuzz - double checking recompiled with NO multithreading
wasm currently does not support pthreads
*** THIS IS STILL WIP ***
checking in to match 3rd party libs compiled configuration
#jira UE-28588 - Build HarfBuzz for HTML5
#rnx
Change 3378264 on 2017/04/04 by Allan.Bentham
Fix crash when using consolas font on android sdk 24
#jira UE-43464
Change 3379097 on 2017/04/04 by Nick.Shin
CIS HTML5 build warning fix
#jria none
#rnx
Change 3379333 on 2017/04/04 by Chris.Babcock
Prevent inserting extra permissions into manifest multiple times
#jira UE-43583
#ue4
#android
Change 3380870 on 2017/04/05 by Chris.Babcock
Fix merge issue
Change 3380898 on 2017/04/05 by Chris.Babcock
Fixed again
Change 3381443 on 2017/04/05 by Chris.Babcock
Fix for GearVR non-unity build
#ue4
#android
Change 3381941 on 2017/04/05 by Chris.Babcock
Fix HTTPChunkInstaller texture format checks and missing #define warning
#jira UE-43706
#ue4
#android
Change 3382056 on 2017/04/05 by Chris.Babcock
Updates to Android AARs needed for Facebook plugin
Change 3382097 on 2017/04/05 by Chris.Babcock
Disable java console cmd receiver only in shipping builds
#jira UE-43710
#ue4
#android
Change 3382497 on 2017/04/06 by Allan.Bentham
Fix Fortnite Cooked Server crashes when joining game from lobby.
#jira UE-43695
Change 3383227 on 2017/04/06 by Will.Fissler
Reverted case sensitive change, from yesterday, and implemented a pragma instead.
#jira UE-41313
[CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
ralloc_asprintf_append ( buffer , " \n #ifdef UE_EXT_shader_framebuffer_fetch \n " ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " #extension GL_EXT_shader_framebuffer_fetch : enable \n " ) ;
2016-02-11 09:44:56 -05:00
ralloc_asprintf_append ( buffer , " #define EXT_shader_framebuffer_fetch_enabled 1 \n " ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " #endif \n " ) ;
2015-07-15 06:39:44 -04:00
ralloc_asprintf_append ( buffer , " \n #ifdef GL_ARM_shader_framebuffer_fetch \n " ) ;
ralloc_asprintf_append ( buffer , " #extension GL_ARM_shader_framebuffer_fetch : enable \n " ) ;
ralloc_asprintf_append ( buffer , " #endif \n " ) ;
2014-09-25 14:27:21 -04:00
}
2015-06-25 02:07:29 -04:00
if ( bUsesDepthbufferFetchES2 )
{
ralloc_asprintf_append ( buffer , " #extension GL_ARM_shader_framebuffer_fetch_depth_stencil : enable \n " ) ;
}
2014-09-25 14:27:21 -04:00
if ( bUsesES31Extensions )
{
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
ralloc_asprintf_append ( buffer , " \n #ifdef GL_EXT_gpu_shader5 \n " ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " #extension GL_EXT_gpu_shader5 : enable \n " ) ;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
ralloc_asprintf_append ( buffer , " \n #endif \n " ) ;
ralloc_asprintf_append ( buffer , " \n #ifdef GL_EXT_texture_buffer \n " ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " #extension GL_EXT_texture_buffer : enable \n " ) ;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
ralloc_asprintf_append ( buffer , " \n #endif \n " ) ;
ralloc_asprintf_append ( buffer , " \n #ifdef GL_EXT_texture_cube_map_array \n " ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " #extension GL_EXT_texture_cube_map_array : enable \n " ) ;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
ralloc_asprintf_append ( buffer , " \n #endif \n " ) ;
ralloc_asprintf_append ( buffer , " \n #ifdef GL_EXT_shader_io_blocks \n " ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " #extension GL_EXT_shader_io_blocks : enable \n " ) ;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
ralloc_asprintf_append ( buffer , " \n #endif \n " ) ;
2014-09-25 14:27:21 -04:00
if ( ShaderTarget = = geometry_shader )
{
ralloc_asprintf_append ( buffer , " #extension GL_EXT_geometry_shader : enable \n " ) ;
}
if ( ShaderTarget = = tessellation_control_shader | | ShaderTarget = = tessellation_evaluation_shader )
{
ralloc_asprintf_append ( buffer , " #extension GL_EXT_tessellation_shader : enable \n " ) ;
2015-02-06 11:35:30 -05:00
}
2014-09-25 14:27:21 -04:00
}
}
public :
/** Constructor. */
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
ir_gen_glsl_visitor ( bool bInIsES , bool bInEmitPrecision , bool bInIsES31 , _mesa_glsl_parser_targets InShaderTarget , bool bInGenerateLayoutLocations , bool bInDefaultPrecisionIsHalf , bool bInNoGlobalUniforms )
2014-09-25 14:27:21 -04:00
: early_depth_stencil ( false )
, bIsES ( bInIsES )
2015-06-18 14:24:11 -04:00
, bEmitPrecision ( bInEmitPrecision )
2015-06-19 19:28:40 -04:00
, bIsES31 ( bInIsES31 )
2014-09-25 14:27:21 -04:00
, ShaderTarget ( InShaderTarget )
, bGenerateLayoutLocations ( bInGenerateLayoutLocations )
2016-06-13 12:20:22 -04:00
, bDefaultPrecisionIsHalf ( bInDefaultPrecisionIsHalf )
2014-09-25 14:27:21 -04:00
, buffer ( 0 )
, indentation ( 0 )
, scope_depth ( 0 )
, temp_id ( 0 )
, global_id ( 0 )
, needs_semicolon ( false )
, should_print_uint_literals_as_ints ( false )
, loop_count ( 0 )
, bUsesES2TextureLODExtension ( false )
, bUsesDXDY ( false )
2015-12-09 15:04:15 -05:00
, bUsesInstanceID ( false )
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
, bNoGlobalUniforms ( bInNoGlobalUniforms )
2014-09-25 14:27:21 -04:00
{
printable_names = hash_table_ctor ( 32 , hash_table_pointer_hash , hash_table_pointer_compare ) ;
used_structures = hash_table_ctor ( 32 , hash_table_pointer_hash , hash_table_pointer_compare ) ;
used_uniform_blocks = hash_table_ctor ( 32 , hash_table_string_hash , hash_table_string_compare ) ;
}
/** Destructor. */
virtual ~ ir_gen_glsl_visitor ( )
{
hash_table_dtor ( printable_names ) ;
hash_table_dtor ( used_structures ) ;
hash_table_dtor ( used_uniform_blocks ) ;
}
/**
* Executes the visitor on the provided ir .
* @ returns the GLSL source code generated .
*/
const char * run ( exec_list * ir , _mesa_glsl_parse_state * state , bool bGroupFlattenedUBs )
{
mem_ctx = ralloc_context ( NULL ) ;
char * code_buffer = ralloc_asprintf ( mem_ctx , " " ) ;
buffer = & code_buffer ;
2015-06-18 14:24:11 -04:00
if ( bEmitPrecision & & ! ( ShaderTarget = = vertex_shader ) )
2014-09-25 14:27:21 -04:00
{
// TODO: Improve this...
2016-06-13 12:20:22 -04:00
const char * DefaultPrecision = bDefaultPrecisionIsHalf ? " mediump " : " highp " ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " precision %s float; \n " , DefaultPrecision ) ;
ralloc_asprintf_append ( buffer , " precision %s int; \n " , DefaultPrecision ) ;
ralloc_asprintf_append ( buffer , " \n #ifndef DONTEMITSAMPLERDEFAULTPRECISION \n " ) ;
ralloc_asprintf_append ( buffer , " precision %s sampler2D; \n " , DefaultPrecision ) ;
ralloc_asprintf_append ( buffer , " precision %s samplerCube; \n \n " , DefaultPrecision ) ;
ralloc_asprintf_append ( buffer , " #endif \n " ) ;
2015-05-01 10:48:11 -04:00
// SGX540 compiler can get upset with some operations that mix highp and mediump.
// this results in a shader compile fail with output "compile failed."
// Although the actual cause of the failure hasnt been determined this code appears to prevent
// compile failure for cases so far seen.
ralloc_asprintf_append ( buffer , " \n #ifdef TEXCOORDPRECISIONWORKAROUND \n " ) ;
ralloc_asprintf_append ( buffer , " vec4 texture2DTexCoordPrecisionWorkaround(sampler2D p, vec2 tcoord) \n " ) ;
ralloc_asprintf_append ( buffer , " { \n " ) ;
ralloc_asprintf_append ( buffer , " return texture2D(p, tcoord); \n " ) ;
ralloc_asprintf_append ( buffer , " } \n " ) ;
ralloc_asprintf_append ( buffer , " #define texture2D texture2DTexCoordPrecisionWorkaround \n " ) ;
ralloc_asprintf_append ( buffer , " #endif \n " ) ;
2014-09-25 14:27:21 -04:00
}
2015-06-18 14:24:11 -04:00
if ( ( state - > language_version = = 310 ) & & ( ShaderTarget = = fragment_shader ) & & bEmitPrecision )
2014-09-25 14:27:21 -04:00
{
ralloc_asprintf_append ( buffer , " precision %s float; \n " , " highp " ) ;
ralloc_asprintf_append ( buffer , " precision %s int; \n " , " highp " ) ;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3170391 on 2016/10/21 by Ben.Woodhouse
Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.
#jira UE-37437
#fyi rolando.caloca, marcus.wassmer
Change 3170659 on 2016/10/21 by Rolando.Caloca
DR - vk - Prep work for state key changes
Change 3170676 on 2016/10/21 by Rolando.Caloca
DR - vk - Reworked blend state keys
- Added depth/stencil to pipeline key
Change 3170848 on 2016/10/21 by Daniel.Wright
Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.
Change 3170849 on 2016/10/21 by Daniel.Wright
Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear
Change 3170995 on 2016/10/21 by Rolando.Caloca
DR - vk - Show object on vulkan validation msgs
Change 3171085 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix pipelines being used with incompatible renderpasses
Change 3171159 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix layout when reading textures on CPU
Change 3171167 on 2016/10/21 by Rolando.Caloca
DR - vk - compile fix
Change 3172462 on 2016/10/24 by Daniel.Wright
Added a warning about shader compile times to the material tooltip
Change 3172463 on 2016/10/24 by Daniel.Wright
Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh
Change 3172716 on 2016/10/24 by Brian.Karis
Fix for crash UE-37369 when reimporting over a generated LOD.
Change 3172967 on 2016/10/24 by Rolando.Caloca
DR - vk - Fix writing buffers while GPU was using them
Change 3174187 on 2016/10/25 by Olaf.Piesche
UE-37020
Change 3174718 on 2016/10/26 by Rolando.Caloca
DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k
Change 3175960 on 2016/10/26 by Rolando.Caloca
DR - Added support for hlslcc header to have custom parsing
Change 3176611 on 2016/10/27 by David.Hill
DrawWireCone confusion:
In response to a UDN, I'm updating confusing parameter names and comments for
DrawWireCone() and DrawWireSphereCappedCone()
Change 3177111 on 2016/10/27 by Rolando.Caloca
DR - vk - Fix timestamps for frame
Change 3177192 on 2016/10/27 by Arne.Schober
DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState
Change 3177278 on 2016/10/27 by Olaf.Piesche
UE-37484
Change 3177297 on 2016/10/27 by Rolando.Caloca
DR - vk - Enable GRHISupportsBaseVertexIndex
Change 3177607 on 2016/10/27 by Rolando.Caloca
DR - vk - SM4 UB prep
Change 3178052 on 2016/10/28 by Arne.Schober
DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.
Change 3178156 on 2016/10/28 by Rolando.Caloca
DR - vk - Added query timer
- Fixed inline issues
Change 3178158 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for out of stencil bits
Change 3178462 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for Elemental
Change 3179131 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix for r.Vulkan.UseRealUBs
Change 3179139 on 2016/10/28 by Rolando.Caloca
DR - vk - Move UB ring buffer to context
Change 3179145 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix buffer barriers
Change 3179888 on 2016/10/31 by Rolando.Caloca
DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD
Change 3179923 on 2016/10/31 by Rolando.Caloca
DR - vk - Wait for swapchain counter
Change 3180430 on 2016/10/31 by Rolando.Caloca
DR - vk - Properly wait for occlusion queries/cmd buffer
- Actual log error if trying to use occlusion queries out of order
Change 3180746 on 2016/10/31 by Rolando.Caloca
DR - vk - Undo some waiting as it was on the wrong thread
Change 3182115 on 2016/11/01 by Rolando.Caloca
DR - hlslcc Linux path fix
Change 3182118 on 2016/11/01 by Daniel.Wright
Fixed global distance field seam artifacts from landscapes with no subsections
Change 3182368 on 2016/11/01 by Daniel.Wright
Dynamic Indirect Shadows for static meshes using distance fields
* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
* DFAO from landscape is now done through the global distance field entirely. Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.
Change 3182408 on 2016/11/01 by Rolando.Caloca
DR - vk - Reworked occlusion queries, fixes flickering on AMD
Change 3182585 on 2016/11/01 by Daniel.Wright
PS4 compile fix
Change 3183151 on 2016/11/02 by Rolando.Caloca
DR - vk - Fix issue when processing super quick cmd buffers
Change 3183160 on 2016/11/02 by Rolando.Caloca
Dr - vk - Call reset queries outside render pass
Change 3183182 on 2016/11/02 by Rolando.Caloca
DR - Switch clear
Change 3183194 on 2016/11/02 by Rolando.Caloca
DR - Try to catch crash ahead of time
Change 3183268 on 2016/11/02 by Rolando.Caloca
DR - vk - Rename RenderPassState to TransitionState
Change 3183440 on 2016/11/02 by Daniel.Wright
Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'
Change 3183793 on 2016/11/02 by Daniel.Wright
Added ShadowResolutionScale to lightcomponent
Change 3183796 on 2016/11/02 by Daniel.Wright
Improved bSimulatePhysics comment, with info on why it might be greyed out
Change 3183797 on 2016/11/02 by Daniel.Wright
Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps. Improves shadowmap utilization.
Change 3183915 on 2016/11/02 by Rolando.Caloca
DR - vk - Remove redundant renderpasses
Change 3183991 on 2016/11/02 by Daniel.Wright
Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only
Change 3184001 on 2016/11/02 by Daniel.Wright
Better draw event for IndirectCapsuleShadows in stereo
Change 3184096 on 2016/11/02 by Chris.Bunner
HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
Removed some outdated tonemamping cvars and modes.
Change 3184399 on 2016/11/02 by Daniel.Wright
Static analysis workaround
Change 3184455 on 2016/11/02 by Mark.Satterthwaite
Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
#jira UE-38164
Change 3184953 on 2016/11/03 by Chris.Bunner
Fixing CIS warnings.
[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
// HLSLCC_DX11ClipSpace adjustment
{
const char * func_clipControlAdjustments =
R " RawStrDelimiter(
void compiler_internal_AdjustInputSemantic ( inout vec4 TempVariable )
{
# if HLSLCC_DX11ClipSpace
TempVariable . y = - TempVariable . y ;
TempVariable . z = ( TempVariable . z + TempVariable . w ) / 2.0 ;
# endif
}
void compiler_internal_AdjustOutputSemantic ( inout vec4 Src )
{
# if HLSLCC_DX11ClipSpace
Src . y = - Src . y ;
Src . z = ( 2.0 * Src . z ) - Src . w ;
# endif
}
bool compiler_internal_AdjustIsFrontFacing ( bool isFrontFacing )
{
# if HLSLCC_DX11ClipSpace
return ! isFrontFacing ;
# else
return isFrontFacing ;
# endif
}
) RawStrDelimiter " ;
ralloc_asprintf_append ( buffer , func_clipControlAdjustments ) ;
}
2014-09-25 14:27:21 -04:00
// FramebufferFetchES2 'intrinsic'
2015-07-15 06:39:44 -04:00
bool bUsesFramebufferFetchES2 = UsesUEIntrinsic ( ir , FRAMEBUFFER_FETCH_ES2 ) ;
2014-09-25 14:27:21 -04:00
if ( bUsesFramebufferFetchES2 )
{
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3383462)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3292174 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Linux toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292193 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- ThirdParty libs compiled with new toolchain with wasm support
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292215 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and wbegl2 support
- emscripten toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292222 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm support
- ENGINE changes (c# & cpp files)
#jira UEPLAT-1437 Switch [to] web assembly
Change 3292223 on 2017/02/08 by Nick.Shin
HTML5 merge ThirdParty lib build scripts from Dev-Platform to Dev-Mobile
Change 3292228 on 2017/02/08 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches
- and a lot of UE4 patches to package HTML5 on LINUX
- mostly from mozilla's jukka -- thx jukka!
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3292285 on 2017/02/08 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- Windows toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3293994 on 2017/02/09 by Nick.Shin
HTML5 emscripten: wasm and webgl2 support
- OSX toolchain
#jira UEPLAT-1437 Switch [to] web assembly
Change 3294391 on 2017/02/09 by Nick.Shin
HTML5 "black box issues" revisited
- jukka rewrote the window resize handler -- much cleaner and more straightforward
#jira UE-36341 HTML5 - View is incorrectly drawn
#jira UE-32311 Templates on Firefox/Chrome on HTML5 are not full screen during Launch On
Change 3296421 on 2017/02/10 by Jack.Porter
Fix landscape spline segment splitting placing when using streaming levels
Change 3296587 on 2017/02/10 by Jack.Porter
Additional fix for landscape spline segment splitting when using streaming levels
Change 3301241 on 2017/02/14 by Mi.Wang
Fixed DeviceProfileEditor bug for incorrect clamp the Texture Mip LOD size. #jira UE-36237 #rb jack.porter
Change 3301387 on 2017/02/14 by Nick.Shin
HTML5 emscripten: webgl support
- webgl patches from mozilla's jukka
+ hardware instancing
+ glBlitFramebuffer
+ GL AlaphaBlendOperation
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3301405 on 2017/02/14 by Nick.Shin
HTML5 plugin fix when blueprint projects are promoted to code projects automatically.
#jira UE-41710 HTML5 - Package Failure - Failed to Produce item ProjectName-OnlineSubsystemNull.bc
Change 3302278 on 2017/02/14 by Omar.Rodriguez
UE-36651: Mac Vulkan Android Projects crash on launch.
* Glslang library has been built for Mac but flag was not updated
* Set GlslangAvailable to true for Mac when building an Android project with vulkan
#jira UE-36651
Change 3302773 on 2017/02/14 by Chris.Babcock
Add a dropdown with some common console commands on Android (contributed by rafortis)
#jira UE-40834
#PR #3143
#ue4
#android
Change 3305604 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader- turn on: instance static mesh vertex factory
#jira UEPLAT-828 (4.16) Support ES3 / WebGL2 in HTML5
Change 3308154 on 2017/02/16 by Nick.Shin
HTML5 GitHub PR
#jira UE-42019 GitHub 3258 : Added suport for emscripten --pre-js and --post-js option when building for HTML5
Change 3308510 on 2017/02/16 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3308971 on 2017/02/17 by Jack.Porter
Fix for landscape painting when height<0 in the Ortho viewports
Change 3309075 on 2017/02/17 by Allan.Bentham
Include static subject meshes when masking out modulated shadow casters.
#jira UE-41581
Change 3309531 on 2017/02/17 by Chris.Babcock
Handle large OBB files in APK
#jira UE-41443
#ue4
#android
Change 3311320 on 2017/02/19 by Dmitriy.Dyomin
Fixed: Particle Cutout Crashes On Mobile Devices That Don't Support Hardware Instancing (Mali-400 GPU)
#jira UE-41970
Change 3311347 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Engine Crashes When Previewing ES3_1 With Material Using World Position Offset (Need Custom Stencil)
#jira UE-41976
Change 3311398 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Landscapes do not render on PowerVR device
#jira UE-35530
Change 3311428 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Exposure Is More Extreme In High-End Mobile Preview Modes
#jira UE-42036
Change 3311448 on 2017/02/20 by Dmitriy.Dyomin
Fixed: Packaged game Crashes on android after entering "Help" command twice
#jira UE-41956
Change 3311587 on 2017/02/20 by Allan.Bentham
ES2 GLSL - Silently swap all uint to ints
#jira UE-41548
Change 3313930 on 2017/02/21 by Allan.Bentham
Print literal uints as ints when generating ES2 code.
#jira UE-41548
Change 3317924 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317929 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3317951 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318004 on 2017/02/22 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318669 on 2017/02/23 by Nick.Shin
HTML5 emscripten: wasm & webgl2 support - RC1
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318672 on 2017/02/23 by Nick.Shin
HTML5 webgl2 shader fixes
#jria UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3318819 on 2017/02/23 by Dmitriy.Dyomin
Fixed: Rendering artifacts with bloom on iPhone7 Metal
#jira UE-40978
Change 3319702 on 2017/02/23 by Chris.Babcock
Disable eglSwapInterval since it can cause issues with some drivers
#ue4
#android
Change 3320880 on 2017/02/24 by Dmitriy.Dyomin
Added r.Mobile.TonemapperFilm cvar which can be used to enable/disable filmic tonemapper on mobile, independently from desktop (disabled by default)
#jira UEMOB-195
Change 3321042 on 2017/02/24 by Jack.Porter
Fixed incorrect sizeof in Vulkan pipleine cache
pointed out here: http://coconutlizard.co.uk/blog/ue4/ue4-its-a-size-jim/
#code_review: rolando.caloca
Change 3322383 on 2017/02/24 by Chris.Babcock
Fix issue with ad banner on Android 7.0 devices
#jira UE-42390
#ue4
#android
Change 3322479 on 2017/02/24 by Omar.Rodriguez
UEMOB-199 - WEX: Improved virtual keyboard for Android
* Calculating the area covered by the virtual keyboard
* Calling OnVirtualKeyboardShown and OnVirtualKeyboardHidden events
* Passing the Rect of the area covered by the virtual keyboard OnVirtualKeyboardShown event
#jira UEMOB-199
Change 3323353 on 2017/02/27 by Allan.Bentham
Fix broken mobile scene captures when !mobileHDR and RHINeedsToSwitchVerticalAxis
#jira UE-42191
Change 3323431 on 2017/02/27 by Allan.Bentham
CIS fix
Change 3323687 on 2017/02/27 by Allan.Bentham
Disable GRHINeedsUnatlasedCSMDepthsWorkaround for mobile devices.
#jira UE-42131
Change 3324652 on 2017/02/28 by Dmitriy.Dyomin
Fixed: Canvas elements appear darker on iOS Metal
Change 3324885 on 2017/02/28 by Jack.Porter
Fixed "Minimum iOS Version" setting display name
#jira UE-42270
Change 3324899 on 2017/02/28 by Jack.Porter
GitHub 3063 : removed duplicate gc.MaxObjectsInGame setting in IOSEngine.ini
#jira UE-40018
#3063
Change 3324932 on 2017/02/28 by Jack.Porter
GitHub 3257 : iPhonePackager errors in output log when opening project settings on Windows
#jira UE-41984
#3257
#codereview: Peter.Sauerbrei
Change 3324956 on 2017/02/28 by Jack.Porter
FOpenGLFrontend::GetMaxSamplers incorrect for IOS
#jira UE-42038
#3264
Change 3325478 on 2017/02/28 by Allan.Bentham
PR # 3188 : Fix far distance bug with cascaded shadows on mobile (Metal) and PC mobile preview (Contributed by ufna)
#jira UE-41442
Change 3327300 on 2017/03/01 by Allan.Bentham
PR #3175 : Fixes high quality reflection blending seams (Contributed by kallehamalainen)
#jira UE-41257
Change 3328917 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
#jira UE-41584 Editor locks up when adding an element for HTML5 devices on Mac
#jira UE-41701 Editor freezes when setting browser filepath for inserted element in project settings
Change 3329169 on 2017/03/02 by Allan.Bentham
increase render thread timeout to 1 minute for suntemple / android.
Prevents low end devices timing out during load.
#jira UE-40696
Change 3330849 on 2017/03/02 by Nick.Shin
HTML5 project settings
expose ini settings to edtior HTML5 project settings panel
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3331078 on 2017/03/03 by Dmitriy.Dyomin
Fixed: Device output log partial lines
integrated from WEX (3250488)
Change 3331112 on 2017/03/03 by Dmitriy.Dyomin
Reduced state setup for slate draw calls (saves about 4ms RT time on mobile)
integrated from WEX (3256584)
Change 3331117 on 2017/03/03 by Dmitriy.Dyomin
Fixed redundant blend state changes in opengl
integrated from WEX (3256586)
Change 3331173 on 2017/03/03 by Dmitriy.Dyomin
Slate pixel shaders will use half precision where possible on mobile
integrated from WEX (3256656)
Change 3332865 on 2017/03/06 by Dmitriy.Dyomin
Better MobileContentScaleFactor defaults for iOS devices
#jira UEMOB-330
Change 3333129 on 2017/03/06 by Peter.Sauerbrei
move to Library/Caches instead of documents for saved files
re-enable iterative deploy on TVOS
#jira UEMOB-284
Change 3334692 on 2017/03/06 by Jack.Porter
Allow r.MobileContentScaleFactor to be changed at runtime on Android
#jira UEMOB-173
Change 3336255 on 2017/03/07 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3337094 on 2017/03/08 by Nick.Shin
HTML5 project settings
marking SIMD and multithreading as experimental - these do not play nice with WASM builds currently...
#jira UE-42331 Project Settings - HTML5 SDK - HTML Device population should be moved to an .ini
Change 3338800 on 2017/03/08 by Chris.Babcock
Update AAR handling to deal with versioning, subproject dependencies for resources, and scope
#jira UE-42677
#ue4
#android
Change 3338813 on 2017/03/08 by Chris.Babcock
Pass build configuration to UPL for access during packaging as $S(Configuration)
#jira UE-42678
#ue4
#android
#ios
Change 3339401 on 2017/03/09 by Alicia.Cano
Android runtime permissions
- Fix for WRITE_EXTERNAL_STORAGE if it is not granted at time of onCreate for non-shipping builds
- Fix for Location Services
- Fix for if target sdk is not set to 23+
#jira UE-38512
#android
#rb: chris.babcock
Change 3340736 on 2017/03/09 by Chris.Babcock
Implement support for new controllers (Xbox Wireless, SteelSeries Stratus XL, PS4) (contributed by TRS-justing)
#jira UE-41965
#PR #3254
#ue4
#android
Change 3340744 on 2017/03/09 by Jack.Porter
Expose Custom Depth to Foliage
#jira UE-6061
Change 3340849 on 2017/03/09 by Dmitriy.Dyomin
Fixed: iOS movie become laggy and crashes when played in iPhone 6/6s.
#jira UE-42351
Change 3341268 on 2017/03/10 by Alicia.Cano
PR #2894: Initial VoiceModuleAndroid support. (Contributed by devbm)
#jira UE-37945
#android
#rb: chris.babcock, jack.porter
Change 3341303 on 2017/03/10 by Allan.Bentham
Remove optimisation that prevents full specular occulsion on mobile.
PR #3186 : Specular can't be blocked on high-end mobile.
#jira UE-41393
Change 3342304 on 2017/03/10 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343344 on 2017/03/13 by Alicia.Cano
build fix
#rb: chris.babcock
Change 3343591 on 2017/03/13 by Brent.Pease
iOS multiplayer fix part 1. Correct byte ordering.
#jira UE-34875
Change 3343669 on 2017/03/13 by Chris.Babcock
Update carefullyredist script version
#jira UE-42832
Change 3344212 on 2017/03/13 by Will.Fissler
Various compile fixes for Xcode 8.3.
These fixes must also be added to //UE4/Release-4.15.
#jira UE-41313
Change 3344396 on 2017/03/13 by Chris.Babcock
Fix Java 1.5 obsolete warnings
#jira UE-42851
#ue4
#android
Change 3345132 on 2017/03/14 by Will.Fissler
Added ifdef wrapper to check clang version for presentDrawable.
Change 3345336 on 2017/03/14 by Will.Fissler
Moved #if (__clang_major__ > 8) || (__clang_major__ == 8 && __clang_minor__ >= 1) check inside of the presentDrawable method.
Change 3345460 on 2017/03/14 by Will.Fissler
ifdef changes for presentDrawable. The last submission duped the changes, instead of merging. #rb none
Change 3346046 on 2017/03/14 by Will.Fissler
Fixed MetalCommandBuffer.cpp [again] after last submission duped changes instead of merging.
Change 3346367 on 2017/03/14 by Chris.Babcock
Fix issue with GoogleVR ARMv7 libraries included for other architectures in link
#ue4
#android
Change 3347682 on 2017/03/15 by Allan.Bentham
Enable HW sRGB correction with retainer widget's render target.
Use slate's gamma correction for mobile (where no such support exists)
Render retainer box RT content with gamma correction.
#jira UE-40967
Change 3348712 on 2017/03/15 by Nick.Shin
HTML5 - upload to S3
updated to AWS "signature version 4" authentication
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349254 on 2017/03/16 by Jack.Porter
Fix for crash using the mobile previewer when the LQ lightmap shader permutation is disabled.
#jira UE-42971
Change 3349739 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
better error message feedback on upload failures
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3349765 on 2017/03/16 by Alicia.Cano
Disable mouseover events in Mobile Previewer
#jira UE-19903
#mobile
#rb: Jack.Porter
Change 3350049 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
folder in bucket is optional
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3350153 on 2017/03/16 by Nick.Shin
HTML5 - upload to S3
updated S3 public link generator
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3351582 on 2017/03/17 by Will.Fissler
Reverting the attempted fix for Xcode 8.3: Result += " -mcpu=cortex-a9";
Currently we cannot build arm64 for iOS with this change.
Change 3352085 on 2017/03/17 by Alicia.Cano
iOS doesn't honor request to close the virtual keyboard leading to a crash
#jira UE-36447
#ios
#rb:Peter.Sauerbrei
Change 3353313 on 2017/03/19 by Ben.Marsh
Always allow large *.js files in Github.
Change 3354444 on 2017/03/20 by Nick.Shin
HTML5 - upload to S3
to help make it obvious that "upload to S3" checkbox is set/or not -- disable S3 details if checkbox for "uploading to S3" is not set
#jira UE-42525 HTML5 Upload to Amazon S3 fails with Incorrect Configuration error
Change 3355618 on 2017/03/20 by Nick.Shin
HTML5 Save Game System
- ripped out HTML5 code [from Engine's SaveGameSystem.h] and placed it in HTML5Platform.cpp
- cleaned up HTML5PlatformFile.cpp (make it match as clost to linux's version)
- created HTML5's own PlatformFeature & SaveGameSystem files -- and updated HTML5PlatformMisc to make use of the the new HTML5 SaveGame code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3355621 on 2017/03/20 by Nick.Shin
remove temp debugging code
#jira UE-42081 Remove heinous HTML5 code from engine
Change 3356937 on 2017/03/21 by Chris.Babcock
Add "stat vulkanrhi" to new console dropdown
#jira UE-43149
#ue4
#android
Change 3357652 on 2017/03/21 by Nick.Shin
HTML5 performance speed ups
added "use fixed timestep" setting option for HTML5 builds (this has been separated from Engine - General Settings - Framerate)
- this is slightly different to smooth framerate and fixed framerate - thus, the timestep option was put in the HTML5 specific panel
this option is based on the suggestions by jukka's post:
- https://answers.unrealengine.com/questions/409629/smooth-frame-rate-and-use-fixed-frame-rate-should.html
however, using this option will make the player "run faster" on (for example) thirdperson blueprint template -- but, it has no effect on other (for example) zen garden...
#jira UE-30214 - Implement a warning message for fps settings
Change 3360415 on 2017/03/23 by Allan.Bentham
Fix crash that occurs when ES3.1 preview is used with r.MobileHDR32bppMode modes.
Change 3360418 on 2017/03/23 by Allan.Bentham
Disable filmic tonemapper if r.MobileHDR32bppMode is in use.
#jira UE-40913
Change 3360557 on 2017/03/23 by Allan.Bentham
Better fix for mobile CSM shadow flickering (UE-42131), now works for PC OpenGL based mobile preview.
#jira UE-42131
Change 3362258 on 2017/03/23 by Dmitriy.Dyomin
Fixed: Canvas texture element gamma issues on iOS Metal
Change 3362321 on 2017/03/24 by Dmitriy.Dyomin
GitHub 3173 : MaterialAO support for mobile rendering path (contributed by kallehamalainen)
#3173
Change 3363550 on 2017/03/24 by Alicia.Cano
build fix for devices < Android 5.0
#jira UE-43299
#android
#rb: chris.babcock
Change 3363687 on 2017/03/24 by Chris.Babcock
Fix Android password hiding in input dialog
#jira WEX-5159
#ue4
#android
Change 3365280 on 2017/03/27 by Dmitriy.Dyomin
Fix for GL_EXT_shader_framebuffer_fetch on Zenfone5. Use UE_EXT_shader_framebuffer_fetch define on all devices to enable extension
Change 3365291 on 2017/03/27 by Dmitriy.Dyomin
Copied form WEX CL# 3308653
Fixed: Enabling shader cache causes crash on NVIDIA Shield
#jira UE-41639
Change 3365293 on 2017/03/27 by Dmitriy.Dyomin
GitHub 3411 : Fix crash in patching utils mount method (contributed by nverenik)
#jira UE-43247
#3411
Change 3365340 on 2017/03/27 by Dmitriy.Dyomin
Fixed: Moving sublevel in world composition browser does not appear in Undo History
#jira UE-35535
Change 3365564 on 2017/03/27 by Allan.Bentham
SkyLightComponent now serializes IrradianceMap SH values.
clicking Recapture sky button in mobile preview switches back to SM4/5 to update captures.
Skylights that are dirty from load will trigger reflection capture update once shaders are rebuilt.
#jira UE-42436
Change 3366282 on 2017/03/27 by Nick.Shin
remove dead links
these files to not exist anywhere in the make-3.81 subfolders
#UDN-354501
#jira none
Change 3366306 on 2017/03/27 by Nick.Shin
HTML5 - disable multi-threading for wasm
#jira UE-43219 - HTML5 disable multi-threading for wasm
Change 3366307 on 2017/03/27 by Nick.Shin
HTML5 packaging Shipping builds
big cleanup / additions to *gz file support for amazon s3
* both, uploading to s3
* and allowing s3 to host the games there
#jira UE-43002 HTML5 in Shipping fails downloading symbols files
#jria UE-43001 HTML5 Shipping Projects fail looking for compressed files when "Compress files during shipping packaging" is not selected.
Change 3367385 on 2017/03/28 by Allan.Bentham
Display skylight serialization warning only when cooking for mobile platforms.
#jira UE-42436
Change 3368583 on 2017/03/28 by Chris.Babcock
Expose JAVA_HOME setting in Android SDK project settings on Mac
#jira UE-43418
#ue4
#android
Change 3368803 on 2017/03/28 by Chris.Babcock
Fix features requested in manifest for "Daydream and Cardboard" mode
#jira UE-43314
#ue4
#android
Change 3369087 on 2017/03/28 by Jack.Porter
Changed tooltip and added supported devices in paretheses for Android Mobile Deferred / ES31+AEP
#jira UE-42438
Change 3369372 on 2017/03/29 by Allan.Bentham
Fix disappearing meshes when r.mobile.allowdistancefieldshadows is disabled.
#jira UE-43366
Change 3369381 on 2017/03/29 by Jack.Porter
Show warnings when mobile shader permutations required for rendering are disbaled
Made FReadOnlyCVARCache a singleton and added mobile CVars, used for MobileBasePassRendering.
#jira UE-43050
Change 3369430 on 2017/03/29 by Allan.Bentham
fix CIS build
Change 3369740 on 2017/03/29 by Allan.Bentham
Added Android option to enable builds with hidden symbol visbility by default. (bBuildWithHiddenSymbolVisibility)
Android links with -gc-sections to remove unused code/data
Add JNI_METHOD for java accessible native functions, fixed up existing JNI functions to use macro.
Add support for map file generation with android.
Add 'bBuildWithHiddenSymbolVisibility' to AndroidPlatform.HasDefaultBuildConfig()
bBuildWithHiddenSymbolVisibility defaults to false in BaseEngine.ini
#jira UEMOB-168
Change 3369975 on 2017/03/29 by Nick.Shin
HTML5 - AWS S3 shareable link for shipping builds corrected
#jira UE-43379 Amazon S3 Shareable link does not generate correct filepath.
Change 3369998 on 2017/03/29 by Nick.Shin
HTML5 python build scripts
PR:
https://github.com/Mozilla-Games/UnrealEngine/commit/1cb836d43c3015c6ca0fdd039072bb6c5c273db3
#jira none
Change 3370214 on 2017/03/29 by Nick.Shin
HTML5 - default bUseFixedTimeStep to false...
#jira UE-43380 - Default HTML5 gamespeed is faster than equivalent platforms
Change 3370762 on 2017/03/29 by Chris.Babcock
Fixes to new keyboard for Android
- Ensure the local scope ScreenRect passed into OnVirtualKeyboardShown in AndroidJNI is captured by value instead of by reference.
- Moved ShowVirtualKeyboardInput's bKeyboardShowing early-out checks into the UI thread task. This allows the keyboard to continue showing when changing focus between multiple EditableTextBox widgets.
#ue4
#android
Change 3371344 on 2017/03/30 by Jack.Porter
Fixed issue where Vulkan screenshot R/B channels were reversed on Android
#jira UE-43479
Change 3372926 on 2017/03/30 by Peter.Sauerbrei
start the process of sunsetting 32-bit and GLES2 on iOS
#jira UE-42266
Change 3372970 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- windows toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3372989 on 2017/03/30 by Peter.Sauerbrei
fix for Xcode 8.3 build with 32-bit
Change 3373007 on 2017/03/30 by Peter.Sauerbrei
fix for crash when online subsystem is disabled on IOS
Change 3373108 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- emscripten toolchain
WARNING: emscripten/incoming/source/include/libc/bit (the file) might need to be deleted first
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373163 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- OSX toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373169 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
license file updated
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rnx
Change 3373287 on 2017/03/30 by Nick.Shin
HTML5 - 1.36.11 emscripten - remove old SDK
#jira none
#rnx
Change 3373289 on 2017/03/30 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- Linux toolchain
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3373595 on 2017/03/30 by Chris.Babcock
Reenable GooglePlay for ARM64 now that it doesn't crash
#jira UE-36198
#ue4
#android
Change 3373606 on 2017/03/30 by Chris.Babcock
Submitting Allan's shelved EXT_shader_framebuffer_fetch fix
#ue4
#android
Change 3375456 on 2017/03/31 by Chris.Babcock
Add missing keycodes for Android keyboard (@ and #)
#jira WEX-5777
#ue4
#android
Change 3376309 on 2017/04/03 by Allan.Bentham
Fix overflow issues with mobile DoF.
Change 3377041 on 2017/04/03 by Will.Fissler
Adding Testbed content for PlatformShowcase.
Change 3377582 on 2017/04/03 by Alicia.Cano
adding back in GET_ACCOUNTS permission as it is required for Reset Achievements
#jira: UE-43265
#android
#rb: Chris.Babcock
Change 3377643 on 2017/04/03 by Peter.Sauerbrei
fix for memory leak in MallocBinned
#jira UE-43008
Change 3378033 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty libs compiled with new toolchain with wasm and webgl2 support
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
#rn
Change 3378034 on 2017/04/04 by Nick.Shin
HTML5 - 1.37.9 emscripten: wasm & webgl2 support
- ThirdParty build scripts
#jira UEMOB-263 Switch [to] web assembly
#jira UEMOB-201 Support ES3 / WebGL2 in HTML5
Change 3378035 on 2017/04/04 by Nick.Shin
HTML5 - Update GameX template to make it work with trunk Emscripten
PR
https://github.com/Mozilla-Games/UnrealEngine/commit/dc2b26f452948f8ee07178bc3e8742af80d8919a#commitcomment-21454978
#jira none
#rn
Change 3378044 on 2017/04/04 by Nick.Shin
HTML5 harfbuzz - double checking recompiled with NO multithreading
wasm currently does not support pthreads
*** THIS IS STILL WIP ***
checking in to match 3rd party libs compiled configuration
#jira UE-28588 - Build HarfBuzz for HTML5
#rnx
Change 3378264 on 2017/04/04 by Allan.Bentham
Fix crash when using consolas font on android sdk 24
#jira UE-43464
Change 3379097 on 2017/04/04 by Nick.Shin
CIS HTML5 build warning fix
#jria none
#rnx
Change 3379333 on 2017/04/04 by Chris.Babcock
Prevent inserting extra permissions into manifest multiple times
#jira UE-43583
#ue4
#android
Change 3380870 on 2017/04/05 by Chris.Babcock
Fix merge issue
Change 3380898 on 2017/04/05 by Chris.Babcock
Fixed again
Change 3381443 on 2017/04/05 by Chris.Babcock
Fix for GearVR non-unity build
#ue4
#android
Change 3381941 on 2017/04/05 by Chris.Babcock
Fix HTTPChunkInstaller texture format checks and missing #define warning
#jira UE-43706
#ue4
#android
Change 3382056 on 2017/04/05 by Chris.Babcock
Updates to Android AARs needed for Facebook plugin
Change 3382097 on 2017/04/05 by Chris.Babcock
Disable java console cmd receiver only in shipping builds
#jira UE-43710
#ue4
#android
Change 3382497 on 2017/04/06 by Allan.Bentham
Fix Fortnite Cooked Server crashes when joining game from lobby.
#jira UE-43695
Change 3383227 on 2017/04/06 by Will.Fissler
Reverted case sensitive change, from yesterday, and implemented a pragma instead.
#jira UE-41313
[CL 3383473 by Jack Porter in Main branch]
2017-04-06 16:13:17 -04:00
ralloc_asprintf_append ( buffer , " \n #ifdef UE_EXT_shader_framebuffer_fetch \n " ) ;
2016-02-11 09:44:56 -05:00
ralloc_asprintf_append ( buffer , " #if (__VERSION__ >= 300) \n " ) ;
ralloc_asprintf_append ( buffer , " vec4 FramebufferFetchES2() { return gl_FragColor; } \n " ) ;
ralloc_asprintf_append ( buffer , " #else \n " ) ;
ralloc_asprintf_append ( buffer , " vec4 FramebufferFetchES2() { return gl_LastFragData[0]; } \n " ) ;
ralloc_asprintf_append ( buffer , " #endif \n " ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " #else \n " ) ;
2015-07-15 06:39:44 -04:00
ralloc_asprintf_append ( buffer , " #ifdef GL_ARM_shader_framebuffer_fetch \n " ) ;
ralloc_asprintf_append ( buffer , " vec4 FramebufferFetchES2() { return gl_LastFragColorARM; } \n " ) ;
ralloc_asprintf_append ( buffer , " #else \n " ) ;
ralloc_asprintf_append ( buffer , " vec4 FramebufferFetchES2() { return vec4(65000.0, 65000.0, 65000.0, 65000.0); } \n " ) ;
ralloc_asprintf_append ( buffer , " #endif \n " ) ;
2014-09-25 14:27:21 -04:00
ralloc_asprintf_append ( buffer , " #endif \n \n " ) ;
}
2015-07-15 06:39:44 -04:00
bool bUsesDepthbufferFetchES2 = UsesUEIntrinsic ( ir , DEPTHBUFFER_FETCH_ES2 ) ;
2015-06-25 02:07:29 -04:00
if ( bUsesDepthbufferFetchES2 )
{
ralloc_asprintf_append ( buffer , " \n #ifdef GL_ARM_shader_framebuffer_fetch_depth_stencil \n " ) ;
2015-07-28 01:50:06 -04:00
ralloc_asprintf_append ( buffer , " float DepthbufferFetchES2(float OptionalDepth, float C1, float C2) { float w = 1.0f/(gl_LastFragDepthARM*C1-C2); return clamp(w, 0.0f, 65000.0f); } \n " ) ;
2015-06-25 02:07:29 -04:00
ralloc_asprintf_append ( buffer , " #else \n " ) ;
ralloc_asprintf_append ( buffer , " float DepthbufferFetchES2(float OptionalDepth, float C1, float C2) { return OptionalDepth; } \n " ) ;
ralloc_asprintf_append ( buffer , " #endif \n \n " ) ;
}
2015-07-15 06:39:44 -04:00
if ( UsesUEIntrinsic ( ir , GET_HDR_32BPP_HDR_ENCODE_MODE_ES2 ) )
{
ralloc_asprintf_append ( buffer , " \n float %s() { return HDR_32BPP_ENCODE_MODE; } \n " , GET_HDR_32BPP_HDR_ENCODE_MODE_ES2 ) ;
}
2014-09-25 14:27:21 -04:00
foreach_iter ( exec_list_iterator , iter , * ir )
{
ir_instruction * inst = ( ir_instruction * ) iter . get ( ) ;
do_visit ( inst ) ;
}
buffer = 0 ;
char * decl_buffer = ralloc_asprintf ( mem_ctx , " " ) ;
buffer = & decl_buffer ;
declare_structs ( state ) ;
buffer = 0 ;
char * signature = ralloc_asprintf ( mem_ctx , " " ) ;
buffer = & signature ;
print_signature ( state , bGroupFlattenedUBs ) ;
buffer = 0 ;
const char * geometry_layouts = " " ;
if ( state - > maxvertexcount > 0 )
{
check ( state - > geometryinput > 0 ) ;
check ( state - > outputstream_type > 0 ) ;
geometry_layouts = ralloc_asprintf (
mem_ctx ,
2016-04-13 12:14:19 -04:00
" \n layout(%s) in; \n layout(%s, max_vertices = %u) out; \n \n " ,
2014-09-25 14:27:21 -04:00
GeometryInputStrings [ state - > geometryinput ] ,
OutputStreamTypeStrings [ state - > outputstream_type ] ,
state - > maxvertexcount ) ;
}
char * layout = ralloc_asprintf ( mem_ctx , " " ) ;
buffer = & layout ;
print_layout ( state ) ;
buffer = 0 ;
char * Extensions = ralloc_asprintf ( mem_ctx , " " ) ;
buffer = & Extensions ;
2015-06-25 02:07:29 -04:00
print_extensions ( state , bUsesFramebufferFetchES2 , bUsesDepthbufferFetchES2 , state - > language_version = = 310 ) ;
2015-03-18 16:16:25 -04:00
if ( state - > bSeparateShaderObjects & & ! state - > bGenerateES )
2015-02-06 11:35:30 -05:00
{
switch ( state - > target )
{
case geometry_shader :
ralloc_asprintf_append ( buffer , " in gl_PerVertex \n "
" { \n "
" \t vec4 gl_Position; \n "
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
" \t float gl_ClipDistance[]; \n "
2015-02-06 11:35:30 -05:00
" } gl_in[]; \n "
) ;
case vertex_shader :
ralloc_asprintf_append ( buffer , " out gl_PerVertex \n "
" { \n "
" \t vec4 gl_Position; \n "
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
" \t float gl_ClipDistance[]; \n "
2015-02-06 11:35:30 -05:00
" }; \n "
) ;
break ;
case tessellation_control_shader :
ralloc_asprintf_append ( buffer , " in gl_PerVertex \n "
" { \n "
" \t vec4 gl_Position; \n "
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
" \t float gl_ClipDistance[]; \n "
2015-02-06 11:35:30 -05:00
" } gl_in[gl_MaxPatchVertices]; \n "
) ;
ralloc_asprintf_append ( buffer , " out gl_PerVertex \n "
" { \n "
" \t vec4 gl_Position; \n "
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
" \t float gl_ClipDistance[]; \n "
2015-02-06 11:35:30 -05:00
" } gl_out[]; \n "
) ;
break ;
case tessellation_evaluation_shader :
ralloc_asprintf_append ( buffer , " in gl_PerVertex \n "
" { \n "
" \t vec4 gl_Position; \n "
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
" \t float gl_ClipDistance[]; \n "
2015-02-06 11:35:30 -05:00
" } gl_in[gl_MaxPatchVertices]; \n "
) ;
ralloc_asprintf_append ( buffer , " out gl_PerVertex \n "
" { \n "
" \t vec4 gl_Position; \n "
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
" \t float gl_ClipDistance[]; \n "
2015-02-06 11:35:30 -05:00
" }; \n "
) ;
break ;
case fragment_shader :
case compute_shader :
default :
break ;
}
}
2014-09-25 14:27:21 -04:00
buffer = 0 ;
char * full_buffer = ralloc_asprintf (
state ,
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3170391 on 2016/10/21 by Ben.Woodhouse
Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.
#jira UE-37437
#fyi rolando.caloca, marcus.wassmer
Change 3170659 on 2016/10/21 by Rolando.Caloca
DR - vk - Prep work for state key changes
Change 3170676 on 2016/10/21 by Rolando.Caloca
DR - vk - Reworked blend state keys
- Added depth/stencil to pipeline key
Change 3170848 on 2016/10/21 by Daniel.Wright
Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.
Change 3170849 on 2016/10/21 by Daniel.Wright
Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear
Change 3170995 on 2016/10/21 by Rolando.Caloca
DR - vk - Show object on vulkan validation msgs
Change 3171085 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix pipelines being used with incompatible renderpasses
Change 3171159 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix layout when reading textures on CPU
Change 3171167 on 2016/10/21 by Rolando.Caloca
DR - vk - compile fix
Change 3172462 on 2016/10/24 by Daniel.Wright
Added a warning about shader compile times to the material tooltip
Change 3172463 on 2016/10/24 by Daniel.Wright
Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh
Change 3172716 on 2016/10/24 by Brian.Karis
Fix for crash UE-37369 when reimporting over a generated LOD.
Change 3172967 on 2016/10/24 by Rolando.Caloca
DR - vk - Fix writing buffers while GPU was using them
Change 3174187 on 2016/10/25 by Olaf.Piesche
UE-37020
Change 3174718 on 2016/10/26 by Rolando.Caloca
DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k
Change 3175960 on 2016/10/26 by Rolando.Caloca
DR - Added support for hlslcc header to have custom parsing
Change 3176611 on 2016/10/27 by David.Hill
DrawWireCone confusion:
In response to a UDN, I'm updating confusing parameter names and comments for
DrawWireCone() and DrawWireSphereCappedCone()
Change 3177111 on 2016/10/27 by Rolando.Caloca
DR - vk - Fix timestamps for frame
Change 3177192 on 2016/10/27 by Arne.Schober
DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState
Change 3177278 on 2016/10/27 by Olaf.Piesche
UE-37484
Change 3177297 on 2016/10/27 by Rolando.Caloca
DR - vk - Enable GRHISupportsBaseVertexIndex
Change 3177607 on 2016/10/27 by Rolando.Caloca
DR - vk - SM4 UB prep
Change 3178052 on 2016/10/28 by Arne.Schober
DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.
Change 3178156 on 2016/10/28 by Rolando.Caloca
DR - vk - Added query timer
- Fixed inline issues
Change 3178158 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for out of stencil bits
Change 3178462 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for Elemental
Change 3179131 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix for r.Vulkan.UseRealUBs
Change 3179139 on 2016/10/28 by Rolando.Caloca
DR - vk - Move UB ring buffer to context
Change 3179145 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix buffer barriers
Change 3179888 on 2016/10/31 by Rolando.Caloca
DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD
Change 3179923 on 2016/10/31 by Rolando.Caloca
DR - vk - Wait for swapchain counter
Change 3180430 on 2016/10/31 by Rolando.Caloca
DR - vk - Properly wait for occlusion queries/cmd buffer
- Actual log error if trying to use occlusion queries out of order
Change 3180746 on 2016/10/31 by Rolando.Caloca
DR - vk - Undo some waiting as it was on the wrong thread
Change 3182115 on 2016/11/01 by Rolando.Caloca
DR - hlslcc Linux path fix
Change 3182118 on 2016/11/01 by Daniel.Wright
Fixed global distance field seam artifacts from landscapes with no subsections
Change 3182368 on 2016/11/01 by Daniel.Wright
Dynamic Indirect Shadows for static meshes using distance fields
* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
* DFAO from landscape is now done through the global distance field entirely. Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.
Change 3182408 on 2016/11/01 by Rolando.Caloca
DR - vk - Reworked occlusion queries, fixes flickering on AMD
Change 3182585 on 2016/11/01 by Daniel.Wright
PS4 compile fix
Change 3183151 on 2016/11/02 by Rolando.Caloca
DR - vk - Fix issue when processing super quick cmd buffers
Change 3183160 on 2016/11/02 by Rolando.Caloca
Dr - vk - Call reset queries outside render pass
Change 3183182 on 2016/11/02 by Rolando.Caloca
DR - Switch clear
Change 3183194 on 2016/11/02 by Rolando.Caloca
DR - Try to catch crash ahead of time
Change 3183268 on 2016/11/02 by Rolando.Caloca
DR - vk - Rename RenderPassState to TransitionState
Change 3183440 on 2016/11/02 by Daniel.Wright
Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'
Change 3183793 on 2016/11/02 by Daniel.Wright
Added ShadowResolutionScale to lightcomponent
Change 3183796 on 2016/11/02 by Daniel.Wright
Improved bSimulatePhysics comment, with info on why it might be greyed out
Change 3183797 on 2016/11/02 by Daniel.Wright
Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps. Improves shadowmap utilization.
Change 3183915 on 2016/11/02 by Rolando.Caloca
DR - vk - Remove redundant renderpasses
Change 3183991 on 2016/11/02 by Daniel.Wright
Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only
Change 3184001 on 2016/11/02 by Daniel.Wright
Better draw event for IndirectCapsuleShadows in stereo
Change 3184096 on 2016/11/02 by Chris.Bunner
HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
Removed some outdated tonemamping cvars and modes.
Change 3184399 on 2016/11/02 by Daniel.Wright
Static analysis workaround
Change 3184455 on 2016/11/02 by Mark.Satterthwaite
Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
#jira UE-38164
Change 3184953 on 2016/11/03 by Chris.Bunner
Fixing CIS warnings.
[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
" // Compiled by HLSLCC %d.%d \n %s#version %u %s \n %s%s%s%s%s \n " ,
2014-09-25 14:27:21 -04:00
HLSLCC_VersionMajor , HLSLCC_VersionMinor ,
signature ,
state - > language_version ,
state - > language_version = = 310 ? " es " : " " ,
Extensions ,
geometry_layouts ,
layout ,
decl_buffer ,
code_buffer
) ;
ralloc_free ( mem_ctx ) ;
return full_buffer ;
}
} ;
struct FBreakPrecisionChangesVisitor : public ir_rvalue_visitor
{
_mesa_glsl_parse_state * State ;
2016-06-13 12:20:22 -04:00
const bool bDefaultPrecisionIsHalf ;
FBreakPrecisionChangesVisitor ( _mesa_glsl_parse_state * InState , bool bInDefaultPrecisionIsHalf )
: State ( InState )
, bDefaultPrecisionIsHalf ( bInDefaultPrecisionIsHalf )
{ }
2014-09-25 14:27:21 -04:00
virtual void handle_rvalue ( ir_rvalue * * RValuePtr ) override
{
if ( ! RValuePtr | | ! * RValuePtr )
{
return ;
}
bool bGenerateNewVar = false ;
auto * RValue = * RValuePtr ;
auto * Expression = RValue - > as_expression ( ) ;
auto * Constant = RValue - > as_constant ( ) ;
if ( Expression )
{
2016-06-13 12:20:22 -04:00
if ( bDefaultPrecisionIsHalf )
2014-09-25 14:27:21 -04:00
{
switch ( Expression - > operation )
{
case ir_unop_i2f :
case ir_unop_b2f :
case ir_unop_u2f :
2016-06-13 12:20:22 -04:00
bGenerateNewVar = bDefaultPrecisionIsHalf ;
2014-09-25 14:27:21 -04:00
break ;
case ir_unop_i2h :
case ir_unop_b2h :
case ir_unop_u2h :
2016-06-13 12:20:22 -04:00
bGenerateNewVar = ! bDefaultPrecisionIsHalf ;
2014-09-25 14:27:21 -04:00
break ;
case ir_unop_h2f :
case ir_unop_f2h :
if ( ! Expression - > operands [ 0 ] - > as_texture ( ) )
{
bGenerateNewVar = true ;
}
break ;
}
}
}
else if ( Constant )
{
/*
2016-06-13 12:20:22 -04:00
if ( ( bDefaultPrecisionIsHalf & & Constant - > type - > base_type = = GLSL_TYPE_HALF ) | |
( ! bDefaultPrecisionIsHalf & & Constant - > type - > base_type = = GLSL_TYPE_FLOAT ) )
2014-09-25 14:27:21 -04:00
{
bGenerateNewVar = true ;
}
*/
}
if ( bGenerateNewVar )
{
auto * NewVar = new ( State ) ir_variable ( RValue - > type , nullptr , ir_var_temporary ) ;
auto * NewAssignment = new ( State ) ir_assignment ( new ( State ) ir_dereference_variable ( NewVar ) , RValue ) ;
* RValuePtr = new ( State ) ir_dereference_variable ( NewVar ) ;
base_ir - > insert_before ( NewVar ) ;
base_ir - > insert_before ( NewAssignment ) ;
}
}
} ;
void ir_gen_glsl_visitor : : AddTypeToUsedStructs ( const glsl_type * type )
{
if ( type - > base_type = = GLSL_TYPE_STRUCT )
{
if ( hash_table_find ( used_structures , type ) = = NULL )
{
hash_table_insert ( used_structures , ( void * ) type , type ) ;
}
}
if ( type - > base_type = = GLSL_TYPE_ARRAY & & type - > fields . array - > base_type = = GLSL_TYPE_STRUCT )
{
if ( hash_table_find ( used_structures , type - > fields . array ) = = NULL )
{
hash_table_insert ( used_structures , ( void * ) type - > fields . array , type - > fields . array ) ;
}
}
if ( ( type - > base_type = = GLSL_TYPE_INPUTPATCH | | type - > base_type = = GLSL_TYPE_OUTPUTPATCH ) & & type - > inner_type - > base_type = = GLSL_TYPE_STRUCT )
{
if ( hash_table_find ( used_structures , type - > inner_type ) = = NULL )
{
hash_table_insert ( used_structures , ( void * ) type - > inner_type , type - > inner_type ) ;
}
}
}
char * FGlslCodeBackend : : GenerateCode ( exec_list * ir , _mesa_glsl_parse_state * state , EHlslShaderFrequency Frequency )
{
FixRedundantCasts ( ir ) ;
//IRDump(ir);
2016-06-13 12:20:22 -04:00
const bool bDefaultPrecisionIsHalf = ( ( HlslCompileFlags & HLSLCC_UseFullPrecisionInPS ) = = 0 ) ;
FBreakPrecisionChangesVisitor BreakPrecisionChangesVisitor ( state , bDefaultPrecisionIsHalf ) ;
2014-09-25 14:27:21 -04:00
BreakPrecisionChangesVisitor . run ( ir ) ;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
if ( ! AllowsESLanguage ( ) )
{
state - > bGenerateES = false ;
}
2014-09-25 14:27:21 -04:00
const bool bGroupFlattenedUBs = ( ( HlslCompileFlags & HLSLCC_GroupFlattenedUniformBuffers ) = = HLSLCC_GroupFlattenedUniformBuffers ) ;
const bool bGenerateLayoutLocations = state - > bGenerateLayoutLocations ;
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3147796)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2948319 on 2016/04/19 by Nick.Shin
update zlib to v1.2.8
part 1 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
Change 2948322 on 2016/04/19 by Nick.Shin
update libwebsockets to v1.7.4
part 4 of 4 - doing this in stages for tracking purposes
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 2948661 on 2016/04/19 by Nick.Shin
keep using old zlibs until they are recompiled with the newer version
Change 2948737 on 2016/04/19 by Nick.Shin
build warning fix
Change 2949334 on 2016/04/20 by Nick.Shin
fix library path
for some reason, NetworkFileSystem and HttpNetworkReplayStreaming on Mac platform needs full path - even though lib path was set...
Change 2951556 on 2016/04/21 by Nick.Shin
static libs double checked
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2951559 on 2016/04/21 by Nick.Shin
static libs double checked
forgot these files - they were in another changelist
#jira UE-29674 - Editor fails to open in Dev-Platform
Change 2952411 on 2016/04/22 by Nick.Shin
add win32 build targets for zlib openssl libcurl libwebsockets
part 1 of 2: these are the C# build scripts
Change 2970016 on 2016/05/07 by Nick.Shin
undo all of the following upgrades:
- zlib
- openssl
- libcurl
- libwebsockets
and reset webrtc
#jira UE-30298 - Fortnite and Orion crash on login
Change 3118163 on 2016/09/08 by Josh.Adams
perm test 2, not a useful file at all
Change 3121142 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3121150 on 2016/09/12 by Daniel.Lamb
Added warning logs to help track down issue UE-33453.
Change 3121201 on 2016/09/12 by Keith.Judge
Xbox One - Replicate CL 3114357 from 4.13 branch. ESRAM clear on create fix.
Change 3121302 on 2016/09/12 by Joe.Graf
Fixed up the IMPLEMENT_MODULE macro usage to avoid the link errors
Change 3121379 on 2016/09/12 by Dmitry.Rekman
Linux: only link libraries that export needed symbols (UE-35720).
- Fixes very long startup times of modular builds.
- Includes PR #2778 by slonopotamus.
#jira UE-35720
Change 3121383 on 2016/09/12 by Dmitry.Rekman
Linux: added some missing _API declarations on symbols used externally.
- Compiling editor with -fvisibility=hidden works after this fix (although running still doesn't).
Change 3121456 on 2016/09/12 by Daniel.Lamb
Attempt to fix deterministic cooking issue for particlelodlevel.
Ensure the spawn module has had postload called on it before using.
#test Paragon cook
Change 3122939 on 2016/09/13 by Luke.Thatcher
[PLATFORM] [PS4] [!] Skip orbismemdmp files in the PS4 crash handler web service.
- Writing these files to disk causes orbis-tm.exe to take a file lock on them, which means we can't move the crash directory to the landing zone.
Change 3123040 on 2016/09/13 by Brent.Pease
+ Fix VS compile error by removing ENGINE_API from virtual method decls since ENGINE_API is defined for the entire class now.
Change 3123664 on 2016/09/13 by Nick.Shin
this was originally checked into: release 4.13.1
bringing here to dev-platform
-- original submit comments --
first, safari has a problem with firing off "window resized" events - causing an infinite loop of the window "resizing"
next, retina has "bigger" size calculations going off -- so y-delta checks greater than 2 are done to prevent resize event firing off in an infinite loop
jira UE-35363 - Huge game window when launching onto Safari 9.1.2
Change 3125282 on 2016/09/14 by Michael.Trepka
Fixed iOS and tvOS code indexing in Xcode project
Change 3126812 on 2016/09/15 by Josh.Adams
Merged Wolf support into Dev-Platform (hidden from almost all people still). Non-Wolf-specific changes:
- Added Parse function to JsonObject.cs to be able to parse a string
- Replaced some hacky post-reflection-capture functions with RHISubmitCommandsAndFlushGPU()
- Split PLATFORM_HAS_BSD_SOCKET_FEATURE_GETADDRINFO off from PLATFORM_HAS_BSD_SOCKET_FEATURE_GETHOSTNAME
- Converted the PS4MallocCrash class into a generic one (that Wolf is now also using)
- Added AddGenericToInQueueOnlineThread(), useful running a delegate on Online thread instead of game thread
- Refactored the GL shader compiler to allow Wolf to modify behavior without a lot of if WOLF checks everywhere
- Added ability in the cross compiler to convert the global uniform arrays into named uniform buffer objects
- Added ability for GL shader compiler to output original resources names ("VertColor" instead of "u_v[3]" or whatever)
- Added "FORCELODGROUP" console command that will apply a StaticMesh LODGroup to selected meshes in the editor. This can batch-Simplygonify all meshes in a level. Should maybe become an editor tool.
- Added ability for arrays of structs to specify a property to be the key. So, with LODGroups, the Name key inside the struct can be the unique key, so when you have multiple .ini files in the hierarchy overriding the same LODGroup by name, it will repalce the first with the second, instead of adding two entries with the same name. Set by @ArrayName=KeyPropertyName. Per Object Config sections need a little different handling, which uses * (see BaseDeviceProfiles.ini)
- Added ability to change DeviceProfiles at runtime. Use "dp.override <name>". If you do it again to another one, it will reset the settings to what they were originally, before applying the second new DP. This is because the second DP may not set all settings the first one did, but we want to undo the first settings that the second doesn't contain.
- Added FRHICommandListImmediate::IsStalled() - returns true while FRHICommandListImmediate::StallRHIThread is happening
- Changed runtime GetFeatureLevelMaxTextureSamplers() calls to the new GetMaxTextureSamplers() which can now be handled by the platform. Renamed GetFeatureLevelMaxTextureSamplers to GetExpectedFeatureLevelMaxTextureSamplers() (only used by the shader editor) to guess at what maybe the samplers count will be - but it's not guaranteed correct.
- Renamed a UT copy of a global function to not linker-conflict
- Changed the OOMBackupMemoryPool to allow each platform to set how much memory to allocate. See FPlatformMemory::GetBackMemoryPoolSize(). Defaults to 0, which was the previous behavior with the now removed FPlatformMemory::SupportBackupMemoryPool(), which was only true in Windows and PS4.
- Added an OOM delegate so other systems can get a callback after OOM occurs (after deleting the backup memory pool if it exists)
- Changed SetQualityLevels() (in Scalability.cpp) to no longer change the SetBy priority when setting CVars, and now keeps the SetBy the same as it was. Helps with conflicts between game settings and device profiles. See SetWithCurrentPriority()
- Added GetRenderingThreadPriority to FPlatformAffinity to allow a platform override priority. Not sure about this one, so may remove it, or maybe add more priorities for all the threads?
- Added a new file into the ini hierarchy to begin fixing the Engine/Base -> Project/Default -> Engine/Platform -> Project/Platform mess. We now have Engine/Base -> Engine/BasePlatform -> Project/Default -> Engine/Platform -> Project/Platform. However, Engine/Platform will soonm be deprecated as we move things over to Engine/BasePlatform, that are safe to move.
Change 3126842 on 2016/09/15 by Michael.Trepka
Make SAssertPicker's search box the default widget to focus on activate so that it doesn't get deactivated on Mac, where we get the window activation event in a tick after SAssertPicker creation.
Change 3126956 on 2016/09/15 by Michael.Trepka
Added support for compiling Vulkan shaders for Android on Mac
Change 3127206 on 2016/09/15 by Michael.Trepka
PR #2604: Remove some warnings. (Contributed by reapazor)
Change 3127324 on 2016/09/15 by Michael.Trepka
Allow third party dylibs on Mac to be loaded from plugin subfolders
Change 3127924 on 2016/09/16 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3128369 on 2016/09/16 by Nick.Shin
zlib 1.2.8
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128377 on 2016/09/16 by Nick.Shin
openssl 1_0_2h
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128383 on 2016/09/16 by Nick.Shin
libcurl 7_48_0
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128384 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128464 on 2016/09/16 by Nick.Shin
webRTC rev.12643
NOTE: VS2015
- only Win64 is available
- Win32 versions is crashing (e.g. EpicGamesLauncher) at the moment
NOTE: VS2013
- not tested (i'm working on getting a VS2013 pro license) - so not checking in with this changelist
- also, VS2013 is no longer supported by webRTC build scripts, so it will be old anyways
FUTURE NOTE:
- will continue to try to get VS2015 Win32 functional
- and am working on trying to get VS2013 tested
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128500 on 2016/09/16 by Nick.Shin
zlib 1.2.8 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128504 on 2016/09/16 by Nick.Shin
openssl 1_0_2h - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128506 on 2016/09/16 by Nick.Shin
libcurl 7_48_0 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128508 on 2016/09/16 by Nick.Shin
libwebsockets 1.7.4 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128513 on 2016/09/16 by Nick.Shin
webRTC rev.12643 - OSX
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128602 on 2016/09/16 by Nick.Shin
webRTC rev.9862 - Win64 VS2013
NOTE:
- not tested (i'm working on getting a VS2013 pro license)
- checking in for testing purposes
WARNING:
- VS2013 is no longer supported by webRTC latest
headers and lib updates
part of [ zlib openssl libcurl libwebsockets webrtc ] updates
Change 3128605 on 2016/09/16 by Nick.Shin
re-enabling updated ThirdParySoftware libs:
- zlib (v.1.2.8)
- openssl (1.0.2h)
- libcurl (7_48_0)
- libwebsocket (v.1.7.4)
- webRTC (rev.12643)
to the codereviewers, in my attempt to ensure the older libs are still used for console, mobile and linux -- please refer to this checkin if i broke the build...
Change 3128651 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605
Change 3128704 on 2016/09/16 by Nick.Shin
fix Win32 build error from CL: #3128605 - this time actually compiling it...
Change 3128825 on 2016/09/16 by Dmitry.Rekman
Linux: proper fix for too slow startup times (UE-35967).
- Pull request #2793 by slonopotamus.
- Now without stripping dependencies on libraries specified before.
- Contains a work around for ld bug <2.25.
Change 3128972 on 2016/09/16 by Nick.Shin
fix to local build error.
Change 3129283 on 2016/09/16 by Brent.Pease
+ Add Android local notification support based on existing system used for iOS
+ Initial API has been added for cancelling local notifications but the actual platform implementation will be done in the next release
Change 3129494 on 2016/09/17 by Nick.Shin
fix CIS build errors
Change 3129503 on 2016/09/17 by Dmitry.Rekman
Fix Linux build (case sensitivity issue).
Change 3129514 on 2016/09/17 by Nick.Shin
fix CIS build errors for consoles - missing zlib include path
special thanks to Dmitry.Rekman for pointing me in the right direction
Change 3129647 on 2016/09/17 by Dmitry.Rekman
Linux: fix non-unity build.
Change 3131043 on 2016/09/19 by Nick.Shin
archiving build instructions/steps when building:
- zlib (v.1.2.8)
win: #3128369
osx: #3128500
- openssl (1.0.2h)
win: #3128377
osx: #3128504
- libcurl (7_48_0)
win: #3128383
osx: #3128506
- libwebsocket (v.1.7.4)
win: #3128384
osx: #3128508
- webRTC
win: #3128464 (rev.12643 for vs2015) + 3128602 (rev:9862 for vs2013) -- NOTE: win32 is WiP
osx: #3128513
Change 3132801 on 2016/09/20 by Dmitry.Rekman
Linux: support specifying default OpenGL version via configs (UE-34777).
- The first targeted RHI is going to be used.
Change 3132905 on 2016/09/20 by Josh.Adams
- Fixed up some paths with the WolfPlat rename
Change 3133148 on 2016/09/20 by Josh.Adams
- Only show UT EULA if PLATFORM_DESKTOP
Change 3133152 on 2016/09/20 by Josh.Adams
- Beginning support for applets. Disabled unless you have a special SDK with applet support.
Change 3133169 on 2016/09/20 by Josh.Adams
- Fixed issue with Wolf access but no SDK installed
Change 3133344 on 2016/09/20 by Daniel.Lamb
Fixed issue with Iterative cooking not detecting changes to ini files which are loaded using LoadLocalFile.
Added new flag to limit number of concurrent shader compiles.
#test Cook QAGame, Cook Paragon
Change 3133345 on 2016/09/20 by Daniel.Lamb
FRedirectCollector collects string asset references all the time when running the editor.
#test Cook paragon cook QAGame.
Change 3133852 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated.
Change 3133875 on 2016/09/21 by Luke.Thatcher
[PLATFORM] [PS4] [^] Performing merge between 3.508.201 LCUE files in CarefullyRedist and Dev-Platform to populate integration history. No files have actually changed in this CL, only Perforce metadata is updated. (Attempt 2)
Change 3134403 on 2016/09/21 by Jonathan.Fitzpatrick
Per PS4 documentation, app_type requires the alternate spelling of 'upgradeable', 'upgradable'.
Change 3134544 on 2016/09/21 by Josh.Adams
- Reduced UT textures for Wolf
Change 3134915 on 2016/09/21 by Jonathan.Fitzpatrick
FPS4Time::SystemTime now calculates the local machine time, instead of UTC.
#jira UE-35170
Change 3135036 on 2016/09/21 by Michael.Trepka
Quit the UE4EditorServices app when quitting the Launcher if it was the launcher that spawned the services process
Change 3135142 on 2016/09/21 by Jonathan.Fitzpatrick
GetBackMemoryPoolSize returned bool on PS4 by accident, should be uint32
Change 3135292 on 2016/09/21 by Jeff.Campeau
Change include order to favor the XDK edition specific headers where available.
Change 3136414 on 2016/09/22 by Josh.Adams
- Fixed a checkf() that had the case reversed
#jira ue-36311
Change 3137082 on 2016/09/22 by Dmitry.Rekman
Added support for Linux installed builds to 4.14
Change 3137220 on 2016/09/22 by Dmitry.Rekman
Linux: do not rebuild hlslcc on each setup.
- Now that hlslcc is set to use bundled libc++ there should be no STL binary compatibility conflicts between the engine and hlslcc binary.
Change 3137227 on 2016/09/22 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3137259 on 2016/09/22 by Dmitry.Rekman
Linux installed build: fix CIS (missed one .csproj)
Change 3137290 on 2016/09/22 by Dmitry.Rekman
Linux installed builds: fix for the resulting directory.
Change 3137291 on 2016/09/22 by Chris.Babcock
Restore texture filtering mode properly when movie played on Android
#jira UE-36342
#ue4
#android
Change 3137376 on 2016/09/22 by Dmitry.Rekman
Linux: re-enabled crash handler stack smash protection.
- Race condition in FRunnableThreadPThread has been previously fixed.
Change 3138498 on 2016/09/23 by Dmitry.Rekman
Linux: add missed package for installed builds.
- mono-devel package for resgen2.
Change 3138523 on 2016/09/23 by Dmitry.Rekman
Linux: Update hlslcc now that we're not rebuilding it each time.
Change 3138658 on 2016/09/23 by Josh.Adams
- Moved UT's Social Plugin into NotForLicensees
Change 3139042 on 2016/09/23 by Dmitry.Rekman
Linux: more robust check of installed packages.
- Also added mono-devel to the list of packages installed on 14.04.
Change 3139674 on 2016/09/26 by Dmitry.Rekman
Fix crash when editing widget blueprints (UE-35185).
- Caused by name collision due to copy/pasted code; aliased classes diverged and this resulted in all kinds of weird memory stomping.
- Renamed the class and also applied the same workaround (removing static) to prevent likely crashes on exit as happened with the original class (see UE-30795).
Change 3140203 on 2016/09/26 by Josh.Adams
- Wolf Fix for SHIPPING
Change 3140206 on 2016/09/26 by Josh.Adams
- NEX work, still in progress
Change 3140276 on 2016/09/26 by Josh.Adams
- Fixed Wolf compile error
Change 3140485 on 2016/09/26 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3140570 on 2016/09/26 by Dmitry.Rekman
SDL2: Delete obsolete files.
- We now have local changes to SDL2, so this tarball is no longer accurate and just takes unnecessary space.
Change 3140577 on 2016/09/26 by Dmitry.Rekman
Fix CudaTest monolithic build.
- Not the best fix, the better fix is to build against bundled libc++.
Change 3141184 on 2016/09/27 by Keith.Judge
Add FXboxOneApplication::GetXboxOneApplication to fix a save/load game assert.
#jira UE-35973
Change 3141623 on 2016/09/27 by Chris.Babcock
Support hiding virtual keyboard on Android
#jira UE-34201
#ue4
#android
Change 3141887 on 2016/09/27 by Joe.Graf
Added support for additional plugin directories that are specified by the .uproject file
New plugin wizard adds to the additional plugin directories if the user specifies a directory outside of Engine/Plugins or Game/Plugins
Change 3141916 on 2016/09/27 by Josh.Adams
- Worked around compile issues (at least with Wolf UT). This is well documented in a Jira (UE-29925)
Change 3141926 on 2016/09/27 by Josh.Adams
- Support for skipping Wolf user selector (-nologinui)
Change 3141938 on 2016/09/27 by Chris.Babcock
Allow Android media player to seek past 999ms (contributed by rcywongaa)
#jira UE-36453
#PR #2797
#ue4
#android
Change 3142207 on 2016/09/27 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3142219 on 2016/09/27 by Josh.Adams
- Wolf PhysX 3.4 libs and includes
Change 3142220 on 2016/09/27 by Josh.Adams
- File that had to be fixed up after main merge (missed adding it to the huge integrate CL)
Change 3142314 on 2016/09/27 by Chase.McAllister
#jira UE-35011 fixes to some assets to remove redundancies/output log spam
Change 3142510 on 2016/09/27 by Daniel.Lamb
Fixed up resave lightmaps commandlet so that world transforms don't get applied twice.
#jira UE-35942
Change 3142650 on 2016/09/27 by Chris.Babcock
Android support for Linux by yaakuro
- requires CodeWorks for Android Linux installed and OpenJDK 1.8
- need to set Android SDK paths manually in Project Settings
#jira UE-32752
#jira UE-32753
#PR #2564
#PR #2565
#ue4
#android
#linux
Change 3142802 on 2016/09/27 by Dmitry.Rekman
Upgrade to SDL 2.0.5-ish (still technically 2.0.4).
- Upstream revision 10374:dccf51aee79b.
- Merged all our changes hopefully.
Change 3143075 on 2016/09/28 by Luke.Thatcher
[RENDERING] [~] Add check to FBatchedElements::AddSprite to catch null textures. If the texture is null here, we will crash later in the RHI. At least now we'll get the callstack of the code adding the null textured sprite, since I don't have a repro.
#jira UE-33077
Change 3143219 on 2016/09/28 by Daniel.Lamb
Added new is compiling function which tells you if it's really compiling instead of lying.
If def out additional logging for debugging shader compilation issue for 4.14 release.
Change 3143428 on 2016/09/28 by Luke.Thatcher
[PLATFORM] [PS4] [+] Use PS4 SDK 4.008.061
Change 3143488 on 2016/09/28 by Daniel.Lamb
Changed defaults for skip cooking editor content to true.
Change 3143526 on 2016/09/28 by Daniel.Lamb
Increased the concurrent shader compile limit while in the cooker.
#test Cook paragon
Change 3143874 on 2016/09/28 by Chris.Babcock
Read Android environment variables from .bashrc on Linux
#jira UE-36565
#ue4
#android
#linux
Change 3143911 on 2016/09/28 by Dmitry.Rekman
Fix SDL EGL API binding (UE-18979).
- Contains PR #1398 by x414e54.
- Also fixes offscreen backend that needed to provide a global mouse state after the SDL upgrade.
Change 3143929 on 2016/09/28 by Daniel.Lamb
Removed some more temporary logging.
#test Cook paragon
Change 3143959 on 2016/09/28 by Jeff.Campeau
Media Player for Xbox One
Change 3143997 on 2016/09/28 by Dmitry.Rekman
Linux: faster linking in Debug.
- Do not apply --as-needed to Debug build since taking a hit of several tens of seconds on startup is better than linking for ~4 more minutes when iterating.
Change 3144004 on 2016/09/28 by Dmitry.Rekman
Linux: make SCW dump core on crash in debug builds.
- If the editor (not SCW itself) is built in Debug, make SCW dump cores if they ever crash. This makes it debug easier (at the risk of running of disk space).
Change 3144007 on 2016/09/28 by Dmitry.Rekman
Linux: Allow equals character in command line parameter value (UE-26406).
- PR #2019 by bozzaro.
- Allows passing parameters like -Switch=Key=Value.
Change 3144042 on 2016/09/28 by Jeff.Campeau
Add tag for DX12 support being experimental in target settings.
#jira UE-36150
Change 3144068 on 2016/09/28 by Dmitry.Rekman
Linux: enable using xgConsole in UAT (UE-28096).
- PR #2144 by bozzaro.
- Picks correct xgConsole binary.
- Allegedly fixes crash in CombineXGEItemFile on mono.
Change 3144120 on 2016/09/28 by Michael.Trepka
Copying //Tasks/UE4/Dev-HighDPI/... to //UE4/Dev-Platform/...
Change 3144172 on 2016/09/28 by Chris.Babcock
Add libpng 1.5.27 for Android
#jira UE-36573
#ue4
#android
Change 3144318 on 2016/09/28 by Chris.Babcock
Correct logic for checking .bashrc on Linux
#ue4
#android
Change 3144331 on 2016/09/28 by Dmitry.Rekman
Linux: repair ARM server builds.
- Also: print info about C++ library being used and allow the override via environment variable UE4_LINUX_USE_LIBCXX (either 0 or 1).
Change 3144354 on 2016/09/28 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
this is intermediate, not fully working
Change 3144368 on 2016/09/28 by Josh.Adams
- Moved the new Social files into NFL
Change 3144395 on 2016/09/28 by Chris.Babcock
Add missing functions for AndroidWebBrowserWindow
#ue4
#android
Change 3144417 on 2016/09/28 by Josh.Adams
- Probable fix for FWebBrowserWindow missing virtuals
Change 3144438 on 2016/09/28 by Jeff.Campeau
XDK updated to 160802
Change 3144569 on 2016/09/29 by Dmitry.Rekman
Linux: allow a selectable clock source (UE-36564).
- The engine will now select the best performing clock on start instead of hard-coding CLOCK_REALTIME. This will happen as part of global initialization before main() to prevent clock skew.
- Also fixes a problem of the engine not being able to start on Windows 10 since previously hard-coded clock id was not supported there.
#tests Compiled and ran a few targets (including non-monolithic). Tried bogus clock sources. Haven't actually tried on Win10 (don't have a machine atm).
Change 3145108 on 2016/09/29 by Joe.Graf
Fixed cases where path relative external plugin paths would generate the wrong path when running Unreal Header Tool (and probably other tools)
Change 3145245 on 2016/09/29 by Joe.Graf
#wolf
Checking in removal of plugin use on Win64 per Josh's request
Change 3145514 on 2016/09/29 by Will.Fissler
Updated Mac Info.plist files to disable high DPI on macOS 10.12
Change 3145538 on 2016/09/29 by Josh.Adams
- Worked around a physics task graph issue with using the new lock free stuff on Wolf, joining PS4 and XboxOne. Wolf was crashing on some boots.
Change 3145540 on 2016/09/29 by Josh.Adams
- Fix for checking some Wolf dev tool installation existence
- Fix for various Wolf build issues
- Fix for Wolf devices not showing up in Launch on
Change 3145542 on 2016/09/29 by Josh.Adams
- Pulled over Wolf changes from Wolf branch into Dev-Platform
Change 3145572 on 2016/09/29 by Josh.Adams
- Cleaned up Wolf SDK error logs which really messed up GenProjectFiles for some class of people.
#jira UE-36591
Change 3145769 on 2016/09/29 by Chris.Babcock
Remove duplicate platforms from deploy list in UFE
#jira UE-36636
#ue4
Change 3146061 on 2016/09/29 by Chris.Babcock
Linux: be less spammy in log when launching external procs
#jira UE-36638
#ue4
#linux
Change 3146208 on 2016/09/29 by Dmitry.Rekman
Linux: fix PhysX crash (UE-36613).
- PX_RESTRICT was unwarrantedly applied to memMove, allowing clang to replace the memmove() call to memcpy() at -O2 and above.
- This caused PxArray::remove() to duplicate the elements of its array (in POD case) and this opened doors to all kinds of fun.
#jira UE-36613
Change 3146476 on 2016/09/30 by Josh.Adams
- Moved a UBT log that could pollute QA logs with Wolf secrets to Verbose
Change 3146554 on 2016/09/30 by Josh.Adams
- Removed another wolf secret log
Change 3146626 on 2016/09/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3146712 on 2016/09/30 by Josh.Adams
- Fixed case for building Android on Linux
#jira #UE-36652
Change 3146844 on 2016/09/30 by Josh.Adams
- Removed ES2 shader compiling from TVOS, and force Metal compiling
#jira UE-36306
Change 3146865 on 2016/09/30 by Daniel.Lamb
Removed temp logging for materials
#test Launch on paragon
Change 3146874 on 2016/09/30 by Dmitry.Rekman
Linux: add rpath for libTextureConverter.so (UE-36620).
Change 3147030 on 2016/09/30 by Josh.Adams
- Version check workaround for IOS9.3/TVOS9.2 defining __IPHONE_10_0 which breaks our IOS10 code checks
#jira UE-36623
Change 3147151 on 2016/09/30 by Josh.Adams
- Fixed zlib.build.cs for XboxOne, which came in from another branch without an include path, yet somehow main is compiling?
Change 3147621 on 2016/09/30 by Michael.Trepka
Fix for setting up RPATHs for third party dylibs for packaged code-based games on Mac
Change 3147712 on 2016/09/30 by Josh.Adams
- Fixed metal crash StrategyGame crash. Recent code was checking IsES2Platform for HDR decoding in scene capture, and Metal hasn't been IsES2 since may. Changed to IsMobilePlatform.
#jira UE-36225
Change 3147725 on 2016/09/30 by Josh.Adams
- Fixed yet another Wolf log for people with Wolf access but no SDK
[CL 3147801 by Josh Adams in Main branch]
2016-09-30 21:21:09 -04:00
const bool bEmitPrecision = WantsPrecisionModifiers ( ) ;
ir_gen_glsl_visitor visitor ( state - > bGenerateES , bEmitPrecision , ( Target = = HCT_FeatureLevelES3_1Ext | | Target = = HCT_FeatureLevelES3_1 ) , state - > target , bGenerateLayoutLocations , bDefaultPrecisionIsHalf , ! AllowsGlobalUniforms ( ) ) ;
2014-09-25 14:27:21 -04:00
const char * code = visitor . run ( ir , state , bGroupFlattenedUBs ) ;
return _strdup ( code ) ;
}
// Verify if SampleLevel() is used
struct SPromoteSampleLevelES2 : public ir_hierarchical_visitor
{
_mesa_glsl_parse_state * ParseState ;
const bool bIsVertexShader ;
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
bool bIsES2 ;
SPromoteSampleLevelES2 ( _mesa_glsl_parse_state * InParseState , bool bInIsVertexShader , bool bInIsES2 ) :
2014-09-25 14:27:21 -04:00
ParseState ( InParseState ) ,
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
bIsVertexShader ( bInIsVertexShader ) ,
bIsES2 ( bInIsES2 )
2014-09-25 14:27:21 -04:00
{
}
virtual ir_visitor_status visit_leave ( ir_texture * IR ) override
{
if ( IR - > op = = ir_txl )
{
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
if ( bIsVertexShader & & bIsES2 )
2014-09-25 14:27:21 -04:00
{
YYLTYPE loc ;
loc . first_column = IR - > SourceLocation . Column ;
loc . first_line = IR - > SourceLocation . Line ;
2015-03-10 10:40:42 -04:00
loc . source_file = IR - > SourceLocation . SourceFile ;
2014-09-25 14:27:21 -04:00
_mesa_glsl_error ( & loc , ParseState , " Vertex texture fetch currently not supported on GLSL ES \n " ) ;
}
else
{
//@todo-mobile: allowing lod texture functions for now, as they are supported on some devices via glsl extension.
// http://www.khronos.org/registry/gles/extensions/EXT/EXT_shader_texture_lod.txt
// Compat work will be required for devices which do not support it.
/*
2016-04-13 12:14:19 -04:00
_mesa_glsl_warning ( ParseState , " %s(%u, %u) Converting SampleLevel() to Sample() \n " , IR - > SourceLocation . SourceFile . c_str ( ) , IR - > SourceLocation . Line , IR - > SourceLocation . Column ) ;
2014-09-25 14:27:21 -04:00
IR - > op = ir_tex ;
*/
}
}
if ( IR - > offset )
{
YYLTYPE loc ;
loc . first_column = IR - > SourceLocation . Column ;
loc . first_line = IR - > SourceLocation . Line ;
2015-03-10 10:40:42 -04:00
loc . source_file = IR - > SourceLocation . SourceFile ;
2014-09-25 14:27:21 -04:00
_mesa_glsl_error ( & loc , ParseState , " Texture offset not supported on GLSL ES \n " ) ;
}
return visit_continue ;
}
} ;
// Converts an array index expression using an integer input attribute, to a float input attribute using a conversion to int
struct SConvertIntVertexAttributeES2 : public ir_hierarchical_visitor
{
_mesa_glsl_parse_state * ParseState ;
exec_list * FunctionBody ;
int InsideArrayDeref ;
std : : map < ir_variable * , ir_variable * > ConvertedVarMap ;
SConvertIntVertexAttributeES2 ( _mesa_glsl_parse_state * InParseState , exec_list * InFunctionBody ) : ParseState ( InParseState ) , FunctionBody ( InFunctionBody ) , InsideArrayDeref ( 0 )
{
}
virtual ir_visitor_status visit_enter ( ir_dereference_array * DeRefArray ) override
{
// Break the array dereference so we know we want to modify the array index part
auto Result = ir_hierarchical_visitor : : visit_enter ( DeRefArray ) ;
+ + InsideArrayDeref ;
DeRefArray - > array_index - > accept ( this ) ;
- - InsideArrayDeref ;
return visit_continue ;
}
virtual ir_visitor_status visit ( ir_dereference_variable * DeRefVar ) override
{
if ( InsideArrayDeref > 0 )
{
ir_variable * SourceVar = DeRefVar - > var ;
if ( SourceVar - > mode = = ir_var_in )
{
// First time it still is an integer, so add the temporary and a conversion, and switch to float
if ( SourceVar - > type - > is_integer ( ) )
{
check ( SourceVar - > type - > is_integer ( ) & & ! SourceVar - > type - > is_matrix ( ) & & ! SourceVar - > type - > is_array ( ) ) ;
// Double check we haven't processed this
auto IterFound = ConvertedVarMap . find ( SourceVar ) ;
check ( IterFound = = ConvertedVarMap . end ( ) ) ;
// New temp var
ir_variable * NewVar = new ( ParseState ) ir_variable ( SourceVar - > type , NULL , ir_var_temporary ) ;
base_ir - > insert_before ( NewVar ) ;
// Switch original type to float
SourceVar - > type = glsl_type : : get_instance ( GLSL_TYPE_FLOAT , SourceVar - > type - > vector_elements , 1 ) ;
// Convert float to int
ir_dereference_variable * NewSourceDeref = new ( ParseState ) ir_dereference_variable ( SourceVar ) ;
ir_expression * NewCastExpression = new ( ParseState ) ir_expression ( ir_unop_f2i , NewSourceDeref ) ;
ir_assignment * NewAssigment = new ( ParseState ) ir_assignment ( new ( ParseState ) ir_dereference_variable ( NewVar ) , NewCastExpression ) ;
base_ir - > insert_before ( NewAssigment ) ;
// Add the entry and modify the original Var
ConvertedVarMap [ SourceVar ] = NewVar ;
DeRefVar - > var = NewVar ;
}
else
{
auto IterFound = ConvertedVarMap . find ( SourceVar ) ;
if ( IterFound ! = ConvertedVarMap . end ( ) )
{
DeRefVar - > var = IterFound - > second ;
}
}
}
}
return ir_hierarchical_visitor : : visit ( DeRefVar ) ;
}
} ;
bool FGlslCodeBackend : : ApplyAndVerifyPlatformRestrictions ( exec_list * Instructions , _mesa_glsl_parse_state * ParseState , EHlslShaderFrequency Frequency )
{
if ( ParseState - > bGenerateES )
{
bool bIsVertexShader = ( Frequency = = HSF_VertexShader ) ;
// Handle SampleLevel
{
Copying //UE4/Dev-Mobile to //UE4/Dev-Main (Source: //UE4/Dev-Mobile @ 3056055)
#lockdown Nick.Penwarden
#rb None
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3011102 on 2016/06/13 by Steve.Cano
After taking a screenshot using glReadPixels, transfer the data to the target buffer from bottom row up to fix the "upside-down" render that OpenGL does. Confirmed with QA (owen.stupka_volt) that this does not appear to be happening on iOS (non-metal devices, inclusion of iOS in write-up was a mistake), verified on an ipod touch 5. Also confirmed that this does not happen on html5, and that Mobile HDR flag does not make a difference in function.
#jira UE-26421
#ue4
#android
Change 3015801 on 2016/06/16 by Dmitriy.Dyomin
Probbably fix for UE-30878, was not able to repro an actual crash(FFoliageInstanceBaseCache::AddInstanceBaseId). Added even more logging in case fix does not work.
#jira UE-30878
Change 3015903 on 2016/06/16 by Dmitriy.Dyomin
Fixed: Levels window has Refresh/UI issues when World Composition is active
#jira UE-26160
Change 3018352 on 2016/06/17 by Chris.Babcock
Handle Android media prepare failure (URL without internet for example)
#jira UE-32029
#ue4
#android
Change 3026387 on 2016/06/24 by Jack.Porter
Remove FFuncTestManager warning about PIE when running on a standalone game binary
Change 3026398 on 2016/06/24 by Jack.Porter
Prevent FSocketBSD::Recv returning false on SE_EWOULDBLOCK
Change 3027553 on 2016/06/25 by Niklas.Smedberg
OpenGL: Made some block size calculation work for arbitrary block sizes (e.g. not pow-of-two).
Change 3027554 on 2016/06/25 by Niklas.Smedberg
Metal: copyFromTexture now gets block-aligned size parameter (e.g. used for texture streaming)
Change 3028061 on 2016/06/26 by Jack.Porter
Fixed a problem where newly discovered instances were not added to an existing session in the Session Browser.
Fixed a problem where selecting an instance in a session with multiple instances didn't deselect the previously selected instance correctly.
Change 3029220 on 2016/06/27 by Steve.Cano
Change Android Tilt values to use GetRotationMatrix/GetOrientation logic, same as java-side android would use, and adjust slightly to match as closely as possible to iOS values for tilt. There is drift and some differences in the "Y" value but the same sort of inconsistencies are also seen on iOS.
#jira UE-6135
#ue4
#android
Change 3030420 on 2016/06/28 by Jack.Porter
Fix crash with RenderOutputValidation when running with cooked content
Change 3030426 on 2016/06/28 by Jack.Porter
Fix to CL 3026398 - make FSocketBSD(IPv6)::Recv(From) return false when recv returns 0.
A return value of 0 indicates the connection was shutdown in an orderly manner.
Change 3030973 on 2016/06/28 by Steve.Cano
Added a landscape downloader background along with the options to change it from within Android settings
#ue4
#android
#jira UE-32318
Change 3031757 on 2016/06/28 by Chris.Babcock
Remove unused methods from AndroidJNI header
#ue4
#android
Change 3032387 on 2016/06/29 by Allan.Bentham
Rename android es31+aep -> glesdeferred.
Change 3032711 on 2016/06/29 by Allan.Bentham
Rename GLSL_310_ES_EXT shader define:
ES31_AEP_PROFILE -> ESDEFERRED_PROFILE
bumped UE_SHADER_GLSL_310_ES_EXT_VER version number.
Change 3033698 on 2016/06/29 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3034210 on 2016/06/30 by Steve.Cano
Added a new AndroidRuntimeSettings variable that allows creation of installers for both Windows and Mac/Linux if set to true.
#jira UE-32302
#ue4
#android
Change 3034530 on 2016/06/30 by Chris.Babcock
Rename FManifestReader to FAndroidFileManifestReader in AndroidFile
#jira UE-32679
#ue4
#android
Change 3034612 on 2016/06/30 by Steve.Cano
Change Alpha from being set to a range of 0-255 to being in a range of 0-1 (which is the correct range of values)
#jira UE-25325
#ue4
#android
Change 3034679 on 2016/06/30 by Chris.Babcock
Fix tooltip (.command for mac, not .sh)
#jira UE-32302
#ue4
#android
Change 3038881 on 2016/07/05 by Jack.Porter
Package and launch on multiple Android devices simultaneously using the -Device=xxxxxxx+yyyyyyyy+zzzzzzzz format generated by a Project Launcher profile when you select multiple devices
#jira UEMOB-115
Change 3039240 on 2016/07/06 by Jack.Porter
TcpMessageTransport - connection-based message bus transport.
#jira UEMOB-112
#jira UEMOB-113
Change 3039252 on 2016/07/06 by Jack.Porter
Enable messaging and session services and functional testing on Android when launched with -messaging
Android device detection module support for adding port forwarding and connection announcement for TcpMessageTransport
#jira UEMOB-112
#jira UEMOB-113
Change 3039264 on 2016/07/06 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3040041 on 2016/07/06 by Chris.Babcock
Pass proper value to script generator functions
#jira UE-32861
#ue4
#android
Change 3040890 on 2016/07/07 by Allan.Bentham
Fix shadow crash
#jira UE-32884
Change 3041458 on 2016/07/07 by Peter.Sauerbrei
fix for IOS launch on failures
Change 3041542 on 2016/07/07 by Peter.Sauerbrei
better fix for the multi-device deployment issue
Change 3041774 on 2016/07/07 by Steve.Cano
Fixing crash that occurs when a games app id for Google Play is set before configuring the apk packaging. Also validating the value that is inserted and using it to override any values that have been hand-inserted into the GooglePlayAppID.xml
#jira UE-16992
#android
#ue4
Change 3042222 on 2016/07/08 by Dmitriy.Dyomin
Mobile packaging scenarious
Added a wizard for creating launcher profiles (Android & IOS) for scenario: Minimal App + Downloadable content
Added Archive step to launcher profiles to be able to store build product into specified directory
Changes to a cooker to be able to pack DLC based with a different flavor to a release App
Changes to DLC packaging to be able to build streaming data without chunking pak files
#jira UEMOB-119
Change 3042244 on 2016/07/08 by Dmitriy.Dyomin
Fixed crash in FTcpMessageTransportConnection::Stop
Change 3042270 on 2016/07/08 by Dmitriy.Dyomin
GitHub #2320 : [ULevelStreamingKismet] Load Level Instance, Enables UE4 Users to create multiple transformed instances of a .umap without having to include in persistent level's list ? Rama
contributed by: EverNewJoy
#jira UE-29867
Change 3042449 on 2016/07/08 by Dmitriy.Dyomin
Fixing Mac Editor build erros from CL# 3042222
Change 3042480 on 2016/07/08 by Allan.Bentham
Add ES3.1 profile & compiler_glsl_es3_1 to shaders.
Change 3042481 on 2016/07/08 by Allan.Bentham
hlslcc - ES3.1 changes.
set ES3.1 version number to 310
Do not use ES2 keywords for ES3.1.
Generate Layout Locations for ES3.1
bump version.
Change 3042483 on 2016/07/08 by Allan.Bentham
Add mobile ES3.1 support.
Recreates EGL and ES3.1 context during PlatformInitOpenGL if ES3.1 is required.
Change 3042485 on 2016/07/08 by Allan.Bentham
Undo android XGE change.
Change 3042506 on 2016/07/08 by Dmitriy.Dyomin
One more compile fix from CL# 3042222
Change 3044173 on 2016/07/10 by Dmitriy.Dyomin
UAT: Added support for building target platforms with multiple cook flavors
ex: -targetplatform=Android -cookflavor=ETC1+ETC2
Change 3044213 on 2016/07/11 by Dmitriy.Dyomin
Fixed: Can't stream in a level whose name is a substring of another streaming level
#jira UE-32999
Change 3044221 on 2016/07/11 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3044815 on 2016/07/11 by Allan.Bentham
Corrected NAME_GLSL_ES3_1_ANDROID format string.
Change 3046911 on 2016/07/12 by Chris.Babcock
Add handling of OnTextChanged for virtual keyboard input on Android
#jira UE-32348
#ue4
#android
Change 3046958 on 2016/07/12 by Chris.Babcock
Rename some functions with Error in the name to prevent false coloring in the logs
#jira UE-30541
#ue4
#android
Change 3047169 on 2016/07/12 by Chris.Babcock
Return player ID and handle auth token for Google Play Games on Android (contributed by gameDNAstudio)
#jira UE-30610
#pr #2372
#ue4
#android
Change 3047406 on 2016/07/12 by Jack.Porter
Add missing import to GameActivity.java
Change 3047442 on 2016/07/13 by Dmitriy.Dyomin
Added: Mobile custom post-process
Limitations: can fetch only from PostProcessInput0 (SceneColor) other scene textures are not supported. Does not support "Replacing the Tonemapper" blendable location.
#jira UEMOB-147
Change 3047466 on 2016/07/13 by Dmitriy.Dyomin
Disabled engine crash handler on Android, system crash handler works more reliably across different os versions/devices
Change 3047746 on 2016/07/13 by Jack.Porter
Rename FBasePassFowardDynamicPointLightInfo
Change 3047778 on 2016/07/13 by Jack.Porter
Missing file for rename FBasePassFowardDynamicPointLightInfo
Change 3047788 on 2016/07/13 by Allan.Bentham
Fix incorrect TargetPlatformDescriptor string generation.
Change 3047790 on 2016/07/13 by Allan.Bentham
Fixed half3x3 matrix use with ES3.1 glsl
Fixed couple of interpolator precision mismatch.
Fixed ES3.1 support detection issues
Change 3047816 on 2016/07/13 by Allan.Bentham
Remove AndroidGL4 remnants.
Change 3048926 on 2016/07/13 by Chris.Babcock
Added detection of Amazon Fire TV to disable requiring virtual joysticks
#ue4
#android
Change 3049335 on 2016/07/14 by Dmitriy.Dyomin
Fixing UAT crash when packaging project for iOS
Change 3049390 on 2016/07/14 by Jack.Porter
Disabled error for warning 4819 "The file contains a character that cannot be represented in the current code page (xxx). Save the file in Unicode format to prevent data loss"
This is triggered by European characters and copyright symbols in source saved as latin-1 when compiling on non-US windows. Seen often in 3rd party headers, eg nvapi.
#code_review: Ben.Marsh
Change 3049391 on 2016/07/14 by Jack.Porter
Fixed incorrect comment order in CL 3049390
Change 3049545 on 2016/07/14 by Dmitriy.Dyomin
Reworking some code from CL#3047442 to make static analizer happy
Change 3049626 on 2016/07/14 by Allan.Bentham
Automatic CSM shader toggling
#jira UE-27429
Change 3051574 on 2016/07/15 by Jack.Porter
Support for lighting channels on Mobile
- Multiple directional lights are supported in different channels but primitives are only affected by the directional light in the first channel they have set
- CSM shadows from stationary or movable directional lights correctly follow their lighting channels
- No channel limitations for dynamic point lights
Notes:
Removed mobile-specific directional light shadowing fields from View uniform buffer and mobile no longers uses SimpleDirectionalLight.
Separate uniform buffers for mobile directional light are generated for each lighting channel.
CSM culling information is now stored in FViewInfo and not per FVisibleLightViewInfo as the visibility bits are per view.
#code_review Daniel.Wright
#jira UEMOB-110
Change 3051699 on 2016/07/15 by Steve.Cano
Preserve the original, pre-transformed input vertices for Slate shaders, which is required to properly do anti-aliasing (the ViewProjection-transformed values were causing the lines to not be drawn).
#jira UE-20320
#ue4
#android
Change 3051744 on 2016/07/15 by Chris.Babcock
Fix Android Vulkan include path checks (contributed by kodomastro)
#jira UE-33311
#PR #2602
#ue4
#android
Change 3052023 on 2016/07/15 by Chris.Babcock
Fix shadowed variables
Change 3052110 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- missing template
- accessor function for MobileDirectionalLights from scene
Change 3052242 on 2016/07/15 by Chris.Babcock
Compile fixes for light channel support on mobile
- removed dependency on C++14 feature
Change 3052730 on 2016/07/16 by Dmitriy.Dyomin
Win32 build fix
Change 3053041 on 2016/07/17 by Jack.Porter
Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
Change 3053054 on 2016/07/17 by Jack.Porter
Changed use of old function ShouldUseDeferredRenderer() to new GetShadingPath()
Change 3053055 on 2016/07/17 by Jack.Porter
Fixed local variable aliasing in unity build
Change 3053206 on 2016/07/18 by Jack.Porter
Support ExecuteJavascript on iOS and Android
Expose ExecuteJavascript to widget blueprint
Fix ExecuteJavascript unicode string support on desktop platforms
#jira UEMOB-152
Change 3053323 on 2016/07/18 by Dmitriy.Dyomin
Added: Ability to set thread affinity for a device in Device Profiles (ex: +CVars=android.SetThreadAffinity=RT 0x02 GT 0x01)
#jira UEMOB-107
Change 3053723 on 2016/07/18 by Jack.Porter
Fix for UnrealTournamentProto.Automation.cs build errors
Change 3055090 on 2016/07/19 by Dmitriy.Dyomin
Junk OnlineBlueprintSupport module binaries
[CL 3056789 by Jack Porter in Main branch]
2016-07-19 19:13:01 -04:00
SPromoteSampleLevelES2 Visitor ( ParseState , bIsVertexShader , Target = = HCT_FeatureLevelES2 ) ;
2014-09-25 14:27:21 -04:00
Visitor . run ( Instructions ) ;
}
// Handle matrices (flatten to vectors so we can support non-sqaure)
ExpandMatricesIntoArrays ( Instructions , ParseState ) ;
// Handle integer vertex attributes used as array indices
if ( bIsVertexShader )
{
SConvertIntVertexAttributeES2 ConvertIntVertexAttributeVisitor ( ParseState , Instructions ) ;
ConvertIntVertexAttributeVisitor . run ( Instructions ) ;
}
}
return true ;
}
/** Qualifers that apply to semantics. */
union FSemanticQualifier
{
struct
{
unsigned bCentroid : 1 ;
unsigned InterpolationMode : 2 ;
unsigned bIsPatchConstant : 1 ;
} Fields ;
unsigned Packed ;
FSemanticQualifier ( ) : Packed ( 0 ) { }
} ;
/** Information on system values. */
struct FSystemValue
{
const char * Semantic ;
const glsl_type * Type ;
const char * GlslName ;
ir_variable_mode Mode ;
bool bOriginUpperLeft ;
bool bArrayVariable ;
bool bApplyClipSpaceAdjustment ;
bool bESOnly ;
} ;
/** Vertex shader system values. */
static FSystemValue VertexSystemValueTable [ ] =
{
{ " SV_VertexID " , glsl_type : : int_type , " gl_VertexID " , ir_var_in , false , false , false , false } ,
{ " SV_InstanceID " , glsl_type : : int_type , " gl_InstanceID " , ir_var_in , false , false , false , false } ,
{ " SV_Position " , glsl_type : : vec4_type , " gl_Position " , ir_var_out , false , false , true , false } ,
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3145687)
#lockdown Nick.Penwarden
#rb Merge
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3094167 on 2016/08/18 by Jeff.Fisher
UEVR-97 Morpheus HMD tracking needs to wait until HMD is fully tracked.
-Morpheus CALIBRATING/NOT_TRACKED tracking state hmd orientation update disabled and delegates added to present instructions to the user. This behavior is controlled by morpheus ini setting bDisableHMDOrientationUntilHMDHasBeenTracked, but defaulted to true to avoid subtly bad user experiences.
#review-3094106 @chad.taylor
#jira UEVR-97
Change 3104799 on 2016/08/29 by Jeff.Fisher
UEVR-178 Morpheus HMD Black crescents
-Switched reprojection frame time for 60/120 mode from 120hz to 60hz so we much better predict where the hmd will be pointing when the frame we are about to render is actually displayed, and are run off the edge of it less often and less severely. This makes the black crescent artifacts only just visible during very fast head turning. The kWrapModeMirror change, which will be submitted separately, makes the left and right crescents invisible to me.
-Renamed the functions for setting the prediction info in the PS4Tracker.
-Added render frame parameters to sony reprojection functions, these can help with debugging reprojection.
-Added commented out sce call to get the reprojection debug data. Not allowed to submit an executable that calls it, but its nice to at least know where one can put it. May improve this later.
-Wrapped PS4Tracker->Synchronize call in a check that the tracker handle is valid, because I managed to get it called when it wasn't (probably during hmd power off testing, but I don't remember now). It should be fine to not do it if the tracker is not functioning.
#review-3104780 chad.taylor
#jira UEVR-178
Change 3108423 on 2016/08/31 by Jeff.Fisher
Morpheus Config Improvements.
-UEVR-138 Morpheus HMD reprojection wrap mode config setting
-Can now switch between wrap mode Mirror and ClampToBorder. Mirror is the default.
-Made bDisableHMDOrientationUntilHMDHasBeenTracked editable in UE4Editor project settings.
-Using generic project setting for bStartInVR, removed the morpheus specific one.
#jira UEVR-138
#review-3106999 @nick.whiting
Change 3111231 on 2016/09/01 by Jeff.Fisher
Fixed bStartInVR ini setting.
-Initial implementation worked via a generic EnableStereo call, which worked, but happened after the hmd setup dialog, which is not what I wanted.
-Also fixed a tracking frame mismatch assert that hit when I powered the hmd off once, causing it to lose tracking. Its ok that it doesn't update in that circumstance.
#review-3111211 @ryan.vance
Change 3115196 on 2016/09/06 by Keli.Hlodversson
#jira UEVR-128
Map move controller Select button to Invalid, as it is always handled by the system
Change 3116425 on 2016/09/07 by Chad.Taylor
PSVR: stereo layers implementation
Change 3116593 on 2016/09/07 by Jeff.Fisher
UEVR-126 Morpheus HMD connect dialog cancel reactions
-VR only apps can't allow the player to cancel out of the hmd setup dialog, so lets just pop the dialog up again (sony were ok with a licencee doing this) if an ini setting says to do that.
-VR/2D apps might want to switch to 2d if the player cancels out of the hmd setup dialog, so there is an ini setting for that.
-A delegate only implementation is also provided for apps that want to do something else. This leaves the game rendering in VR mode, and fires the delegate.
-Refactored to better separate successful HMD acquisition from stereo rendering. This was necessary to support the delegate only option on startup. If you start in vr mode with your hmd off and cancel the dialog stereo rendering now starts with default values for the hmd hardware stats (as read from my pvt) instead of crashing trying to use uninitialized data. When an hmd is connected its values will be read.
-Refactored to ensure reprojection starts immediately when we call StartReprojection.
#jira UEVR-126
#review-3116221
Change 3116754 on 2016/09/07 by Keli.Hlodversson
bPixelDensityAdaptive is a bool and not a float property
Change 3117692 on 2016/09/08 by Jeff.Fisher
UEVR-135 Morpheus HMD recent feature error reporting
UEVR-173 2DVR flexibility (UTexture)
-Error log for sceHmdReprojectionSetOutputMinColor failure.
-Made the parameter for 2dVR a UTexture* instead of a UTexture2D*, so it can be a rendertarget, etc.
-Added error logs for missing texture, invalid texture, wrong texture format to 2DVR.
#jira UEVR-135
#jira UEVR-173
#review-3116955 @keli.hloedversson
Change 3117990 on 2016/09/08 by Jeff.Fisher
UEVR-127 Morpheus HMD removal reaction
-Added VRHeadsetPutOnHead and VRHeadsetRemovedFromHead delegates, and implemented them for Morpheus.
#jira UEVR-127
#review-3117968 @keli.hlodversson
Change 3120198 on 2016/09/09 by Jeff.Fisher
MorpheusReprojector frame complete wait error log
-Now log a warning if the sceKernalWaitEqueue returns an error. It not a problem if this happens rarely, but something is very broken if it starts happening continuously.
Change 3121754 on 2016/09/12 by Keli.Hlodversson
#jira UE-21878 - Also emit VR initialization analytics events in the editor.
Change 3122311 on 2016/09/12 by Nick.Whiting
Merging fix for Adreno devices rendering black from 4.13.1
Change 3123057 on 2016/09/13 by Keli.Hlodversson
#jira UE-30097 Use the current value of r.ScreenPercentage on Occulus Rift if it's explicitly set.
* If the SetBy part of the flags for the console var is SetBy_Constructor, then ignore the value.
* If it's SetBy_Scalability, then ignore it if it equals 100
* Else, call SetScreenPercentage using the current value
The obsolete HMD SCREENPERCENTAGE console command is still available and will override the setting until r.ScreenPercentage is modified the next time.
Change 3123200 on 2016/09/13 by Chad.Taylor
PS4 Stereo Layer double buffering. Since the overlays are reprojected at 120hz but rendered at 60hz we need to render to a separate buffer than the one being used by reprojection.
Change 3125845 on 2016/09/14 by Keli.Hlodversson
#jira UE-33996 Add hmd=<name> command line option to allow overriding which HMD module is used.
Renamed GetModulePriorityKeyName to simply GetModuleKeyName, as this name is now also used to match against the command line options.
Change 3127293 on 2016/09/15 by Jeff.Fisher
UEVR-225 Morpheus HMD top and bottom black crescents
-The hidden and visible area meshes for morpheus were too restrictive. Nudged them out a bit, no black crescents at the top and bottom of the screen. We are rendering a few more pixels now though.
#review-3127145 @ryan.vance
#jira UEVR-225
Change 3130635 on 2016/09/19 by Jeff.Fisher
UEVR-226 Morpheus HMD mirrored fill wrong on outer edges
-The setting was never being used, leaving the wrap mode at 0 aka kWrapModeWrap.
-Refactored how the setting is applied so it works, and is less convoluted.
#jira UEVR-226
#review-3129403
Change 3131615 on 2016/09/19 by Keli.Hlodversson
#jira UE-29341. Update Chaperone bounds when SteamVR tells us they have changed
Change 3136527 on 2016/09/22 by Keli.Hlodversson
Don't depend on the current state of the VR subsystem when exiting PIE mode to decide whether the main window should be restored. Instead always restore it if it was minimized at the start.
Change 3136652 on 2016/09/22 by Keli.Hlodversson
Allow shutting down Steam VR subsystem without shutting down the Steam VR plugin completely in response to quitting from the SteamVR overlay. Enabling stereo rendering again will reinitialize SteamVR. This is useful when using PIE in VR mode as it allows entereing it again without restarting the editor. Also fixes crashes by first disabinge stereo rendering a short while before shutting down the VR subsystem.
#jira UE-35940
Change 3138901 on 2016/09/23 by Ryan.Vance
Merging 3138521 using OdinToDevVR to bring over temporary forward lighting ISR changes for 4.14
Change 3141614 on 2016/09/27 by Keli.Hlodversson
Implement GetNumOfTrackingSensors and GetTrackingSensorProperties on SteamVR.
#jira UE-32994
Change 3141948 on 2016/09/27 by Jeff.Fisher
UEVR-242 Is AddControllerYawInput not allowed when morpheus is enabled?
-Indeed it did not work. Looks like morpheus would not accumulate the yaw, so it would be reset every frame. I made the implementation of ApplyHmdRotation very similar to the one used for occulus (also similar to other platforms) to fix this.
#jira UEVR-242
#review-3141933 keli.hlodversson
Change 3143484 on 2016/09/28 by Nick.Whiting
Integrating Oculus 1.8 SDK support, includes support for cylinder and cubemap stereo layers
Change 3143517 on 2016/09/28 by Chad.Taylor
Merging PS4Tracker fixes from Release-4.13 into Dev-VR
Change 3143805 on 2016/09/28 by Keli.Hlodversson
#jira UE-36478 Workaround to make world to meters scale apply correctly to Occulus controllers while running in PIE
Change 3143943 on 2016/09/28 by Nick.Whiting
Merging latest drop from OSVR
Change 3144221 on 2016/09/28 by Keli.Hlodversson
Implement GetTrackingSensorProperties on PS4
#jira UE-32994
Change 3144352 on 2016/09/28 by Ryan.Vance
Initial implementation of mobile multi-view.
This is non-functioning and requires a lot more work, but enough of the framework exists to make the 4.14 branch for an experimental release.
Change 3144585 on 2016/09/29 by Jeff.Fisher
UEVR-14 PSVR Support for 90Hz to 90Hz, and 120Hz to 120Hz
-Enum setting added for the three frame sequences.
-90Hz mode is trying to run camera updates at 90hz, but they can only run at 60 so every third one fails. This works, but its dubious.
-Feature marked as experimental for now because of that 90hz tracking issue, and the lack of testing.
-Defaulting to 60/120.
#jira UEVR-14
#review-3143486 chad.taylor nick.whiting
Change 3145263 on 2016/09/29 by Nick.Whiting
Fix for constructor initialization order in StereoLayerComponent, which threw a warning on Clang
Change 3145536 on 2016/09/29 by Nick.Whiting
Fixes for project files to prevent mystery pop up from CAPI
Change 3145663 on 2016/09/29 by Keli.Hlodversson
PSVR: Make sure the camera orientation returned from GetTrackingSensorProperties points in the right direction.
Change 3145670 on 2016/09/29 by Keli.Hlodversson
For some reason the orientation of the Oculus tracking sensor is reported as pointing backwards. This flips it around to face front
Change 3145687 on 2016/09/29 by Chad.Taylor
VR splash screen support
[CL 3146243 by Nick Whiting in Main branch]
2016-09-30 01:16:13 -04:00
{ " SV_ViewID " , glsl_type : : uint_type , " gl_ViewID_OVR " , ir_var_in , false , false , false , true } , // Mobile multi-view support
2014-09-25 14:27:21 -04:00
{ NULL , NULL , NULL , ir_var_auto , false , false , false , false }
} ;
/** Pixel shader system values. */
static FSystemValue PixelSystemValueTable [ ] =
{
{ " SV_Depth " , glsl_type : : float_type , " gl_FragDepth " , ir_var_out , false , false , false , false } ,
{ " SV_Position " , glsl_type : : vec4_type , " gl_FragCoord " , ir_var_in , true , false , false , false } ,
{ " SV_IsFrontFace " , glsl_type : : bool_type , " gl_FrontFacing " , ir_var_in , false , false , true , false } ,
{ " SV_PrimitiveID " , glsl_type : : int_type , " gl_PrimitiveID " , ir_var_in , false , false , false , false } ,
{ " SV_RenderTargetArrayIndex " , glsl_type : : int_type , " gl_Layer " , ir_var_in , false , false , false , false } ,
{ " SV_Target0 " , glsl_type : : half4_type , " gl_FragColor " , ir_var_out , false , false , false , true } ,
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3145687)
#lockdown Nick.Penwarden
#rb Merge
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3094167 on 2016/08/18 by Jeff.Fisher
UEVR-97 Morpheus HMD tracking needs to wait until HMD is fully tracked.
-Morpheus CALIBRATING/NOT_TRACKED tracking state hmd orientation update disabled and delegates added to present instructions to the user. This behavior is controlled by morpheus ini setting bDisableHMDOrientationUntilHMDHasBeenTracked, but defaulted to true to avoid subtly bad user experiences.
#review-3094106 @chad.taylor
#jira UEVR-97
Change 3104799 on 2016/08/29 by Jeff.Fisher
UEVR-178 Morpheus HMD Black crescents
-Switched reprojection frame time for 60/120 mode from 120hz to 60hz so we much better predict where the hmd will be pointing when the frame we are about to render is actually displayed, and are run off the edge of it less often and less severely. This makes the black crescent artifacts only just visible during very fast head turning. The kWrapModeMirror change, which will be submitted separately, makes the left and right crescents invisible to me.
-Renamed the functions for setting the prediction info in the PS4Tracker.
-Added render frame parameters to sony reprojection functions, these can help with debugging reprojection.
-Added commented out sce call to get the reprojection debug data. Not allowed to submit an executable that calls it, but its nice to at least know where one can put it. May improve this later.
-Wrapped PS4Tracker->Synchronize call in a check that the tracker handle is valid, because I managed to get it called when it wasn't (probably during hmd power off testing, but I don't remember now). It should be fine to not do it if the tracker is not functioning.
#review-3104780 chad.taylor
#jira UEVR-178
Change 3108423 on 2016/08/31 by Jeff.Fisher
Morpheus Config Improvements.
-UEVR-138 Morpheus HMD reprojection wrap mode config setting
-Can now switch between wrap mode Mirror and ClampToBorder. Mirror is the default.
-Made bDisableHMDOrientationUntilHMDHasBeenTracked editable in UE4Editor project settings.
-Using generic project setting for bStartInVR, removed the morpheus specific one.
#jira UEVR-138
#review-3106999 @nick.whiting
Change 3111231 on 2016/09/01 by Jeff.Fisher
Fixed bStartInVR ini setting.
-Initial implementation worked via a generic EnableStereo call, which worked, but happened after the hmd setup dialog, which is not what I wanted.
-Also fixed a tracking frame mismatch assert that hit when I powered the hmd off once, causing it to lose tracking. Its ok that it doesn't update in that circumstance.
#review-3111211 @ryan.vance
Change 3115196 on 2016/09/06 by Keli.Hlodversson
#jira UEVR-128
Map move controller Select button to Invalid, as it is always handled by the system
Change 3116425 on 2016/09/07 by Chad.Taylor
PSVR: stereo layers implementation
Change 3116593 on 2016/09/07 by Jeff.Fisher
UEVR-126 Morpheus HMD connect dialog cancel reactions
-VR only apps can't allow the player to cancel out of the hmd setup dialog, so lets just pop the dialog up again (sony were ok with a licencee doing this) if an ini setting says to do that.
-VR/2D apps might want to switch to 2d if the player cancels out of the hmd setup dialog, so there is an ini setting for that.
-A delegate only implementation is also provided for apps that want to do something else. This leaves the game rendering in VR mode, and fires the delegate.
-Refactored to better separate successful HMD acquisition from stereo rendering. This was necessary to support the delegate only option on startup. If you start in vr mode with your hmd off and cancel the dialog stereo rendering now starts with default values for the hmd hardware stats (as read from my pvt) instead of crashing trying to use uninitialized data. When an hmd is connected its values will be read.
-Refactored to ensure reprojection starts immediately when we call StartReprojection.
#jira UEVR-126
#review-3116221
Change 3116754 on 2016/09/07 by Keli.Hlodversson
bPixelDensityAdaptive is a bool and not a float property
Change 3117692 on 2016/09/08 by Jeff.Fisher
UEVR-135 Morpheus HMD recent feature error reporting
UEVR-173 2DVR flexibility (UTexture)
-Error log for sceHmdReprojectionSetOutputMinColor failure.
-Made the parameter for 2dVR a UTexture* instead of a UTexture2D*, so it can be a rendertarget, etc.
-Added error logs for missing texture, invalid texture, wrong texture format to 2DVR.
#jira UEVR-135
#jira UEVR-173
#review-3116955 @keli.hloedversson
Change 3117990 on 2016/09/08 by Jeff.Fisher
UEVR-127 Morpheus HMD removal reaction
-Added VRHeadsetPutOnHead and VRHeadsetRemovedFromHead delegates, and implemented them for Morpheus.
#jira UEVR-127
#review-3117968 @keli.hlodversson
Change 3120198 on 2016/09/09 by Jeff.Fisher
MorpheusReprojector frame complete wait error log
-Now log a warning if the sceKernalWaitEqueue returns an error. It not a problem if this happens rarely, but something is very broken if it starts happening continuously.
Change 3121754 on 2016/09/12 by Keli.Hlodversson
#jira UE-21878 - Also emit VR initialization analytics events in the editor.
Change 3122311 on 2016/09/12 by Nick.Whiting
Merging fix for Adreno devices rendering black from 4.13.1
Change 3123057 on 2016/09/13 by Keli.Hlodversson
#jira UE-30097 Use the current value of r.ScreenPercentage on Occulus Rift if it's explicitly set.
* If the SetBy part of the flags for the console var is SetBy_Constructor, then ignore the value.
* If it's SetBy_Scalability, then ignore it if it equals 100
* Else, call SetScreenPercentage using the current value
The obsolete HMD SCREENPERCENTAGE console command is still available and will override the setting until r.ScreenPercentage is modified the next time.
Change 3123200 on 2016/09/13 by Chad.Taylor
PS4 Stereo Layer double buffering. Since the overlays are reprojected at 120hz but rendered at 60hz we need to render to a separate buffer than the one being used by reprojection.
Change 3125845 on 2016/09/14 by Keli.Hlodversson
#jira UE-33996 Add hmd=<name> command line option to allow overriding which HMD module is used.
Renamed GetModulePriorityKeyName to simply GetModuleKeyName, as this name is now also used to match against the command line options.
Change 3127293 on 2016/09/15 by Jeff.Fisher
UEVR-225 Morpheus HMD top and bottom black crescents
-The hidden and visible area meshes for morpheus were too restrictive. Nudged them out a bit, no black crescents at the top and bottom of the screen. We are rendering a few more pixels now though.
#review-3127145 @ryan.vance
#jira UEVR-225
Change 3130635 on 2016/09/19 by Jeff.Fisher
UEVR-226 Morpheus HMD mirrored fill wrong on outer edges
-The setting was never being used, leaving the wrap mode at 0 aka kWrapModeWrap.
-Refactored how the setting is applied so it works, and is less convoluted.
#jira UEVR-226
#review-3129403
Change 3131615 on 2016/09/19 by Keli.Hlodversson
#jira UE-29341. Update Chaperone bounds when SteamVR tells us they have changed
Change 3136527 on 2016/09/22 by Keli.Hlodversson
Don't depend on the current state of the VR subsystem when exiting PIE mode to decide whether the main window should be restored. Instead always restore it if it was minimized at the start.
Change 3136652 on 2016/09/22 by Keli.Hlodversson
Allow shutting down Steam VR subsystem without shutting down the Steam VR plugin completely in response to quitting from the SteamVR overlay. Enabling stereo rendering again will reinitialize SteamVR. This is useful when using PIE in VR mode as it allows entereing it again without restarting the editor. Also fixes crashes by first disabinge stereo rendering a short while before shutting down the VR subsystem.
#jira UE-35940
Change 3138901 on 2016/09/23 by Ryan.Vance
Merging 3138521 using OdinToDevVR to bring over temporary forward lighting ISR changes for 4.14
Change 3141614 on 2016/09/27 by Keli.Hlodversson
Implement GetNumOfTrackingSensors and GetTrackingSensorProperties on SteamVR.
#jira UE-32994
Change 3141948 on 2016/09/27 by Jeff.Fisher
UEVR-242 Is AddControllerYawInput not allowed when morpheus is enabled?
-Indeed it did not work. Looks like morpheus would not accumulate the yaw, so it would be reset every frame. I made the implementation of ApplyHmdRotation very similar to the one used for occulus (also similar to other platforms) to fix this.
#jira UEVR-242
#review-3141933 keli.hlodversson
Change 3143484 on 2016/09/28 by Nick.Whiting
Integrating Oculus 1.8 SDK support, includes support for cylinder and cubemap stereo layers
Change 3143517 on 2016/09/28 by Chad.Taylor
Merging PS4Tracker fixes from Release-4.13 into Dev-VR
Change 3143805 on 2016/09/28 by Keli.Hlodversson
#jira UE-36478 Workaround to make world to meters scale apply correctly to Occulus controllers while running in PIE
Change 3143943 on 2016/09/28 by Nick.Whiting
Merging latest drop from OSVR
Change 3144221 on 2016/09/28 by Keli.Hlodversson
Implement GetTrackingSensorProperties on PS4
#jira UE-32994
Change 3144352 on 2016/09/28 by Ryan.Vance
Initial implementation of mobile multi-view.
This is non-functioning and requires a lot more work, but enough of the framework exists to make the 4.14 branch for an experimental release.
Change 3144585 on 2016/09/29 by Jeff.Fisher
UEVR-14 PSVR Support for 90Hz to 90Hz, and 120Hz to 120Hz
-Enum setting added for the three frame sequences.
-90Hz mode is trying to run camera updates at 90hz, but they can only run at 60 so every third one fails. This works, but its dubious.
-Feature marked as experimental for now because of that 90hz tracking issue, and the lack of testing.
-Defaulting to 60/120.
#jira UEVR-14
#review-3143486 chad.taylor nick.whiting
Change 3145263 on 2016/09/29 by Nick.Whiting
Fix for constructor initialization order in StereoLayerComponent, which threw a warning on Clang
Change 3145536 on 2016/09/29 by Nick.Whiting
Fixes for project files to prevent mystery pop up from CAPI
Change 3145663 on 2016/09/29 by Keli.Hlodversson
PSVR: Make sure the camera orientation returned from GetTrackingSensorProperties points in the right direction.
Change 3145670 on 2016/09/29 by Keli.Hlodversson
For some reason the orientation of the Oculus tracking sensor is reported as pointing backwards. This flips it around to face front
Change 3145687 on 2016/09/29 by Chad.Taylor
VR splash screen support
[CL 3146243 by Nick Whiting in Main branch]
2016-09-30 01:16:13 -04:00
{ " SV_ViewID " , glsl_type : : uint_type , " gl_ViewID_OVR " , ir_var_in , false , false , false , true } , // Mobile multi-view support
Copying //UE4/Dev-Platform to //UE4/Dev-Main (Source: //UE4/Dev-Platform @ 3233741)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
[NOTE: Switch changes have been removed from this list, and will be in a comment in //UE4/Main/Engine/Build/Switch/SwitchChanges.txt]
Change 3207431 on 2016/11/22 by Keith.Judge
Make VectorSign on XB1 match (incorrect) SSE implementation rather than the reference FPU implementation. Too many things seem to rely on this to change the default behaviour now.
#jira UE-36921
#jira UE-38560
Change 3208206 on 2016/11/22 by Josh.Adams
- Changed plugins upgrading a content-only project to code-based, even if the modules inside aren't compiled for the current platform. There are issues with runtime not knowing the plugin isn't needed. The proper way is to non-whitelist the platform in the project, not in the modules, if you don't want it to upgrade the project. See the comments in this change for more info.
#jira UE-38929
Change 3209137 on 2016/11/23 by Alicia.Cano
Add a check to iOS tool chain for exception flag
#jira UE-36528
#ios
Change 3209296 on 2016/11/23 by Ben.Marsh
Always send build failure notifications in Dev-Platform to Will.Fissler@epicgames.com and Owen.Stupka@epicgames.com
Change 3211316 on 2016/11/28 by Joe.Barnes
Fix some typos
Change 3211318 on 2016/11/28 by Joe.Barnes
Fix wrong function name in header file. Didn't match actual function name in RenderingThread.cpp
Change 3213227 on 2016/11/29 by Dmitry.Rekman
Add -fPIC to libwebsockets on Linux.
Change 3213463 on 2016/11/29 by Nick.Shin
helper build scripts for CentOS 7 Linux (via Docker)
LINUX: pull source and compile: zlib openssl libcurl & libwebsockets
using [ glibc 2.17 ] & [ gcc 4.8.5 ]
Docker creates an image (that is essentially a CentOS box) and runs the build script within that environment (called a container). think of this as a VM -- but waaaaaaay better -- nothing is virtualized -- it's all on the metal.
#jira UEPLAT-1246 - Update libWebsockets
#jira UEPLAT-1221 - update websocket library
#jira UEPLAT-1203 - Add Linux library for libwebsockets
#jira UEPLAT-1204 - Rebuild libwebsockets with SSL
Change 3213939 on 2016/11/29 by Michael.Trepka
Ignore parent widget's geometry scale when showing a popup menu in a separate window
#jira UE-38706
Change 3215583 on 2016/11/30 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3216345 on 2016/11/30 by Josh.Adams
Better fix for poison proxy fix
Change 3217106 on 2016/12/01 by Michael.Trepka
Fixed a crash caused by an attempt to use FPlayWorldCommands::GlobalPlayWorldActions before it's initialized when showing suppressable warning dialogs in UEditorEngine::UpdateAutoLoadProject()
#jira UE-38816
Change 3217223 on 2016/12/01 by Josh.Adams
- Fixed some TEXT macro warnings that crept in from IWYU changes
Change 3217253 on 2016/12/01 by Dmitry.Rekman
Linux: fix GL crash (UE-17649).
- Making sure all streams are set up. Fix by Cengiz.
Change 3217473 on 2016/12/01 by Daniel.Lamb
Fixed a case when we load a map it might not have it's sublevels loaded because it's not treated like a map.
#test cook run QAGame
Change 3217588 on 2016/12/01 by Peter.Sauerbrei
Pull in IPv6 fix
Change 3217654 on 2016/12/01 by Michael.Trepka
Changed the Mac-specific high DPI code to use system backingScaleFactor only if NSHighResolutionCapable in Info.plist is set to true. This solves the problem with macOS Sierra giving us actual backingScaleFactor values even in low DPI modes.
Change 3217873 on 2016/12/01 by Josh.Adams
- Added some logging to a tvOS assert, since debugging it right away is tricky
Change 3218097 on 2016/12/01 by Josh.Adams
- Fixed up the Switch MediaFramework, making editor better, etc
- ALso changed PS4 and Xbox plugins to be enabled by default by having two entries in the plugin module for the Factory modules (an editor only entry, and a platform specific runtime entry... this will make it so that UE4Game.exe won't ahve it compiled in, even with it enabled by default)
Change 3218133 on 2016/12/01 by Dmitry.Rekman
Linux: report server hangs by crashing the hung thread (UE-39164).
Change 3218512 on 2016/12/01 by Josh.Adams
- Made the MfMedia plugin to be distributable in public builds, since it's for Windows and Xbox
Change 3219804 on 2016/12/02 by Dmitry.Rekman
Linux: fix project settings crash (UE-38800).
- Also submitted as a pull request #2945.
Change 3220027 on 2016/12/02 by Nick.Shin
plow all physx libs into build
NOTE: most browsers will not function
- chrome and firefox nightly only works
checking this in as per email
#jira UE-38323 VehicleTemplate Vehicle does not move in HTML5
Change 3221620 on 2016/12/05 by Joe.Barnes
UE-37275 - Temporary workaround for log lines losing carriage returns. Add's a \n when outputting lines if there isn't one at the end.
Change 3221689 on 2016/12/05 by Dmitry.Rekman
Attempt to change/rename.
Change 3221700 on 2016/12/05 by Dmitry.Rekman
Another attempt to change renamed file (from Linux).
Change 3221731 on 2016/12/05 by Michael.Trepka
Added missing initialization for FAvfVideoSampler::MetalTextureCache
#jira UE-38689
Change 3221792 on 2016/12/05 by Michael.Trepka
Fixed a crash in FMetalDynamicRHI::RHIAsyncReallocateTexture2D for PVRTC2 textures
Change 3222675 on 2016/12/05 by Josh.Adams
- Removed some resolution setting junk that was recently added to PlatformerGame - settings resolution on AppleTV is bad, it doesn't need to change resolution on non-desktop platforms
#jira UE-39188
Change 3223546 on 2016/12/06 by Brent.Pease
+ Properly set and use the realtime compression for ios.
+ Reduce unused memory on ios from the precached first buffer
+ Fix a resource tracking issue that was causing a double free on the sound buffer
Change 3223785 on 2016/12/06 by Brent.Pease
+ Add support for iPhone7 (implemented by peter.sauerbrei, merged in from WEX)
#jira ue-38701
Change 3224314 on 2016/12/06 by Chris.Babcock
Send OnTargetPlatformChangedSupportedFormats when format changed in Android project settings in editor
#jira UE-38361
#ue4
#android
Change 3225367 on 2016/12/07 by Josh.Adams
- Added FKey::Virtual_Accept and Virtual_Back, which will map to FaceButton Right/Down appropriately based on platform (Switch swaps them)
- Made changes to ShooterGame and VehicleGame for Virtual_Accept and Back
- Added some icons for ShooterGame, and changed some text blocks to SRichTextBlock to insert the icons
Change 3225426 on 2016/12/07 by Chris.Babcock
Add missing Android UPL file for binary builds
#jira UE-39420
#ue4
#android
Change 3225471 on 2016/12/07 by Dmitry.Rekman
Update all platforms to C++14.
Change 3225525 on 2016/12/07 by Nick.Shin
Cook-On-The-Fly for HTML5
- re-enabled: ENetworkFileServerProtocol::NFSP_Http
- cleaned up port numbers used with cook-on-the-fly situations
- fixed null_ptr in NetworkFileServerHttp.cpp
- fix CORS issue with HTML5LaunchHelper (not really needed -- but doesn't hurt to have it in the test server)
- finally, the core of the jira issue:
o fix serialization bug: do not append zero sized data
o fix de-serialization bug: removed double insertion of packet "Marker and Size" header
#jira UE-38281 Quicklaunch UFE HTML5 fails to get COTF Header Size
Change 3225690 on 2016/12/07 by Dmitry.Rekman
Linux: improvements in touch support.
- Multiple fingers.
- Filtering out "moved" events from the same location.
- Consistent logging.
(Edigrating 3225194 from Wombat to Dev-Platform)
Change 3225868 on 2016/12/07 by Josh.Stoddard
Gracefully handle delete without matching new on iOS & Mac
#jira UE-39395
Change 3226159 on 2016/12/07 by Omar.Rodriguez
UEPLAT-1423 WEX: Improved virtual keyboard for Android
* Renamed old virtual keyboard functions by adding "Dialog" suffix to the name
* Added new virtual keyboard functions that use InputMethodManager to show/hide keyboard
* Hide the virtual keyboard, if shown, onPause
* Slate edit box decides which functions to call for showing/hiding keyboard
- eventually will be based on command line parameter like in IOS
#jira UEPLAT-1423
Change 3226167 on 2016/12/07 by Dmitry.Rekman
Allow running as root on ARM.
(Edigrating 3204974 to Dev-Platform)
Change 3226168 on 2016/12/07 by Dmitry.Rekman
Print current CVar value when denying an override.
(Based on CL 3205476).
Change 3226169 on 2016/12/07 by Dmitry.Rekman
Allow enabling sound (if disabled by default).
(Based on CL 3205505)
Change 3226171 on 2016/12/07 by Dmitry.Rekman
Allow running from symlinks.
(Edigrating 3205518 to Dev-Platform).
Change 3226174 on 2016/12/07 by Dmitry.Rekman
Linux: do not init SDL audio (we do not use it anyway).
(Based on CL 3205505).
Change 3226327 on 2016/12/07 by Nick.Shin
fix CIS warning
#jira UE-38281 Quicklaunch UFE HTML5 fails to get COTF Header Size
Change 3226506 on 2016/12/08 by Dmitry.Rekman
Fix one more case-sensitive misspelling (UE-39030).
- Submitted as part of PR #2976.
Change 3226542 on 2016/12/08 by Dmitry.Rekman
Linux: fix weirdness with tesselation in GL4 (UE-32865).
- Workaround by CengizT. Proper fix tracked as UE-39489.
Change 3226570 on 2016/12/08 by Dmitry.Rekman
Fix for ar failing due to too long command line (UE-39009).
- Based on PR #2973.
Change 3226575 on 2016/12/08 by Dmitry.Rekman
Add build-essential to dependencies (UE-39053).
- PR #2981 contributed by cpyarger.
Change 3227129 on 2016/12/08 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Fixed up a deferred GL error as well
Fixed some copyrights of files not in main
Change 3227260 on 2016/12/08 by Omar.Rodriguez
UE-39140 Projects with iCloud are failing provisioning check when code signing.
* Set default value of bEnableCloudKitSupport to False
* Set value of get-task-allow to true only on non-distribution builds
* Only write out the entitlements file if changes have been made
#jira UE-39140
Change 3229312 on 2016/12/09 by Dmitry.Rekman
Fix missing responses (UE-39572).
- Proper implementation of UE-39009.
Change 3230849 on 2016/12/12 by Dmitry.Rekman
Linux: fixed Android packaging (UE-39635).
- Misspelled case; fixed by JohnHenry Carawon.
#jira UE-39635
Change 3231591 on 2016/12/12 by Peter.Sauerbrei
fix for splash screen not being turned off by default
#jira UE-39591
Change 3231880 on 2016/12/12 by Josh.Adams
- Fixing StaticAnalysis warnings, but -enablecodeanalysis stopped working for some reason, and the /Zm thing has hit me really hard, so this is a hopeful checkin for static analysis issues
#jira UE-39680
Change 3232816 on 2016/12/13 by Dmitry.Rekman
Linux: fix for CEF (UE-39682)
- Fix by Cengiz.Terzibas.
Change 3232873 on 2016/12/13 by Josh.Adams
Merging //UE4/Dev-Main to Dev-Platform (//UE4/Dev-Platform)
Change 3232933 on 2016/12/13 by Josh.Adams
- Missed the files that were needed to fix up after merge from main, but didn';t come from main
Change 3233066 on 2016/12/13 by Ben.Marsh
UBT: Ignore exception if PATH variable contains invalid characters when looking for XGE.
Change 3233512 on 2016/12/13 by Ben.Marsh
Fix static analysis warnings.
[CL 3233813 by Josh Adams in Main branch]
2016-12-13 19:47:16 -05:00
{ " SV_SampleIndex " , glsl_type : : uint_type , " gl_SampleID " , ir_var_in , false , false , false , false } , // Mobile multi-view support
2014-09-25 14:27:21 -04:00
{ NULL , NULL , NULL , ir_var_auto , false , false , false }
} ;
/** Geometry shader system values. */
static FSystemValue GeometrySystemValueTable [ ] =
{
{ " SV_VertexID " , glsl_type : : int_type , " gl_VertexID " , ir_var_in , false , false , false , false } ,
{ " SV_InstanceID " , glsl_type : : int_type , " gl_InstanceID " , ir_var_in , false , false , false , false } ,
{ " SV_Position " , glsl_type : : vec4_type , " gl_Position " , ir_var_in , false , true , true , false } ,
{ " SV_Position " , glsl_type : : vec4_type , " gl_Position " , ir_var_out , false , false , true , false } ,
{ " SV_RenderTargetArrayIndex " , glsl_type : : int_type , " gl_Layer " , ir_var_out , false , false , false , false } ,
{ " SV_PrimitiveID " , glsl_type : : int_type , " gl_PrimitiveID " , ir_var_out , false , false , false , false } ,
{ " SV_PrimitiveID " , glsl_type : : int_type , " gl_PrimitiveIDIn " , ir_var_in , false , false , false , false } ,
{ NULL , NULL , NULL , ir_var_auto , false , false , false , false }
} ;
/** Hull shader system values. */
static FSystemValue HullSystemValueTable [ ] =
{
{ " SV_OutputControlPointID " , glsl_type : : int_type , " gl_InvocationID " , ir_var_in , false , false , false , false } ,
{ NULL , NULL , NULL , ir_var_auto , false , false , false , false }
} ;
/** Domain shader system values. */
static FSystemValue DomainSystemValueTable [ ] =
{
// TODO : SV_DomainLocation has types float2 or float3 depending on the input topology
{ " SV_Position " , glsl_type : : vec4_type , " gl_Position " , ir_var_in , false , true , true , false } ,
{ " SV_Position " , glsl_type : : vec4_type , " gl_Position " , ir_var_out , false , false , true , false } ,
{ " SV_DomainLocation " , glsl_type : : vec3_type , " gl_TessCoord " , ir_var_in , false , false , false , false } ,
{ NULL , NULL , NULL , ir_var_auto , false , false , false , false }
} ;
/** Compute shader system values. */
static FSystemValue ComputeSystemValueTable [ ] =
{
{ " SV_DispatchThreadID " , glsl_type : : uvec3_type , " gl_GlobalInvocationID " , ir_var_in , false , false , false , false } ,
{ " SV_GroupID " , glsl_type : : uvec3_type , " gl_WorkGroupID " , ir_var_in , false , false , false , false } ,
{ " SV_GroupIndex " , glsl_type : : uint_type , " gl_LocalInvocationIndex " , ir_var_in , false , false , false , false } ,
{ " SV_GroupThreadID " , glsl_type : : uvec3_type , " gl_LocalInvocationID " , ir_var_in , false , false , false , false } ,
{ NULL , NULL , NULL , ir_var_auto , false , false , false , false }
} ;
FSystemValue * SystemValueTable [ HSF_FrequencyCount ] =
{
VertexSystemValueTable ,
PixelSystemValueTable ,
GeometrySystemValueTable ,
HullSystemValueTable ,
DomainSystemValueTable ,
ComputeSystemValueTable
} ;
# define CUSTOM_LAYER_INDEX_SEMANTIC "HLSLCC_LAYER_INDEX"
2015-02-06 11:35:30 -05:00
static void ConfigureInOutVariableLayout ( EHlslShaderFrequency Frequency ,
_mesa_glsl_parse_state * ParseState ,
const char * Semantic ,
ir_variable * Variable ,
ir_variable_mode Mode
)
{
if ( Frequency = = HSF_VertexShader & & Mode = = ir_var_in )
{
const int PrefixLength = 9 ;
if ( ( FCStringAnsi : : Strnicmp ( Semantic , " ATTRIBUTE " , PrefixLength ) = = 0 ) & &
( Semantic [ PrefixLength ] > = ' 0 ' ) & & ( Semantic [ PrefixLength ] < = ' 9 ' )
)
{
int AttributeIndex = atoi ( Semantic + PrefixLength ) ;
Variable - > explicit_location = true ;
Variable - > location = AttributeIndex ;
Variable - > semantic = ralloc_strdup ( Variable , Semantic ) ;
}
else
{
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3232619)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3121996 on 2016/09/12 by Ben.Marsh
Add support for Visual Studio 2017 (aka "15"; assuming consistent naming with other versions until final name is announced).
* Compiler, STL implementation and CRT are binary compatible with VS2015 (see https://blogs.msdn.microsoft.com/vcblog/2016/08/24/c1417-features-and-stl-fixes-in-vs-15-preview-4/), so no new third-party libraries needed so far. WindowsPlatform.GetVisualStudioCompilerVersionName() returns "2015" as a result.
* Default compiler for compiling and generating project files is still VS 2015 for now. Pass -2017 on the command line to GenerateProjectFiles.bat to generate VS2017 projects. Projects generated for VS2017 will use the 2017 compiler by default.
* Visual Studio source code accessor can talk to VS 2017 instances.
* Added a VS2017 configuration for UnrealVS, and added precompiled vsix package.
* Switched GetVSComnTools to check the SOFTWARE\Microsoft\VisualStudio\SxS\VS7 registry key rather than the individual product install registry key. "15" doesn't seem to have it's own "InstallDir" key, but this system seems to work for all versions of Visual Studio (including previous releases of VS Express).
* Removed ATL dependency from VisualStudioSourceCodeAccessor. It's not installed with VS by default any more, and is only used for a couple of smart pointer classes.
Tested running the editor and packaging TP_Flying for Win64. Packaging from the editor still defaults to using the 2015 compiler, so ConfigureToolchain() needs to be overriden from the .target.cs file if multiple Visual Studio versions are installed.
Change 3189363 on 2016/11/07 by Ben.Marsh
Consolidate functionality for determining the path to MSBuild.exe to use for compiling UE4 tools into a single batch file (GetMSBuildToolPath) and fix "Clean" not working on PS4 due to include/library paths being set to something by the Visual Studio environment.
Change 3210598 on 2016/11/27 by Ben.Marsh
UBT: Prevent the name of each file compiled being output twice on XboxOne. Compiler already outputs this string; the action doesn't need to.
Change 3210601 on 2016/11/27 by Ben.Marsh
PR #2967: Add silent version of switch game version (Contributed by EricLeeFriedman)
Change 3210602 on 2016/11/27 by Ben.Marsh
PR #2964: GitDependencies shouldn't try to clean up working directory files that are excluded or ignored (Contributed by joelmcginnis)
Change 3210605 on 2016/11/27 by Ben.Marsh
UGS: Add a warning when syncing latest would remove changes that have been authored locally. Typically happens when working with precompiled binaries.
Change 3211656 on 2016/11/28 by Ben.Marsh
UBT: Move ModuleRules and TargetRules into their own file.
Change 3211797 on 2016/11/28 by Ben.Marsh
UBT: Remove utility functions from TargetRules for checking different classes of target types. Moving TargetRules to be data-only.
Change 3211833 on 2016/11/28 by Ben.Marsh
UBT: Remove overridable configuration name from target rules. This feature is not used anywhere.
Change 3211859 on 2016/11/28 by Ben.Marsh
UBT: Deprecate the GetGeneratedCodeVersion() callback in favor of a member variable instead.
Change 3211942 on 2016/11/28 by Ben.Marsh
UBT: Remove legacy code which tries to change the output paths for console binaries. Output paths for monolithic binaries are always in the project folder now.
Change 3215333 on 2016/11/30 by Ben.Marsh
UBT: Replace the GetSupportedPlatforms() callback on TargetRules with a SupportedPlatforms attribute. Since a TargetRules object can only be instantiated with an actual platform, it doesn't make sense for it to be an instance method.
Change 3215482 on 2016/11/30 by Ben.Marsh
UBT: Remove the GetSupportedConfigurations() callback on the TargetRules class. A configuration is required to construct a TargetRules instance, so it doesn't make sense to need to call an instance method to find out which configurations are supported.
Change 3215743 on 2016/11/30 by Ben.Marsh
UBT: Deprecate the TargetRules.ShouldCompileMonolithic() function: this function requires access to the global command line to operate correctly, which prevents creating target-specific instances, and does not use the platform/configuration passed into the TargetRules constructor.
Rather than being a callback, the LinkType field can now be set to TargetLinkType.Modular or TargetLinkType.Monolithic from the constructor as appropriate. The default value (TargetLinkType.Default) results in the default link type for the target type being used. Parsing of the command-line overrides is now done when building the TargetDescriptor.
Change 3215778 on 2016/11/30 by Ben.Marsh
UBT: Mark overrides of the TargetRules.GetModulesToPrecompile method as obsolete.
Change 3217681 on 2016/12/01 by Ben.Marsh
UAT: Prevent UE4Build deleting .modules files when running with the -Clean argument; these files are artifacts generated by UBT itself, not by the exported XGE script.
Change 3217723 on 2016/12/01 by Ben.Marsh
UBT: Run pre- and post-build steps for all plugins that are being built, not just those that are enabled.
Change 3217930 on 2016/12/01 by Ben.Marsh
UGS: Add a perforce settings window, allowing users to set optional values for tuning Perforce performance on unreliable connections.
Change 3218762 on 2016/12/02 by Ben.Marsh
Enable warnings whenever an undefined macro is used in a constant expression inside an #if or #elif directive, and fix existing violations.
Change 3219161 on 2016/12/02 by Ben.Marsh
Core: Use the directory containing the current module to derive the UE4 base directory, rather than the executable directory. Allows UE4 to be hosted by a process in a different directory.
Change 3219197 on 2016/12/02 by Ben.Marsh
Core: When loading a DLL from disk, convert any relative paths to absolute before calling LoadLibrary. The OS resolves these paths relative to the directory containing the process executable -- not the working directory -- so paths need to be absolute to allow UE4 to be hosted by a process elsewhere.
Change 3219209 on 2016/12/02 by Ben.Marsh
Replace some calls to LoadLibrary() with FPlatformProcess::GetDllHandle(). The UE4 function makes sure that relative paths are resolved relative to the correct base directory, which is important when the host executable is not in Engine/Binaries/Win64.
Change 3219610 on 2016/12/02 by Ben.Marsh
Add the -q (quiet) option to the Mac unzip command, since it's creating too much log output to be useful.
Change 3219731 on 2016/12/02 by Ben.Marsh
UBT: Add option to disable IWYU checks regarding the use of monolithic headers (Engine.h, UnrealEd.h, etc...) and including the matching header for a cpp file first. bEnforceIWYU can be set to false in UEBuildConfiguration or on a per-module basis in the module rules.
Change 3220796 on 2016/12/04 by Ben.Marsh
Remove PrepForUATPackageOrDeploy from the UEBuildDeploy base class. It never has to be accessed through the base class anyway.
Change 3220825 on 2016/12/04 by Ben.Marsh
UBT: Change all executors to derive from a common base class (ActionExecutor).
Change 3220834 on 2016/12/04 by Ben.Marsh
UBT: Remove the global CommandLineContains() function.
Change 3222706 on 2016/12/05 by Ben.Marsh
Merging CL 3221949 from //UE4/Release-4.14: Fixes to code analysis template causing problems with stock install of VS2017.
Change 3222712 on 2016/12/05 by Ben.Marsh
Merging CL 3222021 from //UE4/Release-4.14: Change detection of MSBuild.exe path to match GetMSBuildPath.bat
Change 3223628 on 2016/12/06 by Ben.Marsh
Merging CL 3223369 from 4.14 branch: Use the same logic as GetMsBuildPath.bat inside FDesktopPlatformBase to determine path to MSBuild.exe
Change 3223817 on 2016/12/06 by Ben.Marsh
Remove non-ANSI characters from source files. Compiler/P4 support is patchy for this, and we want to avoid failing prey to different codepages resulting in different interpretations of the source text.
Change 3224046 on 2016/12/06 by Ben.Marsh
Remove the need for the iOS/TVOS deployment instances to have an IOSPlatformContext instance. The only dependency between the two -- a call to GetRequiredCapabilities() -- is now implemented by querying the INI file for the supported architectures when neeeded.
Change 3224792 on 2016/12/07 by Ben.Marsh
UBT: Touch PCH wrapper files whenever the file they include is newer rather than writing the timestamp for the included file into it as a comment. Allows use of ccache and similar tools.
Change 3225212 on 2016/12/07 by Ben.Marsh
UBT: Move settings required for deployment into the UEBuildDeployTarget class, allowing them to be serialized to and from a file the intermediate directory without having to construct a phony UEBuildTarget to deploy.
Deployment is now performed by a method on UEBuildPlatform, rather than having to create a UEBuildPlatformContext and using that to create a UEBuildDeploy object.
The -prepfordeploy UBT invocation from UAT, previously done by the per-platform PostBuildTarget() callback when building with XGE, is replaced by running UBT with a path to the serialized UEBuildDeployTarget object, and can be done in a platform agnostic manner.
Change 3226310 on 2016/12/07 by Ben.Marsh
PR #3015: Fixes wrong VSC++ flags being passed for .c files (Contributed by badlogic)
Change 3228273 on 2016/12/08 by Ben.Marsh
Update copyright notices for QAGame.
Change 3229166 on 2016/12/09 by Ben.Marsh
UBT: Rewritten config file parser. No longer requires hard-coded list of sections to be parsed, but parses them on demand. Measured 2x faster read speeds (largely due to eliminating construction of temporary string objects when parsing each line, to trim whitespace and so on). Also includes an attribute-driven parser, which allows reading named config values for marked up fields in an object.
Change 3230601 on 2016/12/12 by Ben.Marsh
Swarm: Change Swarm AgentInterface to target .NET framework 4.5, to remove dependency on having 4.0 framework installed.
Change 3230737 on 2016/12/12 by Ben.Marsh
UAT: Stop UE4Build deriving from CommandUtils. Confusing pattern, and causes problems trying to access instance variables that are only set for build commands.
Change 3230751 on 2016/12/12 by Ben.Marsh
UAT: Move ParseParam*() functions which use the instanced parameter list from CommandUtils to BuildCommand, since that's the only thing that it's instanced for.
Change 3230804 on 2016/12/12 by Ben.Marsh
UBT: Add the IsPromotedBuild flag to Build.version, and only set the bFormalBuild flag in UBT if it's set. This allows UGS users to avoid having to compile separate RC files for each output binary.
Change 3230831 on 2016/12/12 by Ben.Marsh
UGS: Warn when trying to switch streams if files are checked out.
Change 3231281 on 2016/12/12 by Chad.Garyet
Fixing a bug where .modules files were getting put into receipts with their absolute path instead of their relative one
Change 3231496 on 2016/12/12 by Ben.Marsh
Disable code analysis in CrashReportProcess; causes warnings when compiled with VS2015.
Change 3231979 on 2016/12/12 by Ben.Marsh
UBT: Suppress LNK4221 when generating import libraries. This can happen often when generating import libraries separately to linking.
Change 3232619 on 2016/12/13 by Ben.Marsh
Fix "#pragma once in main file" errors on Mac, which are occurring in //UE4/Main.
[CL 3232653 by Ben Marsh in Main branch]
2016-12-13 11:58:16 -05:00
# ifdef DEBUG
2015-02-06 11:35:30 -05:00
# define _mesh_glsl_report _mesa_glsl_warning
# else
# define _mesh_glsl_report _mesa_glsl_error
# endif
_mesh_glsl_report ( ParseState , " Vertex shader input semantic must be ATTRIBUTE and not \' %s \' in order to determine location/semantic index " , Semantic ) ;
# undef _mesh_glsl_report
}
}
else if ( Semantic & & FCStringAnsi : : Strnicmp ( Variable - > name , " gl_ " , 3 ) ! = 0 )
{
Variable - > explicit_location = 1 ;
Variable - > semantic = ralloc_strdup ( Variable , Semantic ) ;
if ( Mode = = ir_var_in )
{
Variable - > location = ParseState - > next_in_location_slot + + ;
}
else
{
Variable - > location = ParseState - > next_out_location_slot + + ;
}
}
}
2014-09-25 14:27:21 -04:00
/**
* Generate an input semantic .
* @ param Frequency - The shader frequency .
* @ param ParseState - Parse state .
* @ param Semantic - The semantic name to generate .
* @ param Type - Value type .
* @ param DeclInstructions - IR to which declarations may be added .
* @ returns reference to IR variable for the semantic .
*/
static ir_rvalue * GenShaderInputSemantic (
EHlslShaderFrequency Frequency ,
_mesa_glsl_parse_state * ParseState ,
const char * Semantic ,
FSemanticQualifier InputQualifier ,
const glsl_type * Type ,
exec_list * DeclInstructions ,
int SemanticArraySize ,
int SemanticArrayIndex ,
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
bool & ApplyClipSpaceAdjustment ,
bool & ApplyFlipFrontFacingAdjustment
2014-09-25 14:27:21 -04:00
)
{
2014-10-01 18:16:34 -04:00
if ( Semantic & & FCStringAnsi : : Strnicmp ( Semantic , " SV_ " , 3 ) = = 0 )
2014-09-25 14:27:21 -04:00
{
FSystemValue * SystemValues = SystemValueTable [ Frequency ] ;
for ( int i = 0 ; SystemValues [ i ] . Semantic ! = NULL ; + + i )
{
if ( SystemValues [ i ] . Mode = = ir_var_in
& & ( ! SystemValues [ i ] . bESOnly | | ParseState - > bGenerateES )
2014-10-01 18:16:34 -04:00
& & FCStringAnsi : : Stricmp ( SystemValues [ i ] . Semantic , Semantic ) = = 0 )
2014-09-25 14:27:21 -04:00
{
if ( SystemValues [ i ] . bArrayVariable )
{
// Built-in array variable. Like gl_in[x].gl_Position.
// The variable for it has already been created in GenShaderInput().
2015-04-13 12:42:09 -04:00
ir_variable * Variable = ParseState - > symbols - > get_variable ( " gl_in " ) ;
2014-09-25 14:27:21 -04:00
check ( Variable ) ;
ir_dereference_variable * ArrayDeref = new ( ParseState ) ir_dereference_variable ( Variable ) ;
ir_dereference_array * StructDeref = new ( ParseState ) ir_dereference_array (
ArrayDeref ,
new ( ParseState ) ir_constant ( ( unsigned ) SemanticArrayIndex )
) ;
ir_dereference_record * VariableDeref = new ( ParseState ) ir_dereference_record (
StructDeref ,
SystemValues [ i ] . GlslName
) ;
ApplyClipSpaceAdjustment = SystemValues [ i ] . bApplyClipSpaceAdjustment ;
// TO DO - in case of SV_ClipDistance, we need to defer appropriate index in variable too.
return VariableDeref ;
}
else
{
// Built-in variable that shows up only once, like gl_FragCoord in fragment
// shader, or gl_PrimitiveIDIn in geometry shader. Unlike gl_in[x].gl_Position.
// Even in geometry shader input pass it shows up only once.
// Create it on first pass, ignore the call on others.
if ( SemanticArrayIndex = = 0 )
{
ir_variable * Variable = new ( ParseState ) ir_variable (
SystemValues [ i ] . Type ,
SystemValues [ i ] . GlslName ,
ir_var_in
) ;
Variable - > read_only = true ;
Variable - > origin_upper_left = SystemValues [ i ] . bOriginUpperLeft ;
DeclInstructions - > push_tail ( Variable ) ;
ParseState - > symbols - > add_variable ( Variable ) ;
ir_dereference_variable * VariableDeref = new ( ParseState ) ir_dereference_variable ( Variable ) ;
2014-12-12 12:30:21 -05:00
if ( FCStringAnsi : : Stricmp ( Semantic , " SV_Position " ) = = 0 & & Frequency = = HSF_PixelShader )
{
// This is for input of gl_FragCoord into pixel shader only.
// Generate a local variable to do the conversion in, keeping source type.
ir_variable * TempVariable = new ( ParseState ) ir_variable ( Variable - > type , NULL , ir_var_temporary ) ;
DeclInstructions - > push_tail ( TempVariable ) ;
// Assign input to this variable
ir_dereference_variable * TempVariableDeref = new ( ParseState ) ir_dereference_variable ( TempVariable ) ;
DeclInstructions - > push_tail (
new ( ParseState ) ir_assignment (
TempVariableDeref ,
VariableDeref
)
) ;
// TempVariable.w = ( 1.0f / TempVariable.w );
DeclInstructions - > push_tail (
new ( ParseState ) ir_assignment (
new ( ParseState ) ir_swizzle ( TempVariableDeref - > clone ( ParseState , NULL ) , 3 , 0 , 0 , 0 , 1 ) ,
new ( ParseState ) ir_expression ( ir_binop_div ,
new ( ParseState ) ir_constant ( 1.0f ) ,
new ( ParseState ) ir_swizzle ( TempVariableDeref - > clone ( ParseState , NULL ) , 3 , 0 , 0 , 0 , 1 )
)
)
) ;
return TempVariableDeref - > clone ( ParseState , NULL ) ;
}
else if ( ParseState - > adjust_clip_space_dx11_to_opengl & & SystemValues [ i ] . bApplyClipSpaceAdjustment )
2014-09-25 14:27:21 -04:00
{
// incoming gl_FrontFacing. Make it (!gl_FrontFacing), due to vertical flip in OpenGL
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
ApplyFlipFrontFacingAdjustment = true ;
return VariableDeref ;
2014-09-25 14:27:21 -04:00
}
else
{
return VariableDeref ;
}
}
else
{
return NULL ;
}
}
}
}
}
2015-04-13 12:42:09 -04:00
ir_variable * Variable = NULL ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3145687)
#lockdown Nick.Penwarden
#rb Merge
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3094167 on 2016/08/18 by Jeff.Fisher
UEVR-97 Morpheus HMD tracking needs to wait until HMD is fully tracked.
-Morpheus CALIBRATING/NOT_TRACKED tracking state hmd orientation update disabled and delegates added to present instructions to the user. This behavior is controlled by morpheus ini setting bDisableHMDOrientationUntilHMDHasBeenTracked, but defaulted to true to avoid subtly bad user experiences.
#review-3094106 @chad.taylor
#jira UEVR-97
Change 3104799 on 2016/08/29 by Jeff.Fisher
UEVR-178 Morpheus HMD Black crescents
-Switched reprojection frame time for 60/120 mode from 120hz to 60hz so we much better predict where the hmd will be pointing when the frame we are about to render is actually displayed, and are run off the edge of it less often and less severely. This makes the black crescent artifacts only just visible during very fast head turning. The kWrapModeMirror change, which will be submitted separately, makes the left and right crescents invisible to me.
-Renamed the functions for setting the prediction info in the PS4Tracker.
-Added render frame parameters to sony reprojection functions, these can help with debugging reprojection.
-Added commented out sce call to get the reprojection debug data. Not allowed to submit an executable that calls it, but its nice to at least know where one can put it. May improve this later.
-Wrapped PS4Tracker->Synchronize call in a check that the tracker handle is valid, because I managed to get it called when it wasn't (probably during hmd power off testing, but I don't remember now). It should be fine to not do it if the tracker is not functioning.
#review-3104780 chad.taylor
#jira UEVR-178
Change 3108423 on 2016/08/31 by Jeff.Fisher
Morpheus Config Improvements.
-UEVR-138 Morpheus HMD reprojection wrap mode config setting
-Can now switch between wrap mode Mirror and ClampToBorder. Mirror is the default.
-Made bDisableHMDOrientationUntilHMDHasBeenTracked editable in UE4Editor project settings.
-Using generic project setting for bStartInVR, removed the morpheus specific one.
#jira UEVR-138
#review-3106999 @nick.whiting
Change 3111231 on 2016/09/01 by Jeff.Fisher
Fixed bStartInVR ini setting.
-Initial implementation worked via a generic EnableStereo call, which worked, but happened after the hmd setup dialog, which is not what I wanted.
-Also fixed a tracking frame mismatch assert that hit when I powered the hmd off once, causing it to lose tracking. Its ok that it doesn't update in that circumstance.
#review-3111211 @ryan.vance
Change 3115196 on 2016/09/06 by Keli.Hlodversson
#jira UEVR-128
Map move controller Select button to Invalid, as it is always handled by the system
Change 3116425 on 2016/09/07 by Chad.Taylor
PSVR: stereo layers implementation
Change 3116593 on 2016/09/07 by Jeff.Fisher
UEVR-126 Morpheus HMD connect dialog cancel reactions
-VR only apps can't allow the player to cancel out of the hmd setup dialog, so lets just pop the dialog up again (sony were ok with a licencee doing this) if an ini setting says to do that.
-VR/2D apps might want to switch to 2d if the player cancels out of the hmd setup dialog, so there is an ini setting for that.
-A delegate only implementation is also provided for apps that want to do something else. This leaves the game rendering in VR mode, and fires the delegate.
-Refactored to better separate successful HMD acquisition from stereo rendering. This was necessary to support the delegate only option on startup. If you start in vr mode with your hmd off and cancel the dialog stereo rendering now starts with default values for the hmd hardware stats (as read from my pvt) instead of crashing trying to use uninitialized data. When an hmd is connected its values will be read.
-Refactored to ensure reprojection starts immediately when we call StartReprojection.
#jira UEVR-126
#review-3116221
Change 3116754 on 2016/09/07 by Keli.Hlodversson
bPixelDensityAdaptive is a bool and not a float property
Change 3117692 on 2016/09/08 by Jeff.Fisher
UEVR-135 Morpheus HMD recent feature error reporting
UEVR-173 2DVR flexibility (UTexture)
-Error log for sceHmdReprojectionSetOutputMinColor failure.
-Made the parameter for 2dVR a UTexture* instead of a UTexture2D*, so it can be a rendertarget, etc.
-Added error logs for missing texture, invalid texture, wrong texture format to 2DVR.
#jira UEVR-135
#jira UEVR-173
#review-3116955 @keli.hloedversson
Change 3117990 on 2016/09/08 by Jeff.Fisher
UEVR-127 Morpheus HMD removal reaction
-Added VRHeadsetPutOnHead and VRHeadsetRemovedFromHead delegates, and implemented them for Morpheus.
#jira UEVR-127
#review-3117968 @keli.hlodversson
Change 3120198 on 2016/09/09 by Jeff.Fisher
MorpheusReprojector frame complete wait error log
-Now log a warning if the sceKernalWaitEqueue returns an error. It not a problem if this happens rarely, but something is very broken if it starts happening continuously.
Change 3121754 on 2016/09/12 by Keli.Hlodversson
#jira UE-21878 - Also emit VR initialization analytics events in the editor.
Change 3122311 on 2016/09/12 by Nick.Whiting
Merging fix for Adreno devices rendering black from 4.13.1
Change 3123057 on 2016/09/13 by Keli.Hlodversson
#jira UE-30097 Use the current value of r.ScreenPercentage on Occulus Rift if it's explicitly set.
* If the SetBy part of the flags for the console var is SetBy_Constructor, then ignore the value.
* If it's SetBy_Scalability, then ignore it if it equals 100
* Else, call SetScreenPercentage using the current value
The obsolete HMD SCREENPERCENTAGE console command is still available and will override the setting until r.ScreenPercentage is modified the next time.
Change 3123200 on 2016/09/13 by Chad.Taylor
PS4 Stereo Layer double buffering. Since the overlays are reprojected at 120hz but rendered at 60hz we need to render to a separate buffer than the one being used by reprojection.
Change 3125845 on 2016/09/14 by Keli.Hlodversson
#jira UE-33996 Add hmd=<name> command line option to allow overriding which HMD module is used.
Renamed GetModulePriorityKeyName to simply GetModuleKeyName, as this name is now also used to match against the command line options.
Change 3127293 on 2016/09/15 by Jeff.Fisher
UEVR-225 Morpheus HMD top and bottom black crescents
-The hidden and visible area meshes for morpheus were too restrictive. Nudged them out a bit, no black crescents at the top and bottom of the screen. We are rendering a few more pixels now though.
#review-3127145 @ryan.vance
#jira UEVR-225
Change 3130635 on 2016/09/19 by Jeff.Fisher
UEVR-226 Morpheus HMD mirrored fill wrong on outer edges
-The setting was never being used, leaving the wrap mode at 0 aka kWrapModeWrap.
-Refactored how the setting is applied so it works, and is less convoluted.
#jira UEVR-226
#review-3129403
Change 3131615 on 2016/09/19 by Keli.Hlodversson
#jira UE-29341. Update Chaperone bounds when SteamVR tells us they have changed
Change 3136527 on 2016/09/22 by Keli.Hlodversson
Don't depend on the current state of the VR subsystem when exiting PIE mode to decide whether the main window should be restored. Instead always restore it if it was minimized at the start.
Change 3136652 on 2016/09/22 by Keli.Hlodversson
Allow shutting down Steam VR subsystem without shutting down the Steam VR plugin completely in response to quitting from the SteamVR overlay. Enabling stereo rendering again will reinitialize SteamVR. This is useful when using PIE in VR mode as it allows entereing it again without restarting the editor. Also fixes crashes by first disabinge stereo rendering a short while before shutting down the VR subsystem.
#jira UE-35940
Change 3138901 on 2016/09/23 by Ryan.Vance
Merging 3138521 using OdinToDevVR to bring over temporary forward lighting ISR changes for 4.14
Change 3141614 on 2016/09/27 by Keli.Hlodversson
Implement GetNumOfTrackingSensors and GetTrackingSensorProperties on SteamVR.
#jira UE-32994
Change 3141948 on 2016/09/27 by Jeff.Fisher
UEVR-242 Is AddControllerYawInput not allowed when morpheus is enabled?
-Indeed it did not work. Looks like morpheus would not accumulate the yaw, so it would be reset every frame. I made the implementation of ApplyHmdRotation very similar to the one used for occulus (also similar to other platforms) to fix this.
#jira UEVR-242
#review-3141933 keli.hlodversson
Change 3143484 on 2016/09/28 by Nick.Whiting
Integrating Oculus 1.8 SDK support, includes support for cylinder and cubemap stereo layers
Change 3143517 on 2016/09/28 by Chad.Taylor
Merging PS4Tracker fixes from Release-4.13 into Dev-VR
Change 3143805 on 2016/09/28 by Keli.Hlodversson
#jira UE-36478 Workaround to make world to meters scale apply correctly to Occulus controllers while running in PIE
Change 3143943 on 2016/09/28 by Nick.Whiting
Merging latest drop from OSVR
Change 3144221 on 2016/09/28 by Keli.Hlodversson
Implement GetTrackingSensorProperties on PS4
#jira UE-32994
Change 3144352 on 2016/09/28 by Ryan.Vance
Initial implementation of mobile multi-view.
This is non-functioning and requires a lot more work, but enough of the framework exists to make the 4.14 branch for an experimental release.
Change 3144585 on 2016/09/29 by Jeff.Fisher
UEVR-14 PSVR Support for 90Hz to 90Hz, and 120Hz to 120Hz
-Enum setting added for the three frame sequences.
-90Hz mode is trying to run camera updates at 90hz, but they can only run at 60 so every third one fails. This works, but its dubious.
-Feature marked as experimental for now because of that 90hz tracking issue, and the lack of testing.
-Defaulting to 60/120.
#jira UEVR-14
#review-3143486 chad.taylor nick.whiting
Change 3145263 on 2016/09/29 by Nick.Whiting
Fix for constructor initialization order in StereoLayerComponent, which threw a warning on Clang
Change 3145536 on 2016/09/29 by Nick.Whiting
Fixes for project files to prevent mystery pop up from CAPI
Change 3145663 on 2016/09/29 by Keli.Hlodversson
PSVR: Make sure the camera orientation returned from GetTrackingSensorProperties points in the right direction.
Change 3145670 on 2016/09/29 by Keli.Hlodversson
For some reason the orientation of the Oculus tracking sensor is reported as pointing backwards. This flips it around to face front
Change 3145687 on 2016/09/29 by Chad.Taylor
VR splash screen support
[CL 3146243 by Nick Whiting in Main branch]
2016-09-30 01:16:13 -04:00
// Mobile multi-view support
if ( Variable = = NULL & & ( Frequency = = HSF_VertexShader | | Frequency = = HSF_PixelShader ) )
{
const int PrefixLength = 9 ;
if ( FCStringAnsi : : Strnicmp ( Semantic , " SV_ViewID " , PrefixLength ) = = 0 )
{
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " gl_ViewID_OVR " ) ,
ir_var_in
) ;
}
}
2014-09-25 14:27:21 -04:00
if ( Variable = = NULL & & Frequency = = HSF_DomainShader )
{
const int PrefixLength = 13 ;
2014-10-01 18:16:34 -04:00
if ( FCStringAnsi : : Strnicmp ( Semantic , " SV_TessFactor " , PrefixLength ) = = 0
2014-09-25 14:27:21 -04:00
& & Semantic [ PrefixLength ] > = ' 0 '
& & Semantic [ PrefixLength ] < = ' 3 ' )
{
int OutputIndex = Semantic [ PrefixLength ] - ' 0 ' ;
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " gl_TessLevelOuter[%d] " , OutputIndex ) ,
ir_var_out
) ;
}
}
if ( Variable = = NULL & & Frequency = = HSF_DomainShader )
{
const int PrefixLength = 19 ;
2014-10-01 18:16:34 -04:00
if ( FCStringAnsi : : Strnicmp ( Semantic , " SV_InsideTessFactor " , PrefixLength ) = = 0
2014-09-25 14:27:21 -04:00
& & Semantic [ PrefixLength ] > = ' 0 '
& & Semantic [ PrefixLength ] < = ' 1 ' )
{
int OutputIndex = Semantic [ PrefixLength ] - ' 0 ' ;
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " gl_TessLevelInner[%d] " , OutputIndex ) ,
ir_var_out
) ;
}
2014-10-01 18:16:34 -04:00
else if ( FCStringAnsi : : Stricmp ( Semantic , " SV_InsideTessFactor " ) = = 0 )
2014-09-25 14:27:21 -04:00
{
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " gl_TessLevelInner[0] " ) ,
ir_var_out
) ;
}
}
if ( Variable )
{
// Up to this point, variables aren't contained in structs
DeclInstructions - > push_tail ( Variable ) ;
ParseState - > symbols - > add_variable ( Variable ) ;
Variable - > centroid = InputQualifier . Fields . bCentroid ;
Variable - > interpolation = InputQualifier . Fields . InterpolationMode ;
Variable - > is_patch_constant = InputQualifier . Fields . bIsPatchConstant ;
ir_rvalue * VariableDeref = new ( ParseState ) ir_dereference_variable ( Variable ) ;
return VariableDeref ;
}
// If we're here, no built-in variables matched.
2014-10-01 18:16:34 -04:00
if ( Semantic & & FCStringAnsi : : Strnicmp ( Semantic , " SV_ " , 3 ) = = 0 )
2014-09-25 14:27:21 -04:00
{
_mesa_glsl_warning ( ParseState , " unrecognized system "
" value input '%s' " , Semantic ) ;
}
2015-02-06 11:35:30 -05:00
// Patch constants must be variables, not structs or interface blocks, in GLSL <= 4.10
bool bUseGLSL410Rules = InputQualifier . Fields . bIsPatchConstant & & ParseState - > language_version < = 410 ;
if ( Frequency = = HSF_VertexShader | | ParseState - > bGenerateES | | bUseGLSL410Rules )
2014-09-25 14:27:21 -04:00
{
const char * Prefix = " in " ;
2015-02-06 11:35:30 -05:00
if ( ( ParseState - > bGenerateES & & Frequency = = HSF_PixelShader ) | | bUseGLSL410Rules )
2014-09-25 14:27:21 -04:00
{
Prefix = " var " ;
}
// Vertex shader inputs don't get packed into structs that we'll later morph into interface blocks
if ( ParseState - > bGenerateES & & Type - > is_integer ( ) )
{
// Convert integer attributes to floats
2015-04-13 12:42:09 -04:00
Variable = new ( ParseState ) ir_variable (
2014-09-25 14:27:21 -04:00
Type ,
ralloc_asprintf ( ParseState , " %s_%s_I " , Prefix , Semantic ) ,
ir_var_temporary
) ;
Variable - > centroid = InputQualifier . Fields . bCentroid ;
Variable - > interpolation = InputQualifier . Fields . InterpolationMode ;
check ( Type - > is_vector ( ) | | Type - > is_scalar ( ) ) ;
check ( Type - > base_type = = GLSL_TYPE_INT | | Type - > base_type = = GLSL_TYPE_UINT ) ;
// New float attribute
ir_variable * ReplacedAttributeVar = new ( ParseState ) ir_variable ( glsl_type : : get_instance ( GLSL_TYPE_FLOAT , Variable - > type - > vector_elements , 1 ) , ralloc_asprintf ( ParseState , " %s_%s " , Prefix , Semantic ) , ir_var_in ) ;
ReplacedAttributeVar - > read_only = true ;
ReplacedAttributeVar - > centroid = InputQualifier . Fields . bCentroid ;
ReplacedAttributeVar - > interpolation = InputQualifier . Fields . InterpolationMode ;
// Convert to integer
ir_assignment * ConversionAssignment = new ( ParseState ) ir_assignment (
new ( ParseState ) ir_dereference_variable ( Variable ) ,
new ( ParseState ) ir_expression (
Type - > base_type = = GLSL_TYPE_INT ? ir_unop_f2i : ir_unop_f2u ,
new ( ParseState ) ir_dereference_variable ( ReplacedAttributeVar )
)
) ;
DeclInstructions - > push_tail ( ReplacedAttributeVar ) ;
DeclInstructions - > push_tail ( Variable ) ;
DeclInstructions - > push_tail ( ConversionAssignment ) ;
ParseState - > symbols - > add_variable ( Variable ) ;
ParseState - > symbols - > add_variable ( ReplacedAttributeVar ) ;
ir_dereference_variable * VariableDeref = new ( ParseState ) ir_dereference_variable ( ReplacedAttributeVar ) ;
return VariableDeref ;
}
// Regular attribute
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " %s_%s " , Prefix , Semantic ) ,
ir_var_in
) ;
Variable - > read_only = true ;
Variable - > centroid = InputQualifier . Fields . bCentroid ;
Variable - > interpolation = InputQualifier . Fields . InterpolationMode ;
Variable - > is_patch_constant = InputQualifier . Fields . bIsPatchConstant ;
2015-02-06 11:35:30 -05:00
if ( ParseState - > bGenerateLayoutLocations & & ! InputQualifier . Fields . bIsPatchConstant )
2014-09-25 14:27:21 -04:00
{
2015-02-06 11:35:30 -05:00
ConfigureInOutVariableLayout ( Frequency , ParseState , Semantic , Variable , ir_var_in ) ;
2014-09-25 14:27:21 -04:00
}
DeclInstructions - > push_tail ( Variable ) ;
ParseState - > symbols - > add_variable ( Variable ) ;
ir_dereference_variable * VariableDeref = new ( ParseState ) ir_dereference_variable ( Variable ) ;
return VariableDeref ;
}
else if ( SemanticArrayIndex = = 0 )
{
// On first pass, create variable
glsl_struct_field * StructField = ralloc_array ( ParseState , glsl_struct_field , 1 ) ;
memset ( StructField , 0 , sizeof ( glsl_struct_field ) ) ;
StructField [ 0 ] . type = Type ;
StructField [ 0 ] . name = ralloc_strdup ( ParseState , " Data " ) ;
const glsl_type * VariableType = glsl_type : : get_record_instance ( StructField , 1 , ralloc_strdup ( ParseState , Semantic ) ) ;
if ( SemanticArraySize )
{
// Pack it into an array too
VariableType = glsl_type : : get_array_instance ( VariableType , SemanticArraySize ) ;
}
2015-04-13 12:42:09 -04:00
Variable = new ( ParseState ) ir_variable ( VariableType , ralloc_asprintf ( ParseState , " in_%s " , Semantic ) , ir_var_in ) ;
2014-09-25 14:27:21 -04:00
Variable - > read_only = true ;
Variable - > is_interface_block = true ;
Variable - > centroid = InputQualifier . Fields . bCentroid ;
Variable - > interpolation = InputQualifier . Fields . InterpolationMode ;
Variable - > is_patch_constant = InputQualifier . Fields . bIsPatchConstant ;
DeclInstructions - > push_tail ( Variable ) ;
ParseState - > symbols - > add_variable ( Variable ) ;
if ( ParseState - > bGenerateLayoutLocations & & ! Variable - > is_patch_constant )
{
2015-02-06 11:35:30 -05:00
ConfigureInOutVariableLayout ( Frequency , ParseState , Semantic , Variable , ir_var_in ) ;
2014-09-25 14:27:21 -04:00
}
ir_rvalue * VariableDeref = new ( ParseState ) ir_dereference_variable ( Variable ) ;
if ( SemanticArraySize )
{
// Deref inside array first
VariableDeref = new ( ParseState ) ir_dereference_array ( VariableDeref , new ( ParseState ) ir_constant ( ( unsigned ) SemanticArrayIndex )
) ;
}
VariableDeref = new ( ParseState ) ir_dereference_record ( VariableDeref , ralloc_strdup ( ParseState , " Data " ) ) ;
return VariableDeref ;
}
else
{
// Array variable, not first pass. It already exists, get it.
2015-02-19 12:13:52 -05:00
Variable = ParseState - > symbols - > get_variable ( ralloc_asprintf ( ParseState , " in_%s " , Semantic ) ) ;
2014-09-25 14:27:21 -04:00
check ( Variable ) ;
ir_rvalue * VariableDeref = new ( ParseState ) ir_dereference_variable ( Variable ) ;
VariableDeref = new ( ParseState ) ir_dereference_array ( VariableDeref , new ( ParseState ) ir_constant ( ( unsigned ) SemanticArrayIndex ) ) ;
VariableDeref = new ( ParseState ) ir_dereference_record ( VariableDeref , ralloc_strdup ( ParseState , " Data " ) ) ;
return VariableDeref ;
}
}
/**
* Generate an output semantic .
* @ param Frequency - The shader frequency .
* @ param ParseState - Parse state .
* @ param Semantic - The semantic name to generate .
* @ param Type - Value type .
* @ param DeclInstructions - IR to which declarations may be added .
* @ returns the IR variable for the semantic .
*/
static ir_rvalue * GenShaderOutputSemantic (
EHlslShaderFrequency Frequency ,
_mesa_glsl_parse_state * ParseState ,
const char * Semantic ,
FSemanticQualifier OutputQualifier ,
const glsl_type * Type ,
exec_list * DeclInstructions ,
const glsl_type * * DestVariableType ,
bool & ApplyClipSpaceAdjustment ,
bool & ApplyClampPowerOfTwo
)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 2996057)
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2975196 on 2016/05/12 by Robert.Manuszewski
Garbage Collector will no longer be responsible for generating class token stream, instead the token stream will be generated on startup or when a class has finished loading.
- This way we can avoid very long GC times after new blueprints have been loaded.
- Temporarily enabled CLASS_TokenStreamAssembled check in development builds (for testing purposes)
Change 2993960 on 2016/05/30 by Robert.Manuszewski
Fixing leaked linkers created by blocking load requests during async loading.
Change 2959398 on 2016/04/28 by Steve.Robb
TMap references are strong and cannot be nulled by pending kill. This makes references in values strong too, even though we only really care about keys, which will corrupt the map when nulled.
#jira UE-20828
Change 2960723 on 2016/04/29 by Graeme.Thornton
Fix for texture asset import data being ignored when async loaded
Change 2960938 on 2016/04/29 by Robert.Manuszewski
Nulling out sql db handle after closing it.
Change 2967127 on 2016/05/05 by Steve.Robb
Move constructors explicitly disabled in generated code.
Change 2967143 on 2016/05/05 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2967164 on 2016/05/05 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer
Change 2968650 on 2016/05/06 by Steve.Robb
Fix for HotReload copying module manager.
Change 2968915 on 2016/05/06 by Robert.Manuszewski
Fixing spelling of SetImageIntegrityStatus function name.
Change 2970406 on 2016/05/09 by Steve.Robb
Static analysis fixes:
Function uses '...' bytes of stack: exceeds /analyze:stacksize '81940'. Consider moving some data to heap.
Change 2970419 on 2016/05/09 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
warning C6011: Dereferencing NULL pointer '...'.
warning C6385: Reading invalid data from '...': the readable size is '...' bytes, but '...' bytes may be read.
warning C6386: Buffer overrun while writing to '...': the writable size is '...' bytes, but '...' bytes might be written.
Change 2970431 on 2016/05/09 by Steve.Robb
Static analysis fixes:
warning C6299: Explicitly comparing a bit field to a Boolean type will yield unexpected results.
Change 2972032 on 2016/05/10 by Steven.Hutton
Workflow fixes to bugg / crashgroup filtering. Filters should now correctly persist across queries.
Change 2972085 on 2016/05/10 by Steve.Robb
Const-correctness fix for FLogCategoryBase::IsSuppressed.
Change 2972087 on 2016/05/10 by Steve.Robb
ELogVerbosity moved into its own header.
Change 2972090 on 2016/05/10 by Steve.Robb
Redundant ensure removed.
Change 2972103 on 2016/05/10 by Steve.Robb
Removal of redundant use of USING_CODE_ANALYSIS.
Change 2972139 on 2016/05/10 by Steve.Robb
Fix for ensure macros throwing C6326 warnings during static analysis.
Change 2972147 on 2016/05/10 by Steve.Robb
Fix for UE_LOG_ACTIVE macro throwing C6326 warnings during static analysis.
Change 2972162 on 2016/05/10 by Steve.Robb
SCOPE_CYCLE_COUNTER_GUARD removed.
Change 2972168 on 2016/05/10 by Steve.Robb
Compile error fix for logOrEnsureNanError in static analysis builds.
Change 2973084 on 2016/05/10 by Chris.Wood
Crash Report Server performance tweak
Change 2974030 on 2016/05/11 by Steve.Robb
Fix for IPropertyHandle::SetValue - used to take a non-const reference to a const UObject*, now it takes const references to both non-const and const UObject*.
Change 2974053 on 2016/05/11 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2974191 on 2016/05/11 by Steve.Robb
Fix for template instantiation error in VS2013.
Change 2975298 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6236: (<expression> || <non-zero constant>) is always a non-zero constant.
Change 2975318 on 2016/05/12 by Steve.Robb
Fix for hot reload info being reported as warnings.
#jira UE-30586
Change 2975447 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6235: (<non-zero constant> || <expression>) is always a non-zero constant.
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>. Did you intend to use the bitwise-and operator?
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>. Did you intend to use the bitwise-and operator?
warning C6285: (<non-zero constant> || <non-zero constant>) is always a non-zero constant. Did you intend to use the bitwise-and operator?
warning C6286: (<non-zero constant> || <expression>) is always a non-zero constant. <expression> is never evaluated and might have side effects.
warning C6289: Incorrect operator: mutual exclusion over || is always a non-zero constant. Did you intend to use && instead?
warning C6316: Incorrect operator: tested expression is constant and non-zero. Use bitwise-and to determine whether bits are set.
Change 2975478 on 2016/05/12 by Steve.Robb
Static analysis fixes for lots of redundant <zero constant> and <non-zero constant> warnings.
Change 2975538 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'StaticResource'
Change 2976640 on 2016/05/13 by Robert.Manuszewski
Fixing crashes caused by token stream generation changes. Making sure the token stream gets re-generated when a class gets re-linked.
#jira UE-30675
Change 2978320 on 2016/05/16 by Steve.Robb
Fix for static analysis warnings in XNA headers.
Change 2978329 on 2016/05/16 by Steve.Robb
Static analysis fixes:
warning C6334: sizeof operator applied to an expression with an operator might yield unexpected results: Parentheses can be used to disambiguate certain usages.
Change 2980222 on 2016/05/17 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'X'.
warning C28182: Dereferencing NULL pointer. 'X' contains the same NULL value as 'Y' did.
Change 2980458 on 2016/05/17 by Chris.Wood
Attempt to fix crash report submission problems from CRP to CR website
[UE-30257] - Crashreports are sometimes missing file attachments
Passing crash GUID so that website can easily check for duplicates in future
Increased request timeout for AddCrash to be longer than website database timeout
Logging retries for future visibility
CRP v.1.1.6
Change 2980639 on 2016/05/17 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'X'.
warning C28182: Dereferencing NULL pointer. 'X' contains the same NULL value as 'Y' did.
Change 2981750 on 2016/05/18 by Steve.Robb
check()s in ContainerAllocationPolicies.h changed to checkSlow()s, as they only exist to check that the container has been written correctly.
Change 2982106 on 2016/05/18 by John.Mahoney
Fixed a crash caused by loading two stat capture files simultaneously in the profiler.
If the user tries to load a capture file while another load is in progress, the previous load is now cancelled and cleaned up before proceeding with the new load.
Made the delegates in FNewStatsReader explicitly specify which profiler instance they are loading data for, instead of relying on the current value of LoadConnection->InstanceId.
This also fixes a crash that occurs when selecting a different capture file in the "Stats dump browser" pane of the profiler (after using Load Folder) while another file is still loading.
Cleaned up some weak pointer usage in the profiler window.
#jira UE-30741
Change 2983366 on 2016/05/19 by Steven.Hutton
Changes for passing crash type directly from CRP to CRW.
Change 2983394 on 2016/05/19 by Steven.Hutton
Minor changes to add crash with more error reporting
Change 2984685 on 2016/05/20 by Robert.Manuszewski
Merging //UE4/Dev-Main @ 2984626 to Dev-Core (//UE4/Dev-Core)
Change 2985143 on 2016/05/20 by Steve.Robb
Missing semi-colons.
Change 2986463 on 2016/05/23 by Steve.Robb
CopyTemp added to make it clear that you want to make a copy (rather than a move, or an accidental copy) at the call site of a function taking rvalue refs.
Change 2986475 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6313: Incorrect operator: zero-valued flag cannot be tested with bitwise-and.
Change 2986476 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6313: Incorrect operator: zero-valued flag cannot be tested with bitwise-and.
Change 2986480 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant
Change 2986515 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6340: Mismatch on sign: 'X' passed as _Param_(N) when some unsigned type is required in call to 'Func'
Change 2986680 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6386: Buffer overrun while writing to 'Ptr': the writable size is 'X' bytes, but 'Y' bytes might be written.
warning C6387: 'Ptr' could be '0': this does not adhere to the specification for the function 'Func'
warning C6031: Return value ignored: 'snprintf'.
warning C6340: Mismatch on sign: 'const unsigned int' passed as _Param_(4) when some signed type is required in call to 'snprintf'.
Change 2986865 on 2016/05/23 by Robert.Manuszewski
Removing redundand AddReferencedObjects functions
Change 2987968 on 2016/05/24 by Robert.Manuszewski
Removing redundant UPROPERTY macros from intrinsic classes.
Change 2987979 on 2016/05/24 by Steve.Robb
Optimization of some FString and FPaths operations to produce fewer temporaries.
Change 2988297 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6287: Redundant code: the left and right sub-expressions are identical.
Change 2988430 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6385: Reading invalid data from 'var': the readable size is 'X' bytes, but 'Y' bytes may be read.
Change 2988461 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6235: (<non-zero constant> || <expression>) is always a non-zero constant.
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>.
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>.
Change 2988464 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6262: Function uses 'X' bytes of stack: exceeds /analyze:stacksize 'Y'. Consider moving some data to heap.
Change 2988494 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6237: (<zero> && <expression>) is always zero. <expression> is never evaluated and might have side effects.
Change 2989411 on 2016/05/25 by Robert.Manuszewski
Splitting GC cluster index and intenral object flags to allow more UObjects in editor builds.
Change 2989429 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6387: '_Param_(X)' could be '0': this does not adhere to the specification for the function 'Func'.
Change 2989982 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6001: Using uninitialized memory 'LODPlanesMin'.
Change 2990018 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6386: Buffer overrun while writing to 'X'
Change 2990077 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>.
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2990114 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6336: Arithmetic operator has precedence over question operator, use parentheses to clarify intent.
Change 2990125 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>.
Change 2990162 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6294: Ill-defined for-loop: initial condition does not satisfy test. Loop body not executed.
Change 2990193 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C28182: Dereferencing NULL pointer. 'type' contains the same NULL value as 'type->base_type' did.
warning C6011: Dereferencing NULL pointer 'Semantic'.
Change 2991006 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C28113: Accessing a local variable dummy via an Interlocked function: This is an unusual usage which could be reconsidered.
Change 2991012 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6031: Return value ignored: 'InitializeCriticalSectionAndSpinCount'.
Change 2991013 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6287: Redundant code: the left and right sub-expressions are identical.
Change 2991016 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6236: (<expression> || <non-zero constant>) is always a non-zero constant.
Change 2991017 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2991019 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6292: Ill-defined for-loop: counts up from maximum.
Change 2991023 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6322: Empty _except block.
warning C28251: Inconsistent annotation for 'WinMain': this instance has no annotations.
Change 2991070 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C28182: Dereferencing NULL pointer. 'Ptr1' contains the same NULL value as 'Ptr2' did.
Change 2991416 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2992738 on 2016/05/27 by Steve.Robb
Revert changes to FString::MatchesWildcard.
Change 2992916 on 2016/05/27 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2992960 on 2016/05/27 by Chris.Wood
Optimized P4 access in Crash Report Process and MinidumpDiagostics.
Change 2992964 on 2016/05/27 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2993956 on 2016/05/30 by Robert.Manuszewski
Fixing a crash after adding a new C++ class in the editor - made sure new classes have the token stream assembled after hot-reload.
#jira UE-31309
Change 2993977 on 2016/05/30 by Robert.Manuszewski
Don't wait for all packages to finish loading before PostLoading those which already have.
Change 2994206 on 2016/05/31 by Robert.Manuszewski
PR #2429: Three bug fixes required for script support to work properly (Contributed by pluranium)
#lockdown Nick.Penwarden
[CL 2996251 by Robert Manuszewski in Main branch]
2016-06-01 12:08:56 -04:00
check ( Semantic ) ;
2014-09-25 14:27:21 -04:00
FSystemValue * SystemValues = SystemValueTable [ Frequency ] ;
ir_variable * Variable = NULL ;
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 2996057)
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2975196 on 2016/05/12 by Robert.Manuszewski
Garbage Collector will no longer be responsible for generating class token stream, instead the token stream will be generated on startup or when a class has finished loading.
- This way we can avoid very long GC times after new blueprints have been loaded.
- Temporarily enabled CLASS_TokenStreamAssembled check in development builds (for testing purposes)
Change 2993960 on 2016/05/30 by Robert.Manuszewski
Fixing leaked linkers created by blocking load requests during async loading.
Change 2959398 on 2016/04/28 by Steve.Robb
TMap references are strong and cannot be nulled by pending kill. This makes references in values strong too, even though we only really care about keys, which will corrupt the map when nulled.
#jira UE-20828
Change 2960723 on 2016/04/29 by Graeme.Thornton
Fix for texture asset import data being ignored when async loaded
Change 2960938 on 2016/04/29 by Robert.Manuszewski
Nulling out sql db handle after closing it.
Change 2967127 on 2016/05/05 by Steve.Robb
Move constructors explicitly disabled in generated code.
Change 2967143 on 2016/05/05 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2967164 on 2016/05/05 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer
Change 2968650 on 2016/05/06 by Steve.Robb
Fix for HotReload copying module manager.
Change 2968915 on 2016/05/06 by Robert.Manuszewski
Fixing spelling of SetImageIntegrityStatus function name.
Change 2970406 on 2016/05/09 by Steve.Robb
Static analysis fixes:
Function uses '...' bytes of stack: exceeds /analyze:stacksize '81940'. Consider moving some data to heap.
Change 2970419 on 2016/05/09 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
warning C6011: Dereferencing NULL pointer '...'.
warning C6385: Reading invalid data from '...': the readable size is '...' bytes, but '...' bytes may be read.
warning C6386: Buffer overrun while writing to '...': the writable size is '...' bytes, but '...' bytes might be written.
Change 2970431 on 2016/05/09 by Steve.Robb
Static analysis fixes:
warning C6299: Explicitly comparing a bit field to a Boolean type will yield unexpected results.
Change 2972032 on 2016/05/10 by Steven.Hutton
Workflow fixes to bugg / crashgroup filtering. Filters should now correctly persist across queries.
Change 2972085 on 2016/05/10 by Steve.Robb
Const-correctness fix for FLogCategoryBase::IsSuppressed.
Change 2972087 on 2016/05/10 by Steve.Robb
ELogVerbosity moved into its own header.
Change 2972090 on 2016/05/10 by Steve.Robb
Redundant ensure removed.
Change 2972103 on 2016/05/10 by Steve.Robb
Removal of redundant use of USING_CODE_ANALYSIS.
Change 2972139 on 2016/05/10 by Steve.Robb
Fix for ensure macros throwing C6326 warnings during static analysis.
Change 2972147 on 2016/05/10 by Steve.Robb
Fix for UE_LOG_ACTIVE macro throwing C6326 warnings during static analysis.
Change 2972162 on 2016/05/10 by Steve.Robb
SCOPE_CYCLE_COUNTER_GUARD removed.
Change 2972168 on 2016/05/10 by Steve.Robb
Compile error fix for logOrEnsureNanError in static analysis builds.
Change 2973084 on 2016/05/10 by Chris.Wood
Crash Report Server performance tweak
Change 2974030 on 2016/05/11 by Steve.Robb
Fix for IPropertyHandle::SetValue - used to take a non-const reference to a const UObject*, now it takes const references to both non-const and const UObject*.
Change 2974053 on 2016/05/11 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2974191 on 2016/05/11 by Steve.Robb
Fix for template instantiation error in VS2013.
Change 2975298 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6236: (<expression> || <non-zero constant>) is always a non-zero constant.
Change 2975318 on 2016/05/12 by Steve.Robb
Fix for hot reload info being reported as warnings.
#jira UE-30586
Change 2975447 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6235: (<non-zero constant> || <expression>) is always a non-zero constant.
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>. Did you intend to use the bitwise-and operator?
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>. Did you intend to use the bitwise-and operator?
warning C6285: (<non-zero constant> || <non-zero constant>) is always a non-zero constant. Did you intend to use the bitwise-and operator?
warning C6286: (<non-zero constant> || <expression>) is always a non-zero constant. <expression> is never evaluated and might have side effects.
warning C6289: Incorrect operator: mutual exclusion over || is always a non-zero constant. Did you intend to use && instead?
warning C6316: Incorrect operator: tested expression is constant and non-zero. Use bitwise-and to determine whether bits are set.
Change 2975478 on 2016/05/12 by Steve.Robb
Static analysis fixes for lots of redundant <zero constant> and <non-zero constant> warnings.
Change 2975538 on 2016/05/12 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'StaticResource'
Change 2976640 on 2016/05/13 by Robert.Manuszewski
Fixing crashes caused by token stream generation changes. Making sure the token stream gets re-generated when a class gets re-linked.
#jira UE-30675
Change 2978320 on 2016/05/16 by Steve.Robb
Fix for static analysis warnings in XNA headers.
Change 2978329 on 2016/05/16 by Steve.Robb
Static analysis fixes:
warning C6334: sizeof operator applied to an expression with an operator might yield unexpected results: Parentheses can be used to disambiguate certain usages.
Change 2980222 on 2016/05/17 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'X'.
warning C28182: Dereferencing NULL pointer. 'X' contains the same NULL value as 'Y' did.
Change 2980458 on 2016/05/17 by Chris.Wood
Attempt to fix crash report submission problems from CRP to CR website
[UE-30257] - Crashreports are sometimes missing file attachments
Passing crash GUID so that website can easily check for duplicates in future
Increased request timeout for AddCrash to be longer than website database timeout
Logging retries for future visibility
CRP v.1.1.6
Change 2980639 on 2016/05/17 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'X'.
warning C28182: Dereferencing NULL pointer. 'X' contains the same NULL value as 'Y' did.
Change 2981750 on 2016/05/18 by Steve.Robb
check()s in ContainerAllocationPolicies.h changed to checkSlow()s, as they only exist to check that the container has been written correctly.
Change 2982106 on 2016/05/18 by John.Mahoney
Fixed a crash caused by loading two stat capture files simultaneously in the profiler.
If the user tries to load a capture file while another load is in progress, the previous load is now cancelled and cleaned up before proceeding with the new load.
Made the delegates in FNewStatsReader explicitly specify which profiler instance they are loading data for, instead of relying on the current value of LoadConnection->InstanceId.
This also fixes a crash that occurs when selecting a different capture file in the "Stats dump browser" pane of the profiler (after using Load Folder) while another file is still loading.
Cleaned up some weak pointer usage in the profiler window.
#jira UE-30741
Change 2983366 on 2016/05/19 by Steven.Hutton
Changes for passing crash type directly from CRP to CRW.
Change 2983394 on 2016/05/19 by Steven.Hutton
Minor changes to add crash with more error reporting
Change 2984685 on 2016/05/20 by Robert.Manuszewski
Merging //UE4/Dev-Main @ 2984626 to Dev-Core (//UE4/Dev-Core)
Change 2985143 on 2016/05/20 by Steve.Robb
Missing semi-colons.
Change 2986463 on 2016/05/23 by Steve.Robb
CopyTemp added to make it clear that you want to make a copy (rather than a move, or an accidental copy) at the call site of a function taking rvalue refs.
Change 2986475 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6313: Incorrect operator: zero-valued flag cannot be tested with bitwise-and.
Change 2986476 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6313: Incorrect operator: zero-valued flag cannot be tested with bitwise-and.
Change 2986480 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant
Change 2986515 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6340: Mismatch on sign: 'X' passed as _Param_(N) when some unsigned type is required in call to 'Func'
Change 2986680 on 2016/05/23 by Steve.Robb
Static analysis fixes:
warning C6386: Buffer overrun while writing to 'Ptr': the writable size is 'X' bytes, but 'Y' bytes might be written.
warning C6387: 'Ptr' could be '0': this does not adhere to the specification for the function 'Func'
warning C6031: Return value ignored: 'snprintf'.
warning C6340: Mismatch on sign: 'const unsigned int' passed as _Param_(4) when some signed type is required in call to 'snprintf'.
Change 2986865 on 2016/05/23 by Robert.Manuszewski
Removing redundand AddReferencedObjects functions
Change 2987968 on 2016/05/24 by Robert.Manuszewski
Removing redundant UPROPERTY macros from intrinsic classes.
Change 2987979 on 2016/05/24 by Steve.Robb
Optimization of some FString and FPaths operations to produce fewer temporaries.
Change 2988297 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6287: Redundant code: the left and right sub-expressions are identical.
Change 2988430 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6385: Reading invalid data from 'var': the readable size is 'X' bytes, but 'Y' bytes may be read.
Change 2988461 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6235: (<non-zero constant> || <expression>) is always a non-zero constant.
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>.
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>.
Change 2988464 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6262: Function uses 'X' bytes of stack: exceeds /analyze:stacksize 'Y'. Consider moving some data to heap.
Change 2988494 on 2016/05/24 by Steve.Robb
Static analysis fixes:
warning C6237: (<zero> && <expression>) is always zero. <expression> is never evaluated and might have side effects.
Change 2989411 on 2016/05/25 by Robert.Manuszewski
Splitting GC cluster index and intenral object flags to allow more UObjects in editor builds.
Change 2989429 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6387: '_Param_(X)' could be '0': this does not adhere to the specification for the function 'Func'.
Change 2989982 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6001: Using uninitialized memory 'LODPlanesMin'.
Change 2990018 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6386: Buffer overrun while writing to 'X'
Change 2990077 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6240: (<expression> && <non-zero constant>) always evaluates to the result of <expression>.
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2990114 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6336: Arithmetic operator has precedence over question operator, use parentheses to clarify intent.
Change 2990125 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6239: (<non-zero constant> && <expression>) always evaluates to the result of <expression>.
Change 2990162 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C6294: Ill-defined for-loop: initial condition does not satisfy test. Loop body not executed.
Change 2990193 on 2016/05/25 by Steve.Robb
Static analysis fixes:
warning C28182: Dereferencing NULL pointer. 'type' contains the same NULL value as 'type->base_type' did.
warning C6011: Dereferencing NULL pointer 'Semantic'.
Change 2991006 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C28113: Accessing a local variable dummy via an Interlocked function: This is an unusual usage which could be reconsidered.
Change 2991012 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6031: Return value ignored: 'InitializeCriticalSectionAndSpinCount'.
Change 2991013 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6287: Redundant code: the left and right sub-expressions are identical.
Change 2991016 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6236: (<expression> || <non-zero constant>) is always a non-zero constant.
Change 2991017 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6326: Potential comparison of a constant with another constant.
Change 2991019 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6292: Ill-defined for-loop: counts up from maximum.
Change 2991023 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6322: Empty _except block.
warning C28251: Inconsistent annotation for 'WinMain': this instance has no annotations.
Change 2991070 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C28182: Dereferencing NULL pointer. 'Ptr1' contains the same NULL value as 'Ptr2' did.
Change 2991416 on 2016/05/26 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2992738 on 2016/05/27 by Steve.Robb
Revert changes to FString::MatchesWildcard.
Change 2992916 on 2016/05/27 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2992960 on 2016/05/27 by Chris.Wood
Optimized P4 access in Crash Report Process and MinidumpDiagostics.
Change 2992964 on 2016/05/27 by Steve.Robb
Static analysis fixes:
warning C6011: Dereferencing NULL pointer 'Ptr'.
Change 2993956 on 2016/05/30 by Robert.Manuszewski
Fixing a crash after adding a new C++ class in the editor - made sure new classes have the token stream assembled after hot-reload.
#jira UE-31309
Change 2993977 on 2016/05/30 by Robert.Manuszewski
Don't wait for all packages to finish loading before PostLoading those which already have.
Change 2994206 on 2016/05/31 by Robert.Manuszewski
PR #2429: Three bug fixes required for script support to work properly (Contributed by pluranium)
#lockdown Nick.Penwarden
[CL 2996251 by Robert Manuszewski in Main branch]
2016-06-01 12:08:56 -04:00
if ( FCStringAnsi : : Strnicmp ( Semantic , " SV_ " , 3 ) = = 0 )
2014-09-25 14:27:21 -04:00
{
for ( int i = 0 ; SystemValues [ i ] . Semantic ! = NULL ; + + i )
{
if ( ! SystemValues [ i ] . bESOnly | | ParseState - > bGenerateES )
{
if ( SystemValues [ i ] . Mode = = ir_var_out
2014-10-01 18:16:34 -04:00
& & FCStringAnsi : : Stricmp ( SystemValues [ i ] . Semantic , Semantic ) = = 0 )
2014-09-25 14:27:21 -04:00
{
Variable = new ( ParseState ) ir_variable (
SystemValues [ i ] . Type ,
SystemValues [ i ] . GlslName ,
ir_var_out
) ;
Variable - > origin_upper_left = SystemValues [ i ] . bOriginUpperLeft ;
ApplyClipSpaceAdjustment = SystemValues [ i ] . bApplyClipSpaceAdjustment ;
}
}
}
}
if ( Variable = = NULL & & Frequency = = HSF_VertexShader )
{
const int PrefixLength = 15 ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
if ( FCStringAnsi : : Strnicmp ( Semantic , " SV_ClipDistance " , PrefixLength ) = = 0 )
2014-09-25 14:27:21 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3154632)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3122543 on 2016/09/13 by Ben.Woodhouse
Override HasOcclusion for Widget3DComponentProxy to detect if the material is has depth testing enabled.
#jira UE-35878
Change 3122544 on 2016/09/13 by Ben.Woodhouse
Shadow stencil optimisation with cvar (enabled by default)
Avoids redundant clearing the stencil buffer for per-object and pre shadows by zeroing the stencil during testing, following discussion on UDN.
This means we don't benefit from Hi Stencil on GCN for the shadow projection draw calls, but it's still faster in all the cases I could find, including for the player character where the bounding box is quite large. (Note: early stencil still works fine, according to PIX)
Shadow projection GPU time profiling :
Test map with 35 characters, stationary directional light
- 4ms-2ms on XB1
- 2.5ms to 0.9ms on PC (r9-390X)
- 3ms-2ms on PS4
Paragon PS4 (roughly 20% reduced - from ~0.39ms)
Change 3122687 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES31 crash
Change 3122691 on 2016/09/13 by Rolando.Caloca
DR - vk - Fixes for SDK 1.0.26.0
Change 3122778 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix number of layers on barrier
Change 3122921 on 2016/09/13 by Rolando.Caloca
DR - vk - Fix ES3.1
Change 3122925 on 2016/09/13 by Ben.Woodhouse
Fix sky lighting issue with skin and re-enable non-checkerboard lighting by default (fallout from lightaccumulator refactor)
#jira UE-35904
Change 3123016 on 2016/09/13 by Chris.Bunner
Fixed adaptive tessellation, broken by CL 3089208 refactor.
#jira UE-35341
Change 3123079 on 2016/09/13 by Rolando.Caloca
DR - vk - Force StoreOp store instead of DontCare everywhere (temporarily)
Change 3123503 on 2016/09/13 by David.Hill
#jira UE-25623
converted a check() to checkf() to include better diagnostic information.
Change 3123617 on 2016/09/13 by Guillaume.Abadie
Fixes artifact when the camera direction is almost parallel to a wide plane with SSR.
#jira UE-35128
Change 3123743 on 2016/09/13 by Brian.Karis
Separate mesh reduction interfaces for static and skeletal.
Zero bad tangents from input mesh.
Change 3125378 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Extract all the State which is necessary to execute the DebugTextDrawingDelegate from the SceneProxy into its own Helpers to be drawn to the canvas later on. The issue was that the SceneProxys are only owned by the RT after their creation and the GT should avoid reading from or writing state to them.
Change 3125527 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix UT build and mac
Change 3125741 on 2016/09/14 by Rolando.Caloca
DR - Extra debug mode for tracking down SCW crashes (r.DumpSCWQueuedJobs=1)
Change 3125763 on 2016/09/14 by Rolando.Caloca
DR - vk - Added new Renderpass cache
- Fix buffer barrier warning
Change 3125769 on 2016/09/14 by Rolando.Caloca
DR - Renamed cvar to r.DumpSCWQueuedJobs
Change 3125771 on 2016/09/14 by Rolando.Caloca
DR - Added support for SV_ClipDistance on GL3 & 4
Change 3125792 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Odin and PS4
Change 3125880 on 2016/09/14 by Arne.Schober
DR - [UE-34481] - Fix Fortnite
Change 3125968 on 2016/09/14 by Brian.Karis
Removed comment
Change 3126315 on 2016/09/15 by Ben.Woodhouse
GPU profiler robustness
- Change stat gathering update to handle multiple views and non-scenerenderer stats (such Slate) properly
- Simplify gathering logic
- Fix race condition where we could read back queries before they're submitted on the RHI thread.
- Fix for movie player stat gathering - disable gathering outside of the main engine tick
#jira UE-35975
Change 3126792 on 2016/09/15 by Rolando.Caloca
DR - vk - Release render pass cache
Change 3126804 on 2016/09/15 by Rolando.Caloca
DR - vk - Fix UpdateTexture2D()
#jira UE-34151
Change 3126884 on 2016/09/15 by Rolando.Caloca
DR - vk - Compile fix
Change 3126953 on 2016/09/15 by Rolando.Caloca
DR - Enable GPU capture when running OpenGL under RenderDoc
- Will also set the memory mode to non coherent so not to kill performance on RenderDoc
Change 3126966 on 2016/09/15 by Rolando.Caloca
DR - Allow cooking for Vulkan SM4 to help with packaging
Change 3127082 on 2016/09/15 by Guillaume.Abadie
Wraps up contact shadows for release fixing different artifacts and handling correctly their screen space length.
#jira UE-35367, UE-33602, UE-33603, UE-33604
#review-3125887 @brian.karis
Change 3127130 on 2016/09/15 by Mark.Satterthwaite
Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3127475 on 2016/09/15 by Rolando.Caloca
DR - vk - Debug dump
Change 3128131 on 2016/09/16 by Ben.Woodhouse
(Integrated from //UE4/Private-Partner-NREAL/...)
Alpha output support for postprocess materials (optional via a parameter)
Needed for end of frame compositing. Could be used to pass intermediate data from one blendable postprocess to another (e.g edge detection)
Change 3128135 on 2016/09/16 by Ben.Woodhouse
GPU profiler (PS4) - remove bubbles between commandlist submissions from query times
Use r.ps4.AdjustRenderQueryTimestamps cvar to enable/disable (defaults to on)
Also fixes some potential precision issues with unit GPU timing
Change 3128247 on 2016/09/16 by Rolando.Caloca
DR - vk - Cache framebuffers
Change 3128593 on 2016/09/16 by Rolando.Caloca
DR - vk - Fix for crash loading map
#jira UE-36072
Change 3128759 on 2016/09/16 by Mark.Satterthwaite
Back out changelist 3127130 - its causing a build failure in FPostProcessVelocityScatterVS because hlslcc is picking the wrong as_* overload.
Change 3130236 on 2016/09/19 by Chris.Bunner
Exposed full SceneCaptureComponent classes instead of select methods.
#jira UE-35996
Change 3130388 on 2016/09/19 by Rolando.Caloca
DR - Avoid crash when adding dynamic primitives
#jira UE-35327
Change 3130393 on 2016/09/19 by Marc.Olano
Improve vector noise tooltips & documentation
Change 3130547 on 2016/09/19 by Ben.Woodhouse
Fix for ensure fail when initializing point light shadowmaps.
This came about because cubemap rendertargets always have Extents of (Resolution, 0). The Y component was implicitly used to determine if it was a cubemap, which is odd... The fix was to make the definition explicit via a flag and initialize both the X and Y parameters.
I suspect the ensure started happening recently due to a more recent change, but fixing the underlying logic seems like the correct fix.
#jira UE-35837
Change 3130578 on 2016/09/19 by Daniel.Wright
Workaround OpenGL/NVidia bug with non-power-of-2 textures by disabling CSM atlassing if we're using OpenGL
Change 3130682 on 2016/09/19 by Rolando.Caloca
DR - Better fix for UE-35327
#jira UE-35327
Change 3130767 on 2016/09/19 by Uriel.Doyon
Better handling of color array in VisualizeComplexity code to prevent assert.
#jira UE-29332
Change 3130965 on 2016/09/19 by Arne.Schober
DR - [UE-35679] - the crash was caused by the Resource of the UTexture being Null. And one of the Kismet Nodes calling a function on that resource. The solution was to disable that call from Kismet when only cooking.
Change 3130967 on 2016/09/19 by Chris.Bunner
Hid redundant texture sampler properties from texture object parameter.
Hid redundant texture property input on texture parameter nodes.
Fixed copy-paste error in expression texture parameter docs.
#jira UE-32724
Change 3131118 on 2016/09/19 by Mark.Satterthwaite
Second attempt - this time with the correct input types. Add overloads to as* functions in hlslcc - HLSL allows you to call these on variables of the same type, in which case it simply returns the existing value but we had only defined the float<->u/int conversions, so hlslcc added implicit casts that broke such cases (i.e. asuint(uint) -> floatBitsToUint(float(uint))). This change defines the missing overloads as returns with regular casts.
#jira FORT-25869
#jira UE-34263
Change 3131153 on 2016/09/19 by Rolando.Caloca
DR - Fix recompute normals when triangles have a LHS tangent basis
Integrate from 3028634
- Also make meshes that don't have morphs be able to run through the recompute normals path
#jira UE-35472
Change 3131228 on 2016/09/19 by Mark.Satterthwaite
Duplicate CL #3114668: Always disable asynchronous shader compilation for the global shader map on Metal as some of them are needed very early.
#jira UE-35240
Change 3131246 on 2016/09/19 by Rolando.Caloca
DR - Shrink gpu skinning permutations
Change 3131261 on 2016/09/19 by Mark.Satterthwaite
Fix Metal validation failures due to particle rendering not binding buffers to all buffer inputs declared in the shader.
ContentExamples Effects no longer aborts complaining that the particle system didn't bind a required buffer.
Change 3131265 on 2016/09/19 by Mark.Satterthwaite
Fix FMetalDynamicRHI::RHIReadSurfaceData for shared textures on iOS.
Change 3131271 on 2016/09/19 by Mark.Satterthwaite
Use private memory for the Metal stencil SRV workaround needed on El Capitan.
Change 3131273 on 2016/09/19 by Mark.Satterthwaite
Disable the lazy-encoder construction in Metal for AMD - there is a situation that causes the lazy construction to perform a clear that isn't wanted and so far this hasn't been tracked down and fixed. Until then, this will render correctly.
Change 3131280 on 2016/09/19 by Mark.Satterthwaite
For GLSL interpolation mode flags must come before storage mode flags and you can't redeclare the system variable gl_Layer to use a differing interpolation mode.
Change 3131283 on 2016/09/19 by Mark.Satterthwaite
Change the ShaderCache to not cache resource bindings in the draw states for shader platforms that don't care - reduces the number of draw states considered significantly without reducing effectiveness. We can support ShaderCache with Metal SM5 but not the RHI thread enabled so change when we enable it and make sure we load the binary shader cache.
Change 3131402 on 2016/09/19 by Rolando.Caloca
DR - Disambiguate callstack
#jira UE-34415
Change 3131469 on 2016/09/19 by Rolando.Caloca
DR - vk - Check if we can allocate descriptors off a pool
Change 3131482 on 2016/09/19 by Rolando.Caloca
DR - vk - Remove unused var
Change 3131506 on 2016/09/19 by Mark.Satterthwaite
With permission from Josh.A & Michael.T, deprecate Mac OpenGL support. For now this just means visibly warning users with message boxes - but in a future release OpenGL support will be removed from macOS.
Change 3131536 on 2016/09/19 by Rolando.Caloca
DR - vk - Compile fix
Change 3131564 on 2016/09/19 by Rolando.Caloca
DR - vk - Submit Hint
- Disable framebuffer recycling as its causing a hang
Change 3131625 on 2016/09/19 by Mark.Satterthwaite
Inside MetalRHI add an optional cache for disposed texture objects so we may reuse them - controlled by CVAR rhi.Metal.TextureCacheMode which must be set prior to running as it can't be changed at runtime. Settings: 0 = off, 1 (default) = will attempt to reuse private memory texture objects within the frame they are released otherwise they are disposed of as before. Setting 2 extends the caching to all textures - though Managed/Shared textures cannot be reused until after the frame in which they were released has been processed on the GPU. In this mode id<MTLTexture> objects are never returned to the OS so in order to conserve VRAM calls to setPurgeableState are made to allow the driver to reclaim unusued memory if required.
Change 3131630 on 2016/09/19 by Mark.Satterthwaite
More statistics in Metal added to track down where performance was going in a particular project but which may be more generally useful.
Change 3131955 on 2016/09/20 by Gil.Gribb
Merging //UE4/Dev-Main@3129758 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3131978 on 2016/09/20 by Gil.Gribb
CIS fix
Change 3132584 on 2016/09/20 by Ben.Woodhouse
Add some additional checks to help track down a rare crash with terrain rendering and shader recompiling
#jira UE-35937
Change 3132696 on 2016/09/20 by Mark.Satterthwaite
Use set*Bytes to handle uploading buffers < 4Kb when available - this is faster than lots of small Metal buffers and reduces the amount of GPU heap fragmentation. Where the API feature isn't available or hasn't been tested yet we'll use another ring-buffer inside the MetalCommandEncoder to emulate it.
Change 3132772 on 2016/09/20 by Mark.Satterthwaite
Rework Metal's handling of RHISetStreamSource calls that override the stride of vertex declarations to be much more efficient.
Change 3132870 on 2016/09/20 by Ben.Woodhouse
Fix mac compile error
Change 3133049 on 2016/09/20 by Brian.Karis
Changed light source shapes in reflection captures to use alpha
Change 3133057 on 2016/09/20 by Brian.Karis
Alphaed out on spot light cone as well.
Change 3133263 on 2016/09/20 by Rolando.Caloca
DR - vk - Debug names for objects
Change 3133292 on 2016/09/20 by Rolando.Caloca
DR - vk - Fix SRGB upload/formats
Change 3133395 on 2016/09/20 by Rolando.Caloca
DR - vk - SM5 fixes
Change 3134026 on 2016/09/21 by Gil.Gribb
Merging //UE4/Dev-Main@3133983 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3134730 on 2016/09/21 by Arne.Schober
DR - [UE-34481] - Fix minor brokenness found by Gil
Change 3134792 on 2016/09/21 by Chris.Bunner
Fixed compile errors for non-editor builds.
Change 3135214 on 2016/09/21 by Rolando.Caloca
DR - vk - Fix visualize texture
- Dump memory when OOM (to track leaks)
Change 3135225 on 2016/09/21 by Rolando.Caloca
DR - vk - Ensure on exit if mem leak
- Update fences if running wait for idle
Change 3135672 on 2016/09/22 by Gil.Gribb
Merging //UE4/Dev-Main@3135568 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3135793 on 2016/09/22 by Rolando.Caloca
DR - vk - Set dynamic state after binding pipeline or on a fresh cmd buffer
Change 3135816 on 2016/09/22 by Rolando.Caloca
DR - Add names for d3d on renderdoc
Change 3135894 on 2016/09/22 by Chris.Bunner
Fixed initialization order warning.
Change 3136024 on 2016/09/22 by Rolando.Caloca
DR - vk - Fix stencil faces
Change 3136042 on 2016/09/22 by Marcus.Wassmer
Fix compile error
Change 3136046 on 2016/09/22 by Chris.Bunner
Renamed material for PostTonemapHDRColor visualization to reflect actual usage.
Change 3136308 on 2016/09/22 by Uriel.Doyon
Changed how the component relative rotation is computed, in order to have more consistency after blueprint rescript.
#jira UE-36094
Change 3136798 on 2016/09/22 by Chris.Bunner
Gather object references from stereo view state in USceneCaptureComponent. This matches behavior of other classes such as ULocalPlayer.
Change 3137092 on 2016/09/22 by Rolando.Caloca
DR - vk - Rename pipeline to gfx pipeline
Change 3137263 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135157:
Fix one cause of Metal crashes loading into a zone - the PlanarReflection shader code needs to always set the IsStereoParameter so that the shader can perform the if-test without causing an invalid GPU access.
#jira FORT-30061
Change 3137265 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135169:
Correct Metal texture creation for AVF media framework - we can't provide a render-targetable version of the texture without blitting. The native texture we get is a GPU copy that can be made CPU accessible (i.e. it is not tiled).
Change 3137266 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3135237:
Metal validation layer fix: under Metal if there are no reads from the vertex stage-in buffers we should use the Empty vertex declaration, not the filter declaration, otherwise we have to bind a redundant vertex stream buffer to silence the validation layer.
Change 3137268 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3136033:
To fix the Fortnite login screen force Nvidia Macs to use the set*Bytes API for small buffer updates even on El Capitan. We can't do this globally as Intel didn't implement these functions until macOS Sierra.
Fix GPU selection code in MetalRHI to confirm everything is working.
#jira FORT-30385
Change 3137269 on 2016/09/22 by Mark.Satterthwaite
Duplicate CL #3137164:
Add stats to track exactly how many command buffers are allocated and committed each frame to work out why Fortnite on AMD is hanging, which turns out to be because each texture update/reallocation ends up in its own command-buffer. This needs to be rethought to pack these into fewer command buffers with the same synchronisation requirements to minimise command-buffer splits but for now we'll just make the default sufficiently large that we shouldn't see the hang until the work is done. Also ensure that command-buffer failure is always fatal - there is no way to recover or continue if a command-buffer fails.
#jira FORT-30377
Change 3137606 on 2016/09/23 by Gil.Gribb
Merging //UE4/Dev-Main@3137560 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3137936 on 2016/09/23 by Rolando.Caloca
DR - Split RHICmdList clear into color & ds in prep for changes
Change 3138346 on 2016/09/23 by Rolando.Caloca
DR - vk - Some renaming and splitting classes in prep for compute
Change 3138628 on 2016/09/23 by Rolando.Caloca
DR - vk - Fix mem leak on framebuffers
Change 3138721 on 2016/09/23 by Daniel.Wright
Better comment for r.DefaultFeature.AntiAliasing
Change 3138722 on 2016/09/23 by Daniel.Wright
Fixed assert from decals with MSAA due to binding the Scene Depth Texture instead of surface
Change 3138723 on 2016/09/23 by Daniel.Wright
Corrected GC doc
Change 3138892 on 2016/09/23 by Daniel.Wright
Fixed instanced static meshes being unbuilt after a lighting build if you ever cancelled a previous lighting build
Change 3138905 on 2016/09/23 by Daniel.Wright
"Optimizations" -> "Optimization Viewmodes"
Change 3138939 on 2016/09/23 by Daniel.Wright
Disabled the stationary light overlap viewmode with forward shading
Change 3139710 on 2016/09/26 by Rolando.Caloca
DR - Rename and added texture RHIClearDepthStencil -> RHIClearDepthStencilTexture
Change 3139820 on 2016/09/26 by Rolando.Caloca
DR - Remove prefix from shader frequency strings
Change 3139828 on 2016/09/26 by Marcus.Wassmer
Add SetShaderValue() specialization for bools on AsyncCompute commandlists to match the Gfx specialization.
Change 3139840 on 2016/09/26 by Benjamin.Hyder
Adding VectorNoise Examples to TM-Noise map
Change 3139862 on 2016/09/26 by Rolando.Caloca
DR - Better log to track down crash
#jira UE-36271
Change 3140142 on 2016/09/26 by Rolando.Caloca
DR - Fix clang warning
Change 3140145 on 2016/09/26 by Rolando.Caloca
DR - Rename RHIClearColor(MRT) to RHIClearColorTextures and pass textures as parameters
Change 3140360 on 2016/09/26 by Daniel.Wright
Lighting Scenarios and lightmaps moved to separate package
* Levels can be marked as lighting scenarios (eg Day, Night). Lighting is built separately for each lighting scenario with actors / lights in all other scenario levels hidden. Only one lighting scenario level should be visible at a time in game, and its lightmaps will be applied to the world.
* Most outputs of the lighting build now go into a separate _BuiltData package. This improves level Save and AutoSave times as the separate package will only be dirtied after lighting rebuilds.
* If a lighting scenario is present, all lightmaps are placed inside it's _BuiltData package. This means that only the currently loaded lighting scenario's lightmaps will be loaded (Day or Night, but not both). This also means that lightmaps for a streaming level will not be streamed with it.
* For backwards compatibility, existing lightmaps are moved to a new _BuiltData package on load.
* Reflection captures and precomputed visibility were not moved to the separate package. Reflection captures are force updated on load of a lighting scenario level, which can increase load times.
Change 3140361 on 2016/09/26 by Daniel.Wright
Lighting Scenarios UI
Change 3140582 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140166
Fix the video playback in Fortnite - bind our shader resource texture as the render-target texture as for some reason the playback code expects it there, even though we could never provide one.
#jira FORT-30551
Change 3140584 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140131:
Fix crash under the validation layer & Nvidia's El Capitan (10.11) drivers when distance field particle collisions are used without any scene distance fields available - bind the black volume texture when that is the case to avoid bad access on the GPU.
#jira FORT-30622
Change 3140586 on 2016/09/26 by Mark.Satterthwaite
Duplicate CL #3140450:
Fix launching the game on Intel GPUs by disabling Tiled Reflections on Intel for macOS Sierra like we did for El Capitan as there's currently a driver bug to means it doesn't work properly.
#jira FORT-30649
Change 3140594 on 2016/09/26 by Zabir.Hoque
Fix benchmark shaders register bindings. TEXCOORD0 was bound to register 1 in VS and then register 0 in PS. DX12 treats this a PSO creation failuer unlike DX11 this was an error.
Change 3140601 on 2016/09/26 by Marcus.Wassmer
New 'Cinematic' Scalability level. Remove unused 'new' motionblur CVAR
Change 3140602 on 2016/09/26 by Zabir.Hoque
CreateTexture3D on XB1 DX11 was leaking ESRAM by reserving it but not allocating to it.
#Tests: Fix was tested by licensee (GearBox).
Change 3140622 on 2016/09/26 by Rolando.Caloca
DR - vk - More prep for sm5
Change 3140765 on 2016/09/26 by Rolando.Caloca
DR - Fix ensure from bad clear depth surface
Change 3141251 on 2016/09/27 by Rolando.Caloca
DR - vk - Rename & cleanup
Change 3141394 on 2016/09/27 by Rolando.Caloca
DR - vk - Compute pipeline state
Change 3141463 on 2016/09/27 by Mark.Satterthwaite
Fix the include order to avoid compile errors on Mac.
Change 3141529 on 2016/09/27 by Gil.Gribb
Merging //UE4/Dev-Main@3139632 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3141830 on 2016/09/27 by zachary.wilson
Adding testing content for lighting scenarios to collaborate with Ben
Change 3141941 on 2016/09/27 by Olaf.Piesche
Speculative fix for UE-34815; have yet to repro this but there's really only so many things it could be. I currently don't see how the sim resources could go away after queueing, so I'm replacing the check with an ensure and null checking the resource pointer.
Change 3142035 on 2016/09/27 by Olaf.Piesche
Fix compiler error from silly leftover bit of code.
Change 3142065 on 2016/09/27 by Benjamin.Hyder
Updating Lighting Scenario map
Change 3142262 on 2016/09/27 by Mark.Satterthwaite
Change Apple RHI initialisation to select the first compatible shader platform to decide which RHI to initialise. Internally in MetalRHI we must gracefully fallback to a lower feature-level when this initial selection is not available on the current device/OS, in which case we need to validate that the selected shader platform was actually packaged. The order of initialisation is different per-platform:
On Mac: Order of initialisation is the order listed in TargetedRHIs .ini specifications.
On iOS/tvOS: Order is explicit: Metal MRT > Metal ES 3.1 > OpenGL ES 2
#jira UE-35749
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3142397 on 2016/09/27 by Mark.Satterthwaite
Update hlslcc for Mac including RCO's changes in CL #3142292.
#jira UE-31438
Change 3142438 on 2016/09/27 by Daniel.Wright
UMapBuildDataRegistry's created for legacy lightmap data are placed in the map package, which avoids problems with cooking
Change 3142452 on 2016/09/27 by Rolando.Caloca
DR - Proper support for int defines
Change 3142519 on 2016/09/27 by Arne.Schober
DR - [UE-33438] - Added a Project Setting to enable Skincache Shader Permuations. The Default value for the Skincache mode was changed to enabled. The reasoning behind this was that it will be auto disabled when Skincache Shaders are disabled, and runtime toggle is a debuging feature that mainly programmers are dealing with. The Recompute Tangents option in the Skinned Mesh is now automatically grayed out when no Skincache Shader Permuations are available.
Change 3142537 on 2016/09/27 by Daniel.Wright
Fixed r.ScreenPercentage with MSAA - a scissor rect was being setup during the resolve and not reset
Change 3142691 on 2016/09/27 by Daniel.Wright
Disabled renaming of legacy ULightmap2D's to the separate package since UMapBuildDataRegistry is no longer put in a separate package for legacy content
Change 3142711 on 2016/09/27 by Daniel.Wright
GComponentsWithLegacyLightmaps entries get handled by USceneComponent::AddReferencedObjects, fixes a crash when you open a map directly from the content browser
Change 3142712 on 2016/09/27 by Daniel.Wright
Separate category for ParticleCutout properties
Change 3142762 on 2016/09/27 by Uriel.Doyon
Added per static mesh and per skeletal mesh UV density data. The data is now saved and available in cooked builds.
The density are computed by the engine but can be overridden by the user in the material tabs.
Texture streaming intermediate component data is now per material instead of per lod-section.
New ViewModeParam in FSceneViewFamily allowing context specific param per viewmode.
This is currently used to show which UV channel and which texture index is being
shown in the texture streaming accuracy viewmodes.
This replaces r.Streaming.AnalysisIndex
Renamed texture streaming viewmodes:
MeshTexCoordSizeAccuracy -> MeshUVDensityAccuracy
MaterialTexCoordScalesAccuracy -> MaterialTextureScaleAccuracy
MaterialTexCoordScalesAnalysis -> OutputMaterialTextureScales
Improved UV density computation and viewmode.
LightmapUVDensity is now computed separately from UVChannel Density.
Fixed texture streaming for instanced static mesh component and derived types.
Change 3143464 on 2016/09/28 by Daniel.Wright
Removed 'experimental' from forward shading setting
Change 3143508 on 2016/09/28 by Chris.Bunner
Added component type handling to FoldedMath and Length material expressions.
#jira UE-36304
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3143563 on 2016/09/28 by Rolando.Caloca
DR - vk - Force hlslcc re-link
Change 3143648 on 2016/09/28 by Daniel.Wright
Moved GetMeshMapBuildData to UStaticMeshComponent since FStaticMeshComponentLODInfo::OwningComponent can't be initialized reliably in the case of SpawnActor off of a blueprint default that has LODData entries already.
Change 3143661 on 2016/09/28 by Chris.Bunner
Warning fix.
Change 3143723 on 2016/09/28 by Daniel.Wright
DumpUnbuiltLightIteractions after lighting build for debugging
Change 3143822 on 2016/09/28 by Arne.Schober
DR - Refactoring of the ViewMatrices. Moved the Derived Matrices into the FViewMatrix struct. Made all members private do emphasize the static constness of that struct after creation. Renamed the heavy weight members on this struct to Compute*. Methods that modify The ViewMatrices have been renamed to Hack* to discurage their use in the future until a better solution for those problems is found. The ViewMatrix modification is especially misleading because it only changes the State of the ViewMatrices to read their Position from the Material Editior as if coming from the Lightsource (mainly for manual bilboards) as well as doing someting similar to generate CPU bilboards for shadows.
Change 3143860 on 2016/09/28 by Benjamin.Hyder
Updating TM-Noise map to include 3d noise examples
Change 3143939 on 2016/09/28 by Rolando.Caloca
DR - vk - Better debugging of submissions
- Added r.Vulkan.IgnoreCPUReads to help track down hangs on some ihvs
Change 3144006 on 2016/09/28 by Brian.Karis
Fixed PixelError not being set correctly with LOD groups.
Removed unneeded Simplygon references.
Mesh reduction module can now be chosen by name with r.MeshReductionModule
Change 3144026 on 2016/09/28 by Benjamin.Hyder
Updating QA-Effects map to correct numbering issue
Change 3144098 on 2016/09/28 by Arne.Schober
DR - ViewMatrices Refactoring - Fix UT
Change 3144158 on 2016/09/28 by Rolando.Caloca
DR - Undo splitting RHI command context
Change 3144952 on 2016/09/29 by Rolando.Caloca
DR - vk - Missing swapchain flag
Change 3145064 on 2016/09/29 by Olaf.Piesche
#jira UE-36091
Pulling range update for vector distributions even when UDist is not dirty; some content has a lookup table and a clean dist, but the range values have not been baked; always pulling them should be safe and not significantly costly.
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3145485 on 2016/09/29 by Daniel.Wright
Made SeamlessTravelLoadCallback handle legacy lightmaps
Change 3145527 on 2016/09/29 by Daniel.Wright
Don't clear legacy lightmap annotations on each map - fixes lighting unbuilt when doing seamless travel
Change 3145530 on 2016/09/29 by Simon.Tovey
UE-36188 - Editor crash when updating hierarchical instance static mesh component
Dirtied render state rather than unsafe update of bounds.
Change 3145608 on 2016/09/29 by Gil.Gribb
Attempt to fix a random compiler error under win32
Change 3145749 on 2016/09/29 by Uriel.Doyon
Fix for static analysis warning
Change 3146091 on 2016/09/29 by Zabir.Hoque
RHI Interface changes to support PSO based APIs
Change 3146092 on 2016/09/29 by Zabir.Hoque
D3D12 RHI support for PSO based APIs.
Change 3146590 on 2016/09/30 by Gil.Gribb
Merging //UE4/Dev-Main@3146520 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3146731 on 2016/09/30 by Rolando.Caloca
DR - Fix merge conflicts
Change 3146778 on 2016/09/30 by Rolando.Caloca
DR - More integration compile fixes
Change 3146790 on 2016/09/30 by Rolando.Caloca
DR - Integration fix
Change 3146849 on 2016/09/30 by Rolando.Caloca
DR - Final integration fix
Change 3146899 on 2016/09/30 by Daniel.Wright
Static analysis fix for dereferencing World
Change 3147020 on 2016/09/30 by Rolando.Caloca
DR - vk - Fix depth issue on AMD cards
- Added VULKAN_KEEP_CREATE_INFO to help debugging creation
- Added num color attachments to pipeline key
Change 3147034 on 2016/09/30 by Rolando.Caloca
DR - Fix Kite crash where shader pipelines were optimizing non-tessellation pipelines
#jira UE-36277
#jira UE-36500
Change 3147080 on 2016/09/30 by Rolando.Caloca
DR - vk - Disable debug info by default
Change 3147082 on 2016/09/30 by Chris.Bunner
Allow tessellation to be used with DrawTile calls by swapping fixed mesh to triangle list.
#jira UE-36491
Change 3147388 on 2016/09/30 by Chris.Bunner
Blacklisted Nvidia driver 372.70 as it has known stability issues skewing our top crashes list. Also updated recommended version numbers.
#jira UE-35288
Change 3147394 on 2016/09/30 by Chris.Bunner
Additional logging for rare error.
#jira UE-35812
Change 3147459 on 2016/09/30 by Rolando.Caloca
DR - vk - Some more srgb formats
Change 3147537 on 2016/09/30 by Rolando.Caloca
DR - vk - Standarize srgb flag like D3D11
- Minor FVulkanShader cleanup
Change 3147620 on 2016/09/30 by Olaf.Piesche
#jira UE=34486
particle component tick function task can be invalid during pause; add check
Change 3148028 on 2016/10/01 by Daniel.Wright
Renamed RenderingSettings.cpp to match header
Change 3148059 on 2016/10/01 by Daniel.Wright
Disabled reparenting in the profiler which is disorienting
Change 3148067 on 2016/10/01 by Daniel.Wright
Support for ReflectionEnvironment and light type show flags with ForwardShading
Change 3148069 on 2016/10/01 by Daniel.Wright
Added CapsuleIndirectShadowMinVisibility to SkinnedMeshComponent, so artists have control over indirect capsule shadow darkness without changing cvars
Change 3148072 on 2016/10/01 by Daniel.Wright
Added a rendering setting to disable the new lightmap mixing behavior, where smooth surfaces don't have any mixing. r.ReflectionEnvironmentLightmapMixBasedOnRoughness
Change 3148073 on 2016/10/01 by Daniel.Wright
r.VertexFoggingForOpaque only affects forward shading - manual copy of Ben's fix from Orion stream
Change 3148074 on 2016/10/01 by Daniel.Wright
Enabled planar reflection receiving on the material used for the preview of a APlanarReflection
Change 3148084 on 2016/10/01 by Daniel.Wright
Fixed reflections on Surface TranslucencyVolume in deferred
Change 3148085 on 2016/10/01 by Daniel.Wright
Fixed planar reflection composite being done too many times in stereo deferred
Change 3148086 on 2016/10/01 by Daniel.Wright
Clamp IndirectLightingQuality to 1 in preview builds - keeps preview useful even with IndirectLightingQuality jacked up to 10.
Change 3148107 on 2016/10/01 by Daniel.Wright
CIS fix
Change 3148113 on 2016/10/01 by Daniel.Wright
Translucency lighting modes for forward shading
* Per-vertex modes use GetSimpleDynamicLighting since they can't support specular anyway
Change 3148306 on 2016/10/02 by Rolando.Caloca
DR - vk - Fix for some NV drivers on Win10
Change 3148307 on 2016/10/02 by Rolando.Caloca
DR - vk - Compute pipeline
Change 3148358 on 2016/10/02 by Rolando.Caloca
DR - vk - Consolidate and renumber enum for binding types
Change 3148396 on 2016/10/03 by Rolando.Caloca
DR - vk - Warning fix
Change 3148697 on 2016/10/03 by Benjamin.Hyder
Submitting M_Chromebal after enabling planar reflectionsl
Change 3148799 on 2016/10/03 by Rolando.Caloca
DR - vk - static analysis fix
Change 3148934 on 2016/10/03 by Chris.Bunner
Added pre-skinned local position material graph node, vertex shader only.
Change 3148994 on 2016/10/03 by Chris.Bunner
Added missing header file.
Change 3149085 on 2016/10/03 by Daniel.Wright
Support for ReflectionEnvironment show flag in base pass reflections without any shader overhead
Change 3149095 on 2016/10/03 by Rolando.Caloca
DR - vk - Disable new render passes
Change 3149125 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix for multiple memory types
Change 3149181 on 2016/10/03 by Rolando.Caloca
DR - Better message when missing pipelines
Change 3149215 on 2016/10/03 by Rolando.Caloca
DR - RHIClearColor -> RHIClearColorTexture
#tests Orion Editor run match on Agora_P
Change 3149288 on 2016/10/03 by Chris.Bunner
Added PreTonemapHDRColor for buffer visualization and target output.
#jira UE-36333
Change 3149402 on 2016/10/03 by Daniel.Wright
Light attenuation buffer is now multisampled, fixes preshadows with MSAA (depth testing failed during stencil pass) but adds a resolve (.12ms at VR res)
Change 3149403 on 2016/10/03 by Daniel.Wright
Forward lighting supports lighting channels
Change 3149574 on 2016/10/03 by Marcus.Wassmer
PR #2817: Ansel/Photography system (Contributed by adamnv)
Modified to become a plugin
Change 3149615 on 2016/10/03 by Rolando.Caloca
DR - vk - Fix PF_G16R16 which fixes reflections
Change 3149639 on 2016/10/03 by Olaf.Piesche
Adding more ensures to catch NaNs occasionally appearing in particle locations early
Change 3149745 on 2016/10/03 by Uriel.Doyon
Moved UVDensity computation in the staticmesh DDC.
Change 3149749 on 2016/10/03 by Daniel.Wright
Fixed lightmaps on BSP, which was fallout from Lighting Scenarios backwards compatibility
Change 3149755 on 2016/10/03 by Benjamin.Hyder
Checking in built lighting for QA-postprocessing
Change 3149758 on 2016/10/03 by Benjamin.Hyder
re-submitting built lighting for QA-PostProcessing
Change 3149940 on 2016/10/04 by Gil.Gribb
Merging //UE4/Dev-Main@3149754 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3150098 on 2016/10/04 by Marcus.Wassmer
Fix some clang and win32 errors
Change 3150323 on 2016/10/04 by Rolando.Caloca
DR - vk - Static analysis fix
Change 3150456 on 2016/10/04 by Daniel.Wright
Revert temp logs
Change 3150731 on 2016/10/04 by Daniel.Wright
Static lights now add a dummy map build data entry for their ULightComponent::IsPrecomputedLightingValid
Change 3150795 on 2016/10/04 by Marcus.Wassmer
Fix RHIClearUAV and Drawindirect bugs on PS4.
Also fix PS4 compile error from bad merge.
Change 3151065 on 2016/10/04 by Ben.Marsh
Merging //UE4/Dev-Main to Dev-Rendering (//UE4/Dev-Rendering)
Change 3151134 on 2016/10/04 by Brian.Karis
Fixed corrupt mesh generation from quadric simplifier due to uninitialized color array.
Change 3151201 on 2016/10/04 by Marcus.Wassmer
Nvidia approved icon for ansel plugin.
Change 3151240 on 2016/10/04 by Marcus.Wassmer
Fix string concat build error.
Change 3151258 on 2016/10/04 by Ben.Marsh
Fix compile error.
Change 3151290 on 2016/10/04 by Marcus.Wassmer
Bumping static mesh DDC key to hopefully fix distancefield crashes after brian's quadric simplifier fix.
Change 3152104 on 2016/10/05 by Chris.Bunner
Workaround for legacy BreakMA material node invalid component masks.
#jira UE-36832
Change 3152130 on 2016/10/05 by Ben.Woodhouse
Fix issue with skylight SH and fast semantics on DX11. We need to clear the cube scratch textures before writing to them to avoid issues when reading them back for mip downsampling
#jira UE-35890
Change 3152240 on 2016/10/05 by Rolando.Caloca
DR - Fix for missing gizmo colors
#jira UE-36515
Change 3152338 on 2016/10/05 by Daniel.Wright
Hopeful fix for FDistanceFieldVolumeTexture assert in the cooker
Change 3152833 on 2016/10/05 by Brian.Karis
Improved precision of quadrics. Fixes bad triangles on large meshes
Change 3153376 on 2016/10/06 by Rolando.Caloca
DR - Fix for SM4 missing pipelines fallout
Change 3153650 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main@3153068 to Dev-Rendering (//UE4/Dev-Rendering)
Change 3153656 on 2016/10/06 by Uriel.Doyon
Fixed main integration compilation issues.
Some of the Mesh UVDensity UI is temporary disabled.
Change 3153725 on 2016/10/06 by Uriel.Doyon
Fixed crash when source data is missing for lightmaps
#jira UE-36157
Change 3153998 on 2016/10/06 by Gil.Gribb
Merging //UE4/Dev-Main to Dev-Rendering@3153705 (//UE4/Dev-Rendering)
Change 3154056 on 2016/10/06 by Marcus.Wassmer
Fix compile errors from merge. Also restore some light scencario code
Change 3154176 on 2016/10/06 by Marcus.Wassmer
Fix deprecation warning
Change 3154252 on 2016/10/06 by Marcus.Wassmer
Fix more deprecation warnings
Change 3154632 on 2016/10/07 by Chris.Bunner
Fix for incorrect re-entrant detection with a function called twice in a row. The function input Preview expression is overridden when the function is called to link it into the caller graph, but it was restored too late for chained calls to the same function.
#jira UE-37002
[CL 3154728 by Gil Gribb in Main branch]
2016-10-07 10:20:36 -04:00
int OutputIndex = - 1 ;
if ( Semantic [ PrefixLength ] > = ' 0 ' & & Semantic [ PrefixLength ] < = ' 9 ' )
{
OutputIndex = Semantic [ 15 ] - ' 0 ' ;
}
else if ( Semantic [ PrefixLength ] = = 0 )
{
OutputIndex = 0 ;
}
if ( OutputIndex ! = - 1 )
{
Variable = new ( ParseState ) ir_variable (
glsl_type : : float_type ,
ralloc_asprintf ( ParseState , " gl_ClipDistance[%d] " , OutputIndex ) ,
ir_var_out
) ;
}
2014-09-25 14:27:21 -04:00
}
}
if ( Variable = = NULL & & Frequency = = HSF_PixelShader )
{
const int PrefixLength = 9 ;
2014-10-01 18:16:34 -04:00
if ( FCStringAnsi : : Strnicmp ( Semantic , " SV_Target " , PrefixLength ) = = 0
2014-09-25 14:27:21 -04:00
& & Semantic [ PrefixLength ] > = ' 0 '
& & Semantic [ PrefixLength ] < = ' 7 ' )
{
int OutputIndex = Semantic [ PrefixLength ] - ' 0 ' ;
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " out_Target%d " , OutputIndex ) ,
ir_var_out
) ;
if ( ParseState - > bGenerateLayoutLocations )
{
Variable - > explicit_location = true ;
Variable - > location = OutputIndex ;
}
}
}
if ( Variable = = NULL & & Frequency = = HSF_HullShader )
{
const int PrefixLength = 13 ;
2014-10-01 18:16:34 -04:00
if ( FCStringAnsi : : Strnicmp ( Semantic , " SV_TessFactor " , PrefixLength ) = = 0
2014-09-25 14:27:21 -04:00
& & Semantic [ PrefixLength ] > = ' 0 '
& & Semantic [ PrefixLength ] < = ' 3 ' )
{
int OutputIndex = Semantic [ PrefixLength ] - ' 0 ' ;
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " gl_TessLevelOuter[%d] " , OutputIndex ) ,
ir_var_out
) ;
ApplyClampPowerOfTwo = ParseState - > tessellation . partitioning = = GLSL_PARTITIONING_POW2 ;
}
}
if ( Variable = = NULL & & Frequency = = HSF_HullShader )
{
const int PrefixLength = 19 ;
2014-10-01 18:16:34 -04:00
if ( FCStringAnsi : : Strnicmp ( Semantic , " SV_InsideTessFactor " , PrefixLength ) = = 0
2014-09-25 14:27:21 -04:00
& & Semantic [ PrefixLength ] > = ' 0 '
& & Semantic [ PrefixLength ] < = ' 1 ' )
{
int OutputIndex = Semantic [ PrefixLength ] - ' 0 ' ;
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " gl_TessLevelInner[%d] " , OutputIndex ) ,
ir_var_out
) ;
ApplyClampPowerOfTwo = ParseState - > tessellation . partitioning = = GLSL_PARTITIONING_POW2 ;
}
2014-10-01 18:16:34 -04:00
else if ( FCStringAnsi : : Stricmp ( Semantic , " SV_InsideTessFactor " ) = = 0 )
2014-09-25 14:27:21 -04:00
{
Variable = new ( ParseState ) ir_variable (
Type ,
ralloc_asprintf ( ParseState , " gl_TessLevelInner[0] " ) ,
ir_var_out
) ;
ApplyClampPowerOfTwo = ParseState - > tessellation . partitioning = = GLSL_PARTITIONING_POW2 ;
}
}
2015-02-06 11:35:30 -05:00
bool bUseGLSL410Rules = OutputQualifier . Fields . bIsPatchConstant & & ParseState - > language_version = = 410 ;
if ( Variable = = NULL & & ( ParseState - > bGenerateES | | bUseGLSL410Rules ) )
2014-09-25 14:27:21 -04:00
{
// Create a variable so that a struct will not get added
Variable = new ( ParseState ) ir_variable ( Type , ralloc_asprintf ( ParseState , " var_%s " , Semantic ) , ir_var_out ) ;
}
if ( Variable )
{
// Up to this point, variables aren't contained in structs
* DestVariableType = Variable - > type ;
DeclInstructions - > push_tail ( Variable ) ;
ParseState - > symbols - > add_variable ( Variable ) ;
Variable - > centroid = OutputQualifier . Fields . bCentroid ;
Variable - > interpolation = OutputQualifier . Fields . InterpolationMode ;
Variable - > is_patch_constant = OutputQualifier . Fields . bIsPatchConstant ;
ir_rvalue * VariableDeref = new ( ParseState ) ir_dereference_variable ( Variable ) ;
return VariableDeref ;
}
2014-10-01 18:16:34 -04:00
if ( Semantic & & FCStringAnsi : : Strnicmp ( Semantic , " SV_ " , 3 ) = = 0 )
2014-09-25 14:27:21 -04:00
{
_mesa_glsl_warning ( ParseState , " unrecognized system value output '%s' " ,
Semantic ) ;
}
* DestVariableType = Type ;
// Create variable
glsl_struct_field * StructField = ralloc_array ( ParseState , glsl_struct_field , 1 ) ;
memset ( StructField , 0 , sizeof ( glsl_struct_field ) ) ;
StructField [ 0 ] . type = Type ;
StructField [ 0 ] . name = ralloc_strdup ( ParseState , " Data " ) ;
const glsl_type * VariableType = glsl_type : : get_record_instance ( StructField , 1 , ralloc_strdup ( ParseState , Semantic ) ) ;
if ( Frequency = = HSF_HullShader & & ! OutputQualifier . Fields . bIsPatchConstant )
{
VariableType = glsl_type : : get_array_instance ( VariableType , ParseState - > tessellation . outputcontrolpoints ) ;
}
Variable = new ( ParseState ) ir_variable ( VariableType , ralloc_asprintf ( ParseState , " out_%s " , Semantic ) , ir_var_out ) ;
Variable - > centroid = OutputQualifier . Fields . bCentroid ;
Variable - > interpolation = OutputQualifier . Fields . InterpolationMode ;
Variable - > is_interface_block = true ;
Variable - > is_patch_constant = OutputQualifier . Fields . bIsPatchConstant ;
if ( ParseState - > bGenerateLayoutLocations & & ! Variable - > is_patch_constant )
{
2015-02-06 11:35:30 -05:00
ConfigureInOutVariableLayout ( Frequency , ParseState , Semantic , Variable , ir_var_out ) ;
2014-09-25 14:27:21 -04:00
}
DeclInstructions - > push_tail ( Variable ) ;
ParseState - > symbols - > add_variable ( Variable ) ;
ir_rvalue * VariableDeref = new ( ParseState ) ir_dereference_variable ( Variable ) ;
if ( Frequency = = HSF_HullShader & & ! OutputQualifier . Fields . bIsPatchConstant )
{
VariableDeref = new ( ParseState ) ir_dereference_array ( VariableDeref , new ( ParseState ) ir_dereference_variable ( ParseState - > symbols - > get_variable ( " gl_InvocationID " ) ) ) ;
}
VariableDeref = new ( ParseState ) ir_dereference_record ( VariableDeref , ralloc_strdup ( ParseState , " Data " ) ) ;
return VariableDeref ;
}
/**
* Generate an input semantic .
* @ param Frequency - The shader frequency .
* @ param ParseState - Parse state .
* @ param InputSemantic - The semantic name to generate .
* @ param InputQualifier - Qualifiers applied to the semantic .
* @ param InputVariableDeref - Deref for the argument variable .
* @ param DeclInstructions - IR to which declarations may be added .
* @ param PreCallInstructions - IR to which instructions may be added before the
* entry point is called .
*/
static void GenShaderInputForVariable (
EHlslShaderFrequency Frequency ,
_mesa_glsl_parse_state * ParseState ,
const char * InputSemantic ,
FSemanticQualifier InputQualifier ,
ir_dereference * InputVariableDeref ,
exec_list * DeclInstructions ,
exec_list * PreCallInstructions ,
int SemanticArraySize ,
int SemanticArrayIndex
)
{
const glsl_type * InputType = InputVariableDeref - > type ;
if ( InputType - > is_record ( ) )
{
for ( uint32 i = 0 ; i < InputType - > length ; + + i )
{
const char * FieldSemantic = InputType - > fields . structure [ i ] . semantic ;
const char * Semantic = 0 ;
if ( InputSemantic & & FieldSemantic )
{
_mesa_glsl_warning ( ParseState , " semantic '%s' of field '%s' will be overridden by enclosing types' semantic '%s' " ,
InputType - > fields . structure [ i ] . semantic ,
InputType - > fields . structure [ i ] . name ,
InputSemantic ) ;
FieldSemantic = 0 ;
}
if ( InputSemantic & & ! FieldSemantic )
{
2016-04-13 12:14:19 -04:00
Semantic = ralloc_asprintf ( ParseState , " %s%u " , InputSemantic , i ) ;
2014-09-25 14:27:21 -04:00
_mesa_glsl_warning ( ParseState , " creating semantic '%s' for struct field '%s' " , Semantic , InputType - > fields . structure [ i ] . name ) ;
}
else if ( ! InputSemantic & & FieldSemantic )
{
Semantic = FieldSemantic ;
}
else
{
Semantic = 0 ;
}
if ( InputType - > fields . structure [ i ] . type - > is_record ( ) | |
Semantic )
{
FSemanticQualifier Qualifier = InputQualifier ;
if ( Qualifier . Packed = = 0 )
{
Qualifier . Fields . bCentroid = InputType - > fields . structure [ i ] . centroid ;
Qualifier . Fields . InterpolationMode = InputType - > fields . structure [ i ] . interpolation ;
Qualifier . Fields . bIsPatchConstant = InputType - > fields . structure [ i ] . patchconstant ;
}
ir_dereference_record * FieldDeref = new ( ParseState ) ir_dereference_record (
InputVariableDeref - > clone ( ParseState , NULL ) ,
InputType - > fields . structure [ i ] . name ) ;
GenShaderInputForVariable (
Frequency ,
ParseState ,
Semantic ,
Qualifier ,
FieldDeref ,
DeclInstructions ,
PreCallInstructions ,
SemanticArraySize ,
SemanticArrayIndex
) ;
}
else
{
_mesa_glsl_error (
ParseState ,
" field '%s' in input structure '%s' does not specify a semantic " ,
InputType - > fields . structure [ i ] . name ,
InputType - > name
) ;
}
}
}
else if ( InputType - > is_array ( ) | | InputType - > is_inputpatch ( ) | | InputType - > is_outputpatch ( ) )
{
int BaseIndex = 0 ;
const char * Semantic = 0 ;
check ( InputSemantic ) ;
ParseSemanticAndIndex ( ParseState , InputSemantic , & Semantic , & BaseIndex ) ;
check ( BaseIndex > = 0 ) ;
check ( InputType - > is_array ( ) | | InputType - > is_inputpatch ( ) | | InputType - > is_outputpatch ( ) ) ;
const unsigned ElementCount = InputType - > is_array ( ) ? InputType - > length : InputType - > patch_length ;
{
//check(!InputQualifier.Fields.bIsPatchConstant);
InputQualifier . Fields . bIsPatchConstant = false ;
}
for ( unsigned i = 0 ; i < ElementCount ; + + i )
{
ir_dereference_array * ArrayDeref = new ( ParseState ) ir_dereference_array (
InputVariableDeref - > clone ( ParseState , NULL ) ,
new ( ParseState ) ir_constant ( ( unsigned ) i )
) ;
GenShaderInputForVariable (
Frequency ,
ParseState ,
2016-04-13 12:14:19 -04:00
ralloc_asprintf ( ParseState , " %s%u " , Semantic , BaseIndex + i ) ,
2014-09-25 14:27:21 -04:00
InputQualifier ,
ArrayDeref ,
DeclInstructions ,
PreCallInstructions ,
SemanticArraySize ,
SemanticArrayIndex
) ;
}
}
else
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
bool ApplyFlipFrontFacingAdjustment = false ;
2014-09-25 14:27:21 -04:00
bool ApplyClipSpaceAdjustment = false ;
ir_rvalue * SrcValue = GenShaderInputSemantic ( Frequency , ParseState , InputSemantic ,
InputQualifier , InputType , DeclInstructions , SemanticArraySize ,
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
SemanticArrayIndex , ApplyClipSpaceAdjustment , ApplyFlipFrontFacingAdjustment ) ;
2014-09-25 14:27:21 -04:00
if ( SrcValue )
{
YYLTYPE loc ;
if ( ParseState - > adjust_clip_space_dx11_to_opengl & & ApplyClipSpaceAdjustment )
{
// This is for input of gl_Position into geometry shader only.
// Generate a local variable to do the conversion in, keeping source type.
ir_variable * TempVariable = new ( ParseState ) ir_variable ( SrcValue - > type , NULL , ir_var_temporary ) ;
PreCallInstructions - > push_tail ( TempVariable ) ;
// Assign input to this variable
ir_dereference_variable * TempVariableDeref = new ( ParseState ) ir_dereference_variable ( TempVariable ) ;
PreCallInstructions - > push_tail (
new ( ParseState ) ir_assignment (
TempVariableDeref ,
SrcValue
)
) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3170391 on 2016/10/21 by Ben.Woodhouse
Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.
#jira UE-37437
#fyi rolando.caloca, marcus.wassmer
Change 3170659 on 2016/10/21 by Rolando.Caloca
DR - vk - Prep work for state key changes
Change 3170676 on 2016/10/21 by Rolando.Caloca
DR - vk - Reworked blend state keys
- Added depth/stencil to pipeline key
Change 3170848 on 2016/10/21 by Daniel.Wright
Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.
Change 3170849 on 2016/10/21 by Daniel.Wright
Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear
Change 3170995 on 2016/10/21 by Rolando.Caloca
DR - vk - Show object on vulkan validation msgs
Change 3171085 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix pipelines being used with incompatible renderpasses
Change 3171159 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix layout when reading textures on CPU
Change 3171167 on 2016/10/21 by Rolando.Caloca
DR - vk - compile fix
Change 3172462 on 2016/10/24 by Daniel.Wright
Added a warning about shader compile times to the material tooltip
Change 3172463 on 2016/10/24 by Daniel.Wright
Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh
Change 3172716 on 2016/10/24 by Brian.Karis
Fix for crash UE-37369 when reimporting over a generated LOD.
Change 3172967 on 2016/10/24 by Rolando.Caloca
DR - vk - Fix writing buffers while GPU was using them
Change 3174187 on 2016/10/25 by Olaf.Piesche
UE-37020
Change 3174718 on 2016/10/26 by Rolando.Caloca
DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k
Change 3175960 on 2016/10/26 by Rolando.Caloca
DR - Added support for hlslcc header to have custom parsing
Change 3176611 on 2016/10/27 by David.Hill
DrawWireCone confusion:
In response to a UDN, I'm updating confusing parameter names and comments for
DrawWireCone() and DrawWireSphereCappedCone()
Change 3177111 on 2016/10/27 by Rolando.Caloca
DR - vk - Fix timestamps for frame
Change 3177192 on 2016/10/27 by Arne.Schober
DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState
Change 3177278 on 2016/10/27 by Olaf.Piesche
UE-37484
Change 3177297 on 2016/10/27 by Rolando.Caloca
DR - vk - Enable GRHISupportsBaseVertexIndex
Change 3177607 on 2016/10/27 by Rolando.Caloca
DR - vk - SM4 UB prep
Change 3178052 on 2016/10/28 by Arne.Schober
DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.
Change 3178156 on 2016/10/28 by Rolando.Caloca
DR - vk - Added query timer
- Fixed inline issues
Change 3178158 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for out of stencil bits
Change 3178462 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for Elemental
Change 3179131 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix for r.Vulkan.UseRealUBs
Change 3179139 on 2016/10/28 by Rolando.Caloca
DR - vk - Move UB ring buffer to context
Change 3179145 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix buffer barriers
Change 3179888 on 2016/10/31 by Rolando.Caloca
DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD
Change 3179923 on 2016/10/31 by Rolando.Caloca
DR - vk - Wait for swapchain counter
Change 3180430 on 2016/10/31 by Rolando.Caloca
DR - vk - Properly wait for occlusion queries/cmd buffer
- Actual log error if trying to use occlusion queries out of order
Change 3180746 on 2016/10/31 by Rolando.Caloca
DR - vk - Undo some waiting as it was on the wrong thread
Change 3182115 on 2016/11/01 by Rolando.Caloca
DR - hlslcc Linux path fix
Change 3182118 on 2016/11/01 by Daniel.Wright
Fixed global distance field seam artifacts from landscapes with no subsections
Change 3182368 on 2016/11/01 by Daniel.Wright
Dynamic Indirect Shadows for static meshes using distance fields
* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
* DFAO from landscape is now done through the global distance field entirely. Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.
Change 3182408 on 2016/11/01 by Rolando.Caloca
DR - vk - Reworked occlusion queries, fixes flickering on AMD
Change 3182585 on 2016/11/01 by Daniel.Wright
PS4 compile fix
Change 3183151 on 2016/11/02 by Rolando.Caloca
DR - vk - Fix issue when processing super quick cmd buffers
Change 3183160 on 2016/11/02 by Rolando.Caloca
Dr - vk - Call reset queries outside render pass
Change 3183182 on 2016/11/02 by Rolando.Caloca
DR - Switch clear
Change 3183194 on 2016/11/02 by Rolando.Caloca
DR - Try to catch crash ahead of time
Change 3183268 on 2016/11/02 by Rolando.Caloca
DR - vk - Rename RenderPassState to TransitionState
Change 3183440 on 2016/11/02 by Daniel.Wright
Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'
Change 3183793 on 2016/11/02 by Daniel.Wright
Added ShadowResolutionScale to lightcomponent
Change 3183796 on 2016/11/02 by Daniel.Wright
Improved bSimulatePhysics comment, with info on why it might be greyed out
Change 3183797 on 2016/11/02 by Daniel.Wright
Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps. Improves shadowmap utilization.
Change 3183915 on 2016/11/02 by Rolando.Caloca
DR - vk - Remove redundant renderpasses
Change 3183991 on 2016/11/02 by Daniel.Wright
Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only
Change 3184001 on 2016/11/02 by Daniel.Wright
Better draw event for IndirectCapsuleShadows in stereo
Change 3184096 on 2016/11/02 by Chris.Bunner
HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
Removed some outdated tonemamping cvars and modes.
Change 3184399 on 2016/11/02 by Daniel.Wright
Static analysis workaround
Change 3184455 on 2016/11/02 by Mark.Satterthwaite
Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
#jira UE-38164
Change 3184953 on 2016/11/03 by Chris.Bunner
Fixing CIS warnings.
[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
ir_function * adjustFunc = ParseState - > symbols - > get_function ( " compiler_internal_AdjustInputSemantic " ) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
check ( adjustFunc ) ;
check ( adjustFunc - > signatures . get_head ( ) = = adjustFunc - > signatures . get_tail ( ) ) ;
ir_function_signature * adjustFuncSig = ( ir_function_signature * ) adjustFunc - > signatures . get_head ( ) ;
exec_list actual_parameter ;
actual_parameter . push_tail ( TempVariableDeref - > clone ( ParseState , NULL ) ) ;
ir_call * adjustFuncCall = new ( ParseState ) ir_call ( adjustFuncSig , NULL , & actual_parameter ) ;
PreCallInstructions - > push_tail ( adjustFuncCall ) ;
2014-09-25 14:27:21 -04:00
SrcValue = TempVariableDeref - > clone ( ParseState , NULL ) ;
}
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
else if ( ParseState - > adjust_clip_space_dx11_to_opengl & & ApplyFlipFrontFacingAdjustment )
{
// Generate a local variable to do the conversion in, keeping source type.
ir_variable * TempVariable = new ( ParseState ) ir_variable ( SrcValue - > type , NULL , ir_var_temporary ) ;
PreCallInstructions - > push_tail ( TempVariable ) ;
ir_dereference_variable * TempVariableDeref = new ( ParseState ) ir_dereference_variable ( TempVariable ) ;
// incoming gl_FrontFacing. Make it (!gl_FrontFacing), due to vertical flip in OpenGL
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3170391 on 2016/10/21 by Ben.Woodhouse
Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.
#jira UE-37437
#fyi rolando.caloca, marcus.wassmer
Change 3170659 on 2016/10/21 by Rolando.Caloca
DR - vk - Prep work for state key changes
Change 3170676 on 2016/10/21 by Rolando.Caloca
DR - vk - Reworked blend state keys
- Added depth/stencil to pipeline key
Change 3170848 on 2016/10/21 by Daniel.Wright
Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.
Change 3170849 on 2016/10/21 by Daniel.Wright
Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear
Change 3170995 on 2016/10/21 by Rolando.Caloca
DR - vk - Show object on vulkan validation msgs
Change 3171085 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix pipelines being used with incompatible renderpasses
Change 3171159 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix layout when reading textures on CPU
Change 3171167 on 2016/10/21 by Rolando.Caloca
DR - vk - compile fix
Change 3172462 on 2016/10/24 by Daniel.Wright
Added a warning about shader compile times to the material tooltip
Change 3172463 on 2016/10/24 by Daniel.Wright
Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh
Change 3172716 on 2016/10/24 by Brian.Karis
Fix for crash UE-37369 when reimporting over a generated LOD.
Change 3172967 on 2016/10/24 by Rolando.Caloca
DR - vk - Fix writing buffers while GPU was using them
Change 3174187 on 2016/10/25 by Olaf.Piesche
UE-37020
Change 3174718 on 2016/10/26 by Rolando.Caloca
DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k
Change 3175960 on 2016/10/26 by Rolando.Caloca
DR - Added support for hlslcc header to have custom parsing
Change 3176611 on 2016/10/27 by David.Hill
DrawWireCone confusion:
In response to a UDN, I'm updating confusing parameter names and comments for
DrawWireCone() and DrawWireSphereCappedCone()
Change 3177111 on 2016/10/27 by Rolando.Caloca
DR - vk - Fix timestamps for frame
Change 3177192 on 2016/10/27 by Arne.Schober
DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState
Change 3177278 on 2016/10/27 by Olaf.Piesche
UE-37484
Change 3177297 on 2016/10/27 by Rolando.Caloca
DR - vk - Enable GRHISupportsBaseVertexIndex
Change 3177607 on 2016/10/27 by Rolando.Caloca
DR - vk - SM4 UB prep
Change 3178052 on 2016/10/28 by Arne.Schober
DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.
Change 3178156 on 2016/10/28 by Rolando.Caloca
DR - vk - Added query timer
- Fixed inline issues
Change 3178158 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for out of stencil bits
Change 3178462 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for Elemental
Change 3179131 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix for r.Vulkan.UseRealUBs
Change 3179139 on 2016/10/28 by Rolando.Caloca
DR - vk - Move UB ring buffer to context
Change 3179145 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix buffer barriers
Change 3179888 on 2016/10/31 by Rolando.Caloca
DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD
Change 3179923 on 2016/10/31 by Rolando.Caloca
DR - vk - Wait for swapchain counter
Change 3180430 on 2016/10/31 by Rolando.Caloca
DR - vk - Properly wait for occlusion queries/cmd buffer
- Actual log error if trying to use occlusion queries out of order
Change 3180746 on 2016/10/31 by Rolando.Caloca
DR - vk - Undo some waiting as it was on the wrong thread
Change 3182115 on 2016/11/01 by Rolando.Caloca
DR - hlslcc Linux path fix
Change 3182118 on 2016/11/01 by Daniel.Wright
Fixed global distance field seam artifacts from landscapes with no subsections
Change 3182368 on 2016/11/01 by Daniel.Wright
Dynamic Indirect Shadows for static meshes using distance fields
* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
* DFAO from landscape is now done through the global distance field entirely. Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.
Change 3182408 on 2016/11/01 by Rolando.Caloca
DR - vk - Reworked occlusion queries, fixes flickering on AMD
Change 3182585 on 2016/11/01 by Daniel.Wright
PS4 compile fix
Change 3183151 on 2016/11/02 by Rolando.Caloca
DR - vk - Fix issue when processing super quick cmd buffers
Change 3183160 on 2016/11/02 by Rolando.Caloca
Dr - vk - Call reset queries outside render pass
Change 3183182 on 2016/11/02 by Rolando.Caloca
DR - Switch clear
Change 3183194 on 2016/11/02 by Rolando.Caloca
DR - Try to catch crash ahead of time
Change 3183268 on 2016/11/02 by Rolando.Caloca
DR - vk - Rename RenderPassState to TransitionState
Change 3183440 on 2016/11/02 by Daniel.Wright
Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'
Change 3183793 on 2016/11/02 by Daniel.Wright
Added ShadowResolutionScale to lightcomponent
Change 3183796 on 2016/11/02 by Daniel.Wright
Improved bSimulatePhysics comment, with info on why it might be greyed out
Change 3183797 on 2016/11/02 by Daniel.Wright
Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps. Improves shadowmap utilization.
Change 3183915 on 2016/11/02 by Rolando.Caloca
DR - vk - Remove redundant renderpasses
Change 3183991 on 2016/11/02 by Daniel.Wright
Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only
Change 3184001 on 2016/11/02 by Daniel.Wright
Better draw event for IndirectCapsuleShadows in stereo
Change 3184096 on 2016/11/02 by Chris.Bunner
HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
Removed some outdated tonemamping cvars and modes.
Change 3184399 on 2016/11/02 by Daniel.Wright
Static analysis workaround
Change 3184455 on 2016/11/02 by Mark.Satterthwaite
Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
#jira UE-38164
Change 3184953 on 2016/11/03 by Chris.Bunner
Fixing CIS warnings.
[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
ir_function * adjustFunc = ParseState - > symbols - > get_function ( " compiler_internal_AdjustIsFrontFacing " ) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
check ( adjustFunc ) ;
check ( adjustFunc - > signatures . get_head ( ) = = adjustFunc - > signatures . get_tail ( ) ) ;
ir_function_signature * adjustFuncSig = ( ir_function_signature * ) adjustFunc - > signatures . get_head ( ) ;
exec_list actual_parameter ;
actual_parameter . push_tail ( SrcValue ) ;
ir_call * adjustFuncCall = new ( ParseState ) ir_call ( adjustFuncSig , TempVariableDeref , & actual_parameter ) ;
PreCallInstructions - > push_tail ( adjustFuncCall ) ;
check ( adjustFuncCall - > return_deref ) ;
SrcValue = adjustFuncCall - > return_deref - > clone ( ParseState , NULL ) ;
}
2014-09-25 14:27:21 -04:00
apply_type_conversion ( InputType , SrcValue , PreCallInstructions , ParseState , true , & loc ) ;
PreCallInstructions - > push_tail (
new ( ParseState ) ir_assignment (
InputVariableDeref - > clone ( ParseState , NULL ) ,
SrcValue
)
) ;
}
}
}
/**
* Generate a shader input .
* @ param Frequency - The shader frequency .
* @ param ParseState - Parse state .
* @ param InputSemantic - The semantic name to generate .
* @ param InputQualifier - Qualifiers applied to the semantic .
* @ param InputType - Value type .
* @ param DeclInstructions - IR to which declarations may be added .
* @ param PreCallInstructions - IR to which instructions may be added before the
* entry point is called .
* @ returns the IR variable deref for the semantic .
*/
static ir_dereference_variable * GenShaderInput (
EHlslShaderFrequency Frequency ,
_mesa_glsl_parse_state * ParseState ,
const char * InputSemantic ,
FSemanticQualifier InputQualifier ,
const glsl_type * InputType ,
exec_list * DeclInstructions ,
exec_list * PreCallInstructions )
{
ir_variable * TempVariable = new ( ParseState ) ir_variable (
InputType ,
NULL ,
ir_var_temporary ) ;
ir_dereference_variable * TempVariableDeref = new ( ParseState ) ir_dereference_variable ( TempVariable ) ;
PreCallInstructions - > push_tail ( TempVariable ) ;
2014-10-01 18:16:34 -04:00
//check ( InputSemantic ? (FCStringAnsi::Strnicmp(InputSemantic, "SV_", 3) ==0) : true);
2014-09-25 14:27:21 -04:00
// everything that's not an Outputpatch is patch constant. System values are treated specially
if ( Frequency = = HSF_DomainShader & & ! InputType - > is_outputpatch ( ) )
{
InputQualifier . Fields . bIsPatchConstant = true ;
}
if ( ( Frequency = = HSF_GeometryShader & & TempVariableDeref - > type - > is_array ( ) ) | |
( Frequency = = HSF_HullShader & & TempVariableDeref - > type - > is_inputpatch ( ) ) | |
( Frequency = = HSF_DomainShader & & TempVariableDeref - > type - > is_outputpatch ( ) )
)
{
check ( InputType - > is_array ( ) | | InputType - > is_inputpatch ( ) | | InputType - > is_outputpatch ( ) ) ;
check ( InputType - > length | | InputType - > patch_length ) ;
const unsigned ElementCount = InputType - > is_array ( ) ? InputType - > length : InputType - > patch_length ;
if ( ! ParseState - > symbols - > get_variable ( " gl_in " ) )
{
// Create a built-in OpenGL variable gl_in[] containing built-in types.
// This variable will be used for OpenGL optimization by IR, so IR must know about it,
// but will not end up in final GLSL code.
// It has to be created here, as it contains multiple built-in variables in one interface block,
// which is not usual, so avoiding special cases in code.
glsl_struct_field * BuiltinFields = ralloc_array ( ParseState , glsl_struct_field , 3 ) ;
memset ( BuiltinFields , 0 , 3 * sizeof ( glsl_struct_field ) ) ;
BuiltinFields [ 0 ] . type = glsl_type : : vec4_type ;
BuiltinFields [ 0 ] . name = ralloc_strdup ( ParseState , " gl_Position " ) ;
BuiltinFields [ 1 ] . type = glsl_type : : float_type ;
BuiltinFields [ 1 ] . name = ralloc_strdup ( ParseState , " gl_PointSize " ) ;
BuiltinFields [ 2 ] . type = glsl_type : : get_array_instance ( glsl_type : : float_type , 6 ) ; // magic number is gl_MaxClipDistances
BuiltinFields [ 2 ] . name = ralloc_strdup ( ParseState , " gl_ClipDistance " ) ;
const glsl_type * BuiltinStruct = glsl_type : : get_record_instance ( BuiltinFields , 3 , " gl_PerVertex " ) ;
const glsl_type * BuiltinArray = glsl_type : : get_array_instance ( BuiltinStruct , ElementCount ) ;
ir_variable * BuiltinVariable = new ( ParseState ) ir_variable ( BuiltinArray , " gl_in " , ir_var_in ) ;
BuiltinVariable - > read_only = true ;
BuiltinVariable - > is_interface_block = true ;
DeclInstructions - > push_tail ( BuiltinVariable ) ;
ParseState - > symbols - > add_variable ( BuiltinVariable ) ;
}
for ( unsigned i = 0 ; i < ElementCount ; + + i )
{
ir_dereference_array * ArrayDeref = new ( ParseState ) ir_dereference_array (
TempVariableDeref - > clone ( ParseState , NULL ) ,
new ( ParseState ) ir_constant ( ( unsigned ) i )
) ;
// Parse input variable
GenShaderInputForVariable (
Frequency ,
ParseState ,
InputSemantic ,
InputQualifier ,
ArrayDeref ,
DeclInstructions ,
PreCallInstructions ,
ElementCount ,
i
) ;
}
}
else
{
GenShaderInputForVariable (
Frequency ,
ParseState ,
InputSemantic ,
InputQualifier ,
TempVariableDeref ,
DeclInstructions ,
PreCallInstructions ,
0 ,
0
) ;
}
return TempVariableDeref ;
}
/**
* Generate an output semantic .
* @ param Frequency - The shader frequency .
* @ param ParseState - Parse state .
* @ param OutputSemantic - The semantic name to generate .
* @ param OutputQualifier - Qualifiers applied to the semantic .
* @ param OutputVariableDeref - Deref for the argument variable .
* @ param DeclInstructions - IR to which declarations may be added .
* @ param PostCallInstructions - IR to which instructions may be added after the
* entry point returns .
*/
void GenShaderOutputForVariable (
EHlslShaderFrequency Frequency ,
_mesa_glsl_parse_state * ParseState ,
const char * OutputSemantic ,
FSemanticQualifier OutputQualifier ,
ir_dereference * OutputVariableDeref ,
exec_list * DeclInstructions ,
exec_list * PostCallInstructions ,
int SemanticArraySize ,
int SemanticArrayIndex
)
{
const glsl_type * OutputType = OutputVariableDeref - > type ;
if ( OutputType - > is_record ( ) )
{
for ( uint32 i = 0 ; i < OutputType - > length ; + + i )
{
const char * FieldSemantic = OutputType - > fields . structure [ i ] . semantic ;
const char * Semantic = 0 ;
if ( OutputSemantic & & FieldSemantic )
{
_mesa_glsl_warning ( ParseState , " semantic '%s' of field '%s' will be overridden by enclosing types' semantic '%s' " ,
OutputType - > fields . structure [ i ] . semantic ,
OutputType - > fields . structure [ i ] . name ,
OutputSemantic ) ;
FieldSemantic = 0 ;
}
if ( OutputSemantic & & ! FieldSemantic )
{
2016-04-13 12:14:19 -04:00
Semantic = ralloc_asprintf ( ParseState , " %s%u " , OutputSemantic , i ) ;
2014-09-25 14:27:21 -04:00
_mesa_glsl_warning ( ParseState , " creating semantic '%s' for struct field '%s' " , Semantic , OutputType - > fields . structure [ i ] . name ) ;
}
else if ( ! OutputSemantic & & FieldSemantic )
{
Semantic = FieldSemantic ;
}
else
{
Semantic = 0 ;
}
if ( OutputType - > fields . structure [ i ] . type - > is_record ( ) | |
Semantic
)
{
FSemanticQualifier Qualifier = OutputQualifier ;
if ( Qualifier . Packed = = 0 )
{
Qualifier . Fields . bCentroid = OutputType - > fields . structure [ i ] . centroid ;
Qualifier . Fields . InterpolationMode = OutputType - > fields . structure [ i ] . interpolation ;
Qualifier . Fields . bIsPatchConstant = OutputType - > fields . structure [ i ] . patchconstant ;
}
// Dereference the field and generate shader outputs for the field.
ir_dereference * FieldDeref = new ( ParseState ) ir_dereference_record (
OutputVariableDeref - > clone ( ParseState , NULL ) ,
OutputType - > fields . structure [ i ] . name ) ;
GenShaderOutputForVariable (
Frequency ,
ParseState ,
Semantic ,
Qualifier ,
FieldDeref ,
DeclInstructions ,
PostCallInstructions ,
SemanticArraySize ,
SemanticArrayIndex
) ;
}
else
{
_mesa_glsl_error (
ParseState ,
" field '%s' in output structure '%s' does not specify a semantic " ,
OutputType - > fields . structure [ i ] . name ,
OutputType - > name
) ;
}
}
}
// TODO clean this up!!
else if ( ( OutputType - > is_array ( ) | | OutputType - > is_outputpatch ( ) ) )
{
if ( OutputSemantic )
{
int BaseIndex = 0 ;
const char * Semantic = 0 ;
ParseSemanticAndIndex ( ParseState , OutputSemantic , & Semantic , & BaseIndex ) ;
const unsigned ElementCount = OutputType - > is_array ( ) ? OutputType - > length : ( OutputType - > patch_length ) ;
for ( unsigned i = 0 ; i < ElementCount ; + + i )
{
ir_dereference_array * ArrayDeref = new ( ParseState ) ir_dereference_array (
OutputVariableDeref - > clone ( ParseState , NULL ) ,
new ( ParseState ) ir_constant ( ( unsigned ) i )
) ;
GenShaderOutputForVariable (
Frequency ,
ParseState ,
2016-04-13 12:14:19 -04:00
ralloc_asprintf ( ParseState , " %s%u " , Semantic , BaseIndex + i ) ,
2014-09-25 14:27:21 -04:00
OutputQualifier ,
ArrayDeref ,
DeclInstructions ,
PostCallInstructions ,
SemanticArraySize ,
SemanticArrayIndex
) ;
}
}
else
{
_mesa_glsl_error ( ParseState , " entry point does not specify a semantic for its return value " ) ;
}
}
else
{
if ( OutputSemantic )
{
YYLTYPE loc ;
ir_rvalue * Src = OutputVariableDeref - > clone ( ParseState , NULL ) ;
const glsl_type * DestVariableType = NULL ;
bool ApplyClipSpaceAdjustment = false ;
bool ApplyClampPowerOfTwo = false ;
ir_rvalue * DestVariableDeref = GenShaderOutputSemantic ( Frequency , ParseState , OutputSemantic ,
OutputQualifier , OutputType , DeclInstructions , & DestVariableType , ApplyClipSpaceAdjustment , ApplyClampPowerOfTwo ) ;
apply_type_conversion ( DestVariableType , Src , PostCallInstructions , ParseState , true , & loc ) ;
if ( ParseState - > adjust_clip_space_dx11_to_opengl & & ApplyClipSpaceAdjustment )
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3170391 on 2016/10/21 by Ben.Woodhouse
Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.
#jira UE-37437
#fyi rolando.caloca, marcus.wassmer
Change 3170659 on 2016/10/21 by Rolando.Caloca
DR - vk - Prep work for state key changes
Change 3170676 on 2016/10/21 by Rolando.Caloca
DR - vk - Reworked blend state keys
- Added depth/stencil to pipeline key
Change 3170848 on 2016/10/21 by Daniel.Wright
Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.
Change 3170849 on 2016/10/21 by Daniel.Wright
Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear
Change 3170995 on 2016/10/21 by Rolando.Caloca
DR - vk - Show object on vulkan validation msgs
Change 3171085 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix pipelines being used with incompatible renderpasses
Change 3171159 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix layout when reading textures on CPU
Change 3171167 on 2016/10/21 by Rolando.Caloca
DR - vk - compile fix
Change 3172462 on 2016/10/24 by Daniel.Wright
Added a warning about shader compile times to the material tooltip
Change 3172463 on 2016/10/24 by Daniel.Wright
Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh
Change 3172716 on 2016/10/24 by Brian.Karis
Fix for crash UE-37369 when reimporting over a generated LOD.
Change 3172967 on 2016/10/24 by Rolando.Caloca
DR - vk - Fix writing buffers while GPU was using them
Change 3174187 on 2016/10/25 by Olaf.Piesche
UE-37020
Change 3174718 on 2016/10/26 by Rolando.Caloca
DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k
Change 3175960 on 2016/10/26 by Rolando.Caloca
DR - Added support for hlslcc header to have custom parsing
Change 3176611 on 2016/10/27 by David.Hill
DrawWireCone confusion:
In response to a UDN, I'm updating confusing parameter names and comments for
DrawWireCone() and DrawWireSphereCappedCone()
Change 3177111 on 2016/10/27 by Rolando.Caloca
DR - vk - Fix timestamps for frame
Change 3177192 on 2016/10/27 by Arne.Schober
DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState
Change 3177278 on 2016/10/27 by Olaf.Piesche
UE-37484
Change 3177297 on 2016/10/27 by Rolando.Caloca
DR - vk - Enable GRHISupportsBaseVertexIndex
Change 3177607 on 2016/10/27 by Rolando.Caloca
DR - vk - SM4 UB prep
Change 3178052 on 2016/10/28 by Arne.Schober
DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.
Change 3178156 on 2016/10/28 by Rolando.Caloca
DR - vk - Added query timer
- Fixed inline issues
Change 3178158 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for out of stencil bits
Change 3178462 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for Elemental
Change 3179131 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix for r.Vulkan.UseRealUBs
Change 3179139 on 2016/10/28 by Rolando.Caloca
DR - vk - Move UB ring buffer to context
Change 3179145 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix buffer barriers
Change 3179888 on 2016/10/31 by Rolando.Caloca
DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD
Change 3179923 on 2016/10/31 by Rolando.Caloca
DR - vk - Wait for swapchain counter
Change 3180430 on 2016/10/31 by Rolando.Caloca
DR - vk - Properly wait for occlusion queries/cmd buffer
- Actual log error if trying to use occlusion queries out of order
Change 3180746 on 2016/10/31 by Rolando.Caloca
DR - vk - Undo some waiting as it was on the wrong thread
Change 3182115 on 2016/11/01 by Rolando.Caloca
DR - hlslcc Linux path fix
Change 3182118 on 2016/11/01 by Daniel.Wright
Fixed global distance field seam artifacts from landscapes with no subsections
Change 3182368 on 2016/11/01 by Daniel.Wright
Dynamic Indirect Shadows for static meshes using distance fields
* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
* DFAO from landscape is now done through the global distance field entirely. Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.
Change 3182408 on 2016/11/01 by Rolando.Caloca
DR - vk - Reworked occlusion queries, fixes flickering on AMD
Change 3182585 on 2016/11/01 by Daniel.Wright
PS4 compile fix
Change 3183151 on 2016/11/02 by Rolando.Caloca
DR - vk - Fix issue when processing super quick cmd buffers
Change 3183160 on 2016/11/02 by Rolando.Caloca
Dr - vk - Call reset queries outside render pass
Change 3183182 on 2016/11/02 by Rolando.Caloca
DR - Switch clear
Change 3183194 on 2016/11/02 by Rolando.Caloca
DR - Try to catch crash ahead of time
Change 3183268 on 2016/11/02 by Rolando.Caloca
DR - vk - Rename RenderPassState to TransitionState
Change 3183440 on 2016/11/02 by Daniel.Wright
Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'
Change 3183793 on 2016/11/02 by Daniel.Wright
Added ShadowResolutionScale to lightcomponent
Change 3183796 on 2016/11/02 by Daniel.Wright
Improved bSimulatePhysics comment, with info on why it might be greyed out
Change 3183797 on 2016/11/02 by Daniel.Wright
Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps. Improves shadowmap utilization.
Change 3183915 on 2016/11/02 by Rolando.Caloca
DR - vk - Remove redundant renderpasses
Change 3183991 on 2016/11/02 by Daniel.Wright
Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only
Change 3184001 on 2016/11/02 by Daniel.Wright
Better draw event for IndirectCapsuleShadows in stereo
Change 3184096 on 2016/11/02 by Chris.Bunner
HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
Removed some outdated tonemamping cvars and modes.
Change 3184399 on 2016/11/02 by Daniel.Wright
Static analysis workaround
Change 3184455 on 2016/11/02 by Mark.Satterthwaite
Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
#jira UE-38164
Change 3184953 on 2016/11/03 by Chris.Bunner
Fixing CIS warnings.
[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
ir_function * adjustFunc = ParseState - > symbols - > get_function ( " compiler_internal_AdjustOutputSemantic " ) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
check ( adjustFunc ) ;
check ( adjustFunc - > signatures . get_head ( ) = = adjustFunc - > signatures . get_tail ( ) ) ;
ir_function_signature * adjustFuncSig = ( ir_function_signature * ) adjustFunc - > signatures . get_head ( ) ;
exec_list actual_parameter ;
actual_parameter . push_tail ( Src - > clone ( ParseState , NULL ) ) ;
ir_call * adjustFuncCall = new ( ParseState ) ir_call ( adjustFuncSig , NULL , & actual_parameter ) ;
PostCallInstructions - > push_tail ( adjustFuncCall ) ;
2014-09-25 14:27:21 -04:00
}
// GLSL doesn't support pow2 partitioning, so we treate pow2 as integer partitioning and
// manually compute the next power of two via exp2(pow(ceil(log2(Src)));
if ( ApplyClampPowerOfTwo )
{
ir_variable * temp = new ( ParseState ) ir_variable ( glsl_type : : float_type , NULL , ir_var_temporary ) ;
PostCallInstructions - > push_tail ( temp ) ;
PostCallInstructions - > push_tail (
new ( ParseState ) ir_assignment (
new ( ParseState ) ir_dereference_variable ( temp ) ,
new ( ParseState ) ir_expression ( ir_unop_exp2 ,
new ( ParseState ) ir_expression ( ir_unop_ceil ,
new ( ParseState ) ir_expression ( ir_unop_log2 ,
glsl_type : : float_type ,
Src - > clone ( ParseState , NULL ) ,
NULL
)
)
)
)
) ;
// assign pow2 clamped variable to output variable
PostCallInstructions - > push_tail (
new ( ParseState ) ir_assignment (
DestVariableDeref - > clone ( ParseState , NULL ) ,
new ( ParseState ) ir_dereference_variable ( temp )
)
) ;
}
else
{
PostCallInstructions - > push_tail ( new ( ParseState ) ir_assignment ( DestVariableDeref , Src ) ) ;
}
}
else
{
_mesa_glsl_error ( ParseState , " entry point does not specify a semantic for its return value " ) ;
}
}
}
/**
* Generate an output semantic .
* @ param Frequency - The shader frequency .
* @ param ParseState - Parse state .
* @ param OutputSemantic - The semantic name to generate .
* @ param OutputQualifier - Qualifiers applied to the semantic .
* @ param OutputType - Value type .
* @ param DeclInstructions - IR to which declarations may be added .
* @ param PreCallInstructions - IR to which isntructions may be added before the
entry point is called .
* @ param PostCallInstructions - IR to which instructions may be added after the
* entry point returns .
* @ returns the IR variable deref for the semantic .
*/
static ir_dereference_variable * GenShaderOutput (
EHlslShaderFrequency Frequency ,
_mesa_glsl_parse_state * ParseState ,
const char * OutputSemantic ,
FSemanticQualifier OutputQualifier ,
const glsl_type * OutputType ,
exec_list * DeclInstructions ,
exec_list * PreCallInstructions ,
exec_list * PostCallInstructions
)
{
// Generate a local variable to hold the output.
ir_variable * TempVariable = new ( ParseState ) ir_variable (
OutputType ,
NULL ,
ir_var_temporary ) ;
ir_dereference_variable * TempVariableDeref = new ( ParseState ) ir_dereference_variable ( TempVariable ) ;
PreCallInstructions - > push_tail ( TempVariable ) ;
GenShaderOutputForVariable (
Frequency ,
ParseState ,
OutputSemantic ,
OutputQualifier ,
TempVariableDeref ,
DeclInstructions ,
PostCallInstructions ,
0 ,
0
) ;
return TempVariableDeref ;
}
static void GenerateAppendFunctionBody (
_mesa_glsl_parse_state * ParseState ,
exec_list * DeclInstructions ,
const glsl_type * geometry_append_type
)
{
ir_function * func = ParseState - > symbols - > get_function ( " OutputStream_Append " ) ;
check ( func ) ;
exec_list comparison_parameter ;
ir_variable * var = new ( ParseState ) ir_variable ( geometry_append_type , ralloc_asprintf ( ParseState , " arg0 " ) , ir_var_in ) ;
comparison_parameter . push_tail ( var ) ;
bool is_exact = false ;
ir_function_signature * sig = func - > matching_signature ( & comparison_parameter , & is_exact ) ;
check ( sig & & is_exact ) ;
var = ( ir_variable * ) sig - > parameters . get_head ( ) ;
// {
// const glsl_type* output_type = var->type;
// _mesa_glsl_warning(ParseState, "GenerateAppendFunctionBody: parsing argument struct '%s'", output_type->name );
// int indexof_RenderTargetArrayIndex = -1;
// for (int i = 0; i < output_type->length; i++)
// {
// _mesa_glsl_warning(ParseState, " name '%s' : semantic '%s'", output_type->fields.structure[i].name, output_type->fields.structure[i].semantic );
// }
// }
// Generate assignment instructions from function argument to out variables
FSemanticQualifier OutputQualifier ;
ir_dereference_variable * TempVariableDeref = new ( ParseState ) ir_dereference_variable ( var ) ;
GenShaderOutputForVariable (
HSF_GeometryShader ,
ParseState ,
NULL ,
OutputQualifier ,
TempVariableDeref ,
DeclInstructions ,
& sig - > body ,
0 ,
0
) ;
// If the output structure type contains a SV_RenderTargetArrayIndex semantic, add a custom user output semantic.
// It's used to pass layer index to pixel shader, as GLSL 1.50 doesn't allow pixel shader to read from gl_Layer.
const glsl_type * output_type = var - > type ;
int indexof_RenderTargetArrayIndex = - 1 ;
for ( uint32 i = 0 ; i < output_type - > length ; i + + )
{
if ( output_type - > fields . structure [ i ] . semantic & & ( strcmp ( output_type - > fields . structure [ i ] . semantic , " SV_RenderTargetArrayIndex " ) = = 0 ) )
{
indexof_RenderTargetArrayIndex = i ;
break ;
}
}
if ( indexof_RenderTargetArrayIndex ! = - 1 )
{
// Add the new member with semantic
glsl_struct_field field ;
field . type = output_type - > fields . structure [ indexof_RenderTargetArrayIndex ] . type ;
field . name = " HLSLCCLayerIndex " ;
field . semantic = CUSTOM_LAYER_INDEX_SEMANTIC ;
field . centroid = 0 ;
field . interpolation = ir_interp_qualifier_flat ;
field . geometryinput = 0 ;
field . patchconstant = 0 ;
glsl_type * non_const_type = ( glsl_type * ) output_type ;
non_const_type - > add_structure_member ( & field ) ;
// Create new out variable for the new member and generate assignment that will copy input's layer index field to it
FSemanticQualifier Qualifier ;
Qualifier . Fields . bCentroid = 0 ;
Qualifier . Fields . InterpolationMode = ir_interp_qualifier_flat ;
const glsl_type * new_output_type = ( ( ir_variable * ) sig - > parameters . get_head ( ) ) - > type ;
GenShaderOutputForVariable (
HSF_GeometryShader ,
ParseState ,
CUSTOM_LAYER_INDEX_SEMANTIC ,
Qualifier ,
new ( ParseState ) ir_dereference_record ( var , new_output_type - > fields . structure [ indexof_RenderTargetArrayIndex ] . name ) ,
DeclInstructions ,
& sig - > body ,
0 ,
0
) ;
}
// Call EmitVertex()
ir_function * emitVertexFunc = ParseState - > symbols - > get_function ( " EmitVertex " ) ;
check ( emitVertexFunc ) ;
check ( emitVertexFunc - > signatures . get_head ( ) = = emitVertexFunc - > signatures . get_tail ( ) ) ;
ir_function_signature * emitVertexSig = ( ir_function_signature * ) emitVertexFunc - > signatures . get_head ( ) ;
exec_list actual_parameter ;
sig - > body . push_tail ( new ( ParseState ) ir_call ( emitVertexSig , NULL , & actual_parameter ) ) ;
}
bool FGlslCodeBackend : : GenerateMain (
EHlslShaderFrequency Frequency ,
const char * EntryPoint ,
exec_list * Instructions ,
_mesa_glsl_parse_state * ParseState )
{
{
// Set up origin_upper_left for gl_FragCoord, depending on HLSLCC_DX11ClipSpace flag presence.
FSystemValue * SystemValues = SystemValueTable [ HSF_PixelShader ] ;
for ( int i = 0 ; SystemValues [ i ] . Semantic ! = NULL ; + + i )
{
2014-10-01 18:16:34 -04:00
if ( FCStringAnsi : : Stricmp ( SystemValues [ i ] . GlslName , " gl_FragCoord " ) = = 0 )
2014-09-25 14:27:21 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
SystemValues [ i ] . bOriginUpperLeft = false ;
2014-09-25 14:27:21 -04:00
break ;
}
}
}
ir_function_signature * EntryPointSig = FindEntryPointFunction ( Instructions , ParseState , EntryPoint ) ;
if ( EntryPointSig )
{
void * TempMemContext = ralloc_context ( NULL ) ;
exec_list DeclInstructions ;
exec_list PreCallInstructions ;
exec_list ArgInstructions ;
exec_list PostCallInstructions ;
const glsl_type * geometry_append_type = NULL ;
ParseState - > maxvertexcount = EntryPointSig - > maxvertexcount ;
ParseState - > tessellation = EntryPointSig - > tessellation ;
ParseState - > symbols - > push_scope ( ) ;
foreach_iter ( exec_list_iterator , Iter , EntryPointSig - > parameters )
{
ir_variable * const Variable = ( ir_variable * ) Iter . get ( ) ;
if ( Variable - > semantic ! = NULL | | Variable - > type - > is_record ( )
| | ( Frequency = = HSF_GeometryShader & & ( Variable - > type - > is_outputstream ( ) | | Variable - > type - > is_array ( ) ) )
| | ( Frequency = = HSF_HullShader & & ( Variable - > type - > is_patch ( ) ) )
| | ( Frequency = = HSF_DomainShader & & ( Variable - > type - > is_outputpatch ( ) ) )
)
{
FSemanticQualifier Qualifier ;
Qualifier . Fields . bCentroid = Variable - > centroid ;
Variable - > centroid = 0 ;
Qualifier . Fields . InterpolationMode = Variable - > interpolation ;
Variable - > interpolation = 0 ;
Qualifier . Fields . bIsPatchConstant = Variable - > is_patch_constant ;
Variable - > is_patch_constant = 0 ;
ir_dereference_variable * ArgVarDeref = NULL ;
switch ( Variable - > mode )
{
case ir_var_in :
if ( Frequency = = HSF_GeometryShader & & Variable - > type - > is_array ( ) )
{
// Remember information about geometry input type globally
ParseState - > geometryinput = Variable - > geometryinput ;
}
if ( Frequency = = HSF_PixelShader )
{
// Replace SV_RenderTargetArrayIndex in
// input structure semantic with custom semantic.
if ( Variable - > semantic & & ( strcmp ( Variable - > semantic , " SV_RenderTargetArrayIndex " ) = = 0 ) )
{
// _mesa_glsl_warning(ParseState, "Replacing semantic of variable '%s' with our custom one", Variable->name);
Variable - > semantic = ralloc_strdup ( Variable , CUSTOM_LAYER_INDEX_SEMANTIC ) ;
Variable - > interpolation = ir_interp_qualifier_flat ;
}
else if ( Variable - > type - > is_record ( ) )
{
const glsl_type * output_type = Variable - > type ;
int indexof_RenderTargetArrayIndex = - 1 ;
for ( uint32 i = 0 ; i < output_type - > length ; i + + )
{
if ( Variable - > type - > fields . structure [ i ] . semantic & & ( strcmp ( Variable - > type - > fields . structure [ i ] . semantic , " SV_RenderTargetArrayIndex " ) = = 0 ) )
{
indexof_RenderTargetArrayIndex = i ;
break ;
}
}
if ( indexof_RenderTargetArrayIndex ! = - 1 )
{
// _mesa_glsl_warning(ParseState, "Replacing semantic of member %d of variable '%s' with our custom one", indexof_RenderTargetArrayIndex, Variable->name);
// Replace the member with one with semantic
glsl_struct_field field ;
field . type = Variable - > type - > fields . structure [ indexof_RenderTargetArrayIndex ] . type ;
field . name = Variable - > type - > fields . structure [ indexof_RenderTargetArrayIndex ] . name ;
field . semantic = CUSTOM_LAYER_INDEX_SEMANTIC ;
field . centroid = 0 ;
field . interpolation = ir_interp_qualifier_flat ;
field . geometryinput = 0 ;
field . patchconstant = 0 ;
glsl_type * non_const_type = ( glsl_type * ) output_type ;
non_const_type - > replace_structure_member ( indexof_RenderTargetArrayIndex , & field ) ;
}
}
}
ArgVarDeref = GenShaderInput (
Frequency ,
ParseState ,
Variable - > semantic ,
Qualifier ,
Variable - > type ,
& DeclInstructions ,
& PreCallInstructions
) ;
break ;
case ir_var_out :
ArgVarDeref = GenShaderOutput (
Frequency ,
ParseState ,
Variable - > semantic ,
Qualifier ,
Variable - > type ,
& DeclInstructions ,
& PreCallInstructions ,
& PostCallInstructions
) ;
break ;
case ir_var_inout :
{
check ( Frequency = = HSF_GeometryShader ) ;
// This is an output stream for geometry shader. It's not referenced as a variable inside the function,
// instead OutputStream.Append(vertex) and OutputStream.RestartStrip() are called, and this variable
// has already been optimized out of them in ast_to_hir translation.
// Generate a local variable to add to arguments. It won't be referenced anywhere, so it should get optimized out.
ir_variable * TempVariable = new ( ParseState ) ir_variable (
Variable - > type ,
NULL ,
ir_var_temporary ) ;
ArgVarDeref = new ( ParseState ) ir_dereference_variable ( TempVariable ) ;
PreCallInstructions . push_tail ( TempVariable ) ;
// We need to move this information somewhere safer, as this pseudo-variable will get optimized out of existence
ParseState - > outputstream_type = Variable - > type - > outputstream_type ;
check ( Variable - > type - > is_outputstream ( ) ) ;
check ( Variable - > type - > inner_type - > is_record ( ) ) ;
geometry_append_type = Variable - > type - > inner_type ;
}
break ;
default :
{
_mesa_glsl_error (
ParseState ,
" entry point parameter '%s' must be an input or output " ,
Variable - > name
) ;
}
}
ArgInstructions . push_tail ( ArgVarDeref ) ;
}
else
{
_mesa_glsl_error ( ParseState , " entry point parameter "
" '%s' does not specify a semantic " , Variable - > name ) ;
}
}
// The function's return value should have an output semantic if it's not void.
ir_dereference_variable * EntryPointReturn = NULL ;
if ( EntryPointSig - > return_type - > is_void ( ) = = false )
{
FSemanticQualifier Qualifier ;
EntryPointReturn = GenShaderOutput (
Frequency ,
ParseState ,
EntryPointSig - > return_semantic ,
Qualifier ,
EntryPointSig - > return_type ,
& DeclInstructions ,
& PreCallInstructions ,
& PostCallInstructions
) ;
}
if ( Frequency = = HSF_GeometryShader )
{
GenerateAppendFunctionBody (
ParseState ,
& DeclInstructions ,
geometry_append_type
) ;
}
/*
we map the HLSL hull shader to this GLSL main function
for the most parts , we treat variables of InputPatch and OutputPatch as arrays of the inner type
build input patch from shader input interface blocks
call hull shader main function with input patch and current control point id ( gl_InvocationID )
copy hull shader main result for the current control point to the proper shader output interface block element
barrier
( so all instances have computed the per control point data )
build patch constant function input ( of type output patch ) from the shader output interface blocks
( need to do this , since this is the only shader variable shared between control points running in parallel )
if control point id ( gl_InvocationID ) is 0
call patch constant function with the output patch as an input
copy the patch constant result to the " patch " shader output interface block
*/
if ( Frequency = = HSF_HullShader )
{
ir_function_signature * PatchConstantSig = FindPatchConstantFunction ( Instructions , ParseState ) ;
if ( ! PatchConstantSig )
{
_mesa_glsl_error ( ParseState , " patch constant function `%s' not found " , ParseState - > tessellation . patchconstantfunc ) ;
}
const glsl_type * OutputPatchType = glsl_type : : get_templated_instance ( EntryPointReturn - > type , " OutputPatch " , 0 , ParseState - > tessellation . outputcontrolpoints ) ;
ir_variable * OutputPatchVar = new ( ParseState ) ir_variable ( OutputPatchType , NULL , ir_var_temporary ) ;
// call barrier() to ensure that all threads have computed the per-patch computation
{
// We can't just use the symbol table b/c it only has the HLSL and not the GLSL barrier functions in it
foreach_iter ( exec_list_iterator , Iter , * Instructions )
{
ir_instruction * ir = ( ir_instruction * ) Iter . get ( ) ;
ir_function * Function = ir - > as_function ( ) ;
if ( Function & & strcmp ( Function - > name , " barrier " ) = = 0 )
{
check ( Function - > signatures . get_head ( ) = = Function - > signatures . get_tail ( ) ) ;
exec_list VoidParameter ;
ir_function_signature * BarrierFunctionSig = Function - > matching_signature ( & VoidParameter ) ;
PostCallInstructions . push_tail ( new ( ParseState ) ir_call ( BarrierFunctionSig , NULL , & VoidParameter ) ) ;
}
}
}
// reassemble output patch variable(for the patch constant function) from the shader outputs
GenShaderPatchConstantFunctionInputs ( ParseState , OutputPatchVar , PostCallInstructions ) ;
// call the entry point
if ( PatchConstantSig )
{
CallPatchConstantFunction ( ParseState , OutputPatchVar , PatchConstantSig , DeclInstructions , PostCallInstructions ) ;
}
}
ParseState - > symbols - > pop_scope ( ) ;
// Build the void main() function for GLSL.
ir_function_signature * MainSig = new ( ParseState ) ir_function_signature ( glsl_type : : void_type ) ;
MainSig - > is_defined = true ;
MainSig - > is_main = true ;
MainSig - > body . append_list ( & PreCallInstructions ) ;
MainSig - > body . push_tail ( new ( ParseState ) ir_call ( EntryPointSig , EntryPointReturn , & ArgInstructions ) ) ;
MainSig - > body . append_list ( & PostCallInstructions ) ;
MainSig - > maxvertexcount = EntryPointSig - > maxvertexcount ;
MainSig - > is_early_depth_stencil = EntryPointSig - > is_early_depth_stencil ;
MainSig - > wg_size_x = EntryPointSig - > wg_size_x ;
MainSig - > wg_size_y = EntryPointSig - > wg_size_y ;
MainSig - > wg_size_z = EntryPointSig - > wg_size_z ;
MainSig - > tessellation = EntryPointSig - > tessellation ;
if ( MainSig - > is_early_depth_stencil & & Frequency ! = HSF_PixelShader )
{
_mesa_glsl_error ( ParseState , " 'earlydepthstencil' attribute only applies to pixel shaders " ) ;
}
if ( MainSig - > maxvertexcount > 0 & & Frequency ! = HSF_GeometryShader )
{
_mesa_glsl_error ( ParseState , " 'maxvertexcount' attribute only applies to geometry shaders " ) ;
}
if ( MainSig - > is_early_depth_stencil & & ParseState - > language_version < 310 )
{
_mesa_glsl_error ( ParseState , " 'earlydepthstencil' attribute only supported on GLSL 4.30 target and later " ) ;
}
if ( MainSig - > wg_size_x > 0 & & Frequency ! = HSF_ComputeShader )
{
_mesa_glsl_error ( ParseState , " 'num_threads' attribute only applies to compute shaders " ) ;
}
// in GLSL, unlike in HLSL fixed-function tessellator properties are specified on the domain shader
// and not the hull shader, so we specify them for both in the .usf shaders and then print a warning,
// similar to what fxc is doing
if ( MainSig - > tessellation . domain ! = GLSL_DOMAIN_NONE & & ( Frequency ! = HSF_HullShader & & Frequency ! = HSF_DomainShader ) )
{
_mesa_glsl_warning ( ParseState , " 'domain' attribute only applies to hull or domain shaders " ) ;
}
if ( MainSig - > tessellation . outputtopology ! = GLSL_OUTPUTTOPOLOGY_NONE & & Frequency ! = HSF_HullShader )
{
_mesa_glsl_warning ( ParseState , " 'outputtopology' attribute only applies to hull shaders " ) ;
}
if ( MainSig - > tessellation . partitioning ! = GLSL_PARTITIONING_NONE & & Frequency ! = HSF_HullShader )
{
_mesa_glsl_warning ( ParseState , " 'partitioning' attribute only applies to hull shaders " ) ;
}
if ( MainSig - > tessellation . outputcontrolpoints > 0 & & Frequency ! = HSF_HullShader )
{
_mesa_glsl_warning ( ParseState , " 'outputcontrolpoints' attribute only applies to hull shaders " ) ;
}
if ( MainSig - > tessellation . maxtessfactor > 0.0f & & Frequency ! = HSF_HullShader )
{
_mesa_glsl_warning ( ParseState , " 'maxtessfactor' attribute only applies to hull shaders " ) ;
}
if ( MainSig - > tessellation . patchconstantfunc ! = 0 & & Frequency ! = HSF_HullShader )
{
_mesa_glsl_warning ( ParseState , " 'patchconstantfunc' attribute only applies to hull shaders " ) ;
}
ir_function * MainFunction = new ( ParseState ) ir_function ( " main " ) ;
MainFunction - > add_signature ( MainSig ) ;
Instructions - > append_list ( & DeclInstructions ) ;
Instructions - > push_tail ( MainFunction ) ;
ralloc_free ( TempMemContext ) ;
// Now that we have a proper main(), move global setup to main().
MoveGlobalInstructionsToMain ( Instructions ) ;
}
else
{
_mesa_glsl_error ( ParseState , " shader entry point '%s' not "
" found " , EntryPoint ) ;
}
return true ;
}
ir_function_signature * FGlslCodeBackend : : FindPatchConstantFunction ( exec_list * Instructions , _mesa_glsl_parse_state * ParseState )
{
ir_function_signature * PatchConstantSig = 0 ;
// TODO refactor this and the fetching of the main siganture
foreach_iter ( exec_list_iterator , Iter , * Instructions )
{
ir_instruction * ir = ( ir_instruction * ) Iter . get ( ) ;
ir_function * Function = ir - > as_function ( ) ;
if ( Function & & strcmp ( Function - > name , ParseState - > tessellation . patchconstantfunc ) = = 0 )
{
int NumSigs = 0 ;
foreach_iter ( exec_list_iterator , SigIter , * Function )
{
if ( + + NumSigs = = 1 )
{
PatchConstantSig = ( ir_function_signature * ) SigIter . get ( ) ;
}
}
if ( NumSigs = = 1 )
{
break ;
}
else
{
_mesa_glsl_error ( ParseState , " patch constant function "
" `%s' has multiple signatures " , ParseState - > tessellation . patchconstantfunc ) ;
}
}
}
return PatchConstantSig ;
}
void FGlslCodeBackend : : CallPatchConstantFunction ( _mesa_glsl_parse_state * ParseState , ir_variable * OutputPatchVar , ir_function_signature * PatchConstantSig , exec_list & DeclInstructions , exec_list & PostCallInstructions )
{
exec_list PatchConstantArgs ;
if ( OutputPatchVar & & ! PatchConstantSig - > parameters . is_empty ( ) )
{
PatchConstantArgs . push_tail ( new ( ParseState ) ir_dereference_variable ( OutputPatchVar ) ) ;
}
ir_if * thread_if = new ( ParseState ) ir_if (
new ( ParseState ) ir_expression (
ir_binop_equal ,
new ( ParseState ) ir_constant (
0
) ,
new ( ParseState ) ir_dereference_variable (
ParseState - > symbols - > get_variable ( " gl_InvocationID " )
)
)
) ;
exec_list PrePatchConstCallInstructions ;
exec_list PostPatchConstCallInstructions ;
FSemanticQualifier Qualifier ;
Qualifier . Fields . bIsPatchConstant = 1 ;
ir_dereference_variable * PatchConstantReturn = GenShaderOutput (
HSF_HullShader ,
ParseState ,
PatchConstantSig - > return_semantic ,
Qualifier ,
PatchConstantSig - > return_type ,
& DeclInstructions ,
& PrePatchConstCallInstructions ,
& PostPatchConstCallInstructions
) ;
thread_if - > then_instructions . append_list ( & PrePatchConstCallInstructions ) ;
thread_if - > then_instructions . push_tail ( new ( ParseState ) ir_call ( PatchConstantSig , PatchConstantReturn , & PatchConstantArgs ) ) ;
thread_if - > then_instructions . append_list ( & PostPatchConstCallInstructions ) ;
PostCallInstructions . push_tail ( thread_if ) ;
}
/*
reassemble output patch variable ( for the patch constant function ) from the shader outputs
turn this : ( from the GenOutputs of calling the entry point main )
out_InnerMember [ gl_InvocationID ] . Data = t2 . Middle . Inner . Value ;
into this :
//output_patch<FPNTessellationHSToDS> FPNTessellationHSToDS t3[3]; //output_patch<FPNTessellationHSToDS> ;
t3 [ 0 ] . Middle . Inner . Value = out_InnerMember [ 0 ] . Data ;
t3 [ 1 ] . Middle . Inner . Value = out_InnerMember [ 1 ] . Data ;
t3 [ 2 ] . Middle . Inner . Value = out_InnerMember [ 2 ] . Data ;
*/
void FGlslCodeBackend : : GenShaderPatchConstantFunctionInputs ( _mesa_glsl_parse_state * ParseState , ir_variable * OutputPatchVar , exec_list & PostCallInstructions )
{
PostCallInstructions . push_tail ( OutputPatchVar ) ;
foreach_iter ( exec_list_iterator , Iter , PostCallInstructions )
{
ir_instruction * ir = ( ir_instruction * ) Iter . get ( ) ;
ir_assignment * assignment = ir - > as_assignment ( ) ;
if ( ! assignment )
{
continue ;
}
ir_dereference_record * lhs = assignment - > lhs - > as_dereference_record ( ) ;
ir_rvalue * rhs = assignment - > rhs ;
if ( ! lhs )
{
continue ;
}
if ( ! rhs )
{
continue ;
}
ir_dereference_array * lhs_array = lhs - > record - > as_dereference_array ( ) ;
if ( ! lhs_array )
{
continue ;
}
ir_dereference_variable * OutputPatchArrayIndex = lhs_array - > array_index - > as_dereference_variable ( ) ;
ir_dereference_variable * OutputPatchArray = lhs_array - > array - > as_dereference_variable ( ) ;
if ( ! OutputPatchArrayIndex )
{
continue ;
}
if ( 0 ! = strcmp ( OutputPatchArrayIndex - > var - > name , " gl_InvocationID " ) )
{
continue ;
}
if ( ! OutputPatchArray )
{
continue ;
}
const char * OutArrayFieldName = lhs - > field ;
for ( int OutputVertex = 0 ; OutputVertex < ParseState - > tessellation . outputcontrolpoints ; + + OutputVertex )
{
struct Helper
{
// the struct inside the output patch can have the actual outputs with semantics nested inside,
static void ReplaceVariableDerefWithArrayDeref ( ir_instruction * Node , ir_dereference_array * ArrayDereference )
{
if ( ir_dereference_record * AsRecord = Node - > as_dereference_record ( ) )
{
if ( AsRecord - > record - > as_dereference_variable ( ) )
{
AsRecord - > record = ArrayDereference ;
}
else
{
ReplaceVariableDerefWithArrayDeref ( AsRecord - > record , ArrayDereference ) ;
}
}
else if ( ir_dereference_array * AsArray = Node - > as_dereference_array ( ) )
{
if ( AsArray - > array - > as_dereference_variable ( ) )
{
AsArray - > array = ArrayDereference ;
}
else
{
ReplaceVariableDerefWithArrayDeref ( AsArray - > array , ArrayDereference ) ;
}
}
else
{
check ( false ) ;
}
}
} ;
ir_dereference_array * OutputPatchElementIndex = new ( ParseState ) ir_dereference_array (
OutputPatchVar ,
new ( ParseState ) ir_constant (
OutputVertex
)
) ;
ir_rvalue * OutputPatchElement = rhs - > clone ( ParseState , 0 ) ;
Helper : : ReplaceVariableDerefWithArrayDeref ( OutputPatchElement , OutputPatchElementIndex ) ;
PostCallInstructions . push_tail (
new ( ParseState ) ir_assignment (
OutputPatchElement ,
new ( ParseState ) ir_dereference_record (
new ( ParseState ) ir_dereference_array (
OutputPatchArray - > clone ( ParseState , 0 ) ,
new ( ParseState ) ir_constant ( OutputVertex )
) ,
OutArrayFieldName
)
)
) ;
}
}
}
void FGlslLanguageSpec : : SetupLanguageIntrinsics ( _mesa_glsl_parse_state * State , exec_list * ir )
{
if ( bIsES2 )
{
2016-12-08 22:53:00 -05:00
make_intrinsic_genType ( ir , State , FRAMEBUFFER_FETCH_ES2 , ir_invalid_opcode , IR_INTRINSIC_ALL_FLOATING , 0 , 4 , 4 ) ;
2015-06-25 02:07:29 -04:00
make_intrinsic_genType ( ir , State , DEPTHBUFFER_FETCH_ES2 , ir_invalid_opcode , IR_INTRINSIC_ALL_FLOATING , 3 , 1 , 1 ) ;
2015-07-15 06:39:44 -04:00
make_intrinsic_genType ( ir , State , GET_HDR_32BPP_HDR_ENCODE_MODE_ES2 , ir_invalid_opcode , IR_INTRINSIC_ALL_FLOATING , 0 ) ;
2014-09-25 14:27:21 -04:00
}
2014-11-11 17:28:52 -05:00
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3170391 on 2016/10/21 by Ben.Woodhouse
Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.
#jira UE-37437
#fyi rolando.caloca, marcus.wassmer
Change 3170659 on 2016/10/21 by Rolando.Caloca
DR - vk - Prep work for state key changes
Change 3170676 on 2016/10/21 by Rolando.Caloca
DR - vk - Reworked blend state keys
- Added depth/stencil to pipeline key
Change 3170848 on 2016/10/21 by Daniel.Wright
Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.
Change 3170849 on 2016/10/21 by Daniel.Wright
Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear
Change 3170995 on 2016/10/21 by Rolando.Caloca
DR - vk - Show object on vulkan validation msgs
Change 3171085 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix pipelines being used with incompatible renderpasses
Change 3171159 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix layout when reading textures on CPU
Change 3171167 on 2016/10/21 by Rolando.Caloca
DR - vk - compile fix
Change 3172462 on 2016/10/24 by Daniel.Wright
Added a warning about shader compile times to the material tooltip
Change 3172463 on 2016/10/24 by Daniel.Wright
Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh
Change 3172716 on 2016/10/24 by Brian.Karis
Fix for crash UE-37369 when reimporting over a generated LOD.
Change 3172967 on 2016/10/24 by Rolando.Caloca
DR - vk - Fix writing buffers while GPU was using them
Change 3174187 on 2016/10/25 by Olaf.Piesche
UE-37020
Change 3174718 on 2016/10/26 by Rolando.Caloca
DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k
Change 3175960 on 2016/10/26 by Rolando.Caloca
DR - Added support for hlslcc header to have custom parsing
Change 3176611 on 2016/10/27 by David.Hill
DrawWireCone confusion:
In response to a UDN, I'm updating confusing parameter names and comments for
DrawWireCone() and DrawWireSphereCappedCone()
Change 3177111 on 2016/10/27 by Rolando.Caloca
DR - vk - Fix timestamps for frame
Change 3177192 on 2016/10/27 by Arne.Schober
DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState
Change 3177278 on 2016/10/27 by Olaf.Piesche
UE-37484
Change 3177297 on 2016/10/27 by Rolando.Caloca
DR - vk - Enable GRHISupportsBaseVertexIndex
Change 3177607 on 2016/10/27 by Rolando.Caloca
DR - vk - SM4 UB prep
Change 3178052 on 2016/10/28 by Arne.Schober
DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.
Change 3178156 on 2016/10/28 by Rolando.Caloca
DR - vk - Added query timer
- Fixed inline issues
Change 3178158 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for out of stencil bits
Change 3178462 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for Elemental
Change 3179131 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix for r.Vulkan.UseRealUBs
Change 3179139 on 2016/10/28 by Rolando.Caloca
DR - vk - Move UB ring buffer to context
Change 3179145 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix buffer barriers
Change 3179888 on 2016/10/31 by Rolando.Caloca
DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD
Change 3179923 on 2016/10/31 by Rolando.Caloca
DR - vk - Wait for swapchain counter
Change 3180430 on 2016/10/31 by Rolando.Caloca
DR - vk - Properly wait for occlusion queries/cmd buffer
- Actual log error if trying to use occlusion queries out of order
Change 3180746 on 2016/10/31 by Rolando.Caloca
DR - vk - Undo some waiting as it was on the wrong thread
Change 3182115 on 2016/11/01 by Rolando.Caloca
DR - hlslcc Linux path fix
Change 3182118 on 2016/11/01 by Daniel.Wright
Fixed global distance field seam artifacts from landscapes with no subsections
Change 3182368 on 2016/11/01 by Daniel.Wright
Dynamic Indirect Shadows for static meshes using distance fields
* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
* DFAO from landscape is now done through the global distance field entirely. Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.
Change 3182408 on 2016/11/01 by Rolando.Caloca
DR - vk - Reworked occlusion queries, fixes flickering on AMD
Change 3182585 on 2016/11/01 by Daniel.Wright
PS4 compile fix
Change 3183151 on 2016/11/02 by Rolando.Caloca
DR - vk - Fix issue when processing super quick cmd buffers
Change 3183160 on 2016/11/02 by Rolando.Caloca
Dr - vk - Call reset queries outside render pass
Change 3183182 on 2016/11/02 by Rolando.Caloca
DR - Switch clear
Change 3183194 on 2016/11/02 by Rolando.Caloca
DR - Try to catch crash ahead of time
Change 3183268 on 2016/11/02 by Rolando.Caloca
DR - vk - Rename RenderPassState to TransitionState
Change 3183440 on 2016/11/02 by Daniel.Wright
Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'
Change 3183793 on 2016/11/02 by Daniel.Wright
Added ShadowResolutionScale to lightcomponent
Change 3183796 on 2016/11/02 by Daniel.Wright
Improved bSimulatePhysics comment, with info on why it might be greyed out
Change 3183797 on 2016/11/02 by Daniel.Wright
Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps. Improves shadowmap utilization.
Change 3183915 on 2016/11/02 by Rolando.Caloca
DR - vk - Remove redundant renderpasses
Change 3183991 on 2016/11/02 by Daniel.Wright
Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only
Change 3184001 on 2016/11/02 by Daniel.Wright
Better draw event for IndirectCapsuleShadows in stereo
Change 3184096 on 2016/11/02 by Chris.Bunner
HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
Removed some outdated tonemamping cvars and modes.
Change 3184399 on 2016/11/02 by Daniel.Wright
Static analysis workaround
Change 3184455 on 2016/11/02 by Mark.Satterthwaite
Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
#jira UE-38164
Change 3184953 on 2016/11/03 by Chris.Bunner
Fixing CIS warnings.
[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
ir_function * func = new ( State ) ir_function ( " compiler_internal_AdjustInputSemantic " ) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
ir_variable * param = new ( State ) ir_variable ( glsl_type : : vec4_type , " TempVariable " , ir_variable_mode : : ir_var_inout ) ;
exec_list * params = new ( State ) exec_list ( ) ;
params - > push_tail ( param ) ;
ir_function_signature * sig = new ( State ) ir_function_signature ( glsl_type : : void_type ) ;
sig - > replace_parameters ( params ) ;
sig - > is_builtin = true ;
sig - > is_defined = false ;
sig - > has_output_parameters = true ;
func - > add_signature ( sig ) ;
State - > symbols - > add_global_function ( func ) ;
}
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3170391 on 2016/10/21 by Ben.Woodhouse
Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.
#jira UE-37437
#fyi rolando.caloca, marcus.wassmer
Change 3170659 on 2016/10/21 by Rolando.Caloca
DR - vk - Prep work for state key changes
Change 3170676 on 2016/10/21 by Rolando.Caloca
DR - vk - Reworked blend state keys
- Added depth/stencil to pipeline key
Change 3170848 on 2016/10/21 by Daniel.Wright
Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.
Change 3170849 on 2016/10/21 by Daniel.Wright
Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear
Change 3170995 on 2016/10/21 by Rolando.Caloca
DR - vk - Show object on vulkan validation msgs
Change 3171085 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix pipelines being used with incompatible renderpasses
Change 3171159 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix layout when reading textures on CPU
Change 3171167 on 2016/10/21 by Rolando.Caloca
DR - vk - compile fix
Change 3172462 on 2016/10/24 by Daniel.Wright
Added a warning about shader compile times to the material tooltip
Change 3172463 on 2016/10/24 by Daniel.Wright
Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh
Change 3172716 on 2016/10/24 by Brian.Karis
Fix for crash UE-37369 when reimporting over a generated LOD.
Change 3172967 on 2016/10/24 by Rolando.Caloca
DR - vk - Fix writing buffers while GPU was using them
Change 3174187 on 2016/10/25 by Olaf.Piesche
UE-37020
Change 3174718 on 2016/10/26 by Rolando.Caloca
DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k
Change 3175960 on 2016/10/26 by Rolando.Caloca
DR - Added support for hlslcc header to have custom parsing
Change 3176611 on 2016/10/27 by David.Hill
DrawWireCone confusion:
In response to a UDN, I'm updating confusing parameter names and comments for
DrawWireCone() and DrawWireSphereCappedCone()
Change 3177111 on 2016/10/27 by Rolando.Caloca
DR - vk - Fix timestamps for frame
Change 3177192 on 2016/10/27 by Arne.Schober
DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState
Change 3177278 on 2016/10/27 by Olaf.Piesche
UE-37484
Change 3177297 on 2016/10/27 by Rolando.Caloca
DR - vk - Enable GRHISupportsBaseVertexIndex
Change 3177607 on 2016/10/27 by Rolando.Caloca
DR - vk - SM4 UB prep
Change 3178052 on 2016/10/28 by Arne.Schober
DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.
Change 3178156 on 2016/10/28 by Rolando.Caloca
DR - vk - Added query timer
- Fixed inline issues
Change 3178158 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for out of stencil bits
Change 3178462 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for Elemental
Change 3179131 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix for r.Vulkan.UseRealUBs
Change 3179139 on 2016/10/28 by Rolando.Caloca
DR - vk - Move UB ring buffer to context
Change 3179145 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix buffer barriers
Change 3179888 on 2016/10/31 by Rolando.Caloca
DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD
Change 3179923 on 2016/10/31 by Rolando.Caloca
DR - vk - Wait for swapchain counter
Change 3180430 on 2016/10/31 by Rolando.Caloca
DR - vk - Properly wait for occlusion queries/cmd buffer
- Actual log error if trying to use occlusion queries out of order
Change 3180746 on 2016/10/31 by Rolando.Caloca
DR - vk - Undo some waiting as it was on the wrong thread
Change 3182115 on 2016/11/01 by Rolando.Caloca
DR - hlslcc Linux path fix
Change 3182118 on 2016/11/01 by Daniel.Wright
Fixed global distance field seam artifacts from landscapes with no subsections
Change 3182368 on 2016/11/01 by Daniel.Wright
Dynamic Indirect Shadows for static meshes using distance fields
* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
* DFAO from landscape is now done through the global distance field entirely. Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.
Change 3182408 on 2016/11/01 by Rolando.Caloca
DR - vk - Reworked occlusion queries, fixes flickering on AMD
Change 3182585 on 2016/11/01 by Daniel.Wright
PS4 compile fix
Change 3183151 on 2016/11/02 by Rolando.Caloca
DR - vk - Fix issue when processing super quick cmd buffers
Change 3183160 on 2016/11/02 by Rolando.Caloca
Dr - vk - Call reset queries outside render pass
Change 3183182 on 2016/11/02 by Rolando.Caloca
DR - Switch clear
Change 3183194 on 2016/11/02 by Rolando.Caloca
DR - Try to catch crash ahead of time
Change 3183268 on 2016/11/02 by Rolando.Caloca
DR - vk - Rename RenderPassState to TransitionState
Change 3183440 on 2016/11/02 by Daniel.Wright
Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'
Change 3183793 on 2016/11/02 by Daniel.Wright
Added ShadowResolutionScale to lightcomponent
Change 3183796 on 2016/11/02 by Daniel.Wright
Improved bSimulatePhysics comment, with info on why it might be greyed out
Change 3183797 on 2016/11/02 by Daniel.Wright
Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps. Improves shadowmap utilization.
Change 3183915 on 2016/11/02 by Rolando.Caloca
DR - vk - Remove redundant renderpasses
Change 3183991 on 2016/11/02 by Daniel.Wright
Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only
Change 3184001 on 2016/11/02 by Daniel.Wright
Better draw event for IndirectCapsuleShadows in stereo
Change 3184096 on 2016/11/02 by Chris.Bunner
HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
Removed some outdated tonemamping cvars and modes.
Change 3184399 on 2016/11/02 by Daniel.Wright
Static analysis workaround
Change 3184455 on 2016/11/02 by Mark.Satterthwaite
Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
#jira UE-38164
Change 3184953 on 2016/11/03 by Chris.Bunner
Fixing CIS warnings.
[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
ir_function * func = new ( State ) ir_function ( " compiler_internal_AdjustOutputSemantic " ) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
ir_variable * param = new ( State ) ir_variable ( glsl_type : : vec4_type , " Src " , ir_variable_mode : : ir_var_inout ) ;
exec_list * params = new ( State ) exec_list ( ) ;
params - > push_tail ( param ) ;
ir_function_signature * sig = new ( State ) ir_function_signature ( glsl_type : : void_type ) ;
sig - > replace_parameters ( params ) ;
sig - > is_builtin = true ;
sig - > is_defined = false ;
sig - > has_output_parameters = true ;
func - > add_signature ( sig ) ;
State - > symbols - > add_global_function ( func ) ;
}
{
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3185985)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3170391 on 2016/10/21 by Ben.Woodhouse
Remove the wait on end of frame ensure, because we can't rely on all the the underlying codepaths to never miss a call to flush RHI resources. The consequences of missing a flush on a given frame are not serious now, since we enforce the synchronisation with a fence, preventing the rendering thread from getting too far ahead. We will simply accumulate resources for an additional frame when this happens.
#jira UE-37437
#fyi rolando.caloca, marcus.wassmer
Change 3170659 on 2016/10/21 by Rolando.Caloca
DR - vk - Prep work for state key changes
Change 3170676 on 2016/10/21 by Rolando.Caloca
DR - vk - Reworked blend state keys
- Added depth/stencil to pipeline key
Change 3170848 on 2016/10/21 by Daniel.Wright
Level viewport 'show stats' option is now enabled by default, which avoids confusion with artists thinking lighting is built, when really the message is hidden.
Change 3170849 on 2016/10/21 by Daniel.Wright
Split FProjectedShadowInfo::RenderProjection into smaller functions which make the algorithm structure clear
Change 3170995 on 2016/10/21 by Rolando.Caloca
DR - vk - Show object on vulkan validation msgs
Change 3171085 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix pipelines being used with incompatible renderpasses
Change 3171159 on 2016/10/21 by Rolando.Caloca
DR - vk - Fix layout when reading textures on CPU
Change 3171167 on 2016/10/21 by Rolando.Caloca
DR - vk - compile fix
Change 3172462 on 2016/10/24 by Daniel.Wright
Added a warning about shader compile times to the material tooltip
Change 3172463 on 2016/10/24 by Daniel.Wright
Reduced MinUnoccludedFraction to avoid artitfacts when a stationary light touches only a tiny part of a mesh
Change 3172716 on 2016/10/24 by Brian.Karis
Fix for crash UE-37369 when reimporting over a generated LOD.
Change 3172967 on 2016/10/24 by Rolando.Caloca
DR - vk - Fix writing buffers while GPU was using them
Change 3174187 on 2016/10/25 by Olaf.Piesche
UE-37020
Change 3174718 on 2016/10/26 by Rolando.Caloca
DR - vk - Remove old timestamp queries, increase occlusion queries per pool to 4k
Change 3175960 on 2016/10/26 by Rolando.Caloca
DR - Added support for hlslcc header to have custom parsing
Change 3176611 on 2016/10/27 by David.Hill
DrawWireCone confusion:
In response to a UDN, I'm updating confusing parameter names and comments for
DrawWireCone() and DrawWireSphereCappedCone()
Change 3177111 on 2016/10/27 by Rolando.Caloca
DR - vk - Fix timestamps for frame
Change 3177192 on 2016/10/27 by Arne.Schober
DR - DitherLOD refactor - moved computation of the DepthStencil state out of SetMeshRenderState into GetDitheredLODTransitionState this is a prerequisite of further PSO work where we want to move up State setting in a similar war and reuse FMeshDrawingRenderState
Change 3177278 on 2016/10/27 by Olaf.Piesche
UE-37484
Change 3177297 on 2016/10/27 by Rolando.Caloca
DR - vk - Enable GRHISupportsBaseVertexIndex
Change 3177607 on 2016/10/27 by Rolando.Caloca
DR - vk - SM4 UB prep
Change 3178052 on 2016/10/28 by Arne.Schober
DR - fix WebGL - the WebGL compiler is very picky on double underscores and does want the presission to be defined before any function definition.
Change 3178156 on 2016/10/28 by Rolando.Caloca
DR - vk - Added query timer
- Fixed inline issues
Change 3178158 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for out of stencil bits
Change 3178462 on 2016/10/28 by Rolando.Caloca
DR - vk - Fixes for Elemental
Change 3179131 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix for r.Vulkan.UseRealUBs
Change 3179139 on 2016/10/28 by Rolando.Caloca
DR - vk - Move UB ring buffer to context
Change 3179145 on 2016/10/28 by Rolando.Caloca
DR - vk - Fix buffer barriers
Change 3179888 on 2016/10/31 by Rolando.Caloca
DR - vk - Align buffers to 16 bytes as we sometimes write to them with SIMD
Change 3179923 on 2016/10/31 by Rolando.Caloca
DR - vk - Wait for swapchain counter
Change 3180430 on 2016/10/31 by Rolando.Caloca
DR - vk - Properly wait for occlusion queries/cmd buffer
- Actual log error if trying to use occlusion queries out of order
Change 3180746 on 2016/10/31 by Rolando.Caloca
DR - vk - Undo some waiting as it was on the wrong thread
Change 3182115 on 2016/11/01 by Rolando.Caloca
DR - hlslcc Linux path fix
Change 3182118 on 2016/11/01 by Daniel.Wright
Fixed global distance field seam artifacts from landscapes with no subsections
Change 3182368 on 2016/11/01 by Daniel.Wright
Dynamic Indirect Shadows for static meshes using distance fields
* These Distance Field indirect shadows use the same tile culled and downsampled framework that capsule shadows use, with similar GPU cost
* Individual StaticMesh assets can enable bGenerateMeshDistanceField to compute a distance field, without the memory cost of enabling for the whole project
* New StaticMeshComponent properties bCastDynamicIndirectShadow and DynamicIndirectShadowMinVisibility
* New WorldSettings property DynamicIndirectShadowsSelfShadowingIntensity which replaces the cvar
* The GBuffer now stores HasDynamicIndirectShadowCasterRepresentation instead of HasHeightfieldRepresentation
* DFAO from landscape is now done through the global distance field entirely. Landscape contribution to the global distance field is deferred to attempt to workaround texture streaming issues.
Change 3182408 on 2016/11/01 by Rolando.Caloca
DR - vk - Reworked occlusion queries, fixes flickering on AMD
Change 3182585 on 2016/11/01 by Daniel.Wright
PS4 compile fix
Change 3183151 on 2016/11/02 by Rolando.Caloca
DR - vk - Fix issue when processing super quick cmd buffers
Change 3183160 on 2016/11/02 by Rolando.Caloca
Dr - vk - Call reset queries outside render pass
Change 3183182 on 2016/11/02 by Rolando.Caloca
DR - Switch clear
Change 3183194 on 2016/11/02 by Rolando.Caloca
DR - Try to catch crash ahead of time
Change 3183268 on 2016/11/02 by Rolando.Caloca
DR - vk - Rename RenderPassState to TransitionState
Change 3183440 on 2016/11/02 by Daniel.Wright
Renamed 'Dynamic Indirect Shadow' to 'Distance Field Indirect Shadow'
Change 3183793 on 2016/11/02 by Daniel.Wright
Added ShadowResolutionScale to lightcomponent
Change 3183796 on 2016/11/02 by Daniel.Wright
Improved bSimulatePhysics comment, with info on why it might be greyed out
Change 3183797 on 2016/11/02 by Daniel.Wright
Precomputed shadowmaps no longer enable Force2To1Aspect, which is only needed for lightmaps. Improves shadowmap utilization.
Change 3183915 on 2016/11/02 by Rolando.Caloca
DR - vk - Remove redundant renderpasses
Change 3183991 on 2016/11/02 by Daniel.Wright
Added r.ReflectionEnvironmentLightmapMixLargestWeight, useful for restricting lightmap mixing to darkening only
Change 3184001 on 2016/11/02 by Daniel.Wright
Better draw event for IndirectCapsuleShadows in stereo
Change 3184096 on 2016/11/02 by Chris.Bunner
HDR for D3D11 - NVAPI toggle and encoding, UI compositing.
Removed some outdated tonemamping cvars and modes.
Change 3184399 on 2016/11/02 by Daniel.Wright
Static analysis workaround
Change 3184455 on 2016/11/02 by Mark.Satterthwaite
Fix missing log10 from FCompositePS on hlslcc shader platforms so that QA can continue their integration.
#jira UE-38164
Change 3184953 on 2016/11/03 by Chris.Bunner
Fixing CIS warnings.
[CL 3186011 by Marcus Wassmer in Main branch]
2016-11-03 16:55:27 -04:00
ir_function * func = new ( State ) ir_function ( " compiler_internal_AdjustIsFrontFacing " ) ;
Copying //UE4/Dev-Rendering to //UE4/Dev-Main (Source: //UE4/Dev-Rendering @ 3169859)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3134663 on 2016/09/21 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3134208. Initial material attribute extensibility changes.
#jira UE-34347
Change 3142292 on 2016/09/27 by Rolando.Caloca
DR - hlslcc - Fix for warning X3206: implicit truncation of vector type causing error
#jira UE-31438
Change 3143557 on 2016/09/28 by Rolando.Caloca
DR - Back out changelist 3142292
Change 3145354 on 2016/09/29 by Benjamin.Hyder
Updating Tm-ContactShadows
Change 3154832 on 2016/10/07 by Rolando.Caloca
DR - vk - Fix crash on framebuffers with missing textures
Change 3154838 on 2016/10/07 by Rolando.Caloca
DR - vk - Enable clip distance
Change 3154840 on 2016/10/07 by Rolando.Caloca
DR - Remove branch per codereview
Change 3155118 on 2016/10/07 by Rolando.Caloca
DR - vk - Compute pipeline fixes
Change 3155129 on 2016/10/07 by Rolando.Caloca
DR - Added draw events for reflection captures
Change 3155167 on 2016/10/07 by Rolando.Caloca
DR - Use shader clear for platforms that can't use viewport or scissor
Change 3155168 on 2016/10/07 by Rolando.Caloca
DR - vk - Added submit gpu
- Some fixes for Geometry and Compute
Change 3155595 on 2016/10/07 by Rolando.Caloca
DR - vk - Use new render pass system
Change 3155720 on 2016/10/07 by Rolando.Caloca
DR - vk - static analysis fix
Change 3155732 on 2016/10/07 by Rolando.Caloca
DR - Fix clears for platforms that can't use viewports, excluderects or scissor on clear
Change 3156787 on 2016/10/10 by Rolando.Caloca
DR - Fix mem leaks
Change 3156805 on 2016/10/10 by Rolando.Caloca
DR - Improve check msg per licensee
Change 3156815 on 2016/10/10 by Rolando.Caloca
DR - Fix infinite recursion
Change 3157041 on 2016/10/10 by Rolando.Caloca
DR - vk - Fix key access from multiple threads
Change 3158253 on 2016/10/11 by Rolando.Caloca
DR - Fix comment
#jira UE-37128
PR #2852
Change 3158606 on 2016/10/11 by Rolando.Caloca
DR - vk - Accessors
Change 3160418 on 2016/10/12 by Daniel.Wright
Lightmap textures are now outered to UMapBuildDataRegistry so that the UMapBuildDataRegistry can be moved in the content browser
Change 3160644 on 2016/10/12 by Arne.Schober
DR - [UE-32613] - OpenGL used to have custom code in the compiler to modify the source so that the same data and matricies can be used as DirectX, unfortunately that causes precission problem. Fortunately there is an extension available (glClipControl) which enables DirectX behaviour in OpenGL and it is widely supported. We only tested Linux and Windows and therfore only default enable on those platforms.
Change 3161219 on 2016/10/13 by Luke.Thatcher
[RENDERING] [!] Fix incorrect shader used in GPU Benchmark causing crash in OpenGL.
Change 3161838 on 2016/10/13 by Daniel.Wright
Fixed level getting added to the dirty list twice when legacy lightmaps are present
Change 3161884 on 2016/10/13 by Arne.Schober
DR - Fix Mac and DCC build
Change 3162206 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3161593:
Material expressions; Trig, fast-trig, saturate, round, truncate, pre-skinned normal.
Added CustomEyeTangent to material attributes.
Resolved some hard-coded attribute typing and other minor fixes.
Change 3162491 on 2016/10/13 by Chris.Bunner
Merging Dev-MaterialLayers to Dev-Rendering, CL 3162397:
More fixed type-casting on material attributes.
Swapped compiler::forcecast booleans to flags (and fixed a regression).
Change 3163266 on 2016/10/14 by Daniel.Wright
Fixed sublevels with legacy lighting data being added to the dirty packages list redundantly
Change 3163524 on 2016/10/14 by Mark.Satterthwaite
Bring over specific changes from Unicorn branch that increases the size of shader optional data so that it is considerably more useful.
Change 3163529 on 2016/10/14 by Mark.Satterthwaite
Move the Metal shader source code and compilation path into the newly enlarged shader optional data.
Change 3163553 on 2016/10/14 by Mark.Satterthwaite
Speculative fix for FORT-31590 also seen by a licensee - the Metal command buffer handler will be called from a dispatch queue thread that won't be registered with the stats system.
#jira FORT-31590
Change 3163562 on 2016/10/14 by Mark.Satterthwaite
Tidy up and extend the Metal debugging options:
- Added rhi.Metal.BufferScribble which when enabled will fill freed buffer regions with 0xCD to help identify any areas where we are writing to a buffer while it is still being processed on the GPU.
- Added rhi.Metal.BufferZeroFill which will zero-fill newly allocated buffer regions before any other data is read/written. Useful for catching cases where we might be reading uninitialised memory.
- Added rhi.Metal.ResourcePurgeOnDelete which will purge the backing store of resources prior to releasing them back to the system or the respective pool. This will make any use-after-free conditions much more likely.
- Added rhi.Metal.ResourceDeferDeleteNumFrames to defer releasing resources to the system or the resource pool by the specified number of frames (in addition to the current policy of waiting for the current end of frame & command-buffer completion). Useful for tracking down resource lifetime errors.
- Fixed a number of bugs related to the modifications to vertex stream handling and addition of the SetShaderBytes API.
- Track the start & end of FRingBuffer ranges - it appeared that the ring-buffer usage was invalid but it was in fact only my assumptions about the range that needed to be scribbled for rhi.Metal.BufferScribble. There is still the possibility that command-buffers that are implicitly parallelised by the driver may cause the ring-buffer range tracking to go awry - but with our data dependencies and the separation of the async. compute context I don't believe this is likely.
- Fix up the "nometalv2" flag so that we can disable the features only available on iOS/tvOS-10/macOS-10.12 on newer devices to save having to reboot all the time.
- Fixed the flickering geometry when enabling rhi.Metal.RuntimeDebugLevel=4 which breaks render passes into separate command-buffers - the occlusion query was waiting on the wrong command buffer in this case.
Change 3163752 on 2016/10/14 by Mark.Satterthwaite
Add missing parenthesis to fix compile error on iOS.
Change 3164151 on 2016/10/16 by Benjamin.Hyder
Submitting TM-AutoLOD level to QAGame
#jira UE-29618
Change 3164190 on 2016/10/16 by Uriel.Doyon
Materials now hold texture streaming data in the form of (UV scale X UV channel) for each texture.
This data can be disabled through "r.Streaming.UseMaterialData"
Defined a common framework in MeshComponent for texture streaming, used by both StaticMeshes and SkeletalMeshes.
Simplified component interface for using the texture streaming build framework.
Removed intermediate texture streaming build data from the static mesh components.
Fixed shader compilation errors with the decals (from merge with main).
Change 3164636 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix validation spam
Change 3164679 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part1, Scene View Refactoring - Removed Previous VewMatrices from SceneInfo and pass in Previous and Current ViewMatrices into Uniform Buffer creation to uniform UseCase for Shadows and CustomDepth, Fixed a Bug in Shadows with help of Daniel where the SceneView was copied unnecessary copied again. Also simplified the code in that area.
Change 3164705 on 2016/10/17 by Daniel.Wright
When new levels are loaded, only the Indirect Lighting Cache Allocations intersecting the level's light probes are updated to minimize hitches. This optimization requires a lighting build to compute PrecomputedLightVolume bounds.
Change 3164834 on 2016/10/17 by Daniel.Wright
Support directional light dynamic shadows in any channel with forward shading, which can happen with multiple shadow casting stationary directional lights (even though only the lighting of one will appear)
Change 3164870 on 2016/10/17 by Arne.Schober
DR - [OR-28457] Part2, Custom Depth Jitter - Allowed to overwite the viewconstant buffer in the custom depth pass. There ia also a new Project Setting available. The default constructor of the ContextDataType has been explicitly deleted to enforce compile errors when the templated code like the StaticMeshDrawList accidently tries to create a context without ViewUniformBuffer.
Change 3164949 on 2016/10/17 by Rolando.Caloca
DR - vk - First version of pooled occlusion queries
Change 3165100 on 2016/10/17 by Rolando.Caloca
DR - vk - Added driver version for Nvidia. AMD doesn't have one yet.
Change 3165160 on 2016/10/17 by Rolando.Caloca
DR - vk - Fix for queries not ready
Change 3165230 on 2016/10/17 by Rolando.Caloca
DR - vk - More fixes for occlusion queries
Change 3165839 on 2016/10/18 by Rolando.Caloca
DR - hlslcc - Fix default parameters getting wrong values
Change 3166029 on 2016/10/18 by Rolando.Caloca
DR - Switch some clears to DrawClearQuad()
Change 3166066 on 2016/10/18 by Mark.Satterthwaite
Update ShaderVersion due to CL #3163524
Change 3166067 on 2016/10/18 by Mark.Satterthwaite
Update Mac hlslcc for RCO's 3165839.
Change 3166370 on 2016/10/18 by Brian.Karis
Improved hair AA
Change 3166389 on 2016/10/18 by Uriel.Doyon
Fixed lightmap having bigger resolutions than the engine can handle
#jira UE-34737
#review-3166193 @daniel.wright
Change 3166495 on 2016/10/18 by Rolando.Caloca
DR - vk - Fix occlusion queries
Change 3166516 on 2016/10/18 by Arne.Schober
DR - Fix shaderbuild issue
Change 3166650 on 2016/10/18 by Rolando.Caloca
DR - vk - Enable GRHISupportsFirstInstance
Change 3166799 on 2016/10/18 by Arne.Schober
DR - [OR-28508] - The velocity Rendering pass was missing the adjustment for the PDO
Change 3167855 on 2016/10/19 by Rolando.Caloca
DR - vk - Implemented texture streaming
Change 3168365 on 2016/10/19 by Rolando.Caloca
DR - Fix static analysis
Change 3168405 on 2016/10/19 by Mark.Satterthwaite
Fix the optional shader data changes from Unicorn to prevent FindOptionalData from erronesouly testing against the trailing optional data size, which can match the tag for optional data entries if you are unlucky.
#jira UE-37489
Change 3169467 on 2016/10/20 by Arne.Schober
DR - UE-28039 - Fixed flickering cached shadows on dynamic objects: Adding preshadows whose depths are cached so that GatherDynamicMeshElements will still happen, which is necessary for preshadow receiver stenciling.
Change 3169478 on 2016/10/20 by Arne.Schober
DR - UE-28039 - missing comment
Change 3169845 on 2016/10/20 by Arne.Schober
DR - UE-35937 - readd Merged out check
Change 3169859 on 2016/10/20 by Rolando.Caloca
DR - vk - Stop popping up dialog on every run as the device name in the API doesn't match our driver database
[CL 3170066 by Marcus Wassmer in Main branch]
2016-10-20 20:09:22 -04:00
ir_variable * param = new ( State ) ir_variable ( glsl_type : : bool_type , " isFrontFacing " , ir_variable_mode : : ir_var_in ) ;
exec_list * params = new ( State ) exec_list ( ) ;
params - > push_tail ( param ) ;
ir_function_signature * sig = new ( State ) ir_function_signature ( glsl_type : : bool_type ) ;
sig - > replace_parameters ( params ) ;
sig - > is_builtin = true ;
sig - > is_defined = false ;
sig - > has_output_parameters = false ;
func - > add_signature ( sig ) ;
State - > symbols - > add_global_function ( func ) ;
}
2014-11-11 17:28:52 -05:00
if ( State - > language_version > = 310 )
{
/**
* Create GLSL functions that are left out of the symbol table
* Prevent pollution , but make them so thay can be used to
* implement the hlsl barriers
*/
const int glslFuncCount = 7 ;
const char * glslFuncName [ glslFuncCount ] =
{
" barrier " , " memoryBarrier " , " memoryBarrierAtomicCounter " , " memoryBarrierBuffer " ,
" memoryBarrierShared " , " memoryBarrierImage " , " groupMemoryBarrier "
} ;
ir_function * glslFuncs [ glslFuncCount ] ;
for ( int i = 0 ; i < glslFuncCount ; i + + )
{
void * ctx = State ;
ir_function * func = new ( ctx ) ir_function ( glslFuncName [ i ] ) ;
ir_function_signature * sig = new ( ctx ) ir_function_signature ( glsl_type : : void_type ) ;
sig - > is_builtin = true ;
func - > add_signature ( sig ) ;
ir - > push_tail ( func ) ;
glslFuncs [ i ] = func ;
}
/** Implement HLSL barriers in terms of GLSL functions */
const char * functions [ ] =
{
" GroupMemoryBarrier " , " GroupMemoryBarrierWithGroupSync " ,
" DeviceMemoryBarrier " , " DeviceMemoryBarrierWithGroupSync " ,
" AllMemoryBarrier " , " AllMemoryBarrierWithGroupSync "
} ;
const int max_children = 4 ;
ir_function * implFuncs [ ] [ max_children ] =
{
{ glslFuncs [ 4 ] } /**{"memoryBarrierShared"}*/ ,
{ glslFuncs [ 4 ] , glslFuncs [ 0 ] } /**{"memoryBarrierShared","barrier"}*/ ,
{ glslFuncs [ 2 ] , glslFuncs [ 3 ] , glslFuncs [ 5 ] } /**{"memoryBarrierAtomicCounter", "memoryBarrierBuffer", "memoryBarrierImage"}*/ ,
{ glslFuncs [ 2 ] , glslFuncs [ 3 ] , glslFuncs [ 5 ] , glslFuncs [ 0 ] } /**{"memoryBarrierAtomicCounter", "memoryBarrierBuffer", "memoryBarrierImage", "barrier"}*/ ,
{ glslFuncs [ 1 ] } /**{"memoryBarrier"}*/ ,
{ glslFuncs [ 1 ] , glslFuncs [ 0 ] } /**{"groupMemoryBarrier","barrier"}*/
} ;
for ( size_t i = 0 ; i < sizeof ( functions ) / sizeof ( const char * ) ; i + + )
{
void * ctx = State ;
ir_function * func = new ( ctx ) ir_function ( functions [ i ] ) ;
ir_function_signature * sig = new ( ctx ) ir_function_signature ( glsl_type : : void_type ) ;
sig - > is_builtin = true ;
sig - > is_defined = true ;
for ( int j = 0 ; j < max_children ; j + + )
{
if ( implFuncs [ i ] [ j ] = = NULL )
break ;
ir_function * child = implFuncs [ i ] [ j ] ;
check ( child ) ;
check ( child - > signatures . get_head ( ) = = child - > signatures . get_tail ( ) ) ;
ir_function_signature * childSig = ( ir_function_signature * ) child - > signatures . get_head ( ) ;
exec_list actual_parameter ;
sig - > body . push_tail (
new ( ctx ) ir_call ( childSig , NULL , & actual_parameter )
) ;
}
func - > add_signature ( sig ) ;
State - > symbols - > add_global_function ( func ) ;
ir - > push_tail ( func ) ;
}
}
2014-09-25 14:27:21 -04:00
}