summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_interp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_interp.c b/src/gallium/drivers/llvmpipe/lp_bld_interp.c
index ee4876eff13..838691e14b0 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_interp.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_interp.c
@@ -177,7 +177,9 @@ attribs_init(struct lp_build_interp_soa_context *bld)
res = lp_build_add(&bld->base, res, lp_build_mul(&bld->base, y, dady));
}
- /* Keep the value of the attribue before perspective divide for faster updates */
+ /* Keep the value of the attribute before perspective divide
+ * for faster updates.
+ */
bld->attribs_pre[attrib][chan] = res;
if (interp == TGSI_INTERPOLATE_PERSPECTIVE) {