Commit Graph

13329 Commits

Author SHA1 Message Date
martins mozeiko
f656fa0cd4 Reducing texture build memory usage by freeing mip pixel memory as they are no longer needed
#jira UE-179421
#preflight 646bbd892c0a5da0dc136fca
#rb dan.thompson

[CL 25570200 by martins mozeiko in ue5-main branch]
2023-05-22 16:57:39 -04:00
christopher waters
20984328ea Removing the cvar lookup string for shader dead code removal in all shader formats. This cvar can't be loaded on SCW startup so it was causing a hash mismatch.
#rb yuriy.odonnell
#preflight 646bc8f764351d76f3c85f5e

[CL 25570191 by christopher waters in ue5-main branch]
2023-05-22 16:57:05 -04:00
dan thompson
b361dacafb Clang specific cast warnings, and fixing an incorrect cast fix from last checkin.
#rb fabian.giesen
#preflight 646b9adb4130b0ce5038e725

[CL 25568727 by dan thompson in ue5-main branch]
2023-05-22 15:17:38 -04:00
ionut matasaru
cb28367239 [Insights]
- Refactoring on STableTreeView in preparation for a larger change re filtering (and async operations in general).
  - Moved SSessionTableTreeView class into a separate file.
  - Filtering: Fixed typo in FFilterConfigurator::OnChangesCommittedEvent. Also fixed LOCTEXT namespaces to avoid conflict with AssetManagerEditor plugin.
  - Added Initialize()/Shutdown() and UnregisterTabSpawner() to FFilterService API.
  - Fixed FInsightsManager's API that uses StoreClient to use the corresponding lock / critical section.

#jira UE-146496
#rb none
#preflight 646b7b6b1b241f0748e6d9ca

[CL 25564314 by ionut matasaru in ue5-main branch]
2023-05-22 10:56:49 -04:00
ben woodhouse
31208ca2a1 Add a new set of ASTC pixel formats for storing high precision normals in RG channels. The texture is encoded as LA for higher precision, swizzled to RG at runtime for shader compatibility with BC5. Requires RHI support.
Runtime pixel formats are named  PF_ASTC_<blocksize>_NORM_RG. Use texture format name ASTC_NormalRG_Precise for encoding.

[CL 25563983 by ben woodhouse in ue5-main branch]
2023-05-22 10:41:55 -04:00
ionut matasaru
2580d3bc94 [Insights] Removed background image from SSessionInfoWindow (and a leaked slate color brush).
#rb none
#preflight 646b752d576becd7b52ad3b0

[CL 25563663 by ionut matasaru in ue5-main branch]
2023-05-22 10:21:41 -04:00
ionut matasaru
5189818fb8 Fixed mismatch string formatting argument in shader compiler (for hlslccflags).
#rb dan.elksnitis
#preflight 64568240fd4b8f4e0d49d747

[CL 25563481 by ionut matasaru in ue5-main branch]
2023-05-22 10:03:04 -04:00
ionut matasaru
05ee86dc97 [Insights] Fixed conversion warning.
#rb none
#preflight skip

[CL 25563034 by ionut matasaru in ue5-main branch]
2023-05-22 09:26:18 -04:00
scott nelson
8d2de2be53 Add ability for different verbosities in OutputLog to ignore Category Filter and always display
#rb Rex.Hill
[FYI] Dave.Belanger
#preflight 64669bfbc571db717b2b209a

[CL 25555678 by scott nelson in ue5-main branch]
2023-05-19 21:31:58 -04:00
jordan hoffmann
0fc6b63d92 [BugFix] Merge stopped working because ISourceControlProvider.GetState doesn't use depot file paths and FResolveInfo::IsValid had a bug
#rb none
#preflight 6467d56b75696d2bd70382c9

[CL 25551458 by jordan hoffmann in ue5-main branch]
2023-05-19 16:20:13 -04:00
catalin dragoiu
d4aad8a1b9 [Insights] Fix Frame Stats aggregation issues
#rb Tyler.Staples
#preflight 6467a1eed1617529a433798a

