freedreno/a6xx: Skip emitting tess BO pointers past the shader's constlen.
authorEmma Anholt <emma@anholt.net>
Wed, 17 Nov 2021 22:37:29 +0000 (14:37 -0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 2 Dec 2021 01:47:38 +0000 (01:47 +0000)
commit5495359085ac60de970e2588d9052a1ff9f3b69f
tree8fd12ead6f42d47602cdd8c94898215104443eea
parentd7226e9a9e4ffc34f2a2080799ea7952de53d656
freedreno/a6xx: Skip emitting tess BO pointers past the shader's constlen.

Some shaders don't want these pointers, and going past the constlen would
potentially overwrite consts from other draws.  This is a port of a fix
from turnip.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13851>
src/gallium/drivers/freedreno/a6xx/fd6_const.c