416 Commits

Author SHA1 Message Date
matt begoghina
f7700fa398 Return Android devices with Turnkey, and Editor Platforms menu update
The goal of this update is to have valid Android devices not showing with a Warning in the Platforms menu.

To allow this, the AndroidPlatformSDK now return the list of connected devices and their SDK Versions.
The change in TurnkeySupportModule ensures we are stripping the cook flavor from the DeviceId which would fail to verify the SDK.

Regarding the Editor `Platforms` menu, the code was adjusted to have devices listed outside of a submenu when `Platform->SupportsFeature(ETargetPlatformFeatures::ShowAsPlatformGroup)` returns false.
Another addition was a new `ETargetPlatformFeatures::ShowAggregateDevice` to allow platforms to not list the aggregate device (ex: `All_Android_on...`)

#review-36072549
#jira UE-223262
#rb adam.kinge, Chris.Babcock, Josh.Adams

[CL 37262963 by matt begoghina in 5.5 branch]
2024-10-18 09:28:09 -04:00
arciel rekman
98a871409b Fix HMD name in HMD analytics.
- Also add StaticLighting CVar to the list of parameters

#jira UE-223504
#rb Jeff.Fisher

[CL 37237848 by arciel rekman in 5.5 branch]
2024-10-17 18:03:56 -04:00
dan elksnitis
5bcff15345 [shaders] modify FShaderCode finalize to create a FSharedBuffer object, and modify all downstream uses of shader code to re-use this buffer (job cache, pushes to DDC, shader maps, and shader library). This reduces total amount of LLM tracked memory allocated at the end of a cold Lyra PS4 cook by about ~350MB; impact likely much larger for cooks of larger projects.
resubmit with following fixes:
- static analysis error which caught an >=0 check on a uint64 which should have been >0
- fix for an inverted guard on multiprocess cook sending bytecode to director (was only sending code across if empty instead of non-empty)
- fix for uninitialized padding in the FShaderCodeResource::FHeader struct causing nondeterministic puts
- fix for incorrect size passed to job cache hashing on receiving buffers from DDC

#rb Devin.Doucette, Laura.Hermanns, Zousar.Shaker
#lockdown Marc.Audy

[CL 36754792 by dan elksnitis in 5.5 branch]
2024-10-01 19:02:22 -04:00
florin pascu
ee806ffea6 Add PlatformName to FDataDrivenShaderPlatformInfo.
In Editor, when using -game we now also load the TPS module of the preview platform if we are using OverrideSP command
#jira UE-210166
#rb Arciel.Rekman

[CL 36749959 by florin pascu in 5.5 branch]
2024-10-01 18:09:13 -04:00
dan elksnitis
fd01802612 [Backout] - CL36470025
[FYI] dan.elksnitis
Original CL Desc
-----------------------------------------------------------------
[shaders] modify FShaderCode finalize to create a FSharedBuffer object, and modify all downstream uses of shader code to re-use this buffer (job cache, pushes to DDC, shader maps, and shader library). This reduces total amount of LLM tracked memory allocated at the end of a cold Lyra PS4 cook by about ~350MB; impact likely much larger for cooks of larger projects.

#rb Devin.Doucette, Zousar.Shaker
#lockdown Marc.Audy
resubmit with SA+MP cook fix

[CL 36747522 by dan elksnitis in 5.5 branch]
2024-10-01 17:45:02 -04:00
dan elksnitis
8c666d2108 [shaders] modify FShaderCode finalize to create a FSharedBuffer object, and modify all downstream uses of shader code to re-use this buffer (job cache, pushes to DDC, shader maps, and shader library). This reduces total amount of LLM tracked memory allocated at the end of a cold Lyra PS4 cook by about ~350MB; impact likely much larger for cooks of larger projects.
#rb Devin.Doucette, Zousar.Shaker
#lockdown Marc.Audy

resubmit with SA+MP cook fix

