Commit Graph

10 Commits

Author SHA1 Message Date
laura hermanns
0dddfc208e [DXC] Revert temporary fix in DXC and integrate public fix. Reverts CL 32280203.
- Cherry pick commit 11ee8de from GitHub to fix issue with constant evaluation of intrinsics with LitFloat arguments.
- Disable assertion of function overloading for LitFloat types.
- Rebuilt DXC for Win64, Mac, Linux.
- Revert temporary UBA fix and use DXC binary hasing again for DDC key.

#rb Dan.Elksnitis
[FYI] Graham.Wihlidal, Yuriy.Odonnell, Florin.Pascu, Henrik.Karlsson
#rnx

[CL 32335434 by laura hermanns in ue5-main branch]
2024-03-19 15:20:21 -04:00
laura hermanns
4b6652e7dc [DXC] Fix CIS build issue with DXC by interpreting float-literals as float instead of double.
- Interpret floating-point literlas as 'float'-type instead of 'double'-type in ASTContext.
- Integrated missing fix in DeclPrinter.cpp that was accidentally reverted during GitHub merge.

#rnx
#rb graham.wihlidal
[FYI] Yuriy.Odonnell, Dan.Elksnitis, Chris.Kulla, Massimo.Tristano

[CL 32280236 by laura hermanns in ue5-main branch]
2024-03-15 14:37:03 -04:00
laura hermanns
815e1b4690 [DXC] Temporarily disable DXC versioning to fix new DXC version with UBA.
"ImageGetDigestStream" is used to hash the dxcompiler.dll and dxil.dll files to detect outdated SCW builds. This function is buggy on POSIX/Wine, which is used in UBA and causes all shader complations through DXC to fail.

#rb Yuriy.Odonnell
[FYI] Henrik.Karlsson, Dan.Elksnitis
#rnx

[CL 32262207 by laura hermanns in ue5-main branch]
2024-03-14 18:08:57 -04:00
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