Commit Graph

594 Commits

Author SHA1 Message Date
tim smith
4054a68024 LiveCoding no longer generates errors about object files being missing after a source file is removed from a unity file by live coding.
#rb matt.peters
#jira UE-178179
#preflight 63f76d53977ceed915b08cbe

[CL 24386202 by tim smith in ue5-main branch]
2023-02-23 14:27:56 -05:00
christopher waters
9528ba3b7a Moving WindowsTargetPlatform headers to Public for even wider access.
[CL 24372050 by christopher waters in ue5-main branch]
2023-02-22 18:03:13 -05:00
christopher waters
aa19fcb984 Moving some headers to an Internal path.
Touching the build.cs to invalidate the old paths.

[CL 24371987 by christopher waters in ue5-main branch]
2023-02-22 18:01:27 -05:00
tim smith
20d5198a07 Fixed issue in LiveCoding preload module support where if a module name is known but not currently loaded, the engine would generate a check.
#rb devin.doucette
#jira UE-177805
#preflight 63f4f6f19b26c4957e0b8914

[CL 24345013 by tim smith in ue5-main branch]
2023-02-21 13:47:53 -05:00
Laura Hermanns
413c2d6795 Report SCW error code for E_OUTOFMEMORY in DXBC backend.
#rb Dan.Elksnitis
#fyi Jason.Nadro
#jira none
#preflight 63ed05b3956709374a0b604d
#rnx

[CL 24234442 by Laura Hermanns in ue5-main branch]
2023-02-15 13:08:05 -05:00
Tim Smith
63c7a8c63a Fixed LiveCodingConsole to handle the patching of coroutines.
#rb self
#jira UE-176273
#preflight 63ea94adb91ae11c1ccaa001

[CL 24185562 by Tim Smith in ue5-main branch]
2023-02-13 15:08:14 -05:00
Laura Hermanns
168b1eda5f Add compiler invocations to shader compilation stats.
Example output with D3D11 RHI: "Compiler invocations: DXC (72 pre-compile steps / 74), Legacy FXC (5736), Platform compiler (NO)"

#rb Jason.Nadro
#fyi Dan.Elksnitis, Arciel.Rekman, Carl.Lloyd, JeanNoe.Morissette
#jira none
#rnx
#preflight 63e68f03432f5b48694e5401

[CL 24124722 by Laura Hermanns in ue5-main branch]
2023-02-10 14:14:14 -05:00
dan elksnitis
7652723a90 [shaders] d3d (both dxc & fxc) compile backend multithreading fixes; stripping out vestigial path allowing FXC DLL to be overridden by a parameter.
#rb Jason.Nadro
#rb Laura.Hermanns
#preflight 63e273719910415ae2f9b47d

[CL 24049999 by dan elksnitis in ue5-main branch]
2023-02-07 11:09:42 -05:00
tim smith
a6a1bcf63b Fixed issue with LiveCoding where large projects might not have enough memory reserved around libraries preventing patching.
#rb josh.adams, self
#preflight 63d9550fba4fadeef097c212

[CL 23935004 by tim smith in ue5-main branch]
2023-01-31 14:46:34 -05:00
tim smith
bcf0ae33a5 Fixed a message formatting issue
#rb self
#rnx
#preflight 63d9341ecf52968117ac2733

[CL 23929343 by tim smith in ue5-main branch]
2023-01-31 12:08:16 -05:00
tim smith
ad7274f76c Fix compilation issue with VS2019
#rb self
#rnx
#preflight 63d82e52d21dbe1d296cf453

[CL 23923504 by tim smith in ue5-main branch]
2023-01-31 01:17:32 -05:00
tim smith
ccf1af206b Added a new LiveCoding command that allows for a single command to add both types of modules and a list of reserved pages.
#rb self
#rnx
#preflight 63d80c8a1f0aa8a2895c9d22

[CL 23923296 by tim smith in ue5-main branch]
2023-01-31 01:12:06 -05:00
Yuriy ODonnell
1dfc32d42d Enable r.Shaders.RemoveDeadCode by default for all back-ends except Metal and OpenGL
* Significantly reduces the size of shader debug data and improves shader compilation time (reducing parsing cost in the native shader compiler)
* Remove "experimental" label for the feature

#rb Jason.Nadro
#preflight 63d455d9be1970f8824c3f9b

[CL 23894592 by Yuriy ODonnell in ue5-main branch]
2023-01-27 18:24:18 -05:00
bryan sefcik
1309f08d58 Added helper functions to the DirectX module that returns paths to the DirectX include, lib and dll directories.
#rb joe.kirchoff
#preflight 63cf0f5af2318350a220c710
#jira

[CL 23824085 by bryan sefcik in ue5-main branch]
2023-01-23 18:19:13 -05:00
dan elksnitis
e76b6207a1 [shaders] remove unneccessary global vars from D3D compile backend
#preflight 63c980120274c9f5fb7a3434
#rb Yuriy.ODonnell
#rb Jason.Nadro

[CL 23778371 by dan elksnitis in ue5-main branch]
2023-01-19 14:36:43 -05:00
Laura Hermanns
9beca15f48 Fix loop unrolling issue in DOFGatherKernel shader for updated DXC.
#rb Guillaume.Abadie
#fyi Yuriy.Odonnell
#jira none
#rnx
#preflight 63c6be337763631ba1295c28

[CL 23738444 by Laura Hermanns in ue5-main branch]
2023-01-17 10:34:52 -05:00
tim smith
d447f60f19 Fixed LiveCoding issue where if a typo is made in the preloaded module list, the game would hit a breakpoint.
#rb self
#preflight 63c54a302e714f64adda77e0

[CL 23729054 by tim smith in ue5-main branch]
2023-01-16 09:26:35 -05:00
bob tellez
971983eb65 [Backout] - CL23624045
[FYI] christopher.waters
Original CL Desc
-----------------------------------------------------------------
RHI header dependency cleanup
- Reducing other header dependencies from RHIDefinitions.h
- Moved a few functions to the new RHIStrings.h
- Uniform buffer layout initializer moved to its own file to reduce RHI dependency on MemoryLayout.

#preflight 63bca752577437afe604b097

[CL 23631957 by bob tellez in ue5-main branch]
2023-01-10 15:28:15 -05:00
christopher waters
3df5dae685 RHI header dependency cleanup
- Reducing other header dependencies from RHIDefinitions.h
- Moved a few functions to the new RHIStrings.h
- Uniform buffer layout initializer moved to its own file to reduce RHI dependency on MemoryLayout.

#preflight 63bca752577437afe604b097

[CL 23631946 by christopher waters in ue5-main branch]
2023-01-10 15:27:33 -05:00
laura hermanns
b3a1d2a276 Fix temporary string object in D3DShaderCompiler. Related CL 20260406.
#rb Brandon.Schaefer
#preflight 63b495cc35203bc7aac92606
#rnx

[CL 23571271 by laura hermanns in ue5-main branch]
2023-01-03 17:49:20 -05:00
bryan sefcik
c998a06737 Fixes to get arm64 and arm64ec to partially compile.
#jira
#fyi josh.adams
#preflight 6392612567018b14b5af1d5f

[CL 23456665 by bryan sefcik in ue5-main branch]
2022-12-08 17:28:30 -05:00
christopher waters
6e30ddb01e Dependency cleanup around DataDrivenShaderPlatformInfo and a few other headers.
#preflight 63921e6a67018b14b5925197

[CL 23454104 by christopher waters in ue5-main branch]
2022-12-08 15:35:35 -05:00
Yuriy ODonnell
bddca76c94 ShaderMinifier - Add support for dead code removal to all shader formats
* Add code to all shader format back-ends to take dead code removal into account when computing the version ID
* Not enabled in Metal and OpenGL back-ends (require further testing)

#rb dan.elksnitis
#preflight 6390f1f15c5308d18c7364fb

[CL 23433448 by Yuriy ODonnell in ue5-main branch]
2022-12-07 15:13:42 -05:00
laura hermanns
bcf95545bd Add host machine name to OOM report in DXC backend and refactor global SCW error-code handling. Bumped ShaderCompileWorkerOutputVersion to 9.
#rb Jason.Nadro, Dan.Elksnitis, Yuriy.Odonnell, Arciel.Rekman
#preflight 638e610c255f07df8ea212f4
#rnx

[CL 23428544 by laura hermanns in ue5-main branch]
2022-12-07 10:29:08 -05:00
kate ellis
839f9f1889 [Backout] - CL23401851
[FYI] Laura.Hermanns
Original CL Desc
-----------------------------------------------------------------
Add host machine name to OOM report in DXC backend and refactor global SCW error-code handling.

#rb Jason.Nadro, Dan.Elksnitis, Yuriy.Odonnell, Arciel.Rekman
#preflight 638e610c255f07df8ea212f4
#rnx

[CL 23421737 by kate ellis in ue5-main branch]
2022-12-06 19:47:06 -05:00