bifrost: Set RTZ rounding mode for f2i conversion
authorChris Forbes <chrisforbes@google.com>
Sat, 4 Jul 2020 22:26:42 +0000 (15:26 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 23:17:16 +0000 (23:17 +0000)
commitf6aa0719cfaf10299d2c5112ddfbee91b4b732a9
tree6869cc6f4f88f50761f86e577cd8bf5ac0932525
parent7682c887b3258813733b9b82c823afe60cb99914
bifrost: Set RTZ rounding mode for f2i conversion

Fixes dEQP-GLES2.functional.shaders.conversions.scalar_to_scalar.float_to_int_fragment

Signed-off-by: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5779>
src/panfrost/bifrost/bifrost_compile.c