CALayer backgroundFilters quit working in recent MacOS

Our app uses CALayers for chart builds. We use temporary CALayers to apply backgroundFilters to highLight specified areas using a custom filter. In Big Sur, they quit working. We updated to metal, thinking that deprecated methods could be the problem. No go. We then tried installing standard filters, e.g., CIColorInvert, for testing. No go either. The filters seem to install, but have no effect. Has something changed with CALayer backgroundFilters?

Filed as FB9120139. Will be submitting a TSI.

So far, I've tried the video from WWDC 2020 and the new video from WWDC 2021. Nothing works. It appears to read the kernel ok for CIFilter, but won't even do that when declared as a CIColorFilter (a la WWDC 2020). I'm also confused as the whether the samplers (three) should be passed to the kernel or pass the samples instead. Previously, without Metal, I passed the samplers. (That was the version that used to work, but then didn't.) My MBP is now 7 yrs old, but supposedly should still work. (Waiting anxiously for the new MBP to release.)

TSI 769573020 was filed and charged to my account on May 27. So far, Apple has been totally non-responsive. Nada. I would at least expect an acknowledgment.

CALayer backgroundFilters quit working in recent MacOS
 
 
Q