[CL 36746984 by dan elksnitis in 5.5 branch]
2024-10-01 17:40:02 -04:00
Arciel Rekman
e5afb4e7c7 Improve XR analytics.
- Add validation, fix systemName and report PixelDensity + Version.
- Report project settings most relevant to XR (PC forward, MobileHDR, ISR, MMV).

#rb Jeff.Fisher ?
#jira UE-223504
#review

[CL 36460889 by Arciel Rekman in 5.5 branch]
2024-09-19 20:01:07 -04:00
dan elksnitis
c02d3f0517 [Backout] - CL36437712
[FYI] dan.elksnitis
Original CL Desc
-----------------------------------------------------------------
[shaders] modify FShaderCode finalize to create a FSharedBuffer object, and modify all downstream uses of shader code to re-use this buffer (job cache, pushes to DDC, shader maps, and shader library). This reduces total amount of LLM tracked memory allocated at the end of a cold Lyra PS4 cook by about ~350MB; impact likely much larger for cooks of larger projects.

#rb Zousar.Shaker
#lockdown marc.audy

[CL 36440265 by dan elksnitis in 5.5 branch]
2024-09-19 13:16:02 -04:00
dan elksnitis
c7dfb5d9b6 [shaders] modify FShaderCode finalize to create a FSharedBuffer object, and modify all downstream uses of shader code to re-use this buffer (job cache, pushes to DDC, shader maps, and shader library). This reduces total amount of LLM tracked memory allocated at the end of a cold Lyra PS4 cook by about ~350MB; impact likely much larger for cooks of larger projects.
#rb Zousar.Shaker
#lockdown marc.audy

[CL 36437741 by dan elksnitis in 5.5 branch]
2024-09-19 12:21:59 -04:00
jimmy smith
677b799571 Extend IAudioFormat to allow rejection of formats based on samplerate and channel count as well as call out hardware formats.
#rb Aaron.McLeran, Dan.Thompson
#jira UE-221450
[RN] Extend IAudioFormat to allow rejection of formats based on samplerate and channel count as well as call out hardware formats.

[CL 35665861 by jimmy smith in ue5-main branch]
2024-08-20 15:46:17 -04:00
tom holmes
3abe8cbada Fix Shader SymbolsInfo Causing Non-Determinism and Defeating Deduplication
Info is now stored in shader map in editor only data alongside platform data
Includes shader bump

#jira UE-218748
#rb dan.elksnitis
#tests local tests on Lyra cooking and DDC-Verify
[FYI] Zousar.Shaker

[CL 34906103 by tom holmes in ue5-main branch]
2024-07-18 13:35:59 -04:00
florian penzkofer
688f324056 Mobile SSR: SSR is now done in deferred shading pass.
#rb Dmitriy.Dyomin
#jira UE-120565

[CL 34559883 by florian penzkofer in ue5-main branch]
2024-06-21 09:09:19 -04:00
matt peters
a24e25b334 CookedEditor: Support native classes, and wildcards to specify them, in [CookSettings].DisallowedObjectClassNamesToLoad.
#rb Josh.Adams
#rnx

[CL 34539359 by matt peters in ue5-main branch]
2024-06-20 14:52:12 -04:00
david harvey
cb02573ac6 Platform SDKs can select the most appropriate manual SDK where the platform supports side-by-side SDK installs.
- currently only enabled when AutoSDK is configured (i.e. UE_SDKS_ROOT is set)

#jira UE-211151, UE-211152, UE-211153
#rb Josh.Adams, Wojciech.Krywult

[CL 34195340 by david harvey in ue5-main branch]
2024-06-07 05:07:55 -04:00
florian penzkofer
695d4319e6 Support screen space reflections in the mobile renderer.
Supported in forward and deferred. It works without TAA but no denoising is done, so it looks much worse.

At the moment enabling SSR implies doing a depth prepass.

#jira UE-120565
#rb Dmitriy.Dyomin, Florin.Pascu

