Commit Graph

477 Commits

Author SHA1 Message Date
brandon schaefer
5141cd3106 Add initial support for Deploying Windows games to the SteamDeck through .ini entries
#jira UE-145123
[REVIEW] [at]Josh.Adams
#rb Josh.Adams, David.Harvey
#preflight 6230b118f33750e39249d834

#ROBOMERGE-OWNER: brandon.schaefer
#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 19389680 in //UE5/Release-5.0/... via CL 19391874
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19402230 by brandon schaefer in ue5-main branch]
2022-03-16 03:01:51 -04:00
christopher waters
d122308b2d Adding Min/Max FeatureLevel configs for Windows D3D11, D3D12 and Vulkan.
This unifies a few Performance Mode settings together and now allows a project to restrict D3D12 to SM6 only.

#rb mihnea.balta, josh.adams
#preflight 622f83adc51b66df4c210b1e

#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 19376538 via CL 19376631
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19378054 by christopher waters in ue5-main branch]
2022-03-14 16:32:20 -04:00
guillaume abadie
dc0b2fa6e9 Works arround a bunch of HLSL2021 bugs
DXC is missing some override of select()
DXC's -spirv is missing and() and or() intrinsics
Fixes CFLAG_WarningsAsErrors that would cause a compilation failure if rewritted HLSL for FXC had warning
Adds a COMPILER_SUPPORTS_HLSL2021

#rb rune.stubbe
#preflight 622aaaf2f44b0772ad9f743a

#ROBOMERGE-AUTHOR: guillaume.abadie
#ROBOMERGE-SOURCE: CL 19352013 via CL 19352023
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)

[CL 19356591 by guillaume abadie in ue5-main branch]
2022-03-11 12:09:32 -05:00
Lukas Hermanns
999fb99c6c Enable HLSL 2021 language version (CFLAG_HLSL2021) in shader compiler backends.
#rb Guillaume.Abadie, Will.Damon
#fyi Carl.Lloyd, Ryan.Vance, Christopher.Waters, Mihnea.Balta, Rolando.Caloca, Yuriy.ODonnell, Graham.Wihlidal
#jira UE-138358
#preflight 6227b6b3c653e7ef9f571dc8

[CL 19319858 by Lukas Hermanns in ue5-main branch]
2022-03-09 09:47:28 -05:00
Lukas Hermanns
bb4b53d95d Patch separate atomic counter resource in HLSL precompilation step.
#rb Jamie.Hayes
#fyi Arciel.Rekman, Christopher.Waters
#jira none
#preflight 62265976123eef55e6f49362
#rnx

[CL 19302341 by Lukas Hermanns in ue5-main branch]
2022-03-08 09:39:42 -05:00
christopher waters
b7f30cbbaf Adding minimal interfaces to D3D11 and D3D12 RHIs
- Adding ID3D12DynamicRHI and ID3D11DynamicRHI interfaces for plugins that want to touch DirectX resources/devices directly.
- Adding specific headers for including DirectX headers: D3D12ThirdParty.h and D3D11ThirdParty.h
- Modifying plugins that were using D3D11RHIPrivate.h and D3D12RHIPrivate.h to use the interfaces instead.
- Removing plugin references to UE Modules and ThirdParty libraries that were only needed because they included the private RHI headers.
- Removing D3D11RHI/Private and D3D12RHI/Private from plugin include paths.

#jira none
#rb jeannoe.morissette, kenzo.terelst, mihnea.balta, eric.mcdaniel
#preflight 6222395bb066ef60bbad004a

[CL 19267223 by christopher waters in ue5-main branch]
2022-03-04 11:34:00 -05:00
maxwell hayes
d08b31e66f Removing AudioStreamingThreshold platform setting (has no effect).
#jira UE-126579
#rb Aaron.McLeran
#preflight 62192ad3f014007cf8ba9122

#ROBOMERGE-AUTHOR: maxwell.hayes
#ROBOMERGE-SOURCE: CL 19161705 in //UE5/Release-5.0/... via CL 19161949
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19162055 by maxwell hayes in ue5-main branch]
2022-02-25 20:14:55 -05:00
charles bloom
b4fcb0ac37 enable BC6+7 texture support in games that use the ES3.1 RHI
ES3.1 is used as a fast renderer mode, but still supports DX11 textures
log a message when BC6+7 is encoded as uncompressed
delete the unused GetVirtualTextureLayerFormat

#preflight 62168881476ef5d8a206b828
#rb jeremy.moore

