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]
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]
#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]
- 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]
- 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]
#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]
#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]