[Mesa-dev] FPE Invalid Operation

Bram Stolk b.stolk at gmail.com
Mon Sep 5 16:55:55 UTC 2016


Hey,

Do you guys test with Floating-Point-Exceptions enabled?
Because on Intel-Haswell, I can trigger a FPE with a simple glClearColor
and glClear.
I think glClear is doing bad FP math on Haswell.

https://software.intel.com/en-us/forums/graphics-driver-bug-
reporting/topic/681580

I recommend doing a:

feenableexcept( FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW );

In your test-suite.

-- 
Owner/Director of Game Studio Abraham Stolk Inc.
Vancouver BC, Canada
b.stolk at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160905/df014d13/attachment.html>


More information about the mesa-dev mailing list