panfrost: Cleanup point sprite linking
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 26 Aug 2020 15:22:47 +0000 (11:22 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 Aug 2020 14:53:53 +0000 (14:53 +0000)
commitb17b6cca362a1ab8aa5cfce92f22b91a0f0fff08
tree005a5704141b65f18280573f4d95ba8ac2416e13
parent7d328e7ba9b842b09c5e11610e2424d69acc129b
panfrost: Cleanup point sprite linking

Use the common Gallium helper, and get the sprite coord mask from the
rasterizer instead of the shader state (which requires useless keying).

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6476>
src/gallium/drivers/panfrost/pan_cmdstream.c