Commit Graph

36 Commits

Author SHA1 Message Date
Emil Persson
adf0716e8d Replace FVertexBufferRHIRef, FIndexBufferRHIRef and FStructuredBufferRHIRef with FBufferRHIRef.
#rb kenzo.terelst

[CL 15153257 by Emil Persson in ue5-main branch]
2021-01-21 07:06:03 -04:00
Jeremy Moore
a6deace99b Add interface to support case when the VT feedback buffer is a full FRDGBuffer.
New interface will be used by VHM feedback.
Old interface can be deprecated whenever main pass feedback buffer is converted to RDG.
#jira none
#fyi zach.bethel
#rb none
#rnx

[CL 14957204 by Jeremy Moore in ue5-main branch]
2020-12-18 16:31:17 -04:00
Kenzo Terelst
a942f08fab Fix correct initialize size setup of array - wrong last minute change before checkin
#jira UE-99414
#rb none

[CL 14289383 by Kenzo Terelst in ue5-main branch]
2020-09-10 12:07:22 -04:00
Kenzo Terelst
9f73bb0404 Don't use FRenderQueryPoolRHIRef for fencing because it's not thread safe - alloc and free one query at a time
#jira UE-99358
#rb Jonas.Meyer, Jeremy.Moore

[CL 14288286 by Kenzo Terelst in ue5-main branch]
2020-09-10 09:33:56 -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
robomerge
3b202e7d5b Refactor VT feedback system to provide public interface for submitting buffers from external libs.
#ROBOMERGE-SOURCE: CL 12911582 via CL 12911588 via CL 12911591
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12911592 by robomerge in Main branch]
2020-04-19 16:00:48 -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
jeremy moore
a5f580774a Add back the UAV clear of VT feedback buffer that got lost somewhere in an old merge.
Fixes oversubscription of VT physical pages coming from page requests staying in the feedback buffer.
#rb none
[FYI] Ben.Woodhouse


#ROBOMERGE-SOURCE: CL 12372241 via CL 12372242
#ROBOMERGE-BOT: (v671-12333473)

[CL 12372244 by jeremy moore in Main branch]
2020-03-23 12:07:17 -04:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00
jeremy moore
2bf82b1c82 Added missing resource release on shutdown introduced by 11279565
#rnx


#ROBOMERGE-SOURCE: CL 11279658 via CL 11279662 via CL 11279664
#ROBOMERGE-BOT: (v0-11244347)

[CL 11279665 by jeremy moore in Main branch]
2020-02-06 09:54:15 -05:00
jeremy moore
ccd6d8b8fc Reenable use of query fences on PC for virtual texutre feedback buffer
[FYI] Dmitriy.Dyomin


#ROBOMERGE-SOURCE: CL 11279565 via CL 11279568 via CL 11279569
#ROBOMERGE-BOT: (v0-11244347)

[CL 11279571 by jeremy moore in Main branch]
2020-02-06 09:40:30 -05: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
Rolando Caloca
b8ded23bb7 DRPS - Compile fixes from merge
#rb none
#rnx

[CL 11109987 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2020-01-24 17:48:11 -05:00
Rolando Caloca
db7cb13cd5 Merging //UE4/Main@11108668 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 11109810 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2020-01-24 17:26:14 -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
Juan Canada
2ecf4f9708 Merging //UE4/Dev-Main@10877709 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10895568 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-07 13:45:01 -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
Rolando Caloca
c2d62c0ecc Copying //UE4/Dev-Rendering@10763356 to //UE4/Dev-RenderPlat-Staging
#rb none
#rnx

[CL 10769097 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-12-17 14:14:23 -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
jeremy moore
ffefadf9d5 Fix some missing texture creation flags.
Enable UAV creation for VT physical texture where supported.


#ROBOMERGE-SOURCE: CL 9804698 via CL 9804747 via CL 9804799
#ROBOMERGE-BOT: (v546-9757112)

[CL 9804825 by jeremy moore in Main branch]
2019-10-24 13:23:31 -04:00
Jeremy Moore
5d26a80553 Fix bad merge
#rb none

[CL 9694893 by Jeremy Moore in Main branch]
2019-10-18 14:33:05 -04:00
jeremy moore
d307724807 Fix define setting where new use of queries for VT feedback was disabled
#author Jeremy.Moore


#ROBOMERGE-SOURCE: CL 9689680 via CL 9690180 via CL 9691058 via CL 9691077 via CL 9691103
#ROBOMERGE-BOT: (v538-9681622)

[CL 9691787 by jeremy moore in Main branch]
2019-10-18 12:42:24 -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
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
jeremy moore
7395869aa0 Add optional fence parameter to MapStagingSurface()
If fence is passed in we Poll() to find if we have passed the fence and if so we skip the RHI flush
For the benefit of non parallel APIs we still stall the RHI thread while processing the Map()


#ROBOMERGE-SOURCE: CL 9514707 via CL 9514744 via CL 9514749 via CL 9514754 via CL 9514763
#ROBOMERGE-BOT: (v519-9489664)

[CL 9514769 by jeremy moore in Main branch]
2019-10-09 22:24:54 -04:00