Fix #143775: Cryptomatte: Precision issues with matte output

The issue has been introduced in 7ceb4495c5 by missing implementation
of the is_noop() callback for the CPU processor.

While it was not noticeable perceptually, an exact floating point value
might have changed due to un-premultiplication+premultiplication.

The fix needs to be ported to the Blender 4.5 LTS.

Pull Request: https://projects.blender.org/blender/blender/pulls/143998
This commit is contained in:
Sergey Sharybin
2025-08-05 14:08:08 +02:00
committed by Sergey Sharybin
parent 34ccb88921
commit e4fc33adfc

View File

@@ -22,7 +22,7 @@ class LibOCIOCPUProcessor : public CPUProcessor {
bool is_noop() const override
{
return false;
return ocio_cpu_processor_->isNoOp();
}
void apply_rgb(float rgb[3]) const override;