CTS VK dEQP failure due to precision issue, it can be reproduced on both BDW and SKL GT2 & Ubuntu 16.04 system. Mesa TOC: cb6be5c8c05fa1af20ebd4f014d686244826f987 dEQP TOC: fc868645e28ce37954bd5d5baeb8b0da80248d5e dEQP-VK.glsl.builtin.precision.cos.highp_compute.scalar.qpa: <Result StatusCode="Fail">54 test failed. Check log for the details</Result> dEQP-VK.glsl.builtin.precision.cos.highp_compute.vec2.qpa: <Result StatusCode="Fail">107 test failed. Check log for the details</Result> dEQP-VK.glsl.builtin.precision.cos.highp_compute.vec3.qpa: <Result StatusCode="Fail">139 test failed. Check log for the details</Result> dEQP-VK.glsl.builtin.precision.cos.highp_compute.vec4.qpa: <Result StatusCode="Fail">179 test failed. Check log for the details</Result> dEQP-VK.glsl.builtin.precision.sin.highp_compute.scalar.qpa: <Result StatusCode="Fail">6 test failed. Check log for the details</Result> dEQP-VK.glsl.builtin.precision.sin.highp_compute.vec2.qpa: <Result StatusCode="Fail">12 test failed. Check log for the details</Result> dEQP-VK.glsl.builtin.precision.sin.highp_compute.vec3.qpa: <Result StatusCode="Fail">16 test failed. Check log for the details</Result> dEQP-VK.glsl.builtin.precision.sin.highp_compute.vec4.qpa: <Result StatusCode="Fail">30 test failed. Check log for the details</Result>
Yes, the hardware trig functions have some very minor precision problems that the dEQP tests are sensitive enough to pick up on. It's fixed on Kaby Lake. For older hardware, we have a workaround for this but it's off by default. You just have to set the INTEL_PRECISE_TRIG environment variable to "true" and they should pass.
Thanks, Jason All these failures can pass after set INTEL_PRECISE_TRIG=true
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.