Files
UnrealEngineUWP/Engine/Config/TVOS/DataDrivenPlatformInfo.ini
serge bernier cb29e2d03d 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 26038736 by serge bernier in 5.3 branch]
2023-06-16 02:51:55 -04:00

40 lines
1.1 KiB
INI

[DataDrivenPlatformInfo]
bIsConfidential=false
IniParent=IOS
TargetSettingsIniSectionName=/Script/IOSRuntimeSettings.IOSRuntimeSettings
GlobalIdentifier=A478294FBD0D4EC08830B6D4D219C1A4
NormalIconPath=Launcher/TVOS/Platform_TVOS_24x
LargeIconPath=Launcher/TVOS/Platform_TVOS_128x
XLargeIconPath=
AutoSDKPath=
TutorialPath=SharingAndReleasing/Mobile/iOS
Windows:bIsEnabled=true
Mac:bIsEnabled=true
Linux:bIsEnabled=false
bUsesHostCompiler=false
bUATClosesAfterLaunch=true
PlatformGroupName=Mobile
[ShaderPlatform METAL_MRT_TVOS]
Language=Metal
MaxFeatureLevel=SM5
ShaderFormat=SF_METAL_MRT_TVOS
bIsMetalMRT=true
bTargetsTiledGPU=true
bSupportsIndexBufferUAVs=true
bSupports4ComponentUAVReadWrite=true
bSupportsManualVertexFetch=false
bSupportsDualSourceBlending=true
FriendlyName=LOCTEXT("FriendlyShaderPlatformName_TVOS_SM5", "TVOS Metal SM5")
[ShaderPlatform METAL_TVOS]
Language=Metal
MaxFeatureLevel=ES3_1
ShaderFormat=SF_METAL_TVOS
bIsMobile=true
bTargetsTiledGPU=true
bSupports4ComponentUAVReadWrite=true
bSupportsManualVertexFetch=false
bSupportsShaderPipelines = false
FriendlyName=LOCTEXT("FriendlyShaderPlatformName_TVOS_Mobile", "TVOS Metal Mobile")