Commit Graph

75 Commits

Author SHA1 Message Date
will damon
814e4992a2 Work around macOS Monterey 12.3.1 issue spewing objc warning messages in Apple frameworks to stdout.
#rb laura.hermanns, josh.adams
#jira UE-151307
#rnx
#preflight n/a

#ROBOMERGE-AUTHOR: will.damon
#ROBOMERGE-SOURCE: CL 20125803 in //UE5/Release-5.0/... via CL 20127517
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20130748 by will damon in ue5-main branch]
2022-05-10 18:02:19 -04:00
Martin Ridgers
de9b153aa2 Mac binaries would fail to locate shader libraries when running from sandboxes
It is possible to use the -sandbox= option to mount an alternative file system location from which to load data. On desktop platforms, if the -sandbox= is not specified then Saved/Cooked/[Platform] is implicitly created as a sandbox. This allows runtime binaries to run off cooked data and negate the need to stage. When cooking, the Metal shader compiler creates shader libraries with files in title case. UAT will convert these into lowercase when staging. The Metal RHI is unable to load the cooked libraries as it assumes it is loading lowercase ones from staged data. This change makes sure that all shader libraries are always lowercase. Secondly, the paths to .metallib files where preprocessed in a such a way that bypassed the sandbox file system, resulting in an incorrect native path. Now the API used to convert from IPlatformFile paths to native ones is always used such that sandboxing will get taken into account.

#jira UE-133202
#rnx
#rb will.damon
#preflight 61e7d989f517d721f993c82f

[CL 18656074 by Martin Ridgers in ue5-main branch]
2022-01-19 04:43:37 -05:00
Marc Audy
19feaafe28 Bring missing changes from Release-Engine-Staging to Release-Engine-Test
[CL 18449767 by Marc Audy in ue5-release-engine-test branch]
2021-12-13 17:38:18 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
will damon
99c367ee0f Fix Windows build.
#rb jack.porter
#jira none
#rnx

#ROBOMERGE-SOURCE: CL 17048834 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17049917 by will damon in ue5-release-engine-test branch]
2021-08-04 09:34:04 -04:00
will damon
e0053f39d3 Fix-up metal compiler version parsing to accommodate changes to Xcode 13 SDK.
#rb lukas.hermanns
#jira UE-120915
[FYI] richard.wallis, jack.porter
#rnx

#ROBOMERGE-SOURCE: CL 17039044 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v848-17036448)

[CL 17039052 by will damon in ue5-release-engine-test branch]
2021-08-03 17:19:34 -04:00
chris varnsverry
ce4dd6767c - Fix some unnecessary string copies when calling FPaths::FileExists
#jira FORT-392314
[at]Michael.Kirzinger [at]Marc.Audy [at]Rob.Cannaday [at]Sam.Zamani

#ROBOMERGE-SOURCE: CL 16923987 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16924003 by chris varnsverry in ue5-release-engine-test branch]
2021-07-22 11:11:51 -04:00
will damon
0a4e702859 Remove all tessellation support from Metal RHI
- Also, remove _NOTESS Metal profile

#rb christopher.waters, richard.wallis, lukas.hermanns, rolando.caloca
#jira UE-94564
#rnx

[CL 15831929 by will damon in ue5-main branch]
2021-03-25 16:56:00 -04:00
will damon
7980379479 Explicitly specify the Target when determining the metal version.
The target info reported when running `xcrun --sdk <platform> metal -v' is always the default for the running OS, and may vary slightly between point releases. Specifying the target reduces the chances of mismatched shader version when using FASTBuild to compile shaders.

NOTE: In order for the shader version to match, the FASTBuild workers must (currently) have the same version Xcode installed, but do not necessarily need to be running the same OS version.

#rb trivial
#[fyi] richard.wallis
#rnx

#robomerge[STARSHIP] Release-5.0-EarlyAccess

#ushell-cherrypick of 15734101 by will.damon

[CL 15739001 by will damon in ue5-main branch]
2021-03-18 12:33:32 -04:00
Marc Audy
9753392e2b Merge UE5/RES CL# 15462083 to UE5/Main
This represents UE4/Main @ 15414221

[CL 15463811 by Marc Audy in ue5-main branch]
2021-02-18 18:13:28 -04:00
will damon
ffb6adc774 Provide metal tools output to caller upon failure, dramatically simplifying debugging.
#rb lukas.hermanns
#jira none
#rnx
#lockdown marcus.wassmer


#ushell-cherrypick of 15389786 by will.damon

#ROBOMERGE-SOURCE: CL 15381462 in //UE4/Release-4.26/... via CL 15387405 via CL 15389663 via CL 15392606
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15392611 by will damon in ue5-main branch]
2021-02-11 17:43:48 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Matt Kuhlenschmidt
603a4119c5 Fix HAL/PlatformFileManager.h non-portable casing CIS issues
#rb none

[CL 13214257 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-06 17:58:18 -04:00
wei liu
f71dfd7ccc Fix a crash bug of Histogram compute shader on A8 devcies.
#jira UE-89933

#rb carl.lloyd

#ROBOMERGE-SOURCE: CL 11894021 in //UE4/Release-4.25/... via CL 11894022
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11894024 by wei liu in Main branch]
2020-03-03 22:34:31 -05:00
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
Rolando Caloca
bbb9564388 Copying //UE4/Dev-RenderPlat-Staging@11110326 to //UE4/Main
#rb none
#rnx

[CL 11110369 by Rolando Caloca in Main branch]
2020-01-24 18:07:01 -05:00
ryan durand
471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00
Marcus Wassmer
6517c68ef5 Copying //UE4/Dev-RenderPlat-Staging@8684824 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 8684840 by Marcus Wassmer in Main branch]
2019-09-14 09:45:25 -04:00
Mark Satterthwaite
d75e013605 Duplicate 5919089
Maybe workaround another Apple/AMD internal compiler error - the safe_array code was causing the AMD driver compiler to fail but simplifying the code seems to work. May have unintended consequences on iOS.

#rb none
#jira UE-72812

[CL 5923534 by Mark Satterthwaite in Main branch]
2019-04-16 17:01:14 -04:00
mark satterthwaite
40f221ade4 Invalidating the MetalShaderFormat version seems to cure the build machine of generating bogus shaders for the BoneMatrix SRV change.
#rb none


#ROBOMERGE-SOURCE: CL 5691957 via CL 5691961 via CL 5691963 via CL 5696013 via CL 5696965

[CL 5697149 by mark satterthwaite in Main branch]
2019-04-02 20:04:43 -04:00
mark satterthwaite
b6d781c1ba Duplicate 5263216 to aid debugging Metal shader issues in games using native shader libraries without having to cook locally:
Package Metal shader source into a zip file rather than a tgz so it can be done on Windows builds too and do this asynchronously while generating the Metal libraries. This file is stored in the MetaData folder so should be moved out of the content and not get packaged. Must be unzipped at the command-line for some reason, but it works.

#rb none


#ROBOMERGE-SOURCE: CL 5333983

[CL 5333997 by mark satterthwaite in Main branch]
2019-03-06 19:28:17 -05:00