pan/midgard: Use a signed value for checking inline constants
authorIcecream95 <ixn@keemail.me>
Fri, 5 Jun 2020 08:17:27 +0000 (20:17 +1200)
committerMarge Bot <eric+marge@anholt.net>
Fri, 5 Jun 2020 22:51:45 +0000 (22:51 +0000)
commitd97aaad1555ad25fd13af588aa02f9ff3e081e34
tree9aec358f966bef083035eb1738973659ea725586
parent0bacb280a886905310c9b30c5af234c32ff582dc
pan/midgard: Use a signed value for checking inline constants

Inline constants are sign extended, so we should use a int16_t instead
of an unsigned type.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5351>
.gitlab-ci/deqp-panfrost-t860-fails.txt
src/panfrost/midgard/midgard_compile.c