Commit Graph

11118 Commits

Author SHA1 Message Date
martin ridgers
62aea3c619 MemScope events do not need to be synchronised.
Something that is scoped by nature only pertains to the current thread and thus is implicitly synchronised. Furthermore, in memory-scope's case the alloc-free events are synchronised anyway which makes it redundant for the scoped events.

#rb im
#rnx
#jira none
#preflight 6332b8307b582f58abad24db

[CL 22203260 by martin ridgers in ue5-main branch]
2022-09-27 07:11:26 -04:00
tiago costa
f38d994913 Store NumClusters in Nanite::FResources.
#preflight 632ca131d747fe52c8625861
[FYI] rune.stubbe, marc.audy
#rb none

[CL 22203046 by tiago costa in ue5-main branch]
2022-09-27 06:55:35 -04:00
rune stubbe
7b990d37d4 Nanite tangent fixes
-Nanite-specific settings for tangent and degenerates are no longer also applied to the non-nanite mesh LODs on the same mesh.
-100% fallback meshes now have identical tangents to input mesh. Don't skip the tangent generation in StaticMeshBuilder for these meshes and don't recalculate tangents in Nanite builder.

#preflight 632b04c0b40000c8f0c29adb

#rb brian.karis
[FYI] jamie.hayes, graham.wihlidal
#lockdown marc.audy

