Commit Graph

2982 Commits

Author SHA1 Message Date
david harvey bdb4199eeb Remove unnecessary WindowsHWrapper.h & MinWindows.h include - both files will be automatically included by AllowWindowsPlatformTypes.h
#jira UE-152863
#rnx
#rb Josh.Adams

[CL 26912096 by david harvey in ue5-main branch]
2023-08-08 05:50:53 -04:00
dmytro ivanov a73d0e1f9f Enable support for non-4k virtual page sizes on Android, part 1
#jira UE-192126
#rb Chris.Babcock

[CL 26911522 by dmytro ivanov in ue5-main branch]
2023-08-08 04:17:39 -04:00
jeremie roy 64a6437c83 Remove rivermax SDK from the engine
#jira UE-190787
#rb simon.therriault

[CL 26906182 by jeremie roy in ue5-main branch]
2023-08-07 19:50:39 -04:00
dmytro ivanov 2536e616e1 Update cmake to 3.22.1
#jira UE-192126
#rb Chris.Babcock

[CL 26894364 by dmytro ivanov in ue5-main branch]
2023-08-07 14:56:20 -04:00
nick pace 9e2951b3be Revert default version of WebRTC to 4664 (M96) due to issues with LibVPX in version 5414 (M109)
#rb self
[FYI] luke.bermingham, nazar.rudenko, aidan.possemiers, denis.phoenix

[CL 26877282 by nick pace in ue5-main branch]
2023-08-06 22:10:04 -04:00
phil pizlo f8234b094c Teach the Verse heap to allocate its underlying chunks committed whenever possible.
This achieves two things:

- Verse programs that first grow their heap will do half the syscalls on Windows to allocate fresh memory (before: reserve syscall then commit syscall, now: single reserve and commit syscall).

- The verse_heap logic now does a better job using libpas conventions, which simplifies the code some.

#rb saam.barati

[CL 26871490 by phil pizlo in ue5-main branch]
2023-08-05 14:41:26 -04:00
serge bernier e0c6073698 Fix Swth/Default, case parsing in hlslcc. When default label is not the last label, hlslcc doesn't generate correct code. To fix that, we sort labels inside the swtch body statement end put the default label (with is case statement list) in last before we convert to IR.
ex:
swtch (VertexID)
{
default:
case 0:	OutPosition = float4(-1, -1, 0, 1); break; //(case statement list of the default label)
case 1:	OutPosition = float4(-1, +3, 0, 1); break;
case 2:	OutPosition = float4(+3, -1, 0, 1); break;
}

will be sorted as:

swtch (VertexID)
{
case 1:	OutPosition = float4(-1, +3, 0, 1); break;
case 2:	OutPosition = float4(+3, -1, 0, 1); break;
default:
case 0:	OutPosition = float4(-1, -1, 0, 1); break;  //(case statement list of the default label)
}

#jira UE-191306
#rb [at]laura.hermanns
#test PF br and GpuTestBed

[CL 26852846 by serge bernier in ue5-main branch]
2023-08-04 13:22:57 -04:00
chris babcock a6f288d661 Fix EOS SDK aar reference
#jira UE-192129
#android
[REVIEW] [at]Dmytro.Ivanov
#rb Dmytro.Ivanov

[CL 26850600 by chris babcock in ue5-main branch]
2023-08-04 12:30:54 -04:00
matt johnson c0d5e486ef OpenSubdiv: add header files and build products for OpenSubdiv version 3.5.0 on Windows x64 and ARM64
#jira UE-190064
#rb none

[CL 26831041 by matt johnson in ue5-main branch]
2023-08-03 18:21:02 -04:00
matt johnson 080178292c OpenSubdiv: update build scripts for OpenSubdiv version 3.5.0
Dynamic libraries of OpenSubdiv are not generated for Windows and
were unused on Linux and Mac, so the build scripts now disable
generating them on all platforms.

The toolchain on Linux was also updated to the new current version.

#jira UE-190064
#rb none

[CL 26830682 by matt johnson in ue5-main branch]
2023-08-03 18:12:38 -04:00
matt johnson fc6a3a3f7d OpenSubdiv: add source for OpenSubdiv version 3.5.0
This change includes just the source code pulled directly from Pixar's
OpenSubdiv project on GitHub. A subsequent change will update the
build scripts, add the build products, and update the module rules for
using this new version of OpenSubdiv in the engine.

#jira UE-190064
#rb none

[CL 26828782 by matt johnson in ue5-main branch]
2023-08-03 17:30:15 -04:00
phil pizlo 0b56d66706 Move libpas out of restricted and make it available as a malloc on Windows.
Testing libpas's perf as a malloc already revealed some useful data about how the allocator performs on Windows (like that reserving and committing memory in separate syscalls is surprisingly expensive). Even if we don't use libpas as a UE malloc, running it in that mode is likely to reveal opportunities for improvement in those parts of libpas that the Verse GC uses.

The biggest change to libpas is introducing the global physical page cache, which is a heap of memory that starts out committed but gets tracked by the large sharing pool - so it will get decommitted after 300ms of nonuse. This means that if you're growing the heap, we allocate committed memory (single syscall to reserve and commit), but we still have a path to decommitting alignment slop. This made a 5-10% difference in VerseTestVMCmd's running time.

Resubmitting after making Core only depend on libpas on Windows (since for now, I only expose libpas as a malloc on Windows).

#rb andriy.tylychko
#rb andrew.scheidecker
#rb danny.couture

