summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-23 12:48:41 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-23 12:48:41 -0700
commitcd3643698eafa0869a8317b002e5b066de0172e7 (patch)
treee7474c2e8079b5069b68adca09bd9882bf65c4c9 /src/mesa/pipe/i915simple
parentb3f081999f8eb904370df7492e39184268c77c13 (diff)
gallium: overhaul usage of vertex_info in draw module.
Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver.
Diffstat (limited to 'src/mesa/pipe/i915simple')
-rw-r--r--src/mesa/pipe/i915simple/i915_state_derived.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_derived.c b/src/mesa/pipe/i915simple/i915_state_derived.c
index 466c704d87..1f17de9cef 100644
--- a/src/mesa/pipe/i915simple/i915_state_derived.c
+++ b/src/mesa/pipe/i915simple/i915_state_derived.c
@@ -133,10 +133,10 @@ static void calculate_vertex_layout( struct i915_context *i915 )
/* If the attributes have changed, tell the draw module about the new
* vertex layout. We'll also update the hardware vertex format info.
*/
- draw_set_vertex_info( i915->draw, &vinfo);
+ /*draw_set_vertex_info( i915->draw, &vinfo);*/
- draw_set_twoside_attributes(i915->draw,
- front0, back0, front1, back1);
+ /*draw_set_twoside_attributes(i915->draw,
+ front0, back0, front1, back1);*/
/* Need to set this flag so that the LIS2/4 registers get set.
* It also means the i915_update_immediate() function must be called