panfrost: Only key points to point coord origin
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 20 Jun 2022 23:44:28 +0000 (19:44 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Jul 2022 17:43:50 +0000 (17:43 +0000)
commitfd1edbc6e56a3816757bc8122231f74c3dbbec29
treed376ac3b2bf6a64a4781ce4b1a5f787be5cb0813
parent44d9c41b6bde59cee022637f4a917884f06f36ba
panfrost: Only key points to point coord origin

Apparently, the point coord origin within a batch can change with Gallium
(seemingly even with GLES? where that's impossible at an API level?) but that
doesn't matter if we're not drawing points. This might have to do with internal
Gallium CSOs (e.g. u_blitter). Issue noticed in SuperTuxKart, which was getting
state change flushes. Performance on one level on a Valhall GPU improved from
26fps to 29fps.

Fixes: 3641dfe4367 ("panfrost: Flip point coords in hardware")
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17430>
src/gallium/drivers/panfrost/pan_cmdstream.c