Commit Graph

35 Commits

Author SHA1 Message Date
rolando caloca
83c57c2a0f UE4.23 - Deprecate FUniformBufferRHIParamRef, FIndexBufferRHIParamRef, FVertexBufferRHIParamRef, FStructuredBufferRHIParamRef, FTextureRHIParamRef, FTexture2DRHIParamRef, FTexture2DArrayRHIParamRef, FTexture3DRHIParamRef, FTextureCubeRHIParamRef
#rb none
#jira UE-76364

#ROBOMERGE-SOURCE: CL 7046967 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7047009 by rolando caloca in Main branch]
2019-06-17 13:39:07 -04:00
Rolando Caloca
aa0d2303d6 Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) @ 6944469
#rb none
#rnx

[CL 6944849 by Rolando Caloca in Main branch]
2019-06-11 18:27:07 -04:00
dmitriy dyomin
a057ce7394 Support auto-instancing on mobile ES3.1 feature level (Metal, OpenGL ES3.1, Vulkan)
Disabled by default, can be enabled with r.Mobile.SupportGPUScene=1
#jira UE-71355
#rb rolando.caloca, zach.bethel
[FYI] rolando.caloca, zach.bethel


#ROBOMERGE-SOURCE: CL 6617026 via CL 6617089
#ROBOMERGE-BOT: (v358-6608238)

[CL 6617118 by dmitriy dyomin in Main branch]
2019-05-23 00:36:32 -04:00
johan berg
45fe0d7d31 Generating stable shader info is now configurable.
Shader code library was always emitting "<shadermodel>.scl.csv" files while cooking. This output data is only needed for users (or automated jobs) that update the PSO cache. With this change the configuration value "NeedsShaderStableKeys" needs to be set to true for platforms that use PSO (e.g. AndroidEngine.ini and  IOSEngine.ini).

This saves diskspace and around 90 seconds on a iterative cook on a large project.

#rb Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 6604300 via CL 6604799
#ROBOMERGE-BOT: (v351-6581450)

[CL 6604833 by johan berg in Main branch]
2019-05-22 10:28:16 -04:00
juan canada
1f88a4b54c Cherry-pick 5934928 and cpp changes from 5646022: Implemented separate compilation and run-time caching of ray tracing shaders and linking into final pipeline state objects.
Significantly improves RTPSO creation performance when  loading new shaders into an existing large scene.

#jira UE-72847

#rb yuriy.odonnell
[FYI] yuriy.odonnell

#ROBOMERGE-SOURCE: CL 6265044 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 6317332 by juan canada in Main branch]
2019-05-06 11:32:33 -04:00
dmitriy dyomin
85b9149c22 Added an option to disable 'Pixel Depth Offset' on mobile platforms (r.Mobile.AllowPixelDepthOffset enabled by default)
[CODEREVIEW] jack.porter


#ROBOMERGE-SOURCE: CL 6251760 via CL 6251761 via CL 6251792 via CL 6252283

[CL 6252288 by dmitriy dyomin in Main branch]
2019-05-02 09:29:04 -04:00
mickael gilabert
4ba6888363 Base pass can output velocity data for moveable object with no static lighting, in forward and deferred rendering. This saves cpu draw call submission.
In base vertex and pixel shader pass, uniform variable OutputVelocityBuffer is tested to ouput or not velocity data
Configurable per project and/or per platform (r.BasePassOutputsVelocity)

#rb krzysztof.narkowicz
[FYI] anthony.bills


#ROBOMERGE-OWNER: mickael.gilabert
#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 5810274 via CL 5813280

[CL 5813281 by mickael gilabert in Main branch]
2019-04-09 17:05:01 -04:00
Rolando Caloca
d9d0260b64 UE4 - Compile fix
#rb none
#rnx

[CL 5399622 by Rolando Caloca in Main branch]
2019-03-14 14:37:01 -04:00
emil persson
04e63ad68e Fix crash on exit in InfiltratorDemo
#rb none
#jira UE-71465

#ROBOMERGE-SOURCE: CL 5397014 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5397015 by emil persson in Main branch]
2019-03-14 09:18:00 -04:00
arne schober
b48faf3681 RL - Remove Tmap for Tarray in RTLib because functionallity of Tmap was not needed.
#RB Yuriy.Odonnell
#jira 0

#ROBOMERGE-SOURCE: CL 5370946 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5370949 by arne schober in Main branch]
2019-03-12 15:49:29 -04:00
Arne Schober
b685bee215 MN - Fix serialization of inline cooked materials
#jira UE-69546
#RB Uriel.Doyon, Robert.Manuszewski

[CL 5257884 by Arne Schober in Main branch]
2019-02-28 18:59:33 -05:00
jian ru
8f01de2222 Remove FShader::OutputHash in non-editor build since it is a copy of FShaderResource::OutputHash. It is not used in non-editor build so cache miss isn't a concern.
#rb none
[FYI] chris.bunner


#ROBOMERGE-SOURCE: CL 5012770 via CL 5012778 via CL 5014365

[CL 5040308 by jian ru in Main branch]
2019-02-18 13:20:30 -05:00
juan canada
ac58ad5e6b Copying //UE4/Private-Woodchuck-Staging[at]4997051 to Release-4.22 (//UE4/Release-4.22)
#rb none
#jira
[FYI] marcus.wassmer
[FYI] zachary.wilson

#ROBOMERGE-SOURCE: CL 4997195 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 4997198 by juan canada in Main branch]
2019-02-14 14:23:27 -05:00
Rolando Caloca
9adacd446e UE4 - Manual merge from 4977115
- Remove shader pipelines on mobile platforms to reduce memory
#rb none
#rnx