[CL 25551207 by catalin dragoiu in ue5-main branch]
2023-05-19 16:07:20 -04:00
dan elksnitis
f645f93588 [shaders] remove legacy preprocessor option & mcpp library
#rb Jason.Nadro
#preflight 6467bf0c2c0a5da0dcd7aaf2
#fyi Yuriy.ODonnell

[CL 25549427 by dan elksnitis in ue5-main branch]
2023-05-19 14:50:25 -04:00
zousar shaker
b0d5721dde Initial implementation of DiffOnly mode for ZenServer as Cooked Output Store. Lacking detailed header diffing, but stubbed in for future addition. When using ZenServer as Cooked Output Store the packages use the ZenPackageSummary header format instead of the PackageFileSummary header format. This is how data is stored in ZenServer and the format it is when fetched. Data produced in process is transformed into this format ahead of diffing.
The code for parsing a view of the ZenPackageSummary has been extracted from AsyncLoading2.cpp into a private h/cpp and is possible to use from the header diffing code when printing out detailed diffs, but is not used yet.

#rb matt.peters
#rb pj.kack
#jira UE-175237

[CL 25549055 by zousar shaker in ue5-main branch]
2023-05-19 14:43:02 -04:00
devin doucette
8569448f20 xxHash: Removed TTask from the API
Management of tasks is more suitable for higher-level code.

Includes rearrangement of some code that was updated inconsistently during compile time optimizations.

#preflight 646690628720894fb6cd5f2d
#rb Dan.Thompson
#rnx

[CL 25548233 by devin doucette in ue5-main branch]
2023-05-19 13:52:37 -04:00
stu mckenna
fd6cae6b42 - Add VVM support for bit casting between floats and ints
#rb rob.krajcarski
#preflight 6466532e743f7c995bc67a0f

[CL 25548196 by stu mckenna in ue5-main branch]
2023-05-19 13:51:29 -04:00
Alexis Matte
e750ec5066 Interchange: Pipeline now have an optional "asset name" property use when importing 1 asset into the content browser.
#jira UE-178095
#rb jeanluc.corenthin
#rnx
#preflight 6467a3787958f15a8b8abd4d

[CL 25546937 by Alexis Matte in ue5-main branch]
2023-05-19 12:48:58 -04:00
ryan schmidt
4959c1f413 CombineMeshInstaces:
Renamed FInstanceSet to FSourceInstanceList in CombineMeshInstances API
Added FMeshInstanceGroupData.bPreserveUVs flag, defaults to false, in which case UVs are discarded on simplified and approximate meshes to encourage simplification
Added FOptions::MaxAllowableApproximationDeviation, prevents very large deviation in approximation of highly non-convex parts (may break some approximations, might need per-part overrides in future)
Added FOptions::bDoubleSidedHiddenRemoval, treating as single-sided improves hidden removal
FOptions::ApproximationSourceLOD can now be set to a generated simplified LOD, in addition to Source LODs. This helps avoid approximations being higher-quality than simplified parts

In CombineMeshInstancesImpl, renamed FMeshInstanceSet to FMeshPart, FMeshInstance to FMeshPartInstance, FMeshInstanceAssembly to FMeshPartsAssembly, to help clarify internal vs external data structures (many renaming changes as a result)
FPartApproxSelector now has MaxAllowableDeviation, set from new FOptions member, prevents major shape deviation (maybe too strict? might be good to count how many things deviate...)
tweaked AABB-override of approximations based on volume comparison
reduced InitialTriCost scaling for extra approximate LODs in ComputeMeshApproximations - this value is used as an exponent and so if it gets larger than ~5, for large deviations it will basically be infinity and stops being useful. This may need more work as it tends to go to box approximation very quickly now.
Various improvements to RemoveHiddenFaces_ExteriorVisibility. Now can backface-cull, does so by FOptions default. Improved filtering around "glancing angle" rays/hits. Changed from using fixed exterior point set as visibility locations, to direction set. Add slight downscaling of UV triangles, and of hit-triangle barycentric coords, to filter out hits very near to triangle edges, which can often be spurious.

