On Windows, "TargetedRHIs" is now split into "D3D11TargetedShaderFormats", "D3D12TargetedShaderFormats" and "VulkanTargetedShaderFormats". "TargetedRHIs" is still parsed for backwards compatibility.
Using this, projects can now be more easily configured for D3D12-only or even Vulkan-only.
Updated FShaderFormatsPropertyDetails to use FName instead of FString for shader platforms. Also added a filtering method for mixed RHI platforms like Windows.
#jira none
#rb mihnea.balta, josh.adams
#preflight 6287cbf46c7692ac8cc8805f
[CL 20300786 by christopher waters in ue5-main branch]
#p4v-cherrypick 19897004
#ROBOMERGE-AUTHOR: james.doverspike
#ROBOMERGE-SOURCE: CL 19896998 via CL 19897000 via CL 19897003 via CL 19897308 via CL 19897311
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)
[CL 19897438 by james doverspike in ue5-main branch]
#ROBOMERGE-AUTHOR: james.doverspike
#ROBOMERGE-SOURCE: CL 19633635 via CL 19638280 via CL 19642304 via CL 19642363 via CL 19642410
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)
[CL 19643014 by james doverspike in ue5-main branch]
This unifies a few Performance Mode settings together and now allows a project to restrict D3D12 to SM6 only.
#rb mihnea.balta, josh.adams
#preflight 622f83adc51b66df4c210b1e
#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 19376538 via CL 19376631
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)
[CL 19378054 by christopher waters in ue5-main branch]
Adding Feature Level to the D3D12 RHI name, useful for the editor tooltip.
Fixing WindowsDynamicRHI config loads to use GConfig instead of FConfigCacheIni::LoadLocalIniFile so we don't miss changes made during startup.
#jira UE-145478
#rb mihnea.balta
#ROBOMERGE-AUTHOR: christopher.waters
#ROBOMERGE-SOURCE: CL 19340775 via CL 19340835
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)
[CL 19348800 by christopher waters in ue5-main branch]
#ROBOMERGE-AUTHOR: james.doverspike
#ROBOMERGE-SOURCE: CL 19005010 via CL 19005746 via CL 19006824 via CL 19007371 via CL 19007474 via CL 19008142 via CL 19008768
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)
[CL 19009925 by james doverspike in ue5-main branch]
Enable PSO cache CVars by default on Windows. This has no effect on D3D11 since the cache is disabled if GRHISupportsPipelineFileCache is false.
#ROBOMERGE-AUTHOR: chris.genova
#ROBOMERGE-SOURCE: CL 18785319 via CL 18785326 via CL 18785329 via CL 18785330 via CL 18785331 via CL 18785353 via CL 18785366
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)
[CL 18785369 by chris genova in ue5-main branch]
- It should not override user's explicit choice of DefaultGraphicsRHI in project settings in the editor.
- Either in the editor or in game, if the project isn't using D3D at all, it shouldn't apply.
#rb James.Doverspike
#jira UE-118810
[at]James.Doverspike
#ROBOMERGE-SOURCE: CL 16939833 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)
[CL 16939840 by arciel rekman in ue5-release-engine-test branch]