panfrost: Don't count the special vertex/instance ID attributes on Bifrost
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 5 Mar 2021 12:22:27 +0000 (13:22 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 11 Mar 2021 15:10:58 +0000 (15:10 +0000)
commitb0f968cf5c99710b0e204ac59e87314f5cdbc60f
treec6cc7d26c141cf91f338f07ed8762de177231f13
parent7b9dfc502aad61d36a56ffa3eee82cda10aa82a2
panfrost: Don't count the special vertex/instance ID attributes on Bifrost

On Bifrost the vertex/instance ID are preloaded in special registers,
no need to add special attribute entries.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9517>
src/panfrost/lib/pan_shader.c