diff options
author | Keith Whitwell <[email protected]> | 2009-12-09 19:03:10 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-12-09 19:03:10 +0100 |
commit | a08e348a84f57ed5e8bf5888f1ce13934d2ce8fa (patch) | |
tree | 595ffc983588c5441c39ff11c3a089e521f94e53 /src/gallium/auxiliary/draw/draw_pt.h | |
parent | 59f6af51b858340139fe2139e2698fef8a5ad62f (diff) |
gallium: first steps to treat edgeflags as regular vertex element
The idea here is to eliminate the set_edgeflags() call in pipe_context
by treating edgeflags as a regular vertex element.
Edgeflags provoke special treatment in hardware, which means we need to
label them in some way, in this case we'll be passing them through the
vertex shader and labelling the vertex shader output with a new TGSI
semantic (TGSI_SEMANTIC_EDGEFLAG).
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.h b/src/gallium/auxiliary/draw/draw_pt.h index 7a17a9fb6b2..b5c8c82f4a6 100644 --- a/src/gallium/auxiliary/draw/draw_pt.h +++ b/src/gallium/auxiliary/draw/draw_pt.h @@ -149,11 +149,6 @@ struct draw_pt_middle_end *draw_pt_middle_fse( struct draw_context *draw ); struct draw_pt_middle_end *draw_pt_fetch_pipeline_or_emit(struct draw_context *draw); -/* More helpers: - */ -boolean draw_pt_get_edgeflag( struct draw_context *draw, - unsigned idx ); - /******************************************************************************* * HW vertex emit: |