Commit Graph

113 Commits

Author SHA1 Message Date
Jeremy Moore
a03368976e #jira FROST-1315
Ensure that we mask off unwanted bits in the UDIM wrapped address.
Fixes bugs in VT mapping.
#rb ben.ingram

[CL 15728315 by Jeremy Moore in ue5-main branch]
2021-03-17 14:59:07 -04:00
Jeremy Moore
f8c7aa88b0 Fix VT page table memory stat not being updated after first alloc for each space.
Added AVT indirection texture into page table memory stat.
#fyi ben.ingram
#rb none

[CL 15701048 by Jeremy Moore in ue5-main branch]
2021-03-15 18:01:26 -04:00
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
Jeremy Moore
0a40a793e9 Reduce log spam for VT. Only report dropping requests in verbose mode since it is expected behavior.
#rb none
#fyi Ben.Ingram

[CL 15091162 by Jeremy Moore in ue5-main branch]
2021-01-14 15:20:21 -04:00
Ben Ingram
c3579c58d2 Add FTaskTagScopes to VT tasks
#rb none
#jira none

[CL 14811680 by Ben Ingram in ue5-main branch]
2020-11-24 21:47:55 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Jeremy Moore
8fe393561d Ensure that locked pages are still flushed after a virtual texture flush command.
Previously for streaming pages, the request would return pending, but because the page is mapped, no subsequent request would occur.
#rb none

[CL 14738087 by Jeremy Moore in ue5-main branch]
2020-11-12 16:08:00 -04:00
Jeremy Moore
8464dd49fb #jira UESP-4125
Always test if page is mapped instead of assuming it isn't in one case.
This is a placeholder solution for a VT mapping crash while I investigate how the logic is failing here.
#rb none

[CL 14700400 by Jeremy Moore in ue5-main branch]
2020-11-10 12:09:59 -04:00
Ben Ingram
f2d617e356 Compute VT page wrapping relative to the highest resolution mip, rather than the current mip...this allows us to preserve the correct wrapped vAddress, which also needs to be relative to the top mip
#rb none
#jira none

[CL 14659977 by Ben Ingram in ue5-main branch]
2020-11-04 21:14:19 -04:00
Ben Ingram
15608b983f Restore a VT check that was previously removed...check is actually valid, was removed due to other bugs
#rb none
#jira none

[CL 14617565 by Ben Ingram in ue5-main branch]
2020-10-29 19:43:10 -04:00
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