panfrost: Mark PIPE_BUFFER BOs as not renderable
authorIcecream95 <ixn@keemail.me>
Sat, 4 Apr 2020 23:49:07 +0000 (11:49 +1200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 9 Jun 2020 13:52:52 +0000 (13:52 +0000)
commit18c067f9f099d54eee1d5713b24ecca52295987c
tree37610be5c188f71f82e26e5625a463b51225eb5c
parentdb57624c0ca693fae38871787cabab50e58358d7
panfrost: Mark PIPE_BUFFER BOs as not renderable

Without this, memory usage explodes by 16x due to height alignment.

Closes: #2715
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4451>
src/gallium/drivers/panfrost/pan_resource.c