Commit Graph

9 Commits

Author SHA1 Message Date
daniele vettorel
e39770acde Support exporting shader symbols info for PC D3D_SM6 shaders.
The PDB name is either retrieved from the PDB blob part of DXC's output, or is generated using the shader hash that DXC reports even when no PDB is requested. We don't export PDBs because it would result in duplicate data as we use embedded PDBs.

#rb christopher.waters, Laura.Hermanns

[CL 29723169 by daniele vettorel in ue5-main branch]
2023-11-14 15:18:29 -05:00
matt peters
e53bae0868 MPCook: Add global function UE::GetMultiprocessId to handle the commandline parsing of MultiprocessId for CookWorkers.
#rnx
#rb Zousar.Shaker

[CL 28938402 by matt peters in ue5-main branch]
2023-10-19 18:18:01 -04:00
tom holmes
0c53e701a0 Improve ShaderSymbols.info file generation in multicook scenarios
Dedupe info where multiple workers built same shader

#rb Ben.Woodhouse
#tests local runs, compare of farm built files attached in bug

[CL 27995633 by tom holmes in ue5-main branch]
2023-09-19 10:46:28 -04:00
tom holmes
c847704982 Mutate DDC string since platform symbol serialization data changed
Protect WriteSymbolData if the Filename is empty

#jira UE-190842
[REVIEW] [at]matt.peters
#tests cooking CitySample

[CL 26528753 by tom holmes in ue5-main branch]
2023-07-21 18:27:54 -04:00
tom holmes
ece26e8d8b Support for slim ShaderSymbols.info / r.Shaders.SymbolsInfo=1
Platforms can return a platform hash and a blob of text data to go with that hash
These are stored one / line in ShaderSymbols.info in lieu of full PDB info
Useful when full shader PDBs are impractically large, info-only is much smaller

#rb dan.elksnitis, john.huelin, serge.bernier
#tests test on cooking Lyra, various platforms, noddc and ddc

[CL 26496825 by tom holmes in ue5-main branch]
2023-07-20 16:51:51 -04:00
Matt Peters
c9f018dced Use ZipArchiveReader to merge shader symbol zip files created during MPCook.
#rb Christopher.Waters
#rnx
#preflight 638643c47b4bd3f057981494

[CL 23313433 by Matt Peters in ue5-main branch]
2022-11-29 13:13:26 -05:00
Matt Peters
2b78f8441a ShaderSymbolExport: Rename temporary class to avoid name collision with the real class that has just been implemented.
#rb None, trivial
#rnx
#preflight None, Nottestedbypreflight

[CL 23300398 by Matt Peters in ue5-main branch]
2022-11-28 19:20:39 -05:00
matt peters
d2bb8963dd ShaderSymbolExport: Fix missing header for non-unity compile.
#rnx
#rb None, trivial
#preflight None, fixing build break

[CL 23263099 by matt peters in ue5-main branch]
2022-11-24 19:15:00 -05:00
christopher waters
85bd9bb007 Moving ShaderSymbolExport implementation into its own compilation unit.
#jira none
#rb matt.peters
#preflight 637d24918b12eb83a7ddea74

[CL 23241530 by christopher waters in ue5-main branch]
2022-11-22 16:14:14 -05:00