Drawing extended sRGB images into display P3 integer context loses wide colors

Originator:an00na
Number:rdar://28870323 Date Originated:20-Oct-2016 11:03 AM
Status:Open Resolved:
Product:iOS SDK Product Version:10.0
Classification:Other Buge Reproducible:Always
 
Summary:
Drawing extended sRGB images into context with display P3 color space and integer format loses wide colors.

Steps to Reproduce:
1. Run the sample playground to see the bug.
2. Set toFloat to true to see that floating-point format works.

Code: https://cloudup.com/cqkh5IQDIg3

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!