You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The commit 44a61fa broke the initialization of the OptiX denoiser in pbrt-v4\src\pbrt\gpu\denoiser.cpp
Previously there were two code blocks with calls to optixDenoiserCreate() inside a define #if #else #endif. This was changed to three blocks of code inside a define #if #elif #else #endif, but only the last two blocks contained calls to optixDenoiserCreate(), so for the first block used by OptiX 8.0.0 the denoiserHandle was not being initialized.
Easy fix, just add a #endif after the newly added #if that sets the denoiseAlpha parameter for 8.0.0, and change the subsequent #elif back to a #if
The commit 44a61fa broke the initialization of the OptiX denoiser in pbrt-v4\src\pbrt\gpu\denoiser.cpp
Previously there were two code blocks with calls to optixDenoiserCreate() inside a define #if #else #endif. This was changed to three blocks of code inside a define #if #elif #else #endif, but only the last two blocks contained calls to optixDenoiserCreate(), so for the first block used by OptiX 8.0.0 the denoiserHandle was not being initialized.
Easy fix, just add a #endif after the newly added #if that sets the denoiseAlpha parameter for 8.0.0, and change the subsequent #elif back to a #if
The text was updated successfully, but these errors were encountered: