panfrost: Remove speculative if 0'd format bit code
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 9 Feb 2019 01:13:23 +0000 (01:13 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 10 Feb 2019 00:51:51 +0000 (00:51 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/pan_context.c

index b60d67da9b4c8398dbb7dbaa4fb990a5e760d577..f08461b03a69c4e3517b7670170e81d24ca7415b 100644 (file)
@@ -151,12 +151,6 @@ panfrost_set_fragment_afbc(struct panfrost_context *ctx)
 
                 ctx->fragment_rts[0].format |= MALI_MFBD_FORMAT_AFBC;
 
-                /* Change colourspace from RGB to BGR? */
-#if 0
-                ctx->fragment_rts[0].format |= 0x800000;
-                ctx->fragment_rts[0].format &= ~0x20000;
-#endif
-
                 /* Point rendering to our special framebuffer */
                 ctx->fragment_rts[0].framebuffer = rsrc->bo->afbc_slab.gpu + rsrc->bo->afbc_metadata_size;