Files
UnrealEngineUWP/Engine/Config/Windows/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

180 lines
5.3 KiB
INI

[DataDrivenPlatformInfo]
bIsConfidential=false
IniParent=VulkanPC
PlatformNameAliases=Win64
TargetSettingsIniSectionName=/Script/WindowsTargetPlatform.WindowsTargetSettings
Freezing_b32Bit=false
Freezing_MaxFieldAlignment32=4
Freezing_MaxFieldAlignment64=8
Freezing_bAlignBases=true
bHasDedicatedGamepad=false
bDefaultInputStandardKeyboard=true
bInputSupportConfigurable=true
DefaultInputType=MouseAndKeyboard
bSupportsMouseAndKeyboard=true
bSupportsGamepad=true
bCanChangeGamepadType=true
bSupportsTouch=false
GlobalIdentifier=D1D5F296FF834A87B20FAAA9D6B8E9A6
NormalIconPath=Launcher/Windows/Platform_Windows_24x
LargeIconPath=Launcher/Windows/Platform_Windows_128x
XLargeIconPath=
AutoSDKPath=
TutorialPath=SharingAndReleasing
Windows:bIsEnabled=true
Mac:bIsEnabled=false
Linux:bIsEnabled=false
BinariesDirectoryName=Win64
bUsesHostCompiler=true
bUATClosesAfterLaunch=false
PlatformGroupName=Desktop
UBTPlatformName=Win64
[ShaderPlatform PCD3D_SM5]
Language=D3D
MaxFeatureLevel=SM5
ShaderFormat=PCD3D_SM5
bIsPC=true
bSupportsDebugViewShaders=true
bSupportsRayTracing=true
bSupportsRayTracingShaders=true
bSupportsInlineRayTracing=false
bSupportsRayTracingCallableShaders=true
bSupportsRayTracingProceduralPrimitive=true
bSupportsRayTracingIndirectInstanceData=true
bSupportsPathTracing=true
bSupportsHighEndRayTracingReflections=true
bSupportsWaveOperations=RuntimeDependent
MinimumWaveSize=4
MaximumWaveSize=128
bSupportsGPUScene=true
bSupportsNanite=false
bSupportsSceneDataCompressedTransforms=true
bSupportsComputeFramework=true
bSupportsByteBufferComputeShaders=true
bSupportsLumenGI=true
bSupportsDistanceFields=true
bSupportsSSDIndirect=true
bRequiresVendorExtensionsForAtomics=true
bSupportsAnisotropicMaterials=true
bSupportsVariableRateShading=true
bSupportsGen5TemporalAA=true
bSupportsHairStrandGeometry=true
bSupportsFFTBloom=true
bSupportsDiaphragmDOF=true
; VPAndRTArrayIndexFromAnyShaderFeedingRasterizer is optional in our baseline DX11 version
bSupportsVertexShaderLayer=false
bSupportsInstancedStereo=true
bSupportsCapsuleShadows=true
bSupportsPercentageCloserShadows=true
bSupportsIndexBufferUAVs=true
bSupportsROV=true
bSupportsOIT=true
BindlessSupport=RayTracingOnly
SupportsMultiViewport=RuntimeDependent
FriendlyName=LOCTEXT("FriendlyShaderPlatformName_D3D_SM5", "PC D3D SM5")
bSupportsDualSourceBlending=true
bSupportsNNEShaders=true
[PreviewPlatform PCD3D_SM5]
PlatformName=PCD3D_SM5
ShaderFormat=PCD3D_SM5
ShaderPlatform=PCD3D_SM5
MenuTooltip=LOCTEXT("PreviewMenuTooltip_PCD3D_SM5", "DirectX 11, OpenGL 4.3+, PS4, XB1")
[ShaderPlatform PCD3D_SM6]
FriendlyName=LOCTEXT("FriendlyShaderPlatformName_D3D_SM6", "PC D3D SM6")
Language=D3D
MaxFeatureLevel=SM6
ShaderFormat=PCD3D_SM6
bIsPC=true
MaxMeshShaderThreadGroupSize=128
bSupportsDebugViewShaders=true
bSupportsRayTracing=true
bSupportsRayTracingShaders=true
bSupportsInlineRayTracing=false
bSupportsRayTracingCallableShaders=true
bSupportsRayTracingProceduralPrimitive=true
bSupportsRayTracingIndirectInstanceData=true
bSupportsPathTracing=true
bSupportsHighEndRayTracingReflections=true
bSupportsGPUScene=true
bSupportsNanite=true
bSupportsSceneDataCompressedTransforms=true
bSupportsComputeFramework=true
bSupportsByteBufferComputeShaders=true
bSupportsLumenGI=true
bSupportsDistanceFields=true
bSupportsSSDIndirect=true
bSupportsWaveOperations=RuntimeGuaranteed
MinimumWaveSize=4
MaximumWaveSize=128
bSupportsDxc=true
bSupportsDiaphragmDOF=true
bRequiresVendorExtensionsForAtomics=false
bSupportsUInt64ImageAtomics=true
bSupportsAnisotropicMaterials=true
bSupportsVariableRateShading=true
bSupportsGen5TemporalAA=true
bSupportsMeshShadersTier0=true
bSupportsMeshShadersTier1=true
bSupportsMeshShadersWithClipDistance=true
bSupportsHairStrandGeometry=true
bSupportsFFTBloom=true
bSupportsVertexShaderLayer=true
bSupportsInstancedStereo=true
bSupportsCapsuleShadows=true
bSupportsPercentageCloserShadows=true
bSupportsIndexBufferUAVs=true
BindlessSupport=AllShaderTypes
bSupportsROV=true
bSupportsOIT=true
bSupportsRealTypes=RuntimeDependent
EnablesHLSL2021ByDefault=1
SupportsMultiViewport=RuntimeGuaranteed
bSupportsDualSourceBlending=true
bSupportsNNEShaders=true
[PreviewPlatform PCD3D_SM6]
PlatformName=PCD3D_SM6
ShaderFormat=PCD3D_SM6
ShaderPlatform=PCD3D_SM6
MenuTooltip=LOCTEXT("PreviewMenuTooltip_PCD3D_SM6", "Windows using SM6 profile")
[ShaderPlatform PCD3D_ES3_1]
Language=D3D
MaxFeatureLevel=ES3_1
ShaderFormat=PCD3D_ES31
bIsPC=true
bIsMobile=true
bSupportsDistanceFields = false
bSupportsComputeFramework=true
bSupportsByteBufferComputeShaders = true
bSupportsInstancedStereo=true
bSupportsVertexShaderLayer=true
bSupportsManualVertexFetch=false
bSupportsSceneDataCompressedTransforms=true
bSupportsDebugViewShaders=true
bSupportsShaderPipelines = false
FriendlyName=LOCTEXT("FriendlyShaderPlatformName_D3D_Mobile", "PC D3D Mobile")
SupportsMultiViewport=RuntimeDependent
[PreviewPlatform PCD3D_ES3_1]
PlatformName=PCD3D_ES3_1
ShaderFormat=PCD3D_ES31
ShaderPlatform=PCD3D_ES3_1
MenuTooltip=LOCTEXT("PreviewMenuTooltip_PCD3D_Mobile", "Windows using Mobile profile.")
[ShaderPlatform OPENGL_PCES3_1]
Language=OpenGL
bIsPC=true
ShaderFormat=GLSL_150_ES31
MaxFeatureLevel=ES3_1
ShaderFormat=GLSL_150_ES31
bIsMobile=true
bSupportsManualVertexFetch=false
bSupportsClipDistance = false
bSupportsShaderPipelines = false
FriendlyName=LOCTEXT("FriendlyShaderPlatformName_PCGL_Mobile", "PC OpenGL Mobile")