193 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
rob krajcarski
b5cc136442 Make FTargetPlatformManagerModule::ShaderFormatVersion thread safe
#rb dan.elksnitis

[CL 31282491 by rob krajcarski in ue5-main branch]
2024-02-07 21:34:34 -05:00
florin pascu
6e05919a69 Static Analysis fix
[CL 30966349 by florin pascu in ue5-main branch]
2024-01-29 07:36:47 -05:00
florin pascu
3893dc470e Add missing matching #undef NAMESPACE_LOCTEXT directive
[CL 30965126 by florin pascu in ue5-main branch]
2024-01-29 06:28:16 -05:00
florin pascu
367836ea48 First part of TargetPlatform(TP) refactor into TargetPlatformSettings(TPS) and TargetPlatformControls(TPC)
TPS doesn't need SDK and will be used to get info about the platform
TPC requires SDK
AndroidTP has been converted to the new system
#jira UE-200883
#rb Jack.Porter

[CL 30963885 by florin pascu in ue5-main branch]
2024-01-29 04:50:19 -05:00
christopher waters
e9661bc768 Preparing for dependency cleanup.
[CL 30244022 by christopher waters in ue5-main branch]
2023-12-11 13:55:22 -05:00
rex hill
668a71e420 Allow building without Turnkey Support
#rb josh.adams
#tests Opened editor and confirmed it loads with no issues

[CL 29603508 by rex hill in ue5-main branch]
2023-11-09 13:51:05 -05:00
florian penzkofer
f0d3b0bf34 Add support for DBuffer decals to the mobile forward renderer.
The DBuffer layout and most code is the same as for the desktop renderer.
Added new CVar r.Mobile.DBuffer so that is disabled by default. DBuffer for the SM5 renderer on mobile is enabled by default.

#rb Dmitriy.Dyomin, Sebastien.Hillaire

[CL 28598190 by florian penzkofer in ue5-main branch]
2023-10-09 16:48:41 -04:00
aleksander netzel
d700a739fa Add offline BLAS compression for supporting platforms:
* Add IsCompressed() to FRHIRayTracingGeometry.
* If BLAS is compressed it will trigger a build that will do the decompression.
* Controlled by target platform setting "Enable Static Mesh Offline BVH Compression"
* Enabled by default.

#jira UE-146162
#rb yuriy.odonnell

[CL 26559972 by aleksander netzel in ue5-main branch]
2023-07-24 20:01:35 -04:00
jimmy smith
ac34b71821 Fix for editor crash on startup
#rb josh.adam aaron.mcleran

[CL 25960030 by jimmy smith in ue5-main branch]
2023-06-13 15:15:40 -04:00
josh adams
f6381544e2 - Allow a project to override the Main SDK version for a platform (the platform's project Engine.ini would set
[OverrideSDK]
  SDKVersion=x.y.z
and AutoSDK, or anything using GetMainVersion(), would use that version string instead
- If multiple targets are built in one run of UBT/UAT, it will error out because there is no support to switch SDKs (and builds happen in parallel, etc)
- This is not a complete solution, because it can cause problems with shared tools like ShaderCompileWorker, when different projects are on different SDKs and they have one SCW to share
- Renamed GetMainVersion to GetMainVersionInternal(), and wrapped that in a new non-vitual GetMainVersion() that calls GetMainVersionInternal() (and handles the ini overrides)
#rb david.harvey,dave.barrett
#jira UE-185364
#preflight 647a12e7b0670733186c928e

[CL 25767233 by josh adams in ue5-main branch]
2023-06-02 13:42:59 -04:00
Stu McKenna
33933e245f - Include the VVM format to ensure we find the format
- Without doing this the found formats might not contain the format leading to a crash when compiling with the VVM

#rb Dan.Elksnitis
#jira UE-185063
#rnx
#preflight 645405e8023fe5d3ad3fbb52

[CL 25343124 by Stu McKenna in ue5-main branch]
2023-05-04 17:36:58 -04:00
gwennael arbona
a17fdde006 Instrument loading times of PS4 & Switch target platform modules
#preflight 641c21eeec01de16647b08f0
#rb john.huelin, wojciech.krywult


RESOLUTION: fixed conflict with new "impl" method

[CL 24762328 by gwennael arbona in ue5-main branch]
2023-03-23 11:22:16 -04:00
dan elksnitis
be95382d48 [shaders] factor out single-input compilation and exception handling into shared utility functions
#preflight 63caa36ad45afa2a8f236855
#rb Jason.Nadro
#rb Laura.Hermanns
#rb Yuriy.ODonnell

[CL 23789494 by dan elksnitis in ue5-main branch]
2023-01-20 09:39:05 -05:00