[Mesa-dev] [PATCH 06/11] i965: remove trailing spaces in brw_sf_emit.c
Iago Toral Quiroga
itoral at igalia.com
Tue Nov 24 04:07:07 PST 2015
---
src/mesa/drivers/dri/i965/brw_sf_emit.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_sf_emit.c b/src/mesa/drivers/dri/i965/brw_sf_emit.c
index b3ee5c1..458c424 100644
--- a/src/mesa/drivers/dri/i965/brw_sf_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_sf_emit.c
@@ -219,7 +219,7 @@ static void do_flatshade_triangle( struct brw_sf_compile *c )
copy_flatshaded_attributes(c, c->vert[0], c->vert[2]);
copy_flatshaded_attributes(c, c->vert[1], c->vert[2]);
}
-
+
static void do_flatshade_line( struct brw_sf_compile *c )
{
@@ -245,7 +245,6 @@ static void do_flatshade_line( struct brw_sf_compile *c )
copy_flatshaded_attributes(c, c->vert[0], c->vert[1]);
}
-
/***********************************************************************
* Triangle setup.
@@ -467,7 +466,7 @@ void brw_emit_tri_setup(struct brw_sf_compile *c, bool allocate)
brw_MUL(p, brw_null_reg(), c->a1_sub_a0, c->dy2);
brw_MAC(p, c->tmp, c->a2_sub_a0, negate(c->dy0));
brw_MUL(p, c->m1Cx, c->tmp, c->inv_det);
-
+
/* calculate dA/dy
*/
brw_MUL(p, brw_null_reg(), c->a2_sub_a0, c->dx0);
@@ -483,7 +482,7 @@ void brw_emit_tri_setup(struct brw_sf_compile *c, bool allocate)
/* Copy m0..m3 to URB. m0 is implicitly copied from r0 in
* the send instruction:
- */
+ */
brw_urb_WRITE(p,
brw_null_reg(),
0,
@@ -544,7 +543,7 @@ void brw_emit_line_setup(struct brw_sf_compile *c, bool allocate)
brw_MUL(p, c->tmp, c->a1_sub_a0, c->dx0);
brw_MUL(p, c->m1Cx, c->tmp, c->inv_det);
-
+
brw_MUL(p, c->tmp, c->a1_sub_a0, c->dy0);
brw_MUL(p, c->m2Cy, c->tmp, c->inv_det);
}
@@ -689,7 +688,7 @@ void brw_emit_point_setup(struct brw_sf_compile *c, bool allocate)
bool last = calculate_masks(c, i, &pc, &pc_persp, &pc_linear);
if (pc_persp)
- {
+ {
/* This seems odd as the values are all constant, but the
* fragment shader will be expecting it:
*/
--
1.9.1
More information about the mesa-dev
mailing list