[CL 4979217 by Rolando Caloca in Main branch]
2019-02-12 19:25:57 -05:00
Justin Marcus
a6267fe237 Merging using //Fortnite/Dev-EngineMerge-To-//UE4/Main
Manual merge of CL 4940744 because robomerge had issues.

Original Description:

Merging //Fortnite/Dev-Kairos to Main (//Fortnite/Main)

Getting ready for Install Bundle Manager merge to main.  These are Engine/Core fixes


4440445
Fix FBuildPatchInstaller::Initialize() failing for manifests that did not include the empty tag.

#jira no jira
#rb Leigh.Swift


4474598
Add Android Macros to disable optimization
Fix Android directory iteration for OBBs.  FindFilesRecursive() now works.
#jira UEATM-177
#rb Chris.Babcock

4487221
Android file - When mounting an OBB, fix possibly mounting directories as files.
#rb Chris.Babcock

4511214
Fix Android directory iteration not returning the visitor result.  This would cause IPlatformFile::FindFilesRecursively() to prematurely end iteration.
#rb Chris.Babcock

4670945
Fix GetVarArgs format specifier off by 1 error.  These would only show up if you had the format specifier at the end of the format string and only with 'l' and not 'll'.  In that case the code would walk off the end of the format string, usually into another static string.

Fix GetVarArgs to never walk off the end of the format string.

#rb [at]ben.ziegler

4746778
Fix FShaderCodeEntry ref counts being off by one.
This bug was exposed because [Project Name Redacted] doesn't load shaderlibs or the PSO cache until well after engine init.  That means some FShaderResource's are loaded before shader libs or PSO cache and FShaderCodeLibrary::RequestShaderCode() can fail in FShaderResource::SerializeShaderCode().

#rb [at]Gil.Gribb [at]Chris.Babcock

[CL 4948018 by Justin Marcus in Main branch]
2019-02-08 11:00:43 -05:00
anthony bills
40cdfec4ea Add support for enabling/disabling kepping shader debug info per platform.
- This can be overriden per platform in the [ShaderCompiler] section of the platform's Engine.ini by adding "r.Shaders.KeepDebugInfo"
- Also add in support for exporting the debug info on platforms where it can be stripped and stored as separate files ("r.Shaders.ExportDebugInfo") and this is also per platform.
- Add "r.Shaders.ExportDebugInfoMode" to control how the exported files are stored, 0 for loose or 1 for an uncompressed archive.

#rb david.harvey
[FYI] luke.thatcher


#ROBOMERGE-SOURCE: CL 4867756 via CL 4871614

[CL 4875479 by anthony bills in Main branch]
2019-02-01 21:07:48 -05:00
Rolando Caloca
5154fdf98c Merging //UE4/Dev-Main@4871865 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
#rnx

[CL 4872315 by Rolando Caloca in Dev-Rendering branch]
2019-02-01 18:09:46 -05:00
Chris Bunner
c77f129b29 Resolving Robomerge conflict from shelf 4866583.
#rb Robomerge

[CL 4867298 by Chris Bunner in Main branch]
2019-02-01 10:50:36 -05:00
anthony bills
ebf1480bce Pass down the shader format FName to IShaderFormat::NotifyShaderCooked
- Some platforms have multiple sub formats per IShaderFormat

#rb david.harvey
[FYI] luke.thatcher


#ROBOMERGE-SOURCE: CL 4859289 via CL 4863633

[CL 4864171 by anthony bills in Main branch]
2019-02-01 07:49:52 -05:00
Yuriy ODonnell
a3d33e27bc Added support for multiple raygen and miss shaders in single ray tracing pipeline state object and multiple hit shaders per primitive (for multiple ray types).
Removed explicit defalt closest hit shader from FRayTracingPipelineStateInitializer. Desired behavior can now be achieved by providing a single shader in the hit group table and setting hit group stride to 0 (effectively disabling shader binding table indexing).
GetRayTracingMaterialLibrary() now ensures that returned shader is contiguous, with no invalid/null entries. Invalid slots are filled with a shader that's explicitly provided by the caller.

#rb juan.canada
#fyi arne.schober
#jira UE-69132

[CL 4857961 by Yuriy ODonnell in Dev-Rendering branch]
2019-01-31 07:41:34 -05:00
Marcus Wassmer
68f340a63c Merging //UE4/Dev-Main@4825910 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
KNOWN BROKEN DO NOT SYNC
#lockdown rolando.caloca

[CL 4827063 by Marcus Wassmer in Dev-Rendering branch]
2019-01-28 21:04:21 -05:00
Mark Satterthwaite
8ba414e181 Add an option "Force 32bit Floating Point Precision" to the iOS project settings to have the shader compiler promote all half-float operations to FP32 as some projects on iOS encounter rendering issues when fragment shader calculations run into half-float precision limits.
#jira UE-68654
#rb none
#lockdown marcus.wassmer

[CL 4804101 by Mark Satterthwaite in Dev-Rendering branch]
2019-01-24 15:59:40 -05:00
Rolando Caloca
732810a13b DR - Copying //UE4/Dev-Main@4785067 to //UE4-DevRendering
#rb none
#rnx
#lockdown Marcus.Wassmer

[CL 4790611 by Rolando Caloca in Dev-Rendering branch]
2019-01-23 17:01:56 -05:00
Daniel Wright
325622b6e5 Fixed FShaderParameterInfo sizes being too small
#rb none

[CL 4746827 by Daniel Wright in Dev-Rendering branch]
2019-01-17 16:27:03 -05:00
Juan Canada
b6086c1618 Fixed crash on startup CreateShadersOnLoad is enabled
#rb arne.schober
#fyi yuriy.odonnell

[CL 4695822 by Juan Canada in Dev-Rendering branch]
2019-01-09 16:45:18 -05:00