Commit Graph

105 Commits

Author SHA1 Message Date
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
christopher waters
c53cd84637 Make sure we use the checked in version of d3dcompiler_47.dll when loading the d3d shader format. Also make sure that version goes along in SN-DBS.
#jira none
#rb arciel.rekman, lukas.hermanns

[CL 14883307 by christopher waters in ue5-main branch]
2020-12-08 17:50:55 -04:00
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
Lukas Hermanns
5acb4c83b6 DXC Update: SCW backends.
#rb none
#fyi Mihnea.Balta, Rolando.Caloca, Will.Damon, Jonas.Meyer, Michael.Sartain
#jira none
#rnx

[CL 14832278 by Lukas Hermanns in ue5-main branch]
2020-12-01 19:33:51 -04:00
Rolando Caloca
8c5dda23da UE5 - Proper fix for r.Shaders.KeepDebugInfo passing in the FRHIShader::ShaderName correctly
Initial fixes and tested on D3D11, D3D12 and Vulkan
Changed 'n' to FShaderCodeName::Key
Also added checks if trying to add optional shader data out of order
#rb Jonas.Meyer, Kenzo.Terelst, Mihnea.Balta

[CL 14816162 by Rolando Caloca in ue5-main branch]
2020-11-26 13:34:15 -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
zach bethel
fbbedc9910 Fix for RGS not finding global uniform buffers.
#rb yuriy.odonnell

[CL 14601037 by zach bethel in ue5-main branch]
2020-10-28 13:32:40 -04:00
christopher waters
5a905dcc66 Fixing static analysis warnings.
Each case is a "if (BindDesc.Type == D3D_SIT_TEXTURE || BindDesc.Type == D3D_SIT_SAMPLER)" block that has "if (BindDesc.Type == D3D_SIT_SAMPLER) {} else if (BindDesc.Type == D3D_SIT_TEXTURE) {}", the second condition should just be an else.

#jira UE-101644
#rb Arciel.Rekman

[CL 14548383 by christopher waters in ue5-main branch]
2020-10-22 16:04:07 -04:00
christopher waters
1fefa64f2f Updating "D3D10" type usages to the version agnostic "D3D"
#jira none
#rb Arciel.Rekman, Lukas.Hermanns

[CL 14397141 by christopher waters in ue5-main branch]
2020-09-25 12:21: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
65b0137579 M2 - DX11 shader creation errors due to Extension and DXIL shaders passed into DX11 when r.CreateShadersOnLoad=1 is used
#jira UE-96404
[FYI] Arciel.Rekman, Yuriy.ODonnell, Graham.Wihlidal
#RB Graham.Wihlidal

#ROBOMERGE-OWNER: arne.schober
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 14325095 in //UE5/Release-5.0-M2/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-M2 -> Main) (v738-14305781)

[CL 14325304 by arne schober in ue5-main branch]
2020-09-15 22:14:11 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Rolando Caloca
05132dc581 S - Change DXC unroll issue from error to warning
#rb Graham.Wihlidal
#rnx
#jira none

[CL 14037315 by Rolando Caloca in ue5-main branch]
2020-08-05 11:03: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
rob krajcarski
af02155770 Tweak D3d shader compiler to cleanly report error with too many UAV's rather than issuing a fatal error
#jira none
#rb stu.mckenna
#lockdown Marcus.Wassmer

#ROBOMERGE-SOURCE: CL 12928868 in //UE4/Release-4.25/... via CL 12928880 via CL 12928942
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12928955 by rob krajcarski in Main branch]
2020-04-20 14:24:11 -04:00
rolando caloca
369d6d8b29 UE4.25 - Compile fix
#rb none
#rnx
#jira
#lockdown Marcus.Wassmer

#ROBOMERGE-SOURCE: CL 12874478 in //UE4/Release-4.25/... via CL 12874480 via CL 12874484
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12874493 by rolando caloca in Main branch]
2020-04-16 18:06:51 -04:00
rolando caloca
d1c7cbbd16 UE4.25 - Disambiguates crashes from inside a platform shader compiler
#rb Lukas.Hermanns
#rnx
#jira UE-79375
#lockdown Marcus.Wassmer

#ROBOMERGE-SOURCE: CL 12872434 in //UE4/Release-4.25/... via CL 12872446 via CL 12872449
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12872452 by rolando caloca in Main branch]
2020-04-16 16:36:56 -04:00
eric mcdaniel
6215a145a2 Remove shader compilation flag CFLAG_SkipOptimizationsDXC
- this was added to aid DXC bring up and is no longer needed
  - there are no active references

#rb David.Harvey
#jira none
#rnx
#ushell-cherrypick of 12599316 by eric.mcdaniel

#ROBOMERGE-SOURCE: CL 12754507 in //UE4/Release-4.25Plus/... via CL 12783839
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12786352 by eric mcdaniel in Main branch]
2020-04-14 16:52:50 -04:00
eric mcdaniel
d04fb9c062 Add cvar to disable shader validation errors
- add support for disabling shader validation
    - UE flag already existed but didn't result in additional args being given to the shader compiler
      - D3D shader compiler now respects the flag
    - added new cvar r.Shaders.Validation to drive this globally
      - enabled by default

#rb David.Harvey
#jira none
#ushell-cherrypick of 12081058 by eric.mcdaniel

#ROBOMERGE-SOURCE: CL 12726824 in //UE4/Release-4.25Plus/... via CL 12781742
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12782558 by eric mcdaniel in Main branch]
2020-04-14 13:41:04 -04:00
juan canada
d3ed04f590 Added support for static samplers for D3D12 shaders compiled with DXC for PC.
#rb Rolando.Caloca
#jira none


#ushell-cherrypick of 12581778 by Yuriy.ODonnell

#ROBOMERGE-SOURCE: CL 12624927 in //UE4/Release-4.25/... via CL 12624931 via CL 12624933
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12624936 by juan canada in Main branch]
2020-04-06 13:21:00 -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
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
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
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00