Commit Graph

7 Commits

Author SHA1 Message Date
dan elksnitis
cfa3219e31 [shaders] use ImageGetDigestStream for hashing DXC DLLs (to exclude signature/certificate data) instead of hashing the entire binary. This allows us to get the same version # for both signed and unsigned DLLs, and so fixes recompilation of shaders on initial startup of packaged release builds. Hashing was changed to xxhash which provides an iterative hashing API as required by this change (cityhash does not have such an API).
#jira UE-175638
#preflight 63e3e34dc11233cdcad2694c
#rb Yuriy.ODonnell
#rb Jason.Nadro
#lockdown Juan.Canada

[CL 24082354 by dan elksnitis in ue5-main branch]
2023-02-08 16:13:26 -05:00
lukas hermanns
2fb43751e2 Always read DLL file to hash DXC version.
#author Yuriy.ODonnell
#rb Lukas.Hermanns
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 15341050 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15341057 by lukas hermanns in ue5-main branch]
2021-02-05 15:45:40 -04:00
lukas hermanns
a59c5021e7 Add missing #include directive in DXCWrapper.cpp.
#rb none
[FYI] Yuriy.ODonnell
#jira UE-107871
#rnx

#ROBOMERGE-SOURCE: CL 15340670 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15340674 by lukas hermanns in ue5-main branch]
2021-02-05 15:18:17 -04:00
Lukas Hermanns
a4dfdcd0ad Moved dxil.dll from DirectX folder into ShaderConductor binary folder and load dxil.dll manually to ensure it's always loaded from that location.
#rb Yuriy.ODonnell, Emil.Persson, Kenzo.Terelst
#fyi Mihnea.Balta, Rolando.Caloca, Graham.Wihlidal
#jira none
#rnx

[CL 15337426 by Lukas Hermanns in ue5-main branch]
2021-02-05 10:29:11 -04:00
Yuriy ODonnell
8789e0bb07 Include shader compiler DLL version in FShaderFormatD3D/Vulkan::GetVersion(), similar to how it's done for other platforms.
#rb Lukas.Hermanns

[CL 15276007 by Yuriy ODonnell in ue5-main branch]
2021-02-01 18:54:58 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -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