[CL 22201439 by rune stubbe in ue5-main branch]
2022-09-27 02:14:48 -04:00
rob krajcarski
4e3590c7bc Couple of fixes for compressed particle systems. They remain experimental, but this addresses:
-only particle systems will have their attributes compressed
-Previous versions of our deny list will also be denied compression (we don't want to be comparing half Particles.Prevoius.Position with float Particles.Position)
-fixed stride being supplied to VF shaders
#jira UE-159142
#preflight 6331d96ba907d7192fe87e2d
#rb stu.mckenna

[CL 22193521 by rob krajcarski in ue5-main branch]
2022-09-26 16:30:12 -04:00
andrew davidson
4e698639e7 Checked narrow cast for world positions
#jira UE-161347
#rb temp, zak.middleton
#preflight 6331ae8ca4769ad714a5024c

[CL 22188638 by andrew davidson in ue5-main branch]
2022-09-26 13:34:33 -04:00
zak middleton
cab8a68724 #ue5 - Fix truncation warnings in modules: DeviceProfileServices, FieldSystemEngine, FontEditor, FunctionalTesting. Includes some related engine fixes as well.
#jira UE-160832
#rb Andrew.Davidson, Dave.Jones2
#preflight 632cbdc17b582f58ab6315ad

[CL 22164453 by zak middleton in ue5-main branch]
2022-09-23 20:23:56 -04:00
rob krajcarski
5e02132d25 Fixes to niagara VM bytecode generation for if blocks where a variable is assigned and then used within the same block
if (Condition)
{
  Foo = Bar;	// this would have been replaced with:	branch_flattened_temp0 = Bar;
  Foo2 = Foo;	// this would have been replaced with:	branch_flattened_temp1 = Foo; this should have been replaced by:
				branch_flattened_temp1 = branch_flattened_temp0;
}
#jira UE-164327
#rb simon.tovey
#preflight 632ddb75e23e50651b95cca4

[CL 22164425 by rob krajcarski in ue5-main branch]
2022-09-23 20:23:13 -04:00
jerome delattre
1880d9148a Fix crash when accessing FAutomationTestBase.ExpectedError
#jira UE-163318
#rnx
#rb Chris.Constantinescu
#preflight 632dcb7bb4515b7e222774a8

[CL 22164314 by jerome delattre in ue5-main branch]
2022-09-23 20:19:30 -04:00
rob krajcarski
da3027f387 Fix for VM bytecode generation which was failing in a very small number of cases of the form:
A = GetFirstValue();
B = A;
A = GetSecondValue();
C = A; // <-- this would get GetSecondValue() assigned to C instead of GetFirstValue()

Adds an SSA pass to help reduce overwriting registers, adds logic to remove self assignments, and adds logic to stop propagating when values are dirtied

From a sampling of scripts, about 2% are changed (where 1-3 unnecessary ops have been deleted).

#rb simon.tovey
#preflight 62b0d63c8e03312ad83a0c51
#jira UE-148892


#ushell-cherrypick of 21320942 by rob.krajcarski

[CL 22164310 by rob krajcarski in ue5-main branch]
2022-09-23 20:19:22 -04:00
Matt Peters
e9269d0f5b MultiprocessCook - Modify memory and corelimit settings when cooking multiprocess.
#rb Zousar.Shaker
#rnx
#preflight 632e1493671a1a24b58c71c1

[CL 22160375 by Matt Peters in ue5-main branch]
2022-09-23 16:23:49 -04:00
bryan sefcik
a35d816a54 Fixed some iniclude paths so IWYU doesn't get confused.
#jira

[CL 22151246 by bryan sefcik in ue5-main branch]
2022-09-22 22:22:48 -04:00
steven barnett
a22d0f38f4 Allow TSparseArray resize via EmplaceAt.
This is a part of a larger change, 21332740, which fixes TSparseArray::EmplaceAt, which is needed for physics user data.

Slack discussion here: https://epic.slack.com/archives/C024GKBSL/p1663795752638719

[FYI] ian.fox

[CL 22151140 by steven barnett in ue5-main branch]
2022-09-22 22:20:25 -04:00
stan hormell
2eb4a5dfff Setting NetCL back to Zero
[CL 22151130 by stan hormell in ue5-main branch]
2022-09-22 22:20:09 -04:00
anton dunchev
09c0b7c71d Prevent log spam in FUnixPlatformProcess::SetThreadNiceValue.
#rb brandon.schaefer
#tests - Compile and run

[CL 22143016 by anton dunchev in ue5-main branch]
2022-09-22 15:31:34 -04:00
Francis Hurteau
8b92dfdf1a Add an option to return the mount point with its slash in FPathViews::GetMountPointNameFromPath
Add unit test for that function

#rb Matt.Peters, Rex.Hill
#jira none
#preflight 632a4171f45b523a632a2921

[CL 22141845 by Francis Hurteau in ue5-main branch]
2022-09-22 14:56:12 -04:00
allan bentham
91dd133351 Fix nopch build fail
#rb none

[CL 22139925 by allan bentham in ue5-main branch]
2022-09-22 13:50:48 -04:00
florin pascu
5669253244 - Add Disable Preview Menu Option
- GetFriendlyShaderPlatformName removed
- RHIShaderPlatformDefinitions.inl deleted
- Added FriendlyNames to all ShaderPlatforms in DDSPI
- MenuText now comes from FriendlyNames in DDSPI
#rb Jack.Porter
#jira none
#preflight 632b1f8c826e0c2fe9a9d5d2

[CL 22118730 by florin pascu in ue5-main branch]
2022-09-21 14:35:21 -04:00
Robb Surridge
31c28e9585 When console doc generation fails, report the failure instead of reporting success.
#jira UE-139419
#preflight 632a317df87253e0213017c2
#rb lauren.barnes

[CL 22113448 by Robb Surridge in ue5-main branch]
2022-09-21 11:12:54 -04:00
Stephen Holmes
ef0154ac65 Upgraded a lot of the navigation code. to use FVector::FReal rather than floats. Areas of code where there was little to gain from doing this but would break existing code have been left as float.
#review-22090184
#jira UE-159397
#preflight 632af1846919ce3998bd2195

[CL 22111650 by Stephen Holmes in ue5-main branch]
2022-09-21 09:16:42 -04:00
jamie hayes
8f02cdaf79 Bump the StaticMesh DDC version to flush out issues with cache built before a Nanite fix from CL 22098795.
[FYI] graham.wihlidal, rune.stubbe
#jira UE-162652
#preflight 632a1c09a236a029dee4c7bd

[CL 22110183 by jamie hayes in ue5-main branch]
2022-09-21 07:36:12 -04:00
allan bentham
6fc8f7f1b9 Put critical section around android manifest file access.
#rb chris.babcock, jack.porter

[CL 22110093 by allan bentham in ue5-main branch]
2022-09-21 07:32:10 -04:00
Andriy Tylychko
d4a7587391 FThreadManager crashes if its Threads collection is modified while it's iterating over it. This happens when running with -nothreading. Fixed.
#rb francis.hurteau
#preflight 6329daeb331ace46b50eb526

[CL 22109916 by Andriy Tylychko in ue5-main branch]
2022-09-21 07:01:30 -04:00
Andriy Tylychko
42e3ee8b32 enabled System.Core.Tasks.Dependencies test after fixing it in 22109874
#preflight 632aed79fc7f1efbdf8d9f0f

[CL 22109913 by Andriy Tylychko in ue5-main branch]
2022-09-21 07:01:16 -04:00
Andriy Tylychko
cad263c065 fixed System.Core.Tasks.Dependencies unit test
#jira UE-164182
#preflight 632aeaa40a4ad044defb0b44

[CL 22109874 by Andriy Tylychko in ue5-main branch]
2022-09-21 06:51:33 -04:00
ryan gerleve
7e467430d8 Allow replicated FSoftObjectPtrs to resolve unstably-named objects on clients.
These now serialize a NetGUID tracked by the PackageMap, as other replicated references to objects do. Effectively acts as a weak pointer in the replication case now as well. Soft pointers to stably-named objects continue to replicate their string path.
Added EngineTest cases for replicated soft pointers.

#jira UE-144886
#rb brian.bekich
#preflight 632a22f6b40000c8f08c6e4d

[CL 22105246 by ryan gerleve in ue5-main branch]
2022-09-20 19:31:07 -04:00