Commit Graph

92 Commits

Author SHA1 Message Date
Ryan Hummer
651fd36b36 [Backout] - CL25234782
#fyi david.harvey
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL25233036

tbbmmalloc.pdb seems to also be generated by the build process & there's a weird timestamp issue.

Original CL Desc
-----------------------------------------------------------------
Make sure TBB DLLs use /DYNAMICBASE

 (on behalf of Refik Karic)

#rb Refik.Karic, David.Harvey
#jira UE-183060
#rnx
#preflight 644bdfca09453df54842c103

[CL 25287927 by Ryan Hummer in ue5-main branch]
2023-05-01 14:14:04 -04:00
david harvey
bb634214ba [Backout] - CL25233036
tbbmmalloc.pdb seems to also be generated by the build process & there's a weird timestamp issue.

Original CL Desc
-----------------------------------------------------------------
Make sure TBB DLLs use /DYNAMICBASE

 (on behalf of Refik Karic)

#rb Refik.Karic, David.Harvey
#jira UE-183060
#rnx
#preflight 644bdfca09453df54842c103

[CL 25234782 by david harvey in ue5-main branch]
2023-04-28 13:01:18 -04:00
David Harvey
7696e9a411 Make sure TBB DLLs use /DYNAMICBASE
(on behalf of Refik Karic)

#rb Refik.Karic, David.Harvey
#jira UE-183060
#rnx
#preflight 644bdfca09453df54842c103

[CL 25233036 by David Harvey in ue5-main branch]
2023-04-28 11:26:56 -04:00
chris kulla
55396056d2 Path Tracer: Speedup OpenImageDenoise plugin
Re-use memory allocations for CPU buffers in OpenImageDenoise plugin. Instead of creating a new array every time we run the denoiser, try to keep the old one around, assuming that the resolution is rarely changing. Also try to re-use the oidn filter as long as the pixel array and resolution has not changed.

Change from ReadSurfaceData method which does its own memory allocations to directly using LockTexture2D which lets us read the GPU texture data directly.

This saves up to 50ms of denoising time for typical editor resolutions.

Upgrade from OpenImageDenoise 1.4.0 to 1.4.1 as this fixes a crash with in-place denoising which we are now using. I did not update to the latest 1.4.3 to avoid changing the tbb dependency.

#jira none
#rb Tiantian.Xie
#preflight 642f6928ce7fbea1eebed616

[CL 24969720 by chris kulla in ue5-main branch]
2023-04-07 16:30:04 -04:00
mihnea balta
7fa154b936 Use the new detection mechanism for 64-bit atomic emulation in the Intel driver extensions library.
Contributed by Hugo Lamarche (Intel).

#jira UE-182056
#rnx
#preflight https://horde.devtools.epicgames.com/job/642ec82ed6069e71b1e40d2b
#rb christopher.waters
#lockdown mihnea.balta

[CL 24943987 by mihnea balta in ue5-main branch]
2023-04-06 10:27:42 -04:00
Wojciech Krywult
a6133921c6 ISPC: Fixed compilation warnings caused by an incorrect macros used in version 1.19.0 (it's a preparation step before upgrading to 1.19, we're still on 1.18)
#preflight https://horde.devtools.epicgames.com/job/640f95ca3c2db4002998e6c9
#rb none
#rnx

[CL 24622845 by Wojciech Krywult in ue5-main branch]
2023-03-13 17:46:25 -04:00
Wojciech Krywult
0f92645b4f ISPC 1.19.0 source
#jira none
#rb none
#preflight none
#rnx

[CL 24600184 by Wojciech Krywult in ue5-main branch]
2023-03-10 18:22:22 -05:00
Wojciech Krywult
91c4fce48e Copying
//UE5/Main/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.18.0/...
to //UE5/Main/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.19.0/...

#jira none
#rb none
#preflight none
#rnx

[CL 24600126 by Wojciech Krywult in ue5-main branch]
2023-03-10 18:18:51 -05:00
bryan sefcik
ff81794e79 Windows ARM64EC fixes.
#fyi josh.adams
#preflight 63d1c8b96a14d8406d8bc780

[CL 23862381 by bryan sefcik in ue5-main branch]
2023-01-25 19:48:06 -05:00
josh adams
1610c3bee3 UnrealArch/UnrealArchitectures changes
- Creates the UnrealArchitectures class, which wraps a list of UnrealArch objects
 - UnrealArch is a single architecture, expandable enum-like struct
 - There is no more concept of "no/default architecture", there is always a valid active architecture when building
 - Most uses of "string Architecture" are replaced with one of the two above, depending if multiple architectures are supported or not
 - UnrealArch has some platform-extensions for platform-specific naming (like Linux adds in LinuxName that turns, for instance, Arm64 -> aarch64-unknown-linux-gnueabi, which is used in folder names, etc)
 - UnrealArch has bIsX64 which can be used determine intel instruction set (as opposed to arm)
 - TargetRules class has an "Architecture" accessor that will return a single architecture if the active architectures is a single architecture, or throw an exception if multiple. This is useful in a majority of the cases where a paltform can only have a single architecture active in TargetRules (microsoft platforms, for instance, will create separate targets when compiling multiple architectures at once)
 - Added UnrealArchitectureConfig class, which contains all the architecture information for a platform (what architectures are supported, what ones are currently active for given project, etc)

#preflight 63c81fb5b065224750a1759e
#rb mike.fricker,roman.dzieciol,joe.kirchoff,dmytro.vovk,brandon.schaefer [various parts]
#p4v-preflight-copy 23562471

[CL 23829977 by josh adams in ue5-main branch]
2023-01-24 09:30:28 -05:00
UnrealBot
f4f88f9953 Branch snapshot for CL 23645670
[CL 23645670 in ue5-main branch]
2023-01-11 15:58:26 +00:00
christopher waters
b0129a8dec Cleanup of D3D12 RHI build scripts
- Rework some misleading platform checks.
- Always include the ThirdParty modules, those modules can control whether they're supported or not based on the TargetRules.

#jira none
#rb elizabeth.baumel, bryan.sefcik, robert.srinivasiah
#preflight 63b4913d1c35d1cbdb50aa04

[CL 23569739 by christopher waters in ue5-main branch]
2023-01-03 16:07:54 -05:00
Josh Adams
b337b06556 - Allow for a platform to compile for multiple architectures, and have the high-level compile separately, and then link not separately (this means we can't use the one-target-per-architecture stuff that is already present)
- Mac changes to compile separately,  but link together (with lipo) after making two .dylibs/executables
- Removed FixDylibDependencies on Mac by making "stub dylibs" to mimic what Windows does with import libs, to solve circular dependencies
- Added DependenciesToSkipByArchitecture to ModuleRules that is used, when making a new single-arch LinkEnvironment from a multi-arch LinkEnvironment, to strip out libraries, etc, that should not be included with that single architecture
#preflight 6387891b4004f73f623c85a0
#rb zack.neyland

[CL 23336522 by Josh Adams in ue5-main branch]
2022-11-30 13:38:45 -05:00
robert srinivasiah
b30b164b8e IntelMetricsDiscovery: enable linking against debug binaries
#preflight 636b0c65f56cab38c750db5b
#rb Christopher.Waters
#jira trivial

[CL 23060770 by robert srinivasiah in ue5-main branch]
2022-11-09 14:59:11 -05:00
joe kirchoff
e4b870ac3b Update external modules to add include paths to PublicSystemIncludePaths rather than PublicIncludePaths
#rnx
#rb trivial

[CL 22876134 by joe kirchoff in ue5-main branch]
2022-10-31 20:55:55 -04:00
christopher waters
0eb81eb10c Updating Intel ExtensionsFramework to get the new INTC_D3D12_GetResourceAllocationInfo method.
Using INTC_D3D12_GetResourceAllocationInfo to get correct resource sizes when using 64bit atomics on Intel.

#jira UE-167783
#rb mihnea.balta
#preflight 63505afbb7420ffb4a8c6366
#rnx
#lockdown Mihnea.Balta

[CL 22662558 by christopher waters in ue5-main branch]
2022-10-20 13:44:14 -04:00
fabian giesen
8054068be0 ISPC texcomp fix for certain solid-color blocks with low alpha values.
#rb dan.thompson, charles.bloom
#preflight 6328c6c0f87253e021d6faeb

[CL 22105648 by fabian giesen in ue5-main branch]
2022-09-20 19:52:57 -04:00
Joe Kirchoff
aaecba3c28 UnrealBuildTool: Allow building ISPC when runing static analysis so definitions don't need to be changed
#rnx
#rb trivial
#preflight 6312659a2b7fe03eb6db2dee

[CL 21768234 by Joe Kirchoff in ue5-main branch]
2022-09-02 17:39:37 -04:00
christopher waters
9d5ce4ed50 Intel ExtensionsFramework version update.
Adding Intel runtime support for atomic 64.
Based on changes provided by Robert.Kawiak at Intel.

#jira none
#rb mihnea.balta
#preflight 6308e6725a79fe735696e06f

[CL 21592544 by christopher waters in ue5-main branch]
2022-08-26 12:45:41 -04:00
Nick Darnell
d75cbc192e Core - Updating the TBB copy location so that the dll and pdb end up in the same place to make generating portable symbols easier.
Build - updating the tempstorage build graph script to ignore additonal pdb build products for tbb.

#jira UE-159742
#preflight 62d5e73ec0180d80715a8b8d

[CL 21161802 by Nick Darnell in ue5-main branch]
2022-07-19 10:00:06 -04:00
Nick Darnell
fed4cd3824 [Backout] - CL21154616
#fyi Nick.Darnell
Original CL Desc
-----------------------------------------------------------------
Core - Updating the TBB copy location so that the dll and pdb end up in the same place to make generating portable symbols easier.

#jira UE-159742
#preflight 62d5e73ec0180d80715a8b8d

[CL 21156651 by Nick Darnell in ue5-main branch]
2022-07-18 21:39:22 -04:00
Nick Darnell
fc6ccc3fc2 Core - Updating the TBB copy location so that the dll and pdb end up in the same place to make generating portable symbols easier.
#jira UE-159742
#preflight 62d5e73ec0180d80715a8b8d

[CL 21154616 by Nick Darnell in ue5-main branch]
2022-07-18 19:15:15 -04:00
Joe Kirchoff
f4ac91cbf0 UnrealBuildTool: Update Target.WindowsPlatform.StaticAnalyzer -> Target.bStaticAnalyzer so it can be shared with the Clang toolchains, marking the old properties and enums as obsolete
#rnx
#rb Ben.Marsh
#preflight 62c5db38b47aed4cf108e4ee

[CL 20971113 by Joe Kirchoff in ue5-main branch]
2022-07-06 15:06:26 -04:00
will damon
589fb42994 Remove the old version of ISPCTextureCompressor
#rb chris.babcock
#jira none
#rnx
#preflight 629a2fc5090519c4ec1367c4

[CL 20487982 by will damon in ue5-main branch]
2022-06-03 12:23:22 -04:00
will damon
d8552d7b32 Update ISPCTextureCompressor libraries.
- Latest ISPCTextureCompressor brings a number of bug fixes and includes Apple silicon support.
- Update IntelISPCTexComp.Build.cs to reference new paths
- Update Windows (x64), Linux (thanks MikeS!) and Mac dynamic libraries
- Remove Win32 dynamic libraries
- Enable ShaderCompileWorker as an arm64 native target for UAT
- Bump ASTC and ISP_ASTC version numbers (for DDC)

#rb josh.adams, chris.babcock
#fyi charles.bloom, jeff.newquist
#jira UE-145047, UE-145025, UE-150669, UE-154182
#rnx
#preflight 629a0abe2230bd91403f0f02

[CL 20487296 by will damon in ue5-main branch]
2022-06-03 11:39:35 -04:00