projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658ab3c
)
i965: fix indentation
author
Brian Paul
<brianp@vmware.com>
Tue, 13 Jan 2009 17:38:15 +0000
(10:38 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 14 Jan 2009 15:34:06 +0000
(08:34 -0700)
src/mesa/drivers/dri/i965/brw_sf.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_sf.c
b/src/mesa/drivers/dri/i965/brw_sf.c
index 9dce6cd8e6c7fe247828d229fd84dfea3a223374..1a11d546210e7c1582074ea6e2e5ae49064d6ce1 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_sf.c
+++ b/
src/mesa/drivers/dri/i965/brw_sf.c
@@
-73,10
+73,12
@@
static void compile_sf_prog( struct brw_context *brw,
c.attr_to_idx[i] = idx;
c.idx_to_attr[idx] = i;
if (i >= VERT_RESULT_TEX0 && i <= VERT_RESULT_TEX7) {
- c.point_attrs[i].CoordReplace =
- brw->attribs.Point->CoordReplace[i - VERT_RESULT_TEX0];
- } else
- c.point_attrs[i].CoordReplace = GL_FALSE;
+ c.point_attrs[i].CoordReplace =
+ brw->attribs.Point->CoordReplace[i - VERT_RESULT_TEX0];
+ }
+ else {
+ c.point_attrs[i].CoordReplace = GL_FALSE;
+ }
idx++;
}
@@
-106,7
+108,6
@@
static void compile_sf_prog( struct brw_context *brw,
assert(0);
return;
}
-
/* get the program
*/