Commit Graph

502 Commits

Author SHA1 Message Date
jeff newquist
9fa00a0482 Copying //UE4/Dev-Console@10648120 to Dev-RenderPlat-Staging (//UE4/Dev-RenderPlat-Staging)
#rb none
#rnx

[CL 10658496 by jeff newquist in Dev-RenderPlat-Staging branch]
2019-12-11 15:21:23 -05:00
Rolando Caloca
e72619ab3b Merging //UE4/Main@10410794 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 10419692 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-11-25 12:35:20 -05:00
Luke Thatcher
6ee5ed1203 Manual merge of CL 10335366 from //UE4/Main to //UE4/Dev-RenderPlat-Staging
Remove ClearCubeArray and fix creation of cube array resources in the reflection environment.
 - Old code was clamping the minimum number of cubes in the reflection environment cube array to 2, to force that the RHI resource was always an array, rather than a single cube.
 - This only seemed to be necessary because the pooled render target desc function only set bIsArray to true if InArraySize > 1.
 - Adding a CreateCubemapArrayDesc function removes the need to clamp the num slices, so now we allocate the number of cubes we actually need. This also solves the validation warnings that CL 10112521 was originally working around.

#rb Jonas.Meyer
#jira UE-84861

[CL 10335400 by Luke Thatcher in Dev-RenderPlat-Staging branch]
2019-11-21 10:03:29 -05:00
marc audy
dbcf07a558 Use new inline versions of substring functions
Fix up nearby cases where ESearchCase::CaseSensitive should have been used
#jira
#rnx
#rb

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10309793 via CL 10309818
#ROBOMERGE-BOT: (v593-10286020)

[CL 10309932 by marc audy in Main branch]
2019-11-19 13:27:07 -05:00
thomas engel
e3e09a10c5 FGenerateMips: adding code to allow for manual caching of setups to avoid circular refs & leaks; adding code to allow for render-based fallback for mip-generation on Android ES (bringing cleaned up, deadended code from 11.2x to 11.30)
#rb none
#rnx


#ROBOMERGE-OWNER: thomas.engel
#ROBOMERGE-AUTHOR: thomas.engel
#ROBOMERGE-SOURCE: CL 10291725 via CL 10292114 via CL 10292159
#ROBOMERGE-BOT: (v593-10286020)

[CL 10292507 by thomas engel in Main branch]
2019-11-18 18:19:05 -05:00
lukas hermanns
9d0084acb1 Fixed highlighted line in DXC error message.
#rb none
#jira UE-83064
#rnx

#ROBOMERGE-SOURCE: CL 10271524 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v591-10236483)

[CL 10271528 by lukas hermanns in Main branch]
2019-11-15 18:15:09 -05:00
guillaume abadie
2d094a2529 Cherry-pick 10232551: Invalidates global shader map DDC when shader parameter structure has changed
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 10232583 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v590-10202696)

[CL 10232586 by guillaume abadie in Main branch]
2019-11-14 19:25:21 -05:00
guillaume abadie
3800e7ad84 Cherry-pick 10232550: Validates shader parameter structure layout before submitting to RHI
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 10232581 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v590-10202696)

[CL 10232585 by guillaume abadie in Main branch]
2019-11-14 19:25:20 -05:00
jian ru
93486bcbb3 Fix an issue that causes EngineMisc memory keep increasing when world rendering is disabled
#rb Ben.Woodhouse


#ROBOMERGE-SOURCE: CL 10212712 via CL 10212731 via CL 10212741 via CL 10212765
#ROBOMERGE-BOT: (v590-10202696)

[CL 10212776 by jian ru in Main branch]
2019-11-14 14:14:09 -05:00
guillaume abadie
b8fa71d2bd Fixes crashes in QAEntry map
#rb none
#jira none
[FYI] zach.bethel

#ROBOMERGE-SOURCE: CL 10166912 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v587-10111126)

[CL 10167826 by guillaume abadie in Main branch]
2019-11-13 17:29:52 -05:00
guillaume abadie
413b445617 Allows to read any RDG resources in a GenerateMips pass
#rb zach.bethel
#jira none

#ROBOMERGE-SOURCE: CL 10129378 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v587-10111126)

[CL 10129395 by guillaume abadie in Main branch]
2019-11-13 13:12:15 -05:00
jonas meyer
3afb0ed9a2 Stats for for shaders compiled by materials
- CookByTheBook now outputs a .csv file into Saved/MaterialStats
- Statistics View now lists all the csv files from that folder.
- Load is done lazily
- Added shortcut key in Asset Browser
- MaterialPath is now serialized into shadermap(if debug info is allowed)
#rb lauren.barnes


#ROBOMERGE-OWNER: jonas.meyer
#ROBOMERGE-AUTHOR: jonas.meyer
#ROBOMERGE-SOURCE: CL 10124522 via CL 10124571
#ROBOMERGE-BOT: (v587-10111126)

