--------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
fixes a few mistakes, and skips the CM shader in cpu instead of adding a costly branch ref #9641
Adds proper color management and transformations for CM surfaces.