panfrost: Delay color buffer setup
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 7 Mar 2019 04:19:21 +0000 (04:19 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 12 Mar 2019 02:37:41 +0000 (02:37 +0000)
commit7ba18cdfa9a6e54f802bbab96058398dcc6803f7
tree58a4357ca9afa4ae2cf6b3ba0d7e7af3da19cf59
parent536bcaa68ffb2b6f939cda4477929f5c3ff55a8c
panfrost: Delay color buffer setup

In an effort to cleanup framebuffer management code, we delay
colour buffer setup until the FRAGMENT job is actually emitted, allowing
the AFBC and linear codepaths to be unified.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Tomeu Vizoso <tomeu.visozo@collabora.com>
src/gallium/drivers/panfrost/pan_context.c