turnip: fix tu6_pack_border_color for z24
authorChia-I Wu <olvaffe@gmail.com>
Tue, 17 May 2022 23:30:34 +0000 (16:30 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 21 May 2022 00:54:28 +0000 (00:54 +0000)
commite8eb6d13a5d089be0c637407e4d10db19620c2ad
tree8d4d42b54b865f42fdc560c37fa9786855dba7a4
parent2f2ddfa0acaa5fbe14f1458abc49328b4ef610de
turnip: fix tu6_pack_border_color for z24

The value should be at the bottom 24 bits, not at the top.

dEQP-VK.pipeline.sampler.* still passes.  This fixes most of
dEQP-GLES31.functional.texture_border_clamp.formats.*depth* on angle.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16570>
src/freedreno/vulkan/tu_util.h