panfrost: Include sample count in payload estimates
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 15 Jul 2020 15:39:08 +0000 (11:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Jul 2020 22:19:37 +0000 (22:19 +0000)
commit6088891ef79e4a1a2111ffc76ae10697005df3dd
tree2fc526938edcebc8c7396fe3d66af522d80e320b
parent5c65a27adc69e24cda053cfad85c0973926348aa
panfrost: Include sample count in payload estimates

Otherwise we might not reserve enough space.

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