summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-08-21 09:18:55 -0700
committerAlyssa Rosenzweig <[email protected]>2019-08-21 10:38:31 -0700
commited58fd63b4895a24f9b75fe39de992a978b86bed (patch)
treee660926f5c13dc6fbe2157a8eceaae84cafb5d9a /src/gallium/drivers
parentd0b9f094fdfbcfc816a844696da472a44e8dbc8e (diff)
panfrost: Don't check reads_point_coord
Useless check. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/panfrost/pan_varyings.c2
1 files changed, 1 insertions, 1 deletions
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);