freedreno/a5xx: Fix up border color pointers.
authorEric Anholt <eric@anholt.net>
Mon, 29 Mar 2021 21:11:28 +0000 (14:11 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 May 2021 21:28:03 +0000 (21:28 +0000)
commitcc5df4398a2ff1ef291dfd23fee72b0dc173b66d
tree62513f29b159a556dd41e909b9afeb21e662b379
parentde1a20f4bec789c690e5eeba728073ca9c9cfc08
freedreno/a5xx: Fix up border color pointers.

We were forgetting to increment in the loop, but also it looks from blob
dumps on Pixel 2 like all the pointers it emitted were shifted up by 3
compared to our xml, and that's the same shift that a6xx uses for its
pointers.  None of the tests seem to use more than one
border-color-requiring texture, so it's hard to tell.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9904>
src/freedreno/registers/adreno/a5xx.xml
src/gallium/drivers/freedreno/a5xx/fd5_emit.c