[CL 10125114 by jonas meyer in Main branch]
2019-11-13 10:42:50 -05:00
Juan Canada
ee60030a97 Merging //UE4/Dev-Main@10113801 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10114485 by Juan Canada in Dev-RenderPlat-Staging branch]
2019-11-12 14:05:17 -05:00
zach bethel
7dabec6f2e Fixed bad access of RDG resource outside of pass.
#fyi rolando.caloca, thomas.engel
#rb none
#jira UE-83441

[CL 10103774 by zach bethel in Main branch]
2019-11-11 16:18:48 -05:00
lukas hermanns
361a53df16 Enabled DXC multiline error messages in output log.
#rb none
#jira UE-83064
[FYI] Yujiang.Wang, Rolando.Caloca
#rnx

#ROBOMERGE-SOURCE: CL 10087195 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v574-10069753)

[CL 10087205 by lukas hermanns in Main branch]
2019-11-08 15:51:14 -05:00
thomas engel
0c5e094732 Enabling mips generation for Android & adding explicit per MediaTexture instance on/off switch to mips generation
#rb none
[FYI] Tony.Wong, Jens.Petersam
#rnx


#ROBOMERGE-OWNER: thomas.engel
#ROBOMERGE-AUTHOR: thomas.engel
#ROBOMERGE-SOURCE: CL 10078721 via CL 10078722 via CL 10078723 via CL 10078725
#ROBOMERGE-BOT: (v574-10069753)

[CL 10078806 by thomas engel in Main branch]
2019-11-07 20:25:52 -05:00
thomas engel
3ddcae54e4 Making OpenGL RHI report more correctly if compute mip genmeration is needed & allowed compute mip generation code to be used with ES3.1
#rb none
#rnx


#ROBOMERGE-SOURCE: CL 10078622 via CL 10078639 via CL 10078649 via CL 10078659
#ROBOMERGE-BOT: (v574-10069753)

[CL 10078670 by thomas engel in Main branch]
2019-11-07 20:02:54 -05:00
lukas hermanns
d57b336a73 Deprecated boolean version of SetShaderValue and SetPixelShaderBool for 4.24.
#rb none
#jira UE-81022
[FYI] Rolando.Caloca, Krzysztof.Narkowicz, Guillaume.Abadie

#ROBOMERGE-SOURCE: CL 10073305 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v574-10069753)

[CL 10073306 by lukas hermanns in Main branch]
2019-11-07 13:57:58 -05:00
lukas hermanns
9532eaa382 Fixed boolean version of SetShaderValue for FRHICommandListImmediate.
#rb none
#jira UE-81022
[FYI] Rolando.Caloca, Krzysztof.Narkowicz, Guillaume.Abadie

#ROBOMERGE-SOURCE: CL 10071291 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v574-10069753)

[CL 10071436 by lukas hermanns in Main branch]
2019-11-07 12:15:25 -05:00
Rolando Caloca
920f91a8c5 UE4 - Proper fix for shader permutation domain
(undo workaround 10011374)
#rb Jonathan.Bard
#fyi Thomas.Engel, Jonathan.Bard
#rnx

[CL 10013727 by Rolando Caloca in Main branch]
2019-11-05 10:01:21 -05:00
Rolando Caloca
c354716ddb UE4 - Temporatily remove srgb permutation to fix compile issue
#rb none
#rnx
#fyi Thomas.Engel

[CL 10011374 by Rolando Caloca in Main branch]
2019-11-05 08:42:34 -05:00
thomas engel
584867b170 Adding sRGB compatible mip-generation code to mips generator (compute case)
#rb none


#ROBOMERGE-SOURCE: CL 9976254 via CL 9976261 via CL 9976262 via CL 9976264
#ROBOMERGE-BOT: (v560-9963197)

[CL 9976305 by thomas engel in Main branch]
2019-11-04 19:42:39 -05:00
thomas engel
68cd0b4b41 Fixing up mipmap generation using compute for textures/mipmaps not multiple of 8
#rb none


#ROBOMERGE-SOURCE: CL 9962465 via CL 9962469 via CL 9964941
#ROBOMERGE-BOT: (v560-9963197)

[CL 9965527 by thomas engel in Main branch]
2019-11-03 14:36:58 -05:00
arciel rekman
324add1e80 Support shader pipelines in the shader code library's stable map.
- Added shader pipeline hash as a key attribute.
- Added shaders from shader pipelines (they can have different code if RHI removes unused interpolators between the stages, like D3D does).

#rb Dmitriy.Dyomin, Richard.Wallis


#ROBOMERGE-SOURCE: CL 9959336 via CL 9959339 via CL 9959342
#ROBOMERGE-BOT: (v558-9892490)

[CL 9959347 by arciel rekman in Main branch]
2019-11-01 12:56:00 -04:00
chris bunner
71500ad073 Fixing up header in shadercode library CSV, previously the first entry would append to the same line and result in "OutputHashempty" as a header field. Standard line break appended to correct.
[REVIEW] Ben.Salem, Richard.Wallis


#ROBOMERGE-SOURCE: CL 9868558 via CL 9868562 via CL 9868563
#ROBOMERGE-BOT: (v548-9842178)

[CL 9868569 by chris bunner in Main branch]
2019-10-28 09:28:29 -04:00