How to compile global shaders on Ubuntu 22.04 with Radeon gfx?

Hi, how do I manage to compile the shaders on Ubuntu linux. I’ve successfully build all the binaries and trying to open the starter content.
When I’m trying to use the proprietary Radeon drivers, it immediately crashes. It seems to call a function named “GetDriverSupportedInstanceExtensions” that results in a bunch of different UnknownFunction(0xSOME_OFFSET) calls.
When I’m trying to use the open source gfx driver it seems to compile almost all the shaders (at least it’s counting down from a few thousand to 10) but at the end it always says: Failed to compile global shader FNodeAndClusterCull_CS.
I’ve enabled r.ShaderDevelopmentMode and tried to dabble with the other options but didn’t manage to get any other result.

EDIT: I’m on branch “5.1” but also tried “release” and “UE-main”

EDIT: Log:

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: 54 Shader compiler errors compiling global shaders for platform VULKAN_SM5:
[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: Shader debug info dumped to: "~/Documents/UnrealProjects/StarterContent/Saved/ShaderDebugInfo/VULKAN_SM5/Global/FNodeAndClusterCull_CS/33"
UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteHierarchyTraversal.ush(52,1): Shader FNodeAndClusterCull_CS, Permutation 33, VF None:
	/Engine/Private/Nanite/NaniteHierarchyTraversal.ush(52,1): error: 'template' is a reserved keyword in HLSL
	template<typename FNaniteTraversalCallback>
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteHierarchyTraversal.ush(332,1): Shader FNodeAndClusterCull_CS, Permutation 33, VF None:
	/Engine/Private/Nanite/NaniteHierarchyTraversal.ush(332,1): error: 'template' is a reserved keyword in HLSL
	template<typename FNaniteTraversalCallback>
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteClusterCulling.usf(777,2): Shader FNodeAndClusterCull_CS, Permutation 33, VF None:
	/Engine/Private/Nanite/NaniteClusterCulling.usf(777,2): error: use of undeclared identifier 'NodeCull'
	        NodeCull<FNaniteTraversalClusterCullCallback>(GroupID, GroupIndex, QueueStateIndex);
	        ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteClusterCulling.usf(777,11): Shader FNodeAndClusterCull_CS, Permutation 33, VF None:
	/Engine/Private/Nanite/NaniteClusterCulling.usf(777,11): error: 'FNaniteTraversalClusterCullCallback' does not refer to a value
	        NodeCull<FNaniteTraversalClusterCullCallback>(GroupID, GroupIndex, QueueStateIndex);
	                 ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteClusterCulling.usf(213,8): Shader FNodeAndClusterCull_CS, Permutation 33, VF None:
	/Engine/Private/Nanite/NaniteClusterCulling.usf(213,8): note: declared here
	struct FNaniteTraversalClusterCullCallback
	       ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: Shader debug info dumped to: "~/Documents/UnrealProjects/StarterContent/Saved/ShaderDebugInfo/VULKAN_SM5/Global/FTemporalAACS/49"
UnrealEngine5/Engine/Shaders/Private/TemporalAA.usf(555,1): Shader FTemporalAACS, Permutation 49, VF None:
	/Engine/Private/TemporalAA.usf(555,1): error: 'template' is a reserved keyword in HLSL
	template<typename T>
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalAA.usf(1892,3): Shader FTemporalAACS, Permutation 49, VF None:
	/Engine/Private/TemporalAA.usf(1892,3): error: use of undeclared identifier 'CorrectExposure'
	                CorrectExposure(HistoryPayload.Color.rgb);
	                ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: Shader debug info dumped to: "~/Documents/UnrealProjects/StarterContent/Saved/ShaderDebugInfo/VULKAN_SM5/Global/FNodeAndClusterCull_CS/63"
UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteHierarchyTraversal.ush(159,1): Shader FNodeAndClusterCull_CS, Permutation 63, VF None:
	/Engine/Private/Nanite/NaniteHierarchyTraversal.ush(159,1): error: 'template' is a reserved keyword in HLSL
	template<typename FNaniteTraversalCallback>
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteHierarchyTraversal.ush(212,1): Shader FNodeAndClusterCull_CS, Permutation 63, VF None:
	/Engine/Private/Nanite/NaniteHierarchyTraversal.ush(212,1): error: 'template' is a reserved keyword in HLSL
	template<typename FNaniteTraversalCallback>
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteClusterCulling.usf(781,2): Shader FNodeAndClusterCull_CS, Permutation 63, VF None:
	/Engine/Private/Nanite/NaniteClusterCulling.usf(781,2): error: use of undeclared identifier 'PersistentNodeAndClusterCull'
	        PersistentNodeAndClusterCull<FNaniteTraversalClusterCullCallback>(GroupIndex, QueueStateIndex);
	        ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteClusterCulling.usf(781,31): Shader FNodeAndClusterCull_CS, Permutation 63, VF None:
	/Engine/Private/Nanite/NaniteClusterCulling.usf(781,31): error: 'FNaniteTraversalClusterCullCallback' does not refer to a value
	        PersistentNodeAndClusterCull<FNaniteTraversalClusterCullCallback>(GroupIndex, QueueStateIndex);
	                                     ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: Shader debug info dumped to: "~/Documents/UnrealProjects/StarterContent/Saved/ShaderDebugInfo/VULKAN_SM5/Global/FTSRRejectShadingCS/5"
UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(12,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(12,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize>
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(191,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(191,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, VectorSize, SimdSize> rcp( TLaneVector<ScalarType, VectorSize, SimdSize> A) { TLaneVector<ScalarType, VectorSize, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, rcp(A.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(192,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(192,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, VectorSize, SimdSize> saturate( TLaneVector<ScalarType, VectorSize, SimdSize> A) { TLaneVector<ScalarType, VectorSize, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, saturate(A.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(193,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(193,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, VectorSize, SimdSize> abs( TLaneVector<ScalarType, VectorSize, SimdSize> A) { TLaneVector<ScalarType, VectorSize, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, abs(A.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(210,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(210,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, VectorSize, SimdSize> min( TLaneVector<ScalarType, VectorSize, SimdSize> A, TLaneVector<ScalarType, VectorSize, SimdSize> B) { TLaneVector<ScalarType, VectorSize, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, min(A.GetElement(SimdIndex), B.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(211,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(211,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, VectorSize, SimdSize> max( TLaneVector<ScalarType, VectorSize, SimdSize> A, TLaneVector<ScalarType, VectorSize, SimdSize> B) { TLaneVector<ScalarType, VectorSize, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, max(A.GetElement(SimdIndex), B.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(212,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(212,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, 1, SimdSize> dot( TLaneVector<ScalarType, VectorSize, SimdSize> A, TLaneVector<ScalarType, VectorSize, SimdSize> B) { TLaneVector<ScalarType, 1, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, dot(A.GetElement(SimdIndex), B.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(231,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(231,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, VectorSize, SimdSize> clamp( TLaneVector<ScalarType, VectorSize, SimdSize> A, TLaneVector<ScalarType, VectorSize, SimdSize> B, TLaneVector<ScalarType, VectorSize, SimdSize> C) { TLaneVector<ScalarType, VectorSize, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, clamp(A.GetElement(SimdIndex), B.GetElement(SimdIndex), C.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(232,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(232,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, VectorSize, SimdSize> min3( TLaneVector<ScalarType, VectorSize, SimdSize> A, TLaneVector<ScalarType, VectorSize, SimdSize> B, TLaneVector<ScalarType, VectorSize, SimdSize> C) { TLaneVector<ScalarType, VectorSize, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, min3(A.GetElement(SimdIndex), B.GetElement(SimdIndex), C.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Public/LaneVectorization.ush(233,1): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Public/LaneVectorization.ush(233,1): error: 'template' is a reserved keyword in HLSL
	template<typename ScalarType, uint VectorSize, uint SimdSize> TLaneVector<ScalarType, VectorSize, SimdSize> max3( TLaneVector<ScalarType, VectorSize, SimdSize> A, TLaneVector<ScalarType, VectorSize, SimdSize> B, TLaneVector<ScalarType, VectorSize, SimdSize> C) { TLaneVector<ScalarType, VectorSize, SimdSize> R; [unroll] for (uint SimdIndex = 0; SimdIndex < SimdSize; SimdIndex++) { R.SetElement(SimdIndex, max3(A.GetElement(SimdIndex), B.GetElement(SimdIndex), C.GetElement(SimdIndex))); } return R; } ;
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRRejectShading.usf(140,50): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Private/TemporalSuperResolution/TSRRejectShading.usf(140,50): error: unknown type name 'TLaneVector'
	void WriteAllElementToLDS(uint GroupThreadIndex, TLaneVector< float , 1,  ( 1 * 1 ) > X)
	                                                 ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRRejectShading.usf(140,61): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Private/TemporalSuperResolution/TSRRejectShading.usf(140,61): warning: possible effect annotation ignored - effect syntax is deprecated
	void WriteAllElementToLDS(uint GroupThreadIndex, TLaneVector< float , 1,  ( 1 * 1 ) > X)
	                                                            ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRRejectShading.usf(1032,2): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Private/TemporalSuperResolution/TSRRejectShading.usf(1032,2): error: expected ')'
	}
	 ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRRejectShading.usf(140,26): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Private/TemporalSuperResolution/TSRRejectShading.usf(140,26): note: to match this '('
	void WriteAllElementToLDS(uint GroupThreadIndex, TLaneVector< float , 1,  ( 1 * 1 ) > X)
	                         ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRRejectShading.usf(1032,2): Shader FTSRRejectShadingCS, Permutation 5, VF None:
	/Engine/Private/TemporalSuperResolution/TSRRejectShading.usf(1032,2): error: expected function body after function declarator
	}
	 ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: Shader debug info dumped to: "~/Documents/UnrealProjects/StarterContent/Saved/ShaderDebugInfo/VULKAN_SM5/Global/FNodeAndClusterCull_CS/13"
UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteHierarchyTraversal.ush(373,1): Shader FNodeAndClusterCull_CS, Permutation 13, VF None:
	/Engine/Private/Nanite/NaniteHierarchyTraversal.ush(373,1): error: 'template' is a reserved keyword in HLSL
	template<typename FNaniteTraversalCallback>
	^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteClusterCulling.usf(779,2): Shader FNodeAndClusterCull_CS, Permutation 13, VF None:
	/Engine/Private/Nanite/NaniteClusterCulling.usf(779,2): error: use of undeclared identifier 'ClusterCull'
	        ClusterCull<FNaniteTraversalClusterCullCallback>(GroupID, GroupIndex, QueueStateIndex);
	        ^

[2023.02.12-11.55.24:202][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteClusterCulling.usf(779,14): Shader FNodeAndClusterCull_CS, Permutation 13, VF None:
	/Engine/Private/Nanite/NaniteClusterCulling.usf(779,14): error: 'FNaniteTraversalClusterCullCallback' does not refer to a value
	        ClusterCull<FNaniteTraversalClusterCullCallback>(GroupID, GroupIndex, QueueStateIndex);
	                    ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: Shader debug info dumped to: "~/Documents/UnrealProjects/StarterContent/Saved/ShaderDebugInfo/VULKAN_SM5/Global/FTSRUpdateHistoryCS/4"
UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(254,1): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(254,1): error: 'template' is a reserved keyword in HLSL
	template<typename T>
	^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(347,1): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(347,1): error: 'template' is a reserved keyword in HLSL
	template<typename T>
	^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(891,38): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(891,38): error: use of undeclared identifier 'BilinearSampleColorHistory'
	                                                RawHighFrequency[i][PixelId] = BilinearSampleColorHistory(PrevHistory_HighFrequency, SampleUV);
	                                                                               ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(895,43): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(895,43): error: use of undeclared identifier 'BilinearSampleColorHistory'
	                                                        RawTranslucencyColor[i][PixelId] = BilinearSampleColorHistory(PrevHistory_Translucency, SampleUV);
	                                                                                           ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1028,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1028,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHistoryMomentMin[0]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1029,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1029,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHistoryMomentMin[1]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1030,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1030,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHistoryMomentMin[2]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1031,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1031,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHistoryMomentMax[0]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1032,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1032,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHistoryMomentMax[1]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1033,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1033,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHistoryMomentMax[2]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1034,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1034,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHighFrequencyColor[0]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1035,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1035,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHighFrequencyColor[1]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1036,4): Shader FTSRUpdateHistoryCS, Permutation 4, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1036,4): error: use of undeclared identifier 'CorrectExposure'
	                        CorrectExposure(PrevHighFrequencyColor[2]);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: Shader debug info dumped to: "~/Documents/UnrealProjects/StarterContent/Saved/ShaderDebugInfo/VULKAN_SM5/Global/FNaniteStreamOutCS/0"
UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteAttributeDecode.ush(684,1): Shader FNaniteStreamOutCS, Permutation 0, VF None:
	/Engine/Private/Nanite/NaniteAttributeDecode.ush(684,1): error: 'template' is a reserved keyword in HLSL
	template<class ClusterSegmentProcessor>
	^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteStreamOut.usf(498,4): Shader FNaniteStreamOutCS, Permutation 0, VF None:
	/Engine/Private/Nanite/NaniteStreamOut.usf(498,4): error: use of undeclared identifier 'IterateClusterSegments'
	                        IterateClusterSegments(Cluster, ClusterPageData, Processor);
	                        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteStreamOut.usf(506,2): Shader FNaniteStreamOutCS, Permutation 0, VF None:
	/Engine/Private/Nanite/NaniteStreamOut.usf(506,2): error: use of undeclared identifier 'PersistentNodeAndClusterCull'
	        PersistentNodeAndClusterCull<FNaniteTraversalStreamOutCallback>(GroupIndex, 0);
	        ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteStreamOut.usf(506,31): Shader FNaniteStreamOutCS, Permutation 0, VF None:
	/Engine/Private/Nanite/NaniteStreamOut.usf(506,31): error: 'FNaniteTraversalStreamOutCallback' does not refer to a value
	        PersistentNodeAndClusterCull<FNaniteTraversalStreamOutCallback>(GroupIndex, 0);
	                                     ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/Nanite/NaniteStreamOut.usf(326,8): Shader FNaniteStreamOutCS, Permutation 0, VF None:
	/Engine/Private/Nanite/NaniteStreamOut.usf(326,8): note: declared here
	struct FNaniteTraversalStreamOutCallback
	       ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: Shader debug info dumped to: "~/Documents/UnrealProjects/StarterContent/Saved/ShaderDebugInfo/VULKAN_SM5/Global/FTSRUpdateHistoryCS/11"
UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(671,15): Shader FTSRUpdateHistoryCS, Permutation 11, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(671,15): warning: redefinition of 'PixelId' shadows declaration in the outer scope; most recent declaration will be used
	                                for (uint PixelId = 0; PixelId <  2 ; PixelId++)
	                                          ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(644,15): Shader FTSRUpdateHistoryCS, Permutation 11, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(644,15): note: previous definition is here
	                                for (uint PixelId = 0; PixelId <  2 ; PixelId++)
	                                          ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(900,41): Shader FTSRUpdateHistoryCS, Permutation 11, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(900,41): error: use of undeclared identifier 'BilinearSampleColorHistory'
	                                                        RawGrandPrevToPrev[i][PixelId] = BilinearSampleColorHistory(PrevHistory_PrevHighFrequency, SampleUV);
	                                                                                         ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(912,44): Shader FTSRUpdateHistoryCS, Permutation 11, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(912,44): error: use of undeclared identifier 'BilinearSampleColorHistory'
	                                                                RawGrandReprojection[i][PixelId] = BilinearSampleColorHistory(GrandPrevColorTexture, GrandSampleUV);
	                                                                                                   ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1039,5): Shader FTSRUpdateHistoryCS, Permutation 11, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1039,5): error: use of undeclared identifier 'CorrectExposure'
	                                CorrectExposure(GrandPrevToPrev[0]);
	                                ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1040,5): Shader FTSRUpdateHistoryCS, Permutation 11, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1040,5): error: use of undeclared identifier 'CorrectExposure'
	                                CorrectExposure(GrandPrevToPrev[1]);
	                                ^

[2023.02.12-11.55.24:203][  0]LogShaderCompilers: Warning: UnrealEngine5/Engine/Shaders/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1041,5): Shader FTSRUpdateHistoryCS, Permutation 11, VF None:
	/Engine/Private/TemporalSuperResolution/TSRUpdateHistory.usf(1041,5): error: use of undeclared identifier 'CorrectExposure'
	                                CorrectExposure(GrandPrevToPrev[2]);
	                                ^


Branch 5.2 fixed the issue for me.

1 Like