Skip to content

Commit 9c4d885

Browse files
Adrian1066Evergreen
authored andcommitted
[content automatically redacted] touching PlatformDependent folder
1 parent ca8a2cd commit 9c4d885

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

Packages/com.unity.render-pipelines.high-definition/Runtime/Lighting/LightLoop/lightlistbuild.compute

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,13 @@ void TileLightListGen(uint3 dispatchThreadId : SV_DispatchThreadID, uint threadI
166166
prunedList[i] = 0;
167167
}
168168

169+
#if SHADER_API_SWITCH
170+
// Only used for internal testing and not for scenes with large number of lights
171+
// Currently when enabled this can trigger a hang on tests
172+
bool lightSortRequired = false;
173+
#else
169174
bool lightSortRequired = g_iNrVisibLights > LIGHT_LIST_MAX_COARSE_ENTRIES; // Uniform runtime branch
175+
#endif
170176
if (lightSortRequired)
171177
{
172178
UNITY_UNROLLX(DIV_ROUND_UP(MAX_NR_VISIBLE_LIGHTS/32, NR_THREADS))

Tests/SRPTests/Projects/HDRP_RuntimeTests/Assets/Tests/HDRP_Runtime_Graphics_Tests.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,7 @@ public IEnumerable UnityOneTimeSetUp()
6868
[IgnoreGraphicsTest(
6969
"003-VirtualTexturing$",
7070
"https://jira.unity3d.com/browse/UUM-131182 Both Switches fail on MultiThreaded (pass on Native Jobs)",
71-
runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch, RuntimePlatform.Switch2, RuntimePlatform.PS4 }, // Also unstable on PS4: https://jira.unity3d.com/browse/UUM-135501
72-
renderingThreadingModes: new RenderingThreadingMode[] { RenderingThreadingMode.MultiThreaded }
73-
)]
74-
[IgnoreGraphicsTest(
75-
"003-VirtualTexturing-Forward$",
76-
"https://jira.unity3d.com/browse/UUM-131182 Switch fails on MultiThreaded (pass on Native Jobs)",
77-
runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.Switch },
71+
runtimePlatforms: new RuntimePlatform[] { RuntimePlatform.PS4 }, // Also unstable on PS4: https://jira.unity3d.com/browse/UUM-135501
7872
renderingThreadingModes: new RenderingThreadingMode[] { RenderingThreadingMode.MultiThreaded }
7973
)]
8074
[IgnoreGraphicsTest(

0 commit comments

Comments
 (0)