#ROBOMERGE-AUTHOR: charles.bloom
#ROBOMERGE-SOURCE: CL 19100346 via CL 19105003 via CL 19105192 via CL 19110090
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19148337 by charles bloom in ue5-main branch]
2022-02-25 10:57:32 -05:00
maxwell hayes
0fe70675c7 Removing project setting to enable audio stream caching (it is now always enabled.)
#jira UE-126579
#rb Aaron.McLeran
#preflight 62168509476ef5d8a2057eb8


#ROBOMERGE-AUTHOR: maxwell.hayes
#ROBOMERGE-SOURCE: CL 19104090 via CL 19104442 via CL 19104576 via CL 19104582 via CL 19110002
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19147798 by maxwell hayes in ue5-main branch]
2022-02-25 10:37:51 -05:00
lukas hermanns
35efe2a2e0 Allow DXC precompilation for selected shaders.
Patch SPIR-V and HLSL intermediate source when DXC precompilation is used.
Workaround HLSL cross-compilation packing issue by rearranging members in FVolumetricFogGlobalData.

#rb michal.valient
#jira UE-142918
#preflight 620d8c8b7e2cef4bf1c34ab1
#rnx

#ROBOMERGE-AUTHOR: lukas.hermanns
#ROBOMERGE-SOURCE: CL 19029598 in //UE5/Release-5.0/... via CL 19059758
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v918-19018356)

[CL 19066338 by lukas hermanns in ue5-main branch]
2022-02-21 02:06:52 -05:00
lukas hermanns
1191c5566c Use DXC re-compilation when FXC crashed or ran out of memory.
#rb Rolando.Caloca
#jira UE-142759
#preflight 620be47901253d2e19e2c0c4
#rnx

#ROBOMERGE-AUTHOR: lukas.hermanns
#ROBOMERGE-SOURCE: CL 19002613 in //UE5/Release-5.0/... via CL 19003108 via CL 19004533
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)

[CL 19004719 by lukas hermanns in ue5-main branch]
2022-02-15 17:08:37 -05:00
David Harvey
f1e2ce398c Windows target platform can be extended by Windows-based platform extensions.
#jira UE-131865
#rnx
#preflight 6203d05a530b346f86194db1
#rb Eric.McDaniel

[CL 18933201 by David Harvey in ue5-main branch]
2022-02-10 03:53:51 -05:00
robert srinivasiah
3737a45475 Hololens: Dedicated Shader Platform
We can't share DDPI infrastructure with PC D3D ES3.1 because of conflicts from sharing. We need a separate shader platform.
For now, we'll just 'intrusively' plumb the new Hololens shader platform. In the future, we want to move as much code out into
Hololens-specific platform code to reduce conflict with shared paths that don't need to know about Hololens.

#rb steve.smith, christopher.waters
#jira UE-133375
#preflight 61f9ca302251c6fb596e583e

#ROBOMERGE-AUTHOR: robert.srinivasiah
#ROBOMERGE-SOURCE: CL 18818524 in //UE5/Release-5.0/... via CL 18818546 via CL 18822881
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824735 by robert srinivasiah in ue5-main branch]
2022-02-02 08:00:15 -05:00
aaron mcleran
8db0b74958 Cleaning up codec definitions on soundwaves.
- Adding new enumeration to select PCM, ADPCM, Bink, and "platform specific"
- Updated platform codecs and various APIs to select correctly which codec to use
- Changed "is seekable streaming" semantics to "Is Seekable" since that is more correct in a post-stream-caching world
- Tried to clean up platform backends. Unable to move Bink decoder to multiplatform code because of module dependencies, will require a future refactor of our decoder module setup.

#rb Phil.Popp, Jimmy.Smith
#jira UE-140860
#preflight 61f97ad7f02e20f45add6d45

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18813332 in //UE5/Release-5.0/... via CL 18813341 via CL 18822758
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824290 by aaron mcleran in ue5-main branch]
2022-02-02 07:35:13 -05:00
christopher waters
80c4624c01 Fixing PC SM6.6 support for RayTracing shaders.
#jira none
#rb yuriy.odonnell
#preflight 61f30f2a8255dba0d6b8f1d8

