Minimal changes to get the baking pipeline operational, only bakes the Combined
pass.
- Add integrator_init_from_bake kernel, that reads the primitive and uv from the render passes and sets up data structures for shade_surface.
- Add back support for reading render passes from Blender.
Since this reuses most of the path tracing code, baking now works with OptiX,
adaptive sampling and denoising.