Commit Graph

1486 Commits

Author SHA1 Message Date
christopher waters
4b9e68073c Deprecating RHICreateTexture2D and RHICreateTextureExternal2D.
#jira none
#rb zach.bethel
#preflight 627a6ec010766ef8c1f54f1e

[CL 20129702 by christopher waters in ue5-main branch]
2022-05-10 17:13:37 -04:00
zach bethel
2156756315 Replaced use of CopyToResolveTarget with CopyTexture.
#preflight 627a90ff7e5f24d1edd73422
#rb luke.thatcher, jason.hoerner

[CL 20127337 by zach bethel in ue5-main branch]
2022-05-10 14:47:34 -04:00
zach bethel
a574adf6d5 Deprecated RHICreateTargetableShaderResource utility method, since it's not actually used to create multisampled resources. Removed instances where it appeared multiple textures were being created, but only one was actually created. Cleaned up FTextureRenderTargetResource derived classes to use TextureRHI and TextureRenderTargetRHI.
#preflight 62798ef94561731dbe14105b
#rb christopher.waters

[CL 20113900 by zach bethel in ue5-main branch]
2022-05-09 19:27:51 -04:00
john huelin
95c1680b6e Fix DrawCallCount per pass not working when multithreaded RHI command recording is enabled.
[REVIEW]
#rnx

#ROBOMERGE-OWNER: john.huelin
#ROBOMERGE-AUTHOR: john.huelin
#ROBOMERGE-SOURCE: CL 20105654 via CL 20105671 via CL 20107113 via CL 20107146
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20110543 by john huelin in ue5-main branch]
2022-05-09 16:35:01 -04:00
carl lloyd
192abb6ebb Changed PLS to require ARM framebuffer depth/stencil fetch on OpenGL
#jira UE-145425, UE-145424
#rb Jack.Porter
#fyi Wei.Liu
#preflight 627910784561731dbeee9c30

[CL 20101739 by carl lloyd in ue5-main branch]
2022-05-09 09:28:57 -04:00
zach bethel
1a6dbc061d Deprecated FRDGBufferDesc::EUnderlyingType
#preflight 62756de8d8373707f22a6144
#rb christopher.waters

[CL 20082899 by zach bethel in ue5-main branch]
2022-05-06 15:44:23 -04:00
Andriy Tylychko
cfadd8060c fixed static destruction order bug: the completion event of FRenderCommandFence was destroyed after the allocator it uses
#jira UE-151259
#preflight 6275674de31cfc52d5caf9d8

[CL 20081730 by Andriy Tylychko in ue5-main branch]
2022-05-06 14:56:33 -04:00
Simon Therriault
79fa990ba9 - Updating MediaCapture to use RDG
- Adding structured buffer output support to media capture

#jira UE-150229, UE-150230
#rb geoffrey.douglas, eric.renaudhoude, ruslan.idrisov

- Adding Rivermax output support wiht custom conversions to support

YCbCr10
RGB8
RGB10
RGB16f

- Fixing chunk configuration for output stream
- Fixing crash when dragging a rivermax player in the scene

#jira UE-146135, UE-150475

#preflight 627562a78a31599132bf87f2

[CL 20081599 by Simon Therriault in ue5-main branch]
2022-05-06 14:50:53 -04:00
jeannoe morissette
95da1ff33f DumpGPU: Skip AvailableVirtual in IsUnsafeToDumpResource check if it's exactly 0 (value when it's not supported).
#rb Guillaume.Abadie
#preflight 6273d2596a646b1d153d86af
#rnx

[CL 20057045 by jeannoe morissette in ue5-main branch]
2022-05-05 09:43:53 -04:00
Sebastien Hillaire
4e91e8da1d Strata - fixed SLW to not cause issue on when shader specifies output format wiht Strata.
The separated main dir light buffer is no longer bound as render target during the base pass. It is used for the DFShadow only.
The main dir light contribution flow thgouth the Strata mateiral buffer.

#rb charles.derousiers
#preflight https://horde.devtools.epicgames.com/job/6273d021b86624d2e8cab0f0

[CL 20056963 by Sebastien Hillaire in ue5-main branch]
2022-05-05 09:38:59 -04:00
jeannoe morissette
94b6b81129 VulkanRHI: Add possibility to force depth and stencil to always be treated together when considering transitions in RDG since underlying VulkanRHI cannot track them separately:
- when CopySrc or CopyDest is set on either depth or stencil, force the range to include the entire texture.
- force the transitions of both depth and stencil to occur on the same pass (do not split the copy transition into two different passes if StateBefore is not the same).

#rb zach.bethel
#jira UE-143575,UE-147932
#preflight 6272c703365de864c4be9312

[CL 20050377 by jeannoe morissette in ue5-main branch]
2022-05-04 17:36:33 -04:00
zach bethel
224cc4fe24 Fix for RHI validation error in AncientGame.
#preflight none

[CL 20045330 by zach bethel in ue5-main branch]
2022-05-04 14:20:45 -04:00
zach bethel
ac11396729 Fixed test and validation regressions due to RDG changes.
#preflight 6272a1f12f6d177be3c60a53
#jira UE-150908

[CL 20043535 by zach bethel in ue5-main branch]
2022-05-04 12:41:19 -04:00
guillaume abadie
d4b1dc7ad5 Adds OS name and version into DumpGPU's informations tab
#rb trivial
#preflight trivial

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 20025927 via CL 20025954 via CL 20025973
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20029272 by guillaume abadie in ue5-main branch]
2022-05-03 14:19:54 -04:00
Stu McKenna
509ed6fe21 - Remove loose parameter bindings from main Niagara parameters
- Data Interface should now opt into the new binding path by setting UseLegacyShaderBindings to false
- BuildShaderParameters / SetShaderParameters replaces BindParameters / SetParameters / UnsetParameters
- CreateShaderStorage / GetShaderStorageType replaces CreateComputeParameters / GetComputeParametersTypeDesc.
- Shader storage should no longer be required for the majority of cases, only those which require data based on bound functions will need additional data, everything else should be statically set.

#rb michael.galetzka
#jira none
#preflight 627061b1220f89f0ad5aff22

[CL 20027313 by Stu McKenna in ue5-main branch]
2022-05-03 12:27:50 -04:00
zach bethel
3cc302c633 Replace TransitionPassRenderTargets with manual transitions.
#preflight 62707135cb7b2a0613598af5

[CL 20026195 by zach bethel in ue5-main branch]
2022-05-03 11:20:40 -04:00
christopher waters
4e12726208 Migrating back to using UniformBuffer structs.
Since the cbuffer uses the same name as the struct, we have to rename the cbuffer using a consistent prefix. The reflection handling also needs to reinterpret the renamed cbuffer as the correct UniformBuffer.

#jira none
#rb mihnea.balta
#preflight 626c1762ce3959ce8fe7766e

[CL 20026049 by christopher waters in ue5-main branch]
2022-05-03 11:09:45 -04:00
guillaume abadie
4dc8472228 Adds support for Texture2DArray in DumpGPU
#rb juan.canada
#preflight 62711cc29d6c2f8f5b1a2111

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 20023927 via CL 20023941 via CL 20023946
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20024812 by guillaume abadie in ue5-main branch]
2022-05-03 09:58:16 -04:00
guillaume abadie
3c50a8937d Added support for per-slice texture array UAV+SRV on some platforms
#rb luke.thatcher, zach.bethel, will.damon
[FYI] richard.wallis, mihnea.balta
#preflight 6261a519d929bc34a3ed5699, 6270c4cc006bd3ab9e83eb1d

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 20023299 via CL 20023301 via CL 20023302
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20023804 by guillaume abadie in ue5-main branch]
2022-05-03 08:29:15 -04:00
zach bethel
2c9665b07f Added ResizeStructuredBufferSAOIfNeeded for GPU scene buffer refactor.
#preflight 627065c8592316675c2dc132

[CL 20018209 by zach bethel in ue5-main branch]
2022-05-02 19:28:19 -04:00
zach bethel
4eedc02f37 Fixes to external access RDG feature to handle async compute without validation failures.
#preflight 6270551191629533ec2b4bc9

[CL 20017395 by zach bethel in ue5-main branch]
2022-05-02 18:31:37 -04:00
zach bethel
98a1477e78 Added RDG_USE_MALLOC debug macro to help find memory stomps with -stompmalloc.
#preflight trivial

[CL 20009596 by zach bethel in ue5-main branch]
2022-05-02 11:55:04 -04:00
Stu McKenna
f707c92be7 - Move ShaderParameterMetadataBuilder into RenderCore
#rb zach.bethel, jeremy.moore
#jira none
#rnx
#preflight 626ad0f4a5009ff191bb6bf6

[CL 19969680 by Stu McKenna in ue5-main branch]
2022-04-28 17:33:51 -04:00
Stu McKenna
b9dceafa98 - Add support for FUintVector3 & FQuat4f as shader parameters
#rb michael.galetzka
#jira none
#preflight 626ad1306461dd769ff1fc64

[CL 19969145 by Stu McKenna in ue5-main branch]
2022-04-28 17:12:47 -04:00
Yuriy ODonnell
9a1cc4c8af Add basic GPU based validation of ray tracing scene build parameters
#rb Aleksander.Netzel
#preflight 6269ba284510fc7faaf832c6

[CL 19962852 by Yuriy ODonnell in ue5-main branch]
2022-04-28 11:37:26 -04:00