[CL 26811655 by phil pizlo in ue5-main branch]
2023-08-03 11:09:40 -04:00
phil pizlo b0e979bf58 [Backout] - CL26794980
[FYI] phil.pizlo
Original CL Desc
-----------------------------------------------------------------
Move libpas out of restricted and make it available as a malloc on Windows.

Testing libpas's perf as a malloc already revealed some useful data about how the allocator performs on Windows (like that reserving and committing memory in separate syscalls is surprisingly expensive). Even if we don't use libpas as a UE malloc, running it in that mode is likely to reveal opportunities for improvement in those parts of libpas that the Verse GC uses.

The biggest change to libpas is introducing the global physical page cache, which is a heap of memory that starts out committed but gets tracked by the large sharing pool - so it will get decommitted after 300ms of nonuse. This means that if you're growing the heap, we allocate committed memory (single syscall to reserve and commit), but we still have a path to decommitting alignment slop. This made a 5-10% difference in VerseTestVMCmd's running time.

#rb andriy.tylychko
#rb andrew.scheidecker
#rb danny.couture

[CL 26795519 by phil pizlo in ue5-main branch]
2023-08-02 20:39:57 -04:00
phil pizlo 49b3585fa3 Move libpas out of restricted and make it available as a malloc on Windows.
Testing libpas's perf as a malloc already revealed some useful data about how the allocator performs on Windows (like that reserving and committing memory in separate syscalls is surprisingly expensive). Even if we don't use libpas as a UE malloc, running it in that mode is likely to reveal opportunities for improvement in those parts of libpas that the Verse GC uses.

The biggest change to libpas is introducing the global physical page cache, which is a heap of memory that starts out committed but gets tracked by the large sharing pool - so it will get decommitted after 300ms of nonuse. This means that if you're growing the heap, we allocate committed memory (single syscall to reserve and commit), but we still have a path to decommitting alignment slop. This made a 5-10% difference in VerseTestVMCmd's running time.

#rb andriy.tylychko
#rb andrew.scheidecker
#rb danny.couture

[CL 26795044 by phil pizlo in ue5-main branch]
2023-08-02 20:27:51 -04:00
ben temple 95fbef9463 Update to latest Android services
This code is checked out from https://p4-swarm.epicgames.net/changes/25806081. Hopefully it will have no conflicts when it gets picked up by robomerge. Code should be identical to what is on Main. These changes are required to bump our target sdk to 33 for Android. See https://p4-swarm.epicgames.net/changes/26756410

#jira UE-181208
#android
[REVIEW] [at]Chris.Babcock
#rb Chris.Babcock

[CL 26779979 by ben temple in ue5-main branch]
2023-08-02 14:01:56 -04:00
sean kealey 0bd51ce6cd Hmi - Adding Protozero License
#jira

[CL 26774131 by sean kealey in ue5-main branch]
2023-08-02 11:21:34 -04:00
dmitriy dyomin e6697f24b3 Fixed: Compile UnrealEditor Win64, VS2019 Latest Toolchain - TextureFormatETC2.dll Unresolved externals
#jira UE-191802
#rb none

[CL 26771326 by dmitriy dyomin in ue5-main branch]
2023-08-02 10:20:46 -04:00
nick pace e894d437e8 Update WebRTC 5414 binaries with LibVPX symbols stripped to avoid collisions with LibVPX provided in UE third party libraries.
#rb aidan.possemiers
[FYI] nazar.rudenko, eden.harris, matthew.cotton

[CL 26761603 by nick pace in ue5-main branch]
2023-08-01 19:46:32 -04:00
nick pace 390ca3f100 Fix WebRTC 5414 header newline artifacts
- Also incorporates some minor upstream header updates

#rb self
[FYI] nazar.rudenko, aidan.possemiers, matthew.cotton, eden.harris

[CL 26759212 by nick pace in ue5-main branch]
2023-08-01 18:43:38 -04:00
sean kealey 909dd99a4e HMI - Skia/Vtzero License
#jira

[CL 26749847 by sean kealey in ue5-main branch]
2023-08-01 15:19:44 -04:00
dmitriy dyomin 347baa32e9 Added debug configurations for astcenc and etccomp libraries and updated build scripts for Windows
#jira UE-178979
#rb none

[CL 26734345 by dmitriy dyomin in ue5-main branch]
2023-08-01 06:26:57 -04:00
martins mozeiko 71e472d450 Fix potential compiler warning in libJPG third party code
[CL 26728508 by martins mozeiko in ue5-main branch]
2023-07-31 21:06:54 -04:00
laura hermanns af361fa3e2 Improve vector/matrix constant folding in SPIRV-Tools. Source integration of GitHub PR 5272. Rebuild ShaderConductor for Win64, Mac, and Linux.
#rb Carl.Lloyd
[FYI] JeanNoe.Morissette
#jira UE-188510

[CL 26724168 by laura hermanns in ue5-main branch]
2023-07-31 18:12:38 -04:00
Josh Adams c9c84dfeee - mtlpp libs compiled for VisionOS
#rb adam.kinge

[CL 26663005 by Josh Adams in ue5-main branch]
2023-07-27 21:21:24 -04:00
martins mozeiko 56016d8246 Update jpeg compressor third party library to latest code
#jira UE-172530
#jira UE-172885
#rb fabian.giesen

[CL 26645074 by martins mozeiko in ue5-main branch]
2023-07-27 12:52:14 -04:00