updated internal usage for renaming, set plausible MaxAllowableApproximationDeviation, and using simplified LODs as ApproximationSourceLOD

#rb none
#preflight

[CL 25546006 by ryan schmidt in ue5-main branch]
2023-05-19 12:03:09 -04:00
jeannoe morissette
56a0d8dd97 VulkanRHI: VKRT WIP: Increase size of bitfield to track uniform buffer usage. Fix copy-paste error where acceleration structures were sent to wrong bindless descriptor set.
#fyi yuriy.odonnell,aleksander.netzel
#preflight 646797578720894fb6a3eaab
#rnx

[CL 25545955 by jeannoe morissette in ue5-main branch]
2023-05-19 12:02:01 -04:00
mikalai sukhikh
986e047e29 Session FrontEnd - Missing export menu and copy button when test results are displayed
#jira UE-185235
#rb adam.miezianko, chris.constantinescu, jerome.delattre
#preflight 6464b95f4404e3cdd2ecc6df

[CL 25543610 by mikalai sukhikh in ue5-main branch]
2023-05-19 09:35:19 -04:00
catalin dragoiu
695d644f26 [Insights] Fix Frame Stats setting persistence issues.
#rb Ionut.Matasaru
#preflight 646747ccc571db717b046070

[CL 25543156 by catalin dragoiu in ue5-main branch]
2023-05-19 09:00:49 -04:00
kerim borchaev
255f4ff2d4 Datasmith direct link not showing any sources
#jira UE-185783
#preflight 6464b36a4404e3cdd2e8aae9
#preflight 6464b38511205d3573a7943f
#fyi jason.walter
#rb JeanLuc.Corenthin

[CL 25540155 by kerim borchaev in ue5-main branch]
2023-05-19 01:18:18 -04:00
devin doucette
0190309348 DDC: Removed an erroneous check from the file system cache store
#rb none
#rnx

[CL 25529485 by devin doucette in ue5-main branch]
2023-05-18 13:52:53 -04:00
jordan hoffmann
2b08e650c7 [CDPR] Added more information about changelist to source control changelists window context menu
+ Expand source control menu context with selected changelist,
+ Expose information about if changelist is default and its source control specific identifier,

#rb Patrick.Enfedaque, Patrick.Laflamme, zach.rammell
#preflight skip
#p4v-cherrypick 25526575
#preflight 64665919b91ab13b09c2089c

[CL 25528171 by jordan hoffmann in ue5-main branch]
2023-05-18 13:20:35 -04:00
edwin maynard
c98b625c8e [Backout] - CL25515851 (backed out due to cis issues)
[FYI] nick.baltis
Original CL Desc
-----------------------------------------------------------------
Due to Backout files marked for add could not show latest revision forcing me to submit this change directly though p4v.
Swarm review [at] https://p4-swarm.epicgames.net/reviews/25450246

Added functionality to strip at ratios higher 1 out of every 2. testing shows good savings at stripping 2/3 frames on Nx64 and in editor of around 8mb with no noticeable visual degradation.
Origional Cvar ssytem replaced with VariableFrameStrippingSettings Oject which is a member of AnimSequence. It contains PerPlatform variables for enableing the system and its rate.
The move to a member object wrapping around these settings were two fold. First to better mas change anim sequences by platform while also allowing for varried settings for edge cases. Second becuase due to the fact this affects objects in the cook, gateing it behind a cvar provides no hot fix saftey while hurting useability.

[CL 25521647 by edwin maynard in ue5-main branch]
2023-05-18 00:54:19 -04:00
axel riffard
3ebaaa52ae Add a IOS_Minimum version to remove the need from specifying it in ini file.
#jira UE-184959
#rb adam.kingee
#preflight 6465945d6b1406b54aa49951

[CL 25521280 by axel riffard in ue5-main branch]
2023-05-17 23:12:04 -04:00