Fix T92575: Cycles black pixels when rendering with > 65k samples
Differential Revision: https://developer.blender.org/D13039
This commit is contained in:
parent
0ab1b19de4
commit
0b060905d9
Notes:
blender-bot
2023-02-14 06:37:09 +01:00
Referenced by issue #92575, Cycles: With PMJ black pixels appear in the "Monster" scene while rendering ground truth
|
@ -20,7 +20,7 @@ KERNEL_STRUCT_BEGIN(shadow_path)
|
|||
/* Index of a pixel within the device render buffer. */
|
||||
KERNEL_STRUCT_MEMBER(shadow_path, uint32_t, render_pixel_index, KERNEL_FEATURE_PATH_TRACING)
|
||||
/* Current sample number. */
|
||||
KERNEL_STRUCT_MEMBER(shadow_path, uint16_t, sample, KERNEL_FEATURE_PATH_TRACING)
|
||||
KERNEL_STRUCT_MEMBER(shadow_path, uint32_t, sample, KERNEL_FEATURE_PATH_TRACING)
|
||||
/* Random number generator seed. */
|
||||
KERNEL_STRUCT_MEMBER(shadow_path, uint32_t, rng_hash, KERNEL_FEATURE_PATH_TRACING)
|
||||
/* Random number dimension offset. */
|
||||
|
|
|
@ -25,7 +25,7 @@ KERNEL_STRUCT_BEGIN(path)
|
|||
* The multiplication is delayed for later, so that state can use 32bit integer. */
|
||||
KERNEL_STRUCT_MEMBER(path, uint32_t, render_pixel_index, KERNEL_FEATURE_PATH_TRACING)
|
||||
/* Current sample number. */
|
||||
KERNEL_STRUCT_MEMBER(path, uint16_t, sample, KERNEL_FEATURE_PATH_TRACING)
|
||||
KERNEL_STRUCT_MEMBER(path, uint32_t, sample, KERNEL_FEATURE_PATH_TRACING)
|
||||
/* Current ray bounce depth. */
|
||||
KERNEL_STRUCT_MEMBER(path, uint16_t, bounce, KERNEL_FEATURE_PATH_TRACING)
|
||||
/* Current transparent ray bounce depth. */
|
||||
|
|
Loading…
Reference in New Issue