Commit Graph

29 Commits

Author SHA1 Message Date
zach bethel
0d7dc4d4ed Refactor of uniform buffer binding to allow for runtime selection of static or per-shader binding. This is a necessary precursor to moving the View uniform buffer to use static bindings on mesh passes; it is used in so many places that both binding models are required to preserve compatibility. Added validation to catch when a uniform buffer is bound using both methods at the same time. Added CVar to RHI transition validation to control whether to break in the debugger on a transition failure.
#rb christopher.waters

[CL 14873973 by zach bethel in ue5-main branch]
2020-12-07 17:42:32 -04:00
Arciel Rekman
0b33750c15 Fix shader binding type validation for external textures (UE-102423).
#rb Zach.Bethel
#review-14697340 @Zach.Bethel, @Chris.Phillips
#jira UE-102423

[CL 14707378 by Arciel Rekman in ue5-main branch]
2020-11-10 15:35:31 -04:00
Zabir Hoque
ad7cd632a5 Copied shader pipeline and changes to RDG/Shader system to support dynamic param binding struct creation. Actual dynmaic param binding generation is stubbed. Parsing SRVs UAVs and Params from shaders.
#codereview: Juan.Canada; Carlos.Gonzalez; Halfdan.Ingvarsson; Zach.Bethel; Ben.Ingram; Arciel.Rekman

[CL 14639123 by Zabir Hoque in ue5-main branch]
2020-11-02 21:40:25 -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
Arne Schober
1271d7c57a SS - Fix PVS:'ChildStruct' pointer was utilized before it was verified against nullptr
#jira UE-96290
#RB

[CL 14024440 by Arne Schober in ue5-main branch]
2020-08-04 09:19:56 -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
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
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
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
guillaume abadie
3800e7ad84 Cherry-pick 10232550: Validates shader parameter structure layout before submitting to RHI
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 10232581 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v590-10202696)

[CL 10232585 by guillaume abadie in Main branch]
2019-11-14 19:25:20 -05:00
Rolando Caloca
f83ae4807a Copying //UE4/Dev-Rendering@9317594 to Dev-RenderPlat-Staging
#rb none
#rnx

[CL 9317904 by Rolando Caloca in Dev-RenderPlat-Staging branch]
2019-10-01 13:03:04 -04:00
Marcus Wassmer
ded7cece25 Copying //UE4/Dev-Rendering@8444433 to Dev-RenderPlat-Staging (//UE4/Dev-RenderPlat-Staging)
#rb none

[CL 8445676 by Marcus Wassmer in Dev-RenderPlat-Staging branch]
2019-09-03 19:19:28 -04:00
Devansh Maheshwari
ef1714db3b Texture2DArray Implementation, big CL, enable feature with r.AllowTexture2DArrayCreation. Can create texture arrays from editor, use them in materials and contains several texture editor viewport changes.
#jira UE-73297
#rb Rolando.Caloca, Uriel.Doyon, Lukas.Hermanns

[CL 8091312 by Devansh Maheshwari in Dev-Rendering branch]
2019-08-16 11:14:58 -04:00
zach bethel
a7d4a8bc8d Added validation to assert when multiple uniform buffer definitions are registered with the same shader variable name.
#rb Sebastien.Hillaire
#jira none

[CL 7609988 by zach bethel in Dev-Rendering branch]
2019-07-24 12:45:25 -04:00
Rolando Caloca
aa0d2303d6 Copying //UE4/Dev-Rendering to Dev-Main (//UE4/Dev-Main) @ 6944469
#rb none
#rnx

[CL 6944849 by Rolando Caloca in Main branch]
2019-06-11 18:27:07 -04:00
Guillaume Abadie
ce9f386423 Fixes a bug in ClearUnusedGraphResources() by ensuring member metadata is sorted by byte offset in the shader parameter structure.
#rb none

[CL 5823849 by Guillaume Abadie in Dev-Rendering branch]
2019-04-10 16:51:29 -04:00
Guillaume Abadie
e3bf3fb5f4 Implements SHADER_PARAMETER_STRUCT_ARRAY()
#rb none

[CL 5817024 by Guillaume Abadie in Dev-Rendering branch]
2019-04-09 21:17:55 -04:00
Guillaume Abadie
16bb9c8734 Adds a TODO(RDG) on an important CPU perf investigation to be done
#rb none

[CL 5715325 by Guillaume Abadie in Dev-Rendering branch]
2019-04-03 18:43:52 -04:00
Rolando Caloca
532adaa65c DR - Merging //UE4/Dev-Main@5531558 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
#rnx

[CL 5591014 by Rolando Caloca in Dev-Rendering branch]
2019-03-27 11:33:31 -04:00
Marcus Wassmer
459dd9960c Force integrate 5317515 from release-4.22 to fix some issues with 'undo'.
#rb none

[CL 5337699 by Marcus Wassmer in Main branch]
2019-03-07 11:25:32 -05:00
Juan Canada
d2f93b57b2 Undo //UE4/Main/... changelist 5335728
#rb marcus.wassmer

[CL 5335770 by Juan Canada in Main branch]
2019-03-06 23:59:18 -05:00
Juan Canada
27b0d7a824 Copying //UE4/Private-Woodchuck-Staging[at]5316917 to Release-4.22 (//UE4/Release-4.22)
#rb none
#JIRA

#ROBOMERGE-OWNER: Juan.Canada
#ROBOMERGE-AUTHOR: juan.canada
#ROBOMERGE-SOURCE: CL 5317515 in //UE4/Release-4.22/...
#ROBOMERGE-BOT: RELEASE (Release-4.22 -> Main)

[CL 5335728 by Juan Canada in Main branch]
2019-03-06 23:42:45 -05:00
Marcus Wassmer
cbfcbbb93b Merging //UE4/Dev-Main@4662404 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
Should be just copyright updates

[CL 4680440 by Marcus Wassmer in Dev-Rendering branch]
2019-01-03 19:16:26 -05:00
Marcus Wassmer
4cc088f35c Copying //UE4/Dev-Rendering-HLR@4669539 to Dev-Rendering (//UE4/Dev-Rendering)
#rb none
#lockdown rolando.caloca

[CL 4669551 by Marcus Wassmer in Dev-Rendering branch]
2018-12-18 21:41:17 -05:00
Guillaume Abadie
41e0e07760 Cherry-pick 4514566: Converts FDirectionalLightOcclusionRG to render graph and shader parameter struct API.
This notably implements SHADER_USE_ROOT_PARAMETER_STRUCT(), that is able to generate a cbuffer
for the shader's FParameters struct automatically, without requiring passing through a global shader parameter struct.

#rb yuriy.odonnell, patrick.kelly

[CL 4588603 by Guillaume Abadie in Dev-Rendering branch]
2018-11-21 18:45:02 -05:00