Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a compilation issue to to a backport that did not go well. #9

Merged
merged 1 commit into from
Apr 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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