Commit Graph

12238 Commits

Author SHA1 Message Date
Helge Mathee
757be16673 RigVM: New if and select dispatches
#rb sara.schvartzman
#jira na
#preflight https://horde.devtools.epicgames.com/job/6386265cd76995cb1446c8d7

[CL 23324649 by Helge Mathee in ue5-main branch]
2022-11-30 04:26:41 -05:00
dan engelbrecht
5c792dce2f Fix capitalization of logging in ZenSerialization.cpp
#preflight none
#rb none

[CL 23324573 by dan engelbrecht in ue5-main branch]
2022-11-30 04:12:54 -05:00
Charles deRousiers
9f9607a23f Add IsThinSurface on root node for flagging surface with thin shell (i.e., hollow interrior).
The defines a clear semantic for how thickness of a bottom layer should be handled with Strata. This CL only pipes the data for the various parts. A following CL will add a thickness property on the root node.

#rb none
#jira none
#preflight 638672dd4004f73f62ea9600
#fyi sebastien.hillaire

[CL 23324261 by Charles deRousiers in ue5-main branch]
2022-11-30 02:10:42 -05:00
forsakenyang
1f3141bdff PR #9270: Bugfix: remove unnecessary quotes of OutputKeys in FooTarget_Gather.ini when gather texts from meta data via Localization Dashboard. (Contributed by forsakenyang)
#jira: UE-156187
#rb: Jamie.Dale
#preflight: 63868662b21cdd3a267b432f
#9270

[CL 23320722 by forsakenyang in ue5-main branch]
2022-11-29 19:03:04 -05:00
robert seiver
eb9da75c2c Switched from 23314543 to using a predicate/enumerator API to solve the same problem.
#preflight none

[CL 23315176 by robert seiver in ue5-main branch]
2022-11-29 14:35:34 -05:00
robert seiver
d5171e34f7 Properly allow the file dialog window to have a passed-in parent.
#jira UE-89688
#rb Jamie.Dale
#preflight 63864ea97b4bd3f0579d55f9

[CL 23314543 by robert seiver in ue5-main branch]
2022-11-29 14:00:36 -05:00
christopher waters
b986207a34 Moving some RHI types into their own headers:
- DataDrivenShaderPlatformInfo
- ERHIFeatureLevel
- EShaderPlatform

#rb florin.pascu
#preflight 638589464004f73f629ee0b0

[CL 23314007 by christopher waters in ue5-main branch]
2022-11-29 13:36:02 -05:00
Matt Peters
c9f018dced Use ZipArchiveReader to merge shader symbol zip files created during MPCook.
#rb Christopher.Waters
#rnx
#preflight 638643c47b4bd3f057981494

[CL 23313433 by Matt Peters in ue5-main branch]
2022-11-29 13:13:26 -05:00
tiago costa
7249bee912 Fix issue causing incorrect Mesh SDF generation
- Workaround issue with compiler optimization by using copy constructor.

#rb none
#preflight none
#fyi krzysztof.narkowicz

[CL 23313007 by tiago costa in ue5-main branch]
2022-11-29 12:53:43 -05:00
richard malo
27956d595f Avoid getting spam warnings coming from world outliner usaved column trying to resolve actor memory package path when running PIE.
#rb jeanfrancois.dube
#preflight 6386298df213a116eb293e15

[CL 23312521 by richard malo in ue5-main branch]
2022-11-29 12:35:57 -05:00
graeme thornton
f8f4e8769d PakFile: Add functionality to sign a pak as a separate step
[FYI] carlmagnus.nordin

[CL 23312474 by graeme thornton in ue5-main branch]
2022-11-29 12:35:16 -05:00
graeme thornton
faf6311ef1 IoStore: Add functionality to sign a container as a separate step
[FYI] carlmagnus.nordin

[CL 23312469 by graeme thornton in ue5-main branch]
2022-11-29 12:35:12 -05:00
dan elksnitis
7be75b5184 [shaders] fix missing closing " in stb header error msg (this path should not be hit but it's causing problems for IncludeTool static analyzer)
#rb trivial
#preflight none

[CL 23310769 by dan elksnitis in ue5-main branch]
2022-11-29 11:44:01 -05:00
sara schvartzman
882cc620d6 Control Rig: Fix initialization of hidden properties in unit nodes
#jira UE-171050
#rb helge.mathee
#preflight https://horde.devtools.epicgames.com/job/638619add76995cb1441371d

[CL 23307765 by sara schvartzman in ue5-main branch]
2022-11-29 10:27:59 -05:00
dan elksnitis
4803fda014 [stb_preprocess]
- add handling of #pragma directives in macro definitions
- add handling of #pragma message to create diagnostic outputs
- add and update comments in preprocessor.h
- unifying memory allocation mechanisms between stb_ds, stb_alloc and preprocessor - allow configuring all functions performing memory allocation/freeing via macros which should be specified via a header whose include path is specified via the STB_CONFIG macro (this will be included in stb_common.h if defined)
- don't pass an stb_arena to the include resolution callback; this is unnecessary complexity (implementation can handle its own memory allocation as long as the resulting strings have the appropriate lifetime) and indeed the arena used was global (and so not threadsafe)
- expose function allowing external modification of error modes so we can disable the error case for preprocessor directives not being at the start of a line (and so handle the case where we #define a macro whose value is a #pragma, or any other string possibly containing a # that we want to pass unmodified to the output i.e. the case of #define COMPILER_DEFINE #define which we use to keep #defines in the preprocessed code for handling by the platform compilers)
- fix leak of pp diagnostic messages
- remove internal caches for include resolution; they are problematic since (a) they aren't threadsafe, and (b) the caching of resolved filenames based on the include path found in source is inherently problematic (can potentially cause issues with same-named files in different folders included via relative paths)
- strip all code related to explicit file loading and lists of include paths; this has no purpose for our use case. note this makes the callbacks for file load/unload and include resolve mandatory, comments in preprocessor.h updated to reflect this.
- fix a few other memory leaks

#preflight 638611a9fa053c489a54b2ec
#rb Yuriy.ODonnell

[CL 23305324 by dan elksnitis in ue5-main branch]
2022-11-29 09:34:03 -05:00
Stephen Holmes
aa2c2ec587 Addressing numeric conversion warnings in visual logger plus minor code tidy up.
#jira UE-166285
#review-23286462
#preflight 638608baf213a116eb1ef6f0

[CL 23305014 by Stephen Holmes in ue5-main branch]
2022-11-29 09:25:35 -05:00
dan engelbrecht
b244e66921 Change handling of malformed CbPackages from hard error to treating it as a format error with logging
#jira UE-171171
#rb stefan.boberg per.larson
#preflight 6385e758337745090052a21a

[CL 23303473 by dan engelbrecht in ue5-main branch]
2022-11-29 06:18:18 -05:00
axel riffard
105479f091 Fix Metal 3.0 shader compilation on iOS
#rb jack.porter
#jira UE-166909
#preflight 6385cd67d76995cb142c0695

[CL 23303343 by axel riffard in ue5-main branch]
2022-11-29 05:55:31 -05:00
dan thompson
749fc7af7b Fix for crash when creating texture arrays.
#jira UE-169956
#preflight 63850025fa053c489a0593c6
#rb charles.bloom

[CL 23300649 by dan thompson in ue5-main branch]
2022-11-28 19:30:35 -05:00
Matt Peters
2b78f8441a ShaderSymbolExport: Rename temporary class to avoid name collision with the real class that has just been implemented.
#rb None, trivial
#rnx
#preflight None, Nottestedbypreflight

[CL 23300398 by Matt Peters in ue5-main branch]
2022-11-28 19:20:39 -05:00
luke thatcher
ee70bc02da Remove use of FRHIBoundShaderState resources in D3D12RHI
- No longer necessary, since they were only used to find/create root signatures, which can be implemented directly in the adapter class.
 - RHICreateBoundShaderState is never called.

Remove D3D12_SUPPORTS_PARALLEL_RHI_EXECUTE
 - This is always true.

#rb Chris.Waters
#preflight 6384cd3afa053c489af10129

[CL 23300192 by luke thatcher in ue5-main branch]
2022-11-28 19:13:10 -05:00
ionut matasaru
7192210a85 [Insights] Added detection for pending events (with metadata) older than regular cpu timing events. Time needs to increase monotonically for cpu timing events. So, when this happens, we further ignore all pending events on this thread. The issue can occur in late connect trace sessions with trace protocol <= 6 (i.e. the scoped events have relative timestamps).
#rb Catalin.Dragoiu
#preflight 6384c9f4fa053c489af00d1b

[CL 23300187 by ionut matasaru in ue5-main branch]
2022-11-28 19:12:50 -05:00
Matt Peters
491762ef46 FileUtilities: Disable ZipArchiveReader on PLATFORM_MAC until we have fixed the libzip.a library.
#rb None, trivial
#preflight None, not tested by preflight.

[CL 23300148 by Matt Peters in ue5-main branch]
2022-11-28 19:09:06 -05:00
Matt Peters
c9055a1b25 ZipArchiveReader: Add class to read zip archives (including the archives written by ZipArchiveWriter), using libzip.
#rn Minor, Core
#rb Brandon.Schaefer
#preflight 63853f86766a2aeed2bd362e

[CL 23299497 by Matt Peters in ue5-main branch]
2022-11-28 18:24:58 -05:00
christopher waters
0e8e4d0dd6 After extracting all parameters from D3D12 reflection, the "bSucceeded" flag was being forced to true which would prevent any parameter validation from being reported. Most notably, this would hide errors caused by missing global parameters when using shader parameter structs.
Bumping D3D_SM5 and D3D_SM6 versions.

#jira none
#rb jason.nadro
#preflight 6384f5d2170bc34a935c960c

[CL 23298219 by christopher waters in ue5-main branch]
2022-11-28 17:06:24 -05:00