aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-02-09 01:13:23 +0000
committerAlyssa Rosenzweig <[email protected]>2019-02-10 00:51:51 +0000
commit658961aec37d64b68c3fe44833176d442ee0687e (patch)
tree9f61e777ef959780a7578503b871ac1f94a1e309 /src
parentb1213a394721cc9975d7d611e6ff95b96c0c376b (diff)
panfrost: Remove speculative if 0'd format bit code
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c
index b60d67da9b4..f08461b03a6 100644
--- a/src/gallium/drivers/panfrost/pan_context.c
+++ b/src/gallium/drivers/panfrost/pan_context.c
@@ -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;