Skip to content

Commit

Permalink
Fix a compilation issue to to a backport that did not go well. (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
anisunity committed Apr 6, 2020
1 parent 740de6b commit 0972839
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2793,7 +2793,7 @@ static void ClearLightList(in BuildGPULightListParameters parameters, CommandBuf
// Note we clear the whole content and not just the header since it is fast enough, happens only in one frame and is a bit more robust
// to changes to the inner workings of the lists.
// Also, we clear all the lists and to be resilient to changes in pipeline.
if (hdCamera.frameSettings.IsEnabled(FrameSettingsField.BigTilePrepass))
if (parameters.runBigTilePrepass)
ClearLightList(parameters, cmd, resources.tileAndClusterData.bigTileLightList);
ClearLightList(parameters, cmd, resources.tileAndClusterData.lightList);
ClearLightList(parameters, cmd, resources.tileAndClusterData.perVoxelOffset);
Expand Down

0 comments on commit 0972839

Please sign in to comment.