Skip to content

Commit 4554420

Browse files
MattWUnity3dEvergreen
authored andcommitted
[content automatically redacted] touching Platforms folder
1 parent f5366ef commit 4554420

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,8 @@ void TileLightListGen(uint3 dispatchThreadId : SV_DispatchThreadID, uint threadI
150150
uint t=threadID;
151151
int i;
152152

153-
UNITY_UNROLL
154-
for(i=t; i<LIGHT_LIST_MAX_COARSE_ENTRIES; i+=NR_THREADS)
155-
if(i<LIGHT_LIST_MAX_COARSE_ENTRIES)
153+
for(i=t; i<LIGHT_LIST_MAX_COARSE_ENTRIES; i+=NR_THREADS)
154+
if(i<LIGHT_LIST_MAX_COARSE_ENTRIES)
156155
prunedList[i]=0;
157156

158157
uint iWidth = g_viDimensions.x;
@@ -260,7 +259,6 @@ void TileLightListGen(uint3 dispatchThreadId : SV_DispatchThreadID, uint threadI
260259

261260
#ifndef FINE_PRUNING_ENABLED
262261
{
263-
UNITY_UNROLL
264262
for(i=t; i<LIGHT_LIST_MAX_COARSE_ENTRIES; i+=NR_THREADS) if(i<iNrCoarseLights) prunedList[i] = coarseList[i];
265263
if(t==0) ldsNrLightsFinal=iNrCoarseLights;
266264
}

Tests/SRPTests/Projects/HDRP_RuntimeTests/Assets/ShaderVariantLists/Default.shadervariantlist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,9 @@ Compiled shader: HDRP/AxF, pass: DepthForwardOnly, stage: all, keywords _AXF_BRD
713713
Compiled shader: HDRP/AxF, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DIRECTIONAL_SHADOW_HIGH PUNCTUAL_SHADOW_HIGH SCREEN_SPACE_SHADOWS_OFF USE_CLUSTERED_LIGHTLIST _AXF_BRDF_TYPE_SVBRDF _DISABLE_SSR_TRANSPARENT
714714
Compiled shader: HDRP/AxF, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DIRECTIONAL_SHADOW_HIGH PUNCTUAL_SHADOW_HIGH SCREEN_SPACE_SHADOWS_OFF USE_FPTL_LIGHTLIST _AXF_BRDF_TYPE_SVBRDF _DISABLE_SSR_TRANSPARENT
715715
Compiled shader: HDRP/AxF, pass: ForwardOnly, stage: all, keywords _AXF_BRDF_TYPE_SVBRDF
716+
Compiled shader: HDRP/AxF, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER WRITE_MSAA_DEPTH _AXF_BRDF_TYPE_SVBRDF _DISABLE_SSR_TRANSPARENT
716717
Compiled shader: HDRP/AxF, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _AXF_BRDF_TYPE_SVBRDF
718+
Compiled shader: HDRP/AxF, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _AXF_BRDF_TYPE_SVBRDF _DISABLE_SSR_TRANSPARENT
717719
Compiled shader: HDRP/AxF, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER WRITE_MSAA_DEPTH _AXF_BRDF_TYPE_SVBRDF _DISABLE_SSR_TRANSPARENT
718720
Compiled shader: HDRP/AxF, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _AXF_BRDF_TYPE_SVBRDF _DISABLE_SSR_TRANSPARENT
719721
Compiled shader: HDRP/AxF, pass: ShadowCaster, stage: all, keywords _AXF_BRDF_TYPE_SVBRDF
@@ -799,8 +801,10 @@ Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: all, keyword
799801
Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: all, keywords DECALS_4RT _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
800802
Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: all, keywords _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _TESSELLATION_DISPLACEMENT _TESSELLATION_PHONG _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
801803
Compiled shader: HDRP/LayeredLitTessellation, pass: GBuffer, stage: all, keywords _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
804+
Compiled shader: HDRP/LayeredLitTessellation, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER WRITE_MSAA_DEPTH WRITE_NORMAL_BUFFER _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
802805
Compiled shader: HDRP/LayeredLitTessellation, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER WRITE_NORMAL_BUFFER _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _TESSELLATION_DISPLACEMENT _TESSELLATION_PHONG _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
803806
Compiled shader: HDRP/LayeredLitTessellation, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER WRITE_NORMAL_BUFFER _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
807+
Compiled shader: HDRP/LayeredLitTessellation, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
804808
Compiled shader: HDRP/LayeredLitTessellation, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _TESSELLATION_DISPLACEMENT _TESSELLATION_PHONG _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
805809
Compiled shader: HDRP/LayeredLitTessellation, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
806810
Compiled shader: HDRP/LayeredLitTessellation, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER WRITE_MSAA_DEPTH WRITE_NORMAL_BUFFER _DISPLACEMENT_LOCK_TILING_SCALE _HEIGHTMAP0 _HEIGHTMAP1 _HEIGHTMAP2 _HEIGHTMAP3 _LAYEREDLIT_4_LAYERS _NORMALMAP_TANGENT_SPACE0 _NORMALMAP_TANGENT_SPACE1 _NORMALMAP_TANGENT_SPACE2 _NORMALMAP_TANGENT_SPACE3 _TESSELLATION_DISPLACEMENT _VERTEX_DISPLACEMENT_LOCK_OBJECT_SCALE
@@ -1073,6 +1077,7 @@ Compiled shader: HDRP/Unlit, pass: ShadowCaster, stage: all, keywords <no keywor
10731077
Compiled shader: HDRP/Unlit, pass: ShadowCaster, stage: all, keywords DOTS_INSTANCING_ON
10741078
Compiled shader: HDRP/Unlit, pass: ShadowCaster, stage: all, keywords _ENABLE_FOG_ON_TRANSPARENT _SURFACE_TYPE_TRANSPARENT
10751079
Compiled shader: Hidden/BlitCopy, pass: <Unnamed Pass 0>, stage: all, keywords <no keywords>
1080+
Compiled shader: Hidden/ColorPyramidPS, pass: <Unnamed Pass 0>, stage: all, keywords <no keywords>
10761081
Compiled shader: Hidden/ColorPyramidPS, pass: <Unnamed Pass 1>, stage: all, keywords <no keywords>
10771082
Compiled shader: Hidden/ColorPyramidPS, pass: <Unnamed Pass 1>, stage: all, keywords STEREO_INSTANCING_ON
10781083
Compiled shader: Hidden/CoreResources/FilterAreaLightCookies, pass: <Unnamed Pass 0>, stage: all, keywords <no keywords>
@@ -1083,15 +1088,22 @@ Compiled shader: Hidden/HDRP/ApplyDistortion, pass: <Unnamed Pass 0>, stage: all
10831088
Compiled shader: Hidden/HDRP/ApplyDistortion, pass: <Unnamed Pass 0>, stage: all, keywords STEREO_INSTANCING_ON
10841089
Compiled shader: Hidden/HDRP/Blit, pass: Bilinear, stage: all, keywords <no keywords>
10851090
Compiled shader: Hidden/HDRP/Blit, pass: Bilinear, stage: all, keywords STEREO_INSTANCING_ON
1091+
Compiled shader: Hidden/HDRP/Blit, pass: BilinearCubeToOctahedralPadding, stage: all, keywords <no keywords>
10861092
Compiled shader: Hidden/HDRP/Blit, pass: BilinearCubeToOctahedralPadding, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY
1093+
Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuad, stage: all, keywords <no keywords>
10871094
Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuad, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY
1095+
Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuadPadding, stage: all, keywords <no keywords>
10881096
Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuadPadding, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY
1097+
Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuadPaddingOctahedral, stage: all, keywords <no keywords>
10891098
Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuadPaddingOctahedral, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY
1099+
Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuadPaddingRepeat, stage: all, keywords <no keywords>
10901100
Compiled shader: Hidden/HDRP/Blit, pass: BilinearQuadPaddingRepeat, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY
10911101
Compiled shader: Hidden/HDRP/Blit, pass: Nearest, stage: all, keywords <no keywords>
10921102
Compiled shader: Hidden/HDRP/Blit, pass: Nearest, stage: all, keywords BLIT_SINGLE_SLICE
10931103
Compiled shader: Hidden/HDRP/Blit, pass: Nearest, stage: all, keywords STEREO_INSTANCING_ON
1104+
Compiled shader: Hidden/HDRP/Blit, pass: NearestCubeToOctahedralPadding, stage: all, keywords <no keywords>
10941105
Compiled shader: Hidden/HDRP/Blit, pass: NearestCubeToOctahedralPadding, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY
1106+
Compiled shader: Hidden/HDRP/Blit, pass: NearestQuadPadding, stage: all, keywords <no keywords>
10951107
Compiled shader: Hidden/HDRP/Blit, pass: NearestQuadPadding, stage: all, keywords DISABLE_TEXTURE2D_X_ARRAY
10961108
Compiled shader: Hidden/HDRP/CameraMotionVectors, pass: <Unnamed Pass 0>, stage: all, keywords <no keywords>
10971109
Compiled shader: Hidden/HDRP/CameraMotionVectors, pass: <Unnamed Pass 0>, stage: all, keywords STEREO_INSTANCING_ON
@@ -1114,6 +1126,7 @@ Compiled shader: Hidden/HDRP/DepthValues, pass: <Unnamed Pass 1>, stage: all, ke
11141126
Compiled shader: Hidden/HDRP/DepthValues, pass: <Unnamed Pass 1>, stage: all, keywords _HAS_MOTION_VECTORS
11151127
Compiled shader: Hidden/HDRP/DownsampleDepth, pass: <Unnamed Pass 0>, stage: all, keywords <no keywords>
11161128
Compiled shader: Hidden/HDRP/DownsampleDepth, pass: <Unnamed Pass 0>, stage: all, keywords CHECKERBOARD_DOWNSAMPLE
1129+
Compiled shader: Hidden/HDRP/DownsampleDepth, pass: <Unnamed Pass 0>, stage: all, keywords CHECKERBOARD_DOWNSAMPLE OUTPUT_FIRST_MIP_OF_MIPCHAIN
11171130
Compiled shader: Hidden/HDRP/DownsampleDepth, pass: <Unnamed Pass 0>, stage: all, keywords CHECKERBOARD_DOWNSAMPLE STEREO_INSTANCING_ON
11181131
Compiled shader: Hidden/HDRP/DownsampleDepth, pass: <Unnamed Pass 0>, stage: all, keywords STEREO_INSTANCING_ON
11191132
Compiled shader: Hidden/HDRP/DownsampleDepth, pass: <Unnamed Pass 0>, stage: pixel, keywords CHECKERBOARD_DOWNSAMPLE OUTPUT_FIRST_MIP_OF_MIPCHAIN
@@ -1627,6 +1640,8 @@ Compiled shader: Shader Graphs/StackLit, pass: ForwardOnly, stage: all, keywords
16271640
Compiled shader: Shader Graphs/StackLit, pass: ForwardOnly, stage: all, keywords AREA_SHADOW_MEDIUM DECALS_4RT DIRECTIONAL_SHADOW_HIGH PUNCTUAL_SHADOW_HIGH SCREEN_SPACE_SHADOWS_OFF USE_FPTL_LIGHTLIST _DISABLE_SSR_TRANSPARENT
16281641
Compiled shader: Shader Graphs/StackLit, pass: ForwardOnly, stage: all, keywords _SURFACE_TYPE_TRANSPARENT
16291642
Compiled shader: Shader Graphs/StackLit, pass: MotionVectors, stage: all, keywords <no keywords>
1643+
Compiled shader: Shader Graphs/StackLit, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER WRITE_MSAA_DEPTH _DISABLE_SSR_TRANSPARENT
1644+
Compiled shader: Shader Graphs/StackLit, pass: MotionVectors, stage: all, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _DISABLE_SSR_TRANSPARENT
16301645
Compiled shader: Shader Graphs/StackLit, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER WRITE_MSAA_DEPTH _DISABLE_SSR_TRANSPARENT
16311646
Compiled shader: Shader Graphs/StackLit, pass: MotionVectors, stage: pixel, keywords WRITE_DECAL_BUFFER_AND_RENDERING_LAYER _DISABLE_SSR_TRANSPARENT
16321647
Compiled shader: Shader Graphs/StackLit, pass: ShadowCaster, stage: all, keywords <no keywords>

0 commit comments

Comments
 (0)