Skip to content

Commit 6114eae

Browse files
Remove old pv stuff (#5479)
1 parent 8b10aea commit 6114eae

File tree

2 files changed

+2
-25
lines changed

2 files changed

+2
-25
lines changed

com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariablesGlobal.cs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ unsafe struct ShaderVariablesGlobal
218218
public uint _NumTileClusteredX;
219219
public uint _NumTileClusteredY;
220220
public int _EnvSliceSize;
221-
public float _Pad7;
221+
public uint _EnableDecalLayers;
222222

223223
// Subsurface scattering
224224
// Use float4 to avoid any packing issue between compute and pixel shaders
@@ -256,25 +256,10 @@ unsafe struct ShaderVariablesGlobal
256256
public int _RaytracingFrameIndex; // Index of the current frame [0, 7]
257257
public uint _EnableRecursiveRayTracing;
258258

259-
// Probe Volumes
260-
public Vector4 _ProbeVolumeAtlasResolutionAndSliceCount;
261-
public Vector4 _ProbeVolumeAtlasResolutionAndSliceCountInverse;
262-
public Vector4 _ProbeVolumeAtlasOctahedralDepthResolutionAndInverse;
263-
264-
public int _ProbeVolumeLeakMitigationMode;
265-
public float _ProbeVolumeBilateralFilterWeightMin;
266-
public float _ProbeVolumeBilateralFilterWeight;
267-
public uint _EnableDecalLayers;
268-
269-
[HLSLArray(7, typeof(Vector4))]
270-
public fixed float _ProbeVolumeAmbientProbeFallbackPackedCoeffs[7 * 4]; // 3 bands of SH, packed for storing global ambient probe lighting as fallback to probe volumes.
271-
272259
public int _TransparentCameraOnlyMotionVectors;
273-
274260
// Can be set to 0 to globally "disable" tessellation
275261
// Because the DepthPrepass doesn't have a DEBUG_DISPLAY variant, it is the only way to disable it for debug modes
276262
public float _GlobalTessellationFactorMultiplier;
277-
278263
public float _SpecularOcclusionBlend;
279264
public float _DeExposureMultiplier;
280265
}

com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariablesGlobal.cs.hlsl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ GLOBAL_CBUFFER_START(ShaderVariablesGlobal, b0)
124124
uint _NumTileClusteredX;
125125
uint _NumTileClusteredY;
126126
int _EnvSliceSize;
127-
float _Pad7;
127+
uint _EnableDecalLayers;
128128
float4 _ShapeParamsAndMaxScatterDists[16];
129129
float4 _TransmissionTintsAndFresnel0[16];
130130
float4 _WorldScalesAndFilterRadiiAndThicknessRemaps[16];
@@ -145,14 +145,6 @@ GLOBAL_CBUFFER_START(ShaderVariablesGlobal, b0)
145145
int _EnableRayTracedReflections;
146146
int _RaytracingFrameIndex;
147147
uint _EnableRecursiveRayTracing;
148-
float4 _ProbeVolumeAtlasResolutionAndSliceCount;
149-
float4 _ProbeVolumeAtlasResolutionAndSliceCountInverse;
150-
float4 _ProbeVolumeAtlasOctahedralDepthResolutionAndInverse;
151-
int _ProbeVolumeLeakMitigationMode;
152-
float _ProbeVolumeBilateralFilterWeightMin;
153-
float _ProbeVolumeBilateralFilterWeight;
154-
uint _EnableDecalLayers;
155-
float4 _ProbeVolumeAmbientProbeFallbackPackedCoeffs[7];
156148
int _TransparentCameraOnlyMotionVectors;
157149
float _GlobalTessellationFactorMultiplier;
158150
float _SpecularOcclusionBlend;

0 commit comments

Comments
 (0)