i965/compiler: Disable trig workarounds on KBL+
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 8 Nov 2016 21:21:39 +0000 (13:21 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Nov 2016 16:06:33 +0000 (08:06 -0800)
commita8ef92b031729fca86f8615d0ca113ddf0965af9
treec6701fdc8e8a074cc9177a6969872a37ac3d4d22
parent767b163e478475a3c56fc7319ed0b9f5733eb7c9
i965/compiler: Disable trig workarounds on KBL+

The precision of our trig instructions appears to have been fixed on Kaby
Lake.  Neither Ben nor I can find any documentation for this.  However, the
dEQP precision tests now pass with INTEL_PRECISE_TRIG=0 where they fail on
Sky Lake.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_nir.c
src/mesa/drivers/dri/i965/brw_nir_trig_workarounds.py