panfrost: Simplify stack shift calculation
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 25 Feb 2020 20:40:20 +0000 (15:40 -0500)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 27 Feb 2020 15:32:17 +0000 (16:32 +0100)
commit2fea44c6361b171c9313a75a7e9ef4cbf97602f0
tree41c3017a9b5f143148872889bb66ee69c5655d27
parent40fd1f9da448b65bbd6491199e9f66cef7fdbe32
panfrost: Simplify stack shift calculation

I'm not sure why I never saw smaller values, but here you go.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3950>
src/panfrost/encoder/pan_scratch.c