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

Unfused ReSTIR #192

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Unfused ReSTIR #192

wants to merge 3 commits into from

Conversation

kvark
Copy link
Owner

@kvark kvark commented Oct 13, 2024

Originally in #184

Un-fusing temporal and spatial sampling may provide the following benefit:

  • faster convergence because the spatial resampling is done on fresh results
  • higher occupancy of the smaller shader stages

Correctness

Screenshot 2024-10-12 221101

Testing with 4 spatial samples
Before:
ball4-fused

After:
ball4-unfused

Performance

Before: (10.58ms)
Screenshot 2024-10-12 221158

After: (11.06ms)
Screenshot 2024-10-12 223640

Overall, we are 0.5ms slower

I also checked the numbers without the spatial tap altogether, and they matched as they should.

@kvark kvark mentioned this pull request Oct 13, 2024
@kvark kvark added the type: experiment Experimental code label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: experiment Experimental code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant