Commit Graph

118 Commits

Author SHA1 Message Date
laura hermanns
29a6c72678 [Shaders] Move macro SUPPORTS_INDEPENDENT_SAMPLERS to DDSPI configuration.
While the mobile team wants to keep independent samples disbaled for PCD3D_ES3_1, it makes sense to move this as a platform dependent feature into the DDSPI configuration.

#rb brian.white, christopher.waters, Yuriy.ODonnell
[FYI] Dmitriy.Dyomin, Carl.Lloyd
#rnx

[CL 31764896 by laura hermanns in ue5-main branch]
2024-02-23 11:10:12 -05:00
josh adams
67d747d50a - Moved all versions from *SDK.Versions.cs files to *_SDK.json files
- Some static variables made it tricky, so added some support to make it simpler on users of the static variables
#rb David.Harvey

[CL 31431441 by josh adams in ue5-main branch]
2024-02-13 11:51:53 -05:00
henry falconer
795715c9a5 Disable hair binding on mobile, as it fails an assert due to a missing SRV on the target mesh
#rb Charles.deRousiers

#changelist validated
#virtualized

[CL 31216162 by henry falconer in ue5-main branch]
2024-02-06 11:12:53 -05:00
calvin zheng
ac687a36a3 Move settings from iOSEngine.ini to BaseiOSEngine.ini, also correcting a mistake from a previous CL
#jira UE-203418
#rb adam.kinge, Josh.Adams

[CL 31019874 by calvin zheng in ue5-main branch]
2024-01-30 15:58:57 -05:00
charles derousiers
93f874d6d0 Add hair cards/meshes binding & deformation support for mobile renderer.
#rb charles.derousiers
[FYI] florin.pascu, henry.falconer, per.karefelt

#ushell-cherrypick of 30955220 by Charles.deRousiers

[CL 30955660 by charles derousiers in ue5-main branch]
2024-01-27 11:28:27 -05:00
david harvey
e7eb81afcd Fixup unacceptable words
```
[MemoryMappedFiles]
MasterEnable=true
...change to...
Enable=true
```


#jira UE-202339

#rb Jack.Porter

[CL 30315565 by david harvey in ue5-main branch]
2023-12-14 03:50:39 -05:00
josh adams
681967e680 - Fixed the iPad name to not need quote for inches
#rb adam.kinge
#jira UE-200576

[CL 29782933 by josh adams in ue5-main branch]
2023-11-16 12:56:08 -05:00
adam kinge
cac003bedc Fix unquoted string in iOS DeviceProfile
#jira UE-200576
#rnx

[CL 29777836 by adam kinge in ue5-main branch]
2023-11-16 10:35:44 -05:00
josh adams
9dba14d6cc - Allow for arbitrary number of PreviewPlatforms differing only by DeviceProfile
- Can specify multiple DPs and FriendlyNames now in the PreviewPlaform sections of a DDPI.ini file (separated by comma)
- Use the FriendlyName from the DDPI.ini directly in the platform preview menus, instead of counting on the friendly name of a ShaderPlatform
- IOS DDPI.ini as an example, with 3 DPs, generic IOS (what we had before), iPhone6S and iPadPro6
#rb michael.wanderson

[CL 29753922 by josh adams in ue5-main branch]
2023-11-15 13:58:07 -05:00
tuo chen
d15933ed78 Add mobile lens flare pass
#rb Dmitriy.Dyomin
#jira UE-199859
#fyi Jack.Porter

[CL 29590352 by tuo chen in ue5-main branch]
2023-11-09 01:49:15 -05:00
tiago costa
354a46216d Disable r.ContactShadows on mobile platforms by default.
#rb Florin.Pascu

[CL 28279808 by tiago costa in ue5-main branch]
2023-09-27 13:12:32 -04:00
charles derousiers
9707f945c6 Set closure count to 1 by default on all low end platforms.
#rb none
[FYI] sebastien.hillaire

[CL 27965924 by charles derousiers in ue5-main branch]
2023-09-18 13:42:05 -04:00
charles derousiers
a203fd7037 Make Glint/SpecularLUT/SheenQuality be set per platform.
#rb none
[FYI] sebastien.hillaire

[CL 27947302 by charles derousiers in ue5-main branch]
2023-09-16 22:04:52 -04:00
adam kinge
43d42d6d2b Required Metal changes to support iOS Simulator.
- add a new shader platform (SP_METAL_SIM) to support iOS Simulator specific compilation requirements
- update iOS sim #define WITH_SIMULATOR to WITH_IOS_SIMULATOR

#jira UE-168571
#rb carl.lloyd

[CL 26850475 by adam kinge in ue5-main branch]
2023-08-04 12:28:20 -04:00
carl lloyd
cb320ed6b4 Fixed bug where arrays were flattened when not using SM6, also marked SM6 as experimental
Enabled distance fields for the desktop renderer on iOS

#jira UE-190249

[CL 26436063 by carl lloyd in ue5-main branch]
2023-07-18 12:01:11 -04:00
marc audy
1b8e7f29c4 Rework GPUScene support on mobile platforms.
Platforms that do support uniform buffer objects can now provide batched primitive data through UBO. There is a limit UBO range that can be accessed in shaders, so we group instances into batches that fit into this limit. Switch uses 64KB views, other platfroms16KB views. For each primitive we allocate 512Bytes and 256Bytes for instance. Mobile platforms that do not support UBO will use a desktop version of GPUScene.
There are a few things that still missing: Dynamic mesh passes,  static lighting
#rb ola.olsson, benjamin.rouveyrol

[CL 26354848 by marc audy in ue5-main branch]
2023-06-30 16:34:38 -04:00
yuriy odonnell
b67c4cb749 Add bSupportsVertexShaderSRVs to DataDrivenShaderPlatformInfo which drives PLATFORM_SUPPORTS_VERTEX_SHADER_SRVS shader
* This should be used to guard any features that require explicitly accessing buffer or textures SRVs in vertex shaders

#rb Dmitriy.Dyomin
#rb Kenzo.Terelst

[CL 26207274 by yuriy odonnell in ue5-main branch]
2023-06-23 05:56:06 -04:00
josh adams
305c260069 - Moved SDK versions (MainVersion and Min/Max SDK version) from C# strings to SDK.json files in the Platform's Config folder
- Allow for per-project override in a project's platform's config folder (this is merging with my other work on per-project SDKs and validation of multi-target builds)
- More versions will move over after this
#rb david.harvey

[CL 26150552 by josh adams in ue5-main branch]
2023-06-21 11:21:01 -04:00
serge bernier
7bf7dd423c Fix global usage of all cvars related to shader pipelines:
r.ShaderPipelines
r.Material.ExcludeNonPipelinedShaders

Both cvars are currently disable on WindowsEngine.ini which make them also disable when we cook for consoles. ExcludeNonPipelinedShaderTypes is currently used only at cooking time when we compile shaders which is currently returning false, since the value is disabled on windows. Making those cvars use FShaderPlatformCachedIniValue, will allow to have specific platform value when cooking for a specific target. Moving r.Material.ExcludeNonPipelinedShaders to the defaultengine.ini file to keep it disable for the moment and not affecting shader key string. Will enable it progressively on console later.


r.Shaders.RemoveUnusedInterpolators

Make that cvar platform agnostic, since it will be used in on other consoles eventually. Platforms supporting the stripping of unused interpolators will check the same flag (CFLAG_ForceRemoveUnusedInterpolators) to enable it. Since windows can run opengl, and stripping is not supported on that shader platform, add extra logic to exclude the flag.

-Make the RHISupportsShaderPipelines function access a real DDPI attribute and not just test if we are not on mobile. Will need this to be able to have stripping unused shader interpolators on Switch.

[REVIEW] Laura.Hermanns

[CL 26018371 by serge bernier in ue5-main branch]
2023-06-15 13:27:44 -04:00
Florin Pascu
cd8651734e UX: Remove user-visible ES31 editor references and replace with Mobile
#jira UE-134173
#rb Jack.Porter
#preflight 6447ac2e641e2c3cb4227930

[CL 25178065 by Florin Pascu in ue5-main branch]
2023-04-25 07:05:08 -04:00
Aaron McLeran
70e7c3734f Removing many vestigates of old audio engine code.
#rb Ryan.Mangin
#jira UE-144348
#preflight 6446e9d30206a6e20f49f2e7

[CL 25172786 by Aaron McLeran in ue5-main branch]
2023-04-24 18:22:37 -04:00
dmitriy dyomin
6f5740c36c Resubmitting GPU Landscape section culling, with a mising landscape fix
#p4v-cherrypick 25142057

[CL 25142397 by dmitriy dyomin in ue5-main branch]
2023-04-21 01:43:20 -04:00
john huelin
f283333ad0 Revert GPU Landscape section culling
#rb jonathan.bard

[CL 25139777 by john huelin in ue5-main branch]
2023-04-20 19:09:51 -04:00
dmitriy dyomin
b7acb3e784 Enable landscape GPU culling on Android and iOS
[CL 25107263 by dmitriy dyomin in ue5-main branch]
2023-04-19 11:12:19 -04:00
Florin Pascu
345666d77f Volumetric Support For Mobile - disabled by default in DP
Removed bSupportsVolumetricFog from DDPI
#jira UE-157201
#rb Dmitriy.Dyomin
#preflight 64119df15819afacaff56035

[CL 24652571 by Florin Pascu in ue5-main branch]
2023-03-15 07:26:45 -04:00