panfrost: Extend the tiled store fast-path to loads
authorIcecream95 <ixn@keemail.me>
Wed, 25 Mar 2020 08:05:16 +0000 (21:05 +1300)
committerMarge Bot <eric+marge@anholt.net>
Thu, 26 Mar 2020 14:34:55 +0000 (14:34 +0000)
commit7b9f1b6ef755a07abcd396b42948ae6bf0a569a6
treee7dd888bad0fcc7bb1dc2d9869732738186328ee
parentdac1573a3586565b8b78bd6aab3664921cc1adb1
panfrost: Extend the tiled store fast-path to loads

The access functions are forced to be inline, so performance shouldn't
be impacted for stores.

WebGL performance in Firefox is more than doubled, and track loading
in STK is noticeably faster.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4317>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4317>
src/panfrost/shared/pan_tiling.c