Skip to content

[Backport 2021.1] Fix history buffer allocation for AOVs when the request does not come in first frame #4419

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

Merged
merged 2 commits into from
May 11, 2021

Conversation

pmavridis
Copy link
Contributor

@pmavridis pmavridis commented May 3, 2021

Purpose of this PR

Backport of this PR: #4361
(Note: the GetNumFramesAllocated call that the PR is using was backported already)


Testing status

Tested using Recorder v3.0.0-pre.1, error does not repro anymore and correct images are captured.

pmavridis added 2 commits May 3, 2021 19:04
… in first frame

# Conflicts:
#	com.unity.render-pipelines.high-definition/CHANGELOG.md
#	com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/Camera/HDCamera.cs

Fix bad merge
@pmavridis pmavridis added the HDRP label May 3, 2021
@pmavridis pmavridis requested a review from sebastienlagarde May 3, 2021 17:12
@pmavridis pmavridis changed the title [Backport 2021.1] @pmavridis Fix history buffer allocation for AOVs when the request does not come in first frame [Backport 2021.1] Fix history buffer allocation for AOVs when the request does not come in first frame May 3, 2021
@sebastienlagarde sebastienlagarde marked this pull request as ready for review May 11, 2021 13:14
@sebastienlagarde sebastienlagarde merged commit 19c0060 into 2021.1/staging May 11, 2021
@sebastienlagarde sebastienlagarde deleted the HDRP/fix_aov_history_2021_1 branch May 11, 2021 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants