gallivm: switch the mask6/mask7 cases for signed rgtc formats
authorRoland Scheidegger <sroland@vmware.com>
Thu, 2 Apr 2020 02:19:51 +0000 (04:19 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 2 Apr 2020 15:53:23 +0000 (15:53 +0000)
commit0a3a8806707b7ba4fc2e79896b63c35b1d9f80f6
treedd6bfe6b6fed6da7058b1153f4aa5b3f7852e728
parentebb5b88a02637908b9f4bfd0644964d6347b23af
gallivm: switch the mask6/mask7 cases for signed rgtc formats

This fixes some regressions where -1.0/1.0 results got flipped, but it's still
broken in some cases.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4416>
src/gallium/auxiliary/gallivm/lp_bld_format_s3tc.c