freedreno/ir3: Disable sin/cos range reduction for mediump.
authorEric Anholt <eric@anholt.net>
Mon, 4 May 2020 21:10:40 +0000 (14:10 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 5 May 2020 17:23:34 +0000 (17:23 +0000)
commit9a6bbf4c80ee9fc4294ec70073e1602ea527963c
tree4b938d802dd75dada69bda0367f757223079d374
parentaac964af4aa1a215196d6ae351a11c9b6b937a22
freedreno/ir3: Disable sin/cos range reduction for mediump.

robclark noted that the blob wasn't doing range reduction in the mediump
case, and I confirmed it on
dEQP-GLES3.functional.shaders.operator.angle_and_trigonometry.sin.mediump_float_fragment
vs
dEQP-GLES3.functional.shaders.operator.angle_and_trigonometry.sin.highp_float_fragment.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4893>
src/freedreno/ir3/ir3_nir_trig.py