panfrost: Hoist blend constant into Midgard-specific struct
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 18 May 2019 20:36:00 +0000 (20:36 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 19 May 2019 17:41:21 +0000 (17:41 +0000)
commit3645c781ab16c3e425916ff29745e3138197d8ab
tree0c4284ac6836115b05db42fad6f8915f25ce351e
parent50382df728e485967c450d918146ec87cf2e8d02
panfrost: Hoist blend constant into Midgard-specific struct

This eliminates one major source of #ifdef parity between Midgard and
Bifrost, better representing how the struct acts on Midgard and allowing
proper decodes on Bifrost.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Ryan Houdek <Sonicadvance1@gmail.com>
src/gallium/drivers/panfrost/include/panfrost-job.h
src/gallium/drivers/panfrost/pan_blending.c
src/gallium/drivers/panfrost/pan_blending.h
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h
src/gallium/drivers/panfrost/pan_pretty_print.c