panfrost: Implement ES3-format writeout
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 3 Jul 2019 19:34:32 +0000 (12:34 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 10 Jul 2019 13:12:08 +0000 (06:12 -0700)
commitc2ee937cf2524055704c097bdc00a27aa84b9fc1
tree1aee5857a21450be0b2fd4e2d07c8b95c1d92a13
parent46396af1ec4b69ca4a38b501fa2cf37386947840
panfrost: Implement ES3-format writeout

We add support for writing out (via a blend shader):

   - RGBA4
   - RGB10_A2_UNORM
   - RGB10_A2_UINT
   - RGB5_A1_UNORM
   - R11G11B10_FLOAT

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/midgard/midgard_nir_algebraic.py
src/gallium/drivers/panfrost/midgard/nir_lower_framebuffer.c
src/gallium/drivers/panfrost/pan_blending.c
src/gallium/drivers/panfrost/pan_mfbd.c