Skip to content

Commit a089065

Browse files
fix compil issue
1 parent 44e6ec4 commit a089065

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

com.unity.render-pipelines.high-definition/Runtime/PostProcessing/PostProcessSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3054,7 +3054,7 @@ PaniniProjectionParameters PreparePaniniProjectionParameters(HDCamera camera)
30543054
}
30553055

30563056
if (m_EnableAlpha)
3057-
passData.paniniProjectionCS.EnableKeyword("ENABLE_ALPHA");
3057+
parameters.paniniProjectionCS.EnableKeyword("ENABLE_ALPHA");
30583058

30593059
parameters.paniniParams = new Vector4(viewExtents.x, viewExtents.y, paniniD, paniniS);
30603060
parameters.paniniProjectionKernel = parameters.paniniProjectionCS.FindKernel("KMain");

com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Raytracing/HDRaytracingManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ AccelerationStructureStatus AddInstanceToRAS(Renderer currentRenderer,
294294

295295
// If the mesh was not valid, exclude it (without affecting sidedness)
296296
if (!validMesh)
297+
{
297298
subMeshFlagArray[meshIdx] = false;
298299
subMeshCutoffArray[meshIdx] = false;
299300
}

0 commit comments

Comments
 (0)