Skip to content

Reset progressive accumulation when film dimensions, crop window, or … - #38

Merged
WeiPhil merged 1 commit into
google:mainfrom
WeiPhil:fix/reset-progressive-on-resize
Sep 18, 2026
Merged

WeiPhil merged 1 commit into
google:mainfrom
WeiPhil:fix/reset-progressive-on-resize

Conversation

@WeiPhil

@WeiPhil WeiPhil commented Sep 18, 2026

Copy link
Copy Markdown
Collaborator

Previously, reset_progressive_ was only set when camera or scene prims were dirtied (SyncCamera, etc.), but not when film_changed (buffer resize or crop_window change) or SetAovBindings occurred without a camera frustum update (e.g., aspect-ratio-preserving / DPI resizes, resizing with a USD scene camera, or toggling AOVs). This caused accum_buffer_.array() += result.array() to add tensors of different shapes and fail with jit_var_add: operands have incompatible sizes!.

@WeiPhil
WeiPhil merged commit 29a6eb2 into google:main Sep 18, 2026
9 checks passed
@WeiPhil
WeiPhil deleted the fix/reset-progressive-on-resize branch September 18, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants