Commit Graph

15331 Commits

Author SHA1 Message Date
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
laura hermanns
5b8ac7153e [Shaders] Change re-ordering of shader interpolators in D3D backend back to order of original source input.
This was previously changed to move all system value semantics (e.g. SV_Position) at the end of the declaration in entry points because sometimes these values are not used in the pixel shader (see CL 34200367).
This change relys solely on the input shader source to re-construct the original order of interpolators after it has been cross-compiled via DXC/SPIRV-Cross.

#jira UE-223808
#rnx
#rb dan.elksnitis

[CL 36451425 by laura hermanns in 5.5 branch]
2024-09-19 17:03:44 -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
catalin dragoiu
8af4939360 Add more descriptive tooltips to the channels and to the Screenshot,Bookmark and Region menu entries in the Insights Status Bar Widget.
#rb ionut.matasaru
#jira UE-174374

[CL 36439763 by catalin dragoiu in 5.5 branch]
2024-09-19 13:07:01 -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
ionut matasaru
497f8c7e98 [Insights]
- Added a new public class FTableImporter in TraceInsightsCore module (with functionality from FTableImportTool).
  - Moved UntypedTable functionality from TraceInsights module to TraceInsightsCore module (and made the API public).
  - Re-enabled "Import Table..." and "Diff Tables..." in Unreal Insights Frontend.
  - Added "Diff Tables..." also in the main menu of Unreal Insights viewer mode.
  - Renamed "Session Browser" to "Unreal Insights Frontend", in the main menu of Unreal Insights viewer mode.

#rb Catalin.Dragoiu

[CL 36436828 by ionut matasaru in 5.5 branch]
2024-09-19 12:01:29 -04:00
vedang javdekar
f0274c7b79 [BUGFIX] Button variants will correctly use delegates if set.
#rb George.Rolfe

[CL 36417553 by vedang javdekar in 5.5 branch]
2024-09-18 20:50:03 -04:00
aleksander netzel
f22aed4334 Remove r.RayTracing.RequireSM6.
#rb jeannoe.morissette, mihnea.balta
#jira UE-224569
[RN] Ray tracing is no longer supported on SM5

[CL 36404245 by aleksander netzel in 5.5 branch]
2024-09-18 15:09:04 -04:00
catalin dragoiu
76522ad399 Fix non unity error
[CL 36388254 by catalin dragoiu in 5.5 branch]
2024-09-18 09:25:57 -04:00
ionut matasaru
973ace10b0 Marked the Profiler* modules as deprecated. The old Profiler is actually deprecated since UE 5.0, superceeded by Trace/UnrealInsights.
#rb Catalin.Dragoiu, Johan.Berg

[CL 36387437 by ionut matasaru in 5.5 branch]
2024-09-18 08:52:26 -04:00
catalin dragoiu
bc5e1840af Automation in Unreal Insights Frontend
#rb ionut.matasaru

[CL 36386425 by catalin dragoiu in 5.5 branch]
2024-09-18 07:58:52 -04:00
mattias hornlund
93d29af692 Iris/Networking
- Enabled use of NetTokens/NetTokenStore and NetTokenDataStores outside of Iris to facilitate exporting data from shared serialization paths
- NetTokenStore and NetTokenDataStores are now owned by NetDriver.
- Added support for CustomExport bunches to carry data assoiciated with NetTokenExports

GameplayTags
- GameplayTagNetSerializer now respects settings from GameplayTags.ini
- Implemented placeholder GameplayTagNetTokenDataStore.

GameplayTags are now using NetTokens to export data if running in the new dynamic mode.

#rb jodon.karlik, Ryan.Gerleve

[CL 36380672 by mattias hornlund in 5.5 branch]
2024-09-18 04:10:29 -04:00
laura hermanns
1d344a72de [UBA] Add breadcrumbs to UBA trace files.
This change adds a new field to the ProcessStartInfo struct in UBA trace files for a description of the task, called "breadcrumbs" which allow to diagnose and backtrace the origin of a UBA task.
This is also hooked up to the distributed shader compilation (added as new field in FTaskCommandData) and a descriptive string is generated for each shader compile job batch.
UbaVisualizer is updated accordingly to integrate this new data when hovering over a task in the timeline.
This feature can be enabled via the new CVar "r.ShaderCompiler.DistributedJobDescriptionLevel" with values 0 (Disabled), 1 (Basic information), 2 (Adds shader format to each job). It's disabled by default.

