diff options
author | Roland Scheidegger <sroland@vmware.com> | 2009-12-14 18:36:33 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2009-12-14 18:36:33 +0100 |
commit | a0127b6ced257919180ba3a1bf534b68d9c750be (patch) | |
tree | 2b7393c210947a009b654c07da9c4732cc51bade /src/gallium/auxiliary/draw/draw_pt_fetch.c | |
parent | a08e348a84f57ed5e8bf5888f1ce13934d2ce8fa (diff) |
gallium: more work for edgeflags changes
fixes, cleanups, etc.
not working yet
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_fetch.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch.c b/src/gallium/auxiliary/draw/draw_pt_fetch.c index cb609f8c41..305bfef435 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch.c @@ -42,11 +42,11 @@ struct pt_fetch { struct translate *translate; unsigned vertex_size; - boolean need_edgeflags; struct translate_cache *cache; }; + /* Perform the fetch from API vertex elements & vertex buffers, to a * contiguous set of float[4] attributes as required for the * vertex_shader->run_linear() method. @@ -160,11 +160,6 @@ void draw_pt_fetch_run( struct pt_fetch *fetch, count, verts ); - /* Extract edgeflag values from vertex data into the header. - */ - if (fetch->need_edgeflags) { - extract_edge_flags( fetch, count ); - } } @@ -189,14 +184,6 @@ void draw_pt_fetch_run_linear( struct pt_fetch *fetch, start, count, verts ); - - /* Extract edgeflag values from vertex data into the header. XXX: - * this should be done after the vertex shader is run. - * Bypass-vs-and-clip interaction with pipeline??? - */ - if (fetch->need_edgeflags) { - extract_edge_flags( fetch, count ); - } } |