ae70d25959
This de-duplicate some passes in the raytracing pipeline and make it more ready for adoption of arbitrary closure evaluation. This last part means the removal of some per closure type options. The put in common the tile classification step that is now done only once for all 3 closure type. Also add some speedup to the tile compaction phase that is now only twice faster. The horizon-scan setup was also de-duplicated and run only if needed, which can save up to 0.5ms is complex scenes. However, this moves the max-roughness and and resolution scaling to a common parameter. This is to be able to support arbitrary closure evaluation where multiple closure with conflicting parameters could be evaluated in one tracing pass. Pull Request: https://projects.blender.org/blender/blender/pulls/116009