Commit Graph

158 Commits

Author SHA1 Message Date
joe kirchoff
8fc9771156 Don't use static functions in the DirectX module to get paths, it is not guaranteed that this module will exist
#rnx

[CL 27090677 by joe kirchoff in ue5-main branch]
2023-08-14 18:16:33 -04:00
david harvey
bdb4199eeb Remove unnecessary WindowsHWrapper.h & MinWindows.h include - both files will be automatically included by AllowWindowsPlatformTypes.h
#jira UE-152863
#rnx
#rb Josh.Adams

[CL 26912096 by david harvey in ue5-main branch]
2023-08-08 05:50:53 -04:00
joe kirchoff
9ee777178a Reference DirectX module for the include path rather than using a static function
#rnx
#jira UE-186136

[CL 26478184 by joe kirchoff in ue5-main branch]
2023-07-19 20:43:16 -04:00
christopher waters
2f8dde07be D3D build script cleanup:
- Removed unnecessary virtuals.
- HeadMountedDisplay include paths were public but only needed to be private.
- Core and RHI need to be public dependencies.
- Formatting cleanup.

[CL 25792718 by christopher waters in ue5-main branch]
2023-06-05 11:12:33 -04:00
christopher waters
c0773434db Mark d3d9.dll and d3d11.dll as Delay Loaded so they don't get loaded prematurely.
#rb elizabeth.baumel, luke.thatcher
#preflight 645120a5d863ba2621c9fb1b

[CL 25301802 by christopher waters in ue5-main branch]
2023-05-02 10:56:33 -04:00
christopher waters
abd9c5e40c Updating to Agility SDK 1.610.2
#jira none
#preflight 6442b95ac023bb1f7354b4d5

[CL 25151832 by christopher waters in ue5-main branch]
2023-04-21 15:32:40 -04:00
christopher waters
d90c1a586b Adding support for newer D3D12 interfaces.
#rb mihnea.balta
#preflight 642f464b85398c090c34d930

[CL 24965671 by christopher waters in ue5-main branch]
2023-04-07 12:09:25 -04:00
David Harvey
e7f9a2122d Windows platform extensions can use most of the normal Windows third party modules.
#jira UE-179187
#rnx
#rb pending
#preflight 6423f3ede11ce5214f6c8d3e

[CL 24832797 by David Harvey in ue5-main branch]
2023-03-29 04:35:22 -04:00
bryan sefcik
b722dbe12a Updated xinput module to work for arm64 devices.
#fyi joe.kirchoff
#preflight 641a271232723d4a20c15495

[CL 24744251 by bryan sefcik in ue5-main branch]
2023-03-22 00:43:18 -04:00
Joe Kirchoff
13e72fb70e UnrealBuildTool: Update GenerateTLH to build and touch the output file with one command, to prevent cases where the .tlh doesn't exist and isn't created. Allow typelib headers to be generated when using the clang compiler, by using the toolchain's compiler to generate them instead
#rb Tim.Smith
#preflight 6412395ed778f88975239bc0

[CL 24663129 by Joe Kirchoff in ue5-main branch]
2023-03-15 17:50:16 -04:00
robomerge
295a493288 Add an option to evict all tracked D3D12 resources when application is in the background
* Add CVar D3D12.EvictAllResidentResourcesInBackground (default: false) to control the behavior
* Modify D3DX12 Residency library to support local memory budget override
* Set the local override to 0 when application is not focused and the CVar is true

#rb mihnea.balta
#preflight 640f468b7e654e2e658ecbcb

[CL 24617040 by robomerge in ue5-main branch]
2023-03-13 13:54:06 -04:00
Ben Marsh
513a5dbec1 UBT: Fix missing errors/warnings when compiling rules files.
#preflight none

[CL 24586299 by Ben Marsh in ue5-main branch]
2023-03-09 20:00:10 -05:00
christopher waters
7c1ec8fd3d Updating WinPixEventRuntime to version 1.0.230302001
#preflight 640627e63206d45d20205275

[CL 24547472 by christopher waters in ue5-main branch]
2023-03-07 16:07:29 -05:00
Ruslan Idrisov
82d551fbe9 Direct Storage: Updated to the latest 1.1.1
#rb Eric.Renaudhoude, Chris.Waters
#jira None
#preflight 63fe4802040523beed1755d2

[CL 24446905 by Ruslan Idrisov in ue5-main branch]
2023-02-28 13:42:30 -05:00
bryan sefcik
cde152359a Disabled linking XAPOFX for ARM64.
#preflight 63d5500d5d0c0164ccea2c44

[CL 23916683 by bryan sefcik in ue5-main branch]
2023-01-30 16:49:14 -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
5f6fcda6b3 - Fixed D3D12 being disabled in windows
#rb trivial
#preflight skip

[CL 23832564 by Josh Adams in ue5-main branch]
2023-01-24 12:09:44 -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
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
bryan sefcik
338f0a1aeb Copied arm64 DirectX libraries from WinSDK 19041.
#preflight 63b61978202bee5e273b3f04

[CL 23583998 by bryan sefcik in ue5-main branch]
2023-01-04 19:39:40 -05:00
christopher waters
d1ca105c86 Updating to Agility SDK 1.608.2
#jira none
#rb none
#preflight 63b5d92a8c5081ee9a202e86

[CL 23580881 by christopher waters in ue5-main branch]
2023-01-04 16:07:10 -05: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
christopher waters
feadeda9ec Updating WinPixEventRuntime to version 1.0.220810001
Changing PixWinPlugin to use the new capture control mechanisms, including disabling the UI overlay.
PixWinPlugin will now trigger a full frame, similar to how the RenderDoc plugin does, to ensure we get a full frame on the requested viewport instead of getting a frame on the next viewport to render.

#jira none
#rb robert.srinivasiah, jamie.hayes
#preflight 636d2bd11a66e7f7317a0073

[CL 23104389 by christopher waters in ue5-main branch]
2022-11-11 15:50:24 -05:00
christopher waters
e3b0dc8386 Updating DirectStorage to 1.1.0
#jira none
#rb none
#preflight 636a76b47c2b505190a34184

[CL 23029066 by christopher waters in ue5-main branch]
2022-11-08 10:47:39 -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