Commit Graph

53 Commits

Author SHA1 Message Date
Ben Ingram
34ec7481a4 Fix wrapped VT address computation
#rb none
#jira none

[CL 14615016 by Ben Ingram in ue5-main branch]
2020-10-29 16:21:58 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Ben Ingram
cfe2e82b9b Fix bias handling for mapping resident pages of newly allocated VTs
#rb none
#jira UESP-4017

[CL 14582238 by Ben Ingram in ue5-main branch]
2020-10-26 17:58:40 -04:00
zach bethel
2bc88676d6 Converted virtual texture system and GPU lightmass to RDG.
#rb yujiang.wang, jeremy.moore
#jira none

[CL 14581416 by zach bethel in ue5-main branch]
2020-10-26 16:44:44 -04:00
Ben Ingram
de1bc01ce9 Fix logic used to wrap UDIM VT coordinates during CPU update
- Need to make sure wrapped vAddress is properly used in all cases, otherwise can end up with duplicate/inconsistent page mappings
#rb none
#jira UESP-4030, UESP-4017

[CL 14580045 by Ben Ingram in ue5-main branch]
2020-10-26 15:28:18 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Brian Karis
8ad4d4a7cd Fixed determinism in build.
Fixed tangents not being derived resulting in no welding for mip0 of Nanite
Ignore bHasColor from mesh desc and check if any non-white.
Misc clean up

#rb rune.stubbe

[CL 14223322 by Brian Karis in ue5-main branch]
2020-08-31 17:49:41 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
jeremy moore
71c2e4b2bf Add continuous update flag to RVT asset
Add VT scalability setting for throttling continuous updates

#ROBOMERGE-SOURCE: CL 13181235 via CL 13181238 via CL 13181240 via CL 13181249
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v688-13145358)

[CL 13181259 by jeremy moore in Main branch]
2020-05-05 12:03:31 -04:00
jeremy moore
fd7a72fcca VT feedback refactor to allow multiple contributors per frame
#rb none

#ROBOMERGE-SOURCE: CL 12620430 via CL 12620434 via CL 12620441
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12620449 by jeremy moore in Main branch]
2020-04-06 08:27:30 -04:00
Rolando Caloca
bbb9564388 Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main
#rb none
#rnx

[CL 11110369 by Rolando Caloca in Main branch]
2020-01-24 18:07:01 -05:00
dmitriy dyomin
32bb8acd0b Support virtual textures on mobile platforms. Requires Vulkan, OpenGL ES3.1 + SRV, iPhone8 and up.
Disabled by default, set r.Mobile.VirtualTextures=1 to enable
known issues: RVT compression is not implementted, Android OpenGL will have R and G channels swapped for uncompressed streaming VT, no sRGB support
#jira UE-79955
#rb jeremy.moore


#ROBOMERGE-SOURCE: CL 11070636 via CL 11070637
#ROBOMERGE-BOT: (v637-11041722)

[CL 11070638 by dmitriy dyomin in Main branch]
2020-01-20 22:16:23 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
jeremy moore
534d291e59 Fix virtual texture feedback for multiple views
Also remove virtual texture time slice option which was never used/needed


#ROBOMERGE-SOURCE: CL 10114449 via CL 10115537 via CL 10115579
#ROBOMERGE-BOT: (v587-10111126)

[CL 10115610 by jeremy moore in Main branch]
2019-11-12 15:02:14 -05:00
ben ingram
ee92d549cc #jira UESP-1466
Don't merge duplicate streaming VT producers when creating page table
- Keep merging in place for RVT
#rb none

#ROBOMERGE-SOURCE: CL 9758700 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v545-9751379)

[CL 9758704 by ben ingram in Main branch]
2019-10-23 14:06:00 -04:00
ben ingram
356970ea02 #jira none
Fix bug computing wrong sizes for mips of non-power-2 UDIM texture, when computing VT address wrapping
#rb none

#ROBOMERGE-SOURCE: CL 9758260 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v545-9751379)

[CL 9758263 by ben ingram in Main branch]
2019-10-23 13:28:05 -04:00
jeremy moore
331f7530de Time slice the VirtualTexture MaxUploadsPerFrame
This reduces the per frame uploads for very high frame rates
Disabled by default with a CVar to enable


#ROBOMERGE-SOURCE: CL 9707407 via CL 9707413 via CL 9707414 via CL 9707415 via CL 9707417
#ROBOMERGE-BOT: (v539-9700858)

[CL 9707418 by jeremy moore in Main branch]
2019-10-18 19:20:53 -04:00
chris bunner
75de6b37f5 Address some performance concerns with virtual texture on PC
Use event queries instead of the frame counting fence to ensure that we don't needlessly sync GPU and CPU
Reduce max load of virtual texure updates
Add some more CVS stats to help track down any problems in the live environment
#author Jeremy.Moore
#rb Chris.Bunner
[REVIEW]


#ROBOMERGE-OWNER: chris.bunner
#ROBOMERGE-AUTHOR: chris.bunner
#ROBOMERGE-SOURCE: CL 9687877 via CL 9688900 via CL 9689237 via CL 9690291 via CL 9690442
#ROBOMERGE-BOT: (v538-9681622)

[CL 9691677 by chris bunner in Main branch]
2019-10-18 12:39:13 -04:00
Marc Audy
196a735e70 Fix incoming changes in light of CL# 9306968
#rb
#rnx
#codereview Ben.Ingram, Jeremy.Moore

[CL 9455039 by Marc Audy in Main branch]
2019-10-07 14:33:40 -04:00
jeremy moore
a24eea9e6f Better CSV stat to track percentage of virtual texture physical space is being used
#rb none

#ROBOMERGE-OWNER: jeremy.moore
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 9428260 via CL 9428262 via CL 9444157 via CL 9449047 via CL 9449237
#ROBOMERGE-BOT: (v495-9448618)

[CL 9451783 by jeremy moore in Main branch]
2019-10-07 13:25:21 -04:00
jeremy moore
636afa56b4 Add console variable scale factor for virtual texture physical pools
This allows per platform device overrides



#ROBOMERGE-SOURCE: CL 9428247 via CL 9428248 via CL 9444144 via CL 9449040 via CL 9449233
#ROBOMERGE-BOT: (v495-9448618)

[CL 9451398 by jeremy moore in Main branch]
2019-10-07 13:11:51 -04:00
jeremy moore
589bd1fb81 Memory leak fix
#ROBOMERGE-SOURCE: CL 9411601 via CL 9411602 via CL 9411603 via CL 9411604 via CL 9411605
#ROBOMERGE-BOT: (v456-9359915)

[CL 9411606 by jeremy moore in Main branch]
2019-10-03 22:53:02 -04:00