[CL 34127334 by florian penzkofer in ue5-main branch]
2024-06-05 12:02:30 -04:00
dan thompson
be2778ff74 Clean up the texture format manager gathering function to clear up any possible mutex recursion.
#rb charles.bloom
#jira UE-214284
#rnx

[CL 33979756 by dan thompson in ue5-main branch]
2024-05-29 13:39:29 -04:00
dan thompson
08b786163b [Backout] - CL33695227
backing out because requires architectural work with determining playback sample rate.

[FYI] Dan.Thompson
Original CL Desc
-----------------------------------------------------------------
Resample audio files that have an unsupported sample rate when we do other resampling.
#jira UE-205071
#rb jimmy.smith

[CL 33907551 by dan thompson in ue5-main branch]
2024-05-24 17:32:02 -04:00
dan thompson
fc3c734650 Resample audio files that have an unsupported sample rate when we do other resampling.
#jira UE-205071
#rb jimmy.smith

[CL 33695235 by dan thompson in ue5-main branch]
2024-05-16 14:39:33 -04:00
aleksander netzel
2a8d87939a HWRT: Add new platform setting for better control over which passes in HWRT are enabled on platforms that support all modes:
* New options:
 - "Disabled" - will turn off cooking and running with ray tracing.
 - "Inline" - will not compile any ray tracing material shaders and disable support for ray tracing shaders at runtime (saving time and memory) only inline passes will work.
 - "Full" - will enable full support for any ray tracing pass using inline or material shaders.

* Set "Inline" as a default mode on those platforms.
* Made barycentrics the new default ray tracing visualization mode because it's supported in all modes.

#rb Krzysztof.Narkowicz, Yuriy.ODonnell
#tests project with different RayTracingMode configurations

[CL 33473937 by aleksander netzel in ue5-main branch]
2024-05-06 18:21:02 -04:00
john huelin
7121101cd8 SDK (1): Changes in common code needed to support SDK changes on some platforms
#rb Wojciech.Krywult

[CL 32855114 by john huelin in ue5-main branch]
2024-04-10 09:49:42 -04:00
florin pascu
4212ff13dc Deprecated FTargetPlatformBase, TTargetPlatformBase and TNonDesktopTargetPlatformBase
Replaced with FTargetPlatformControlsBase/FTargetPlatformSettingsBase,  TTargetPlatformControlsBase/TTargetPlatformSettingsBase and TNonDesktopTargetPlatformControlsBase
#jira UE-206488
#rb Josh.Adams

[CL 32151592 by florin pascu in ue5-main branch]
2024-03-11 07:24:38 -04:00
charles bloom
fafc3edc8f Texture limit output size in bytes from platform size limit
This limit is a hard limit on the size of a texture resource that will not crash the game
this is not a dimensional limit, or a heuristic limit to make small platform-friendly textures
rather this enforces the absolute limit of texture sizes that will not crash the runtime or fail to package

#rb fabian.giesen
#jira UE-203737, FORT-694622

[CL 31536312 by charles bloom in ue5-main branch]
2024-02-15 16:36:13 -05:00
adam kinge
c7fbff4d67 Detect and store the available open iOS Simulators on mac
Part 1 of 3

#jira UE-197974
#rb josh.adams
[FYI] florin.pascu

[CL 31519035 by adam kinge in ue5-main branch]
2024-02-15 09:55:52 -05:00
florin pascu
44abef1c1d Resubmit CL 31307944 with fixes to ITP/ITPC interface
#jira UE-200883
#rb Josh.Adams

[CL 31341150 by florin pascu in ue5-main branch]
2024-02-09 10:50:54 -05:00
dan elksnitis
6f2fd10236 [shaders] remove shader compilation related code deprecated in 5.3
#rb massimo.tristano

[CL 31339246 by dan elksnitis in ue5-main branch]
2024-02-09 10:07:32 -05:00