Open sharkautarch opened 2 months ago
I'd rather just have the pragma thing, rather than the denorms thing... We can come back to it if we want it.
@Joshua-Ashton
instead of turning on ftz/daz globally, I ended up using some intrinsics for x86 and aarch64 to just turn on ftz/daz inside calcColorTransform
create_color_mgmt_luts
, w/ the msrs being restored after returning from the function
Let me know if this is ok, or just too complicated
Can confirm this fixes #1493.
Edited to remove the msr things as per misyl’s feedback
Should fix https://github.com/ValveSoftware/gamescope/issues/1493