#rb dan.elksnitis, henrik.karlsson
#rnx

[CL 36346831 by laura hermanns in 5.5 branch]
2024-09-17 15:08:58 -04:00
ionut matasaru
96a680bbb5 [Insights]
- Changed the log message at end of analysis that displayes number of warnings to be a warning (instead of an error).
  - Replaced usage of uint64_t with uint64.

#jira UE-223953
#rb Sebastian.Thomeczek
#rnx

[CL 36329861 by ionut matasaru in 5.5 branch]
2024-09-17 06:14:40 -04:00
dmitriy dyomin
de2b738ffa Mobile: Added an option to not use PLS and FBF extension on Android OpenGL
Enabling it will force a multipass rendering where GBuffer and SceneColor are resolved to a system memory

[CL 36327269 by dmitriy dyomin in 5.5 branch]
2024-09-17 01:36:59 -04:00
george rolfe
042f213df5 [ToolMenus] Moved ToolbarLabelOverride to nested Toolbar type
#rb sebastian.arleryd
#rnx

[CL 36324166 by george rolfe in 5.5 branch]
2024-09-16 21:21:41 -04:00
george rolfe
c6157ab840 [ToolWidgets] SActionButton uses Icon binding, if provided
#rb aditya.ravichandran

[CL 36324009 by george rolfe in 5.5 branch]
2024-09-16 21:15:40 -04:00
robert rouhani
c9f59db7b1 Include all subcategories specified by UAssetDefinition in the New Content menu, instead of only using the first subcategory
#rb logan.buchy
#rnx

[CL 36317860 by robert rouhani in 5.5 branch]
2024-09-16 17:35:26 -04:00
alexis matte
8a7df59d2a Make sure we can re-import an engine created skeletalmesh from a staticmesh. We now copy the static mesh import data into the created skeletalmesh.
#rb JeanLuc.Corenthin
#rnx

[CL 36314141 by alexis matte in 5.5 branch]
2024-09-16 16:01:08 -04:00
tiago costa
7ae30f9e71 Calculate target number of triangles in Nanite fallback mesh based on trimmed mesh.
#rb jamie.hayes

[CL 36302442 by tiago costa in 5.5 branch]
2024-09-16 10:42:29 -04:00
Zousar Shaker
1d3f776f95 Display name and tooltip update for bUseZenStore packaging setting.
#rb matt.peters
#jira none

[CL 36295467 by Zousar Shaker in 5.5 branch]
2024-09-16 00:07:29 -04:00
catalin dragoiu
8dffa3305f [Insights] Add filters with suggestions for AllocThreadId and FreeThreadId in Memory Investigation View.
#jira UE-213828
#rb ionut.matasaru

[CL 36273041 by catalin dragoiu in 5.5 branch]
2024-09-13 13:28:42 -04:00
rex hill
cbc63ec3ac Editor - When creating assets call new delegate to customize when to set package flag NotExternallyReferenceable
#rnx
#rb Dave.Belanger

[CL 36245385 by rex hill in 5.5 branch]
2024-09-12 17:02:59 -04:00
logan buchy
56d324f623 Collections should respect auto-commit on submit setting when referencing deleted redirectors
* Redirector deletion is not auto-submitted, this allows users to submit both collection change and redirector deletion change as part of the same CL

#jira UE-224040
#rb ross.smith

[CL 36234848 by logan buchy in 5.5 branch]
2024-09-12 13:16:46 -04:00
carl lloyd
0f5c2bec9a Metal RHI - Bindless/SM6 Update
- Updated MSC to latest version 2.0 beta 3
- Removed MTLBufferPtr to make deallocations more explicit
- Re-wrote MetalTempAllocator to be a simple buffer allocator as the heap allocator had a huge perf overhead when used with Bindless
- Fixed use after free in deferred delete
- Limited SM6 to MacOS 15

Changes in collaboration with Apple:

- Reworked residency management
- Replace manual resource binding/pre-draw steps with IRRuntime helpers
- Added vertex layout hashing support for MSC vertex descriptors
- Replaced VertexBuffers cache struct with MSC IRRuntimeVertexBuffer
- Fixed texture reference update by adding an texture override in SRVs (this way the texture reference SRV don???t revert to the default resource when the view is invalidated).
- Fixed some page faults by removing the side table allocation with temporary allocations

#jira UE-223489
#rb Luke.Thatcher

[CL 36227379 by carl lloyd in 5.5 branch]
2024-09-12 10:32:09 -04:00