panfrost: Don't check reads_point_coord
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 21 Aug 2019 16:18:55 +0000 (09:18 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 21 Aug 2019 17:38:31 +0000 (10:38 -0700)
Useless check.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_varyings.c

index 69e9e6d..3ad8aa7 100644 (file)
@@ -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);