From ed58fd63b4895a24f9b75fe39de992a978b86bed Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 21 Aug 2019 09:18:55 -0700 Subject: [PATCH] panfrost: Don't check reads_point_coord Useless check. Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_varyings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/pan_varyings.c b/src/gallium/drivers/panfrost/pan_varyings.c index 69e9e6d036d..3ad8aa7e238 100644 --- a/src/gallium/drivers/panfrost/pan_varyings.c +++ b/src/gallium/drivers/panfrost/pan_varyings.c @@ -243,7 +243,7 @@ panfrost_emit_varying_descriptor( fs->varyings[i].src_offset = 16 * (num_gen_varyings++); if (has_point_coord(fs->point_sprite_mask, loc)) - reads_point_coord |= true; + reads_point_coord = true; } memcpy(trans.cpu, vs->varyings, vs_size); -- 2.30.2