panfrost: Fix negative LOD bias support on Bifrost
authorIcecream95 <ixn@disroot.org>
Wed, 16 Dec 2020 10:14:19 +0000 (23:14 +1300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 16 Dec 2020 21:47:09 +0000 (21:47 +0000)
commit1baddfcff6f3c85366ed6ed25ed10de56e9a00cc
tree12352ddf974d8433815b8744d54fa470c5b77356
parent3a2a00540469fa40b44cd0481ffae0e91b423a9b
panfrost: Fix negative LOD bias support on Bifrost

The LOD bias can be negative, so mark it as signed in the XML.

The code in pan_cmdstream.c already calls FIXED_16 with
'allow_negative' set to true, so doesn't need to be adjusted.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8130>
src/panfrost/lib/midgard.xml