[CL 18778188 by christopher waters in ue5-main branch]
2022-01-28 16:01:30 -05:00
mark lintott
c604aff49b Fix for HRESULT return value
#rb trivial
#jira none
#preflight 61ee86a3ef289ffc6de12b99

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18706928 in //UE5/Release-5.0/... via CL 18706930 via CL 18706941
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18706945 by mark lintott in ue5-main branch]
2022-01-24 06:12:09 -05:00
christopher waters
cb6d99d667 Switching ERHIFeatureLevel:SM6 from SM6.5 to SM6.6 which allows us to use the built-in 64bit atomics.
AMD still has issues with SM6.6 but we can't wait on their fixes much longer.

#jira none
#rb mihnea.balta, lukas.hermanns
#preflight 61eb15ae731e3b40889d249c

[CL 18697016 by christopher waters in ue5-main branch]
2022-01-21 16:50:04 -05:00
mark lintott
bc890828d2 Status Analysis fix.
[FYI] christopher.waters
#rb none
#jira none
#preflight 61eadd9eea0da8133dce0e29

#ROBOMERGE-AUTHOR: mark.lintott
#ROBOMERGE-SOURCE: CL 18690463 in //UE5/Release-5.0/... via CL 18690505 via CL 18690525
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18690546 by mark lintott in ue5-main branch]
2022-01-21 11:40:12 -05:00
anna lantz
b597668733 Audio Platform Settings UX cleanup
#rb aaron.mcleran, ryan.mangin
#preflight 61e0c3d4250b9537f7898dc0

#ROBOMERGE-AUTHOR: anna.lantz
#ROBOMERGE-SOURCE: CL 18611261 in //UE5/Release-5.0/... via CL 18611272 via CL 18611282
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18611301 by anna lantz in ue5-main branch]
2022-01-13 19:44:31 -05:00
Lukas Hermanns
1d839de73a Fix static analysis warning in IDxcResult::GetOutput function call.
#rb none
#fyi Kevin.Ortegren
#jira UE-137627
#preflight 61dd91ae582e125e5126a809
#rnx

[CL 18576611 by Lukas Hermanns in ue5-main branch]
2022-01-11 16:01:07 -05:00
joe kirchoff
cdedc71084 UnrealBuildTool: Initial support for Clang 13
Hack to workaround clang-cl bug in LC_StringUtil.cpp is finally no longer necessary with Clang 13

Outstanding Issues:
Unresloved externals in ClangEditor (FRHI*)
error: ordered comparison of function pointers ('Electra::fastdelegate::DelegateMemento::GenericFuncPtr' (aka
    'void (*)()') and 'Electra::fastdelegate::DelegateMemento::GenericFuncPtr') [-Werror,-Wordered-compare-function-
    pointers]

#rnx
#rb none
#preflight 61d33dff932a02483cb454bc

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18503088 in //UE5/Release-5.0/... via CL 18503149
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18503159 by joe kirchoff in ue5-release-engine-test branch]
2022-01-03 15:42:39 -05:00
christopher waters
4cfc94b91a DXC provides the PDB name along with the DXC_OUT_PDB blob so we should use that instead of trying to (incorrectly) generate the hash ourselves. Removing the unnecessary string blob argument from all the other calls to GetOutput.
#jira none
#rb Yujiang.Wang
#preflight 61b8ca009c7c3936c8c7e6f0

#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 18455753 in //UE5/Release-5.0/... via CL 18455789
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v898-18417669)

[CL 18455825 by christopher waters in ue5-release-engine-test branch]
2021-12-14 12:22:58 -05:00
Marc Audy
f512a6d461 Eliminate whitespace only differences between Release-Engine-Staging and Release-Engine-Test
#fyi Aurel.Cordonnier

[CL 18448630 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 15:59:48 -05:00
aaron mcleran
c853793da9 Fixing tooltips in platform settings
#jira UE-123772
#rb trivial

#ROBOMERGE-AUTHOR: aaron.mcleran
#ROBOMERGE-SOURCE: CL 18427039 in //UE5/Release-5.0/... via CL 18427112
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18427141 by aaron mcleran in ue5-release-engine-test branch]
2021-12-09 18:59:43 -05:00
christopher waters
fe5ee0b7c9 D3D shader debug data changes
- Putting UniformBuffer name array key in a global header
- UniformBuffer name array shouldn't even been compiled in configurations that don't populate it
- Load shader UniformBuffer names in D3D12
- Adding error logging to D3D12 resource binding, uses shader UniformBuffer names. Implementation copied from D3D11.

#jira none
#rb kenzo.terelst
#preflight 61b23198e0430ca438c973de

#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 18420494 in //UE5/Release-5.0/... via CL 18422574
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18422839 by christopher waters in ue5-release-engine-test branch]
2021-12-09 14:50:45 -05:00