graham wihlidal
f602dcf242
Big cleanup/refactor of InstanceData* (renamed to InstanceSceneData* to match many other places already calling it that, and to disambiguate upcoming changes that add another instance data buffer to GPU Scene for arbitrary data payloads). This change also removes the virtuals on FPrimitiveSceneProxy for the instance list along with lots of copy paste code for all the derived types, and instead makes it a built-in feature of the base proxy (since nearly everything supports GPU Scene instancing now).
...
#rb ola.olsson
[FYI] brian.karis
#preflight 60c4d5c586ce760001377f2a
#ROBOMERGE-OWNER: graham.wihlidal
#ROBOMERGE-AUTHOR: graham.wihlidal
#ROBOMERGE-SOURCE: CL 16660135 via CL 16660883
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v834-16658389)
[CL 16660909 by graham wihlidal in ue5-release-engine-test branch]
2021-06-14 13:43:26 -04:00
rune stubbe
49dab7faa0
Added UAVOverlap to UnifiedBuffer MemcpyResource to fix RHI validation errors.
...
#ROBOMERGE-SOURCE: CL 16547260
#ROBOMERGE-BOT: (v828-16531559)
[CL 16547263 by rune stubbe in ue5-main branch]
2021-06-03 10:26:59 -04:00
aurel cordonnier
50944fd712
Merge UE5/RES @ 16162155 to UE5/Main
...
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156
[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
zach bethel
cfd61f6e52
Moved GPU scene upload work to RDG.
...
#rb ola.olsson
[FYI] graham.wihlidal, andrew.lauritzen
#lockdown michal.valient
#ROBOMERGE-SOURCE: CL 15932750 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
[CL 15932762 by zach bethel in ue5-main branch]
2021-04-06 13:59:36 -04:00
jeremy moore
8e69a72cde
#jira UETOP-475
...
Shrink scattered upload buffers to prevent growth to some unbounded high watermark. This prevents pathalogical case of growing beyond the size supported by optimal RHI buffer allocation path.
#rb yuriy.odonnell
#ROBOMERGE-SOURCE: CL 15797978 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)
[CL 15807633 by jeremy moore in ue5-main branch]
2021-03-24 16:27:13 -04:00
ola olsson
764cc62a12
Fix transition errors in GPU-Scene and UnifiedBuffer.
...
#rb rune.stubbe
#jira UE-110477
#ROBOMERGE-SOURCE: CL 15709817 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)
[CL 15709845 by ola olsson in ue5-main branch]
2021-03-16 05:14:05 -04:00
Emil Persson
4516b985df
Name all resources and make naming mandatory
...
#rb yuriy.odonnel, kenzo.terelst
[CL 15416919 by Emil Persson in ue5-main branch]
2021-02-16 08:37:39 -04:00
Marc Audy
cac1fe0019
Merge UE5/Release-Engine-Staging @ CL# 15299266 to UE5/Main
...
This represents UE4/Main @ CL# 15277572
[CL 15299962 by Marc Audy in ue5-main branch]
2021-02-03 14:57:28 -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
Emil Persson
72db809300
Replace legacy LockVertexBuffer()/LockIndexBuffer()/LockStructuredBuffer() calls with the unified LockBuffer()
...
#rb kenzo.terelst
[CL 14898308 by Emil Persson in ue5-main branch]
2020-12-10 11:51:32 -04:00
Ola Olsson
636361000e
Fix transition errors for GPUScene Instance buffer (not transitioned to SRV if size changed)
...
- Also changed ResizeResourceIfNeeded to return true also if it was previously zero.
#rb rune.stubbe
[CL 14719669 by Ola Olsson in ue5-main branch]
2020-11-11 11:06:59 -04:00
Kenzo Terelst
b8a0ffe208
- Make sure previously bound SRV resource is removed from cmd list binding cache before rename - force rebind of SRV handle
...
- Take start offset into account during rename
#rb Jonas.Meyer
#jira UE-101950
[CL 14586322 by Kenzo Terelst in ue5-main branch]
2020-10-27 09:01:36 -04:00
Yujiang Wang
ac3e4ffa26
Workaround D3D12RHI's dynamic SRV tracking bug for FScatterUploadBuffer by recreating SRVs upon buffer locks. This fixes GPUScene lightmap corruption issues.
...
#rb none
[CL 14580021 by Yujiang Wang in ue5-main branch]
2020-10-26 15:26:37 -04:00
zach bethel
1be4df8f48
Removed deprecated resource transition API from the engine.
...
#rb kenzo.terelst, christopher.waters, mihnea.balta
#fyi will.damon, brian.white, rolando.caloca
#jira none
[CL 14495239 by zach bethel in ue5-main branch]
2020-10-14 14:20:26 -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
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
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
Josh Adams
aa9705149b
Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
...
#rb none
[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
Juan Canada
f084ece316
Fix copyright issues
...
#rb none
#jira UE-87461
[CL 11112539 by Juan Canada in Main branch]
2020-01-24 23:36:12 -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