summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-12-04 09:19:09 -0700
committerBrian Paul <[email protected]>2009-12-04 09:19:09 -0700
commit1796ffd3bcf74a94c800717e77abaf9902c50b4d (patch)
treef8bf64033943bf1b4df1601eb0235d4d57e0b338 /src/gallium/drivers
parent04e12e31b252e7a18862c3ac386f302665edb6e7 (diff)
llvmpipe: fix typo, whitespace
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup_tri.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
index 3b71bc4c034..74ed0a9e8fb 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c
@@ -117,7 +117,6 @@ static void perspective_coef( struct lp_rast_triangle *tri,
float dadx = (da12 * tri->dy31 - tri->dy12 * da31) * tri->oneoverarea;
float dady = (da31 * tri->dx12 - tri->dx31 * da12) * tri->oneoverarea;
-
tri->inputs.dadx[slot][i] = dadx;
tri->inputs.dady[slot][i] = dady;
tri->inputs.a0[slot][i] = (a1 -
@@ -191,7 +190,7 @@ static void setup_tri_coefficients( struct setup_context *setup,
*/
setup_fragcoord_coef(tri, 0, v1, v2, v3);
- /* setup interpolation for all the remaining attrbutes:
+ /* setup interpolation for all the remaining attributes:
*/
for (slot = 0; slot < setup->fs.nr_inputs; slot++) {
unsigned vert_attr = setup->fs.input[slot].src_index;