summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_vertex.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-20 14:08:09 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-20 14:08:09 -0600
commit478d1e2c9c73fc29542375c44d01ab964ce8eccf (patch)
tree1c9c1ba08bfe5a0c81150c49acce0fab9cd63956 /src/mesa/pipe/draw/draw_vertex.h
parent064daf319cf1868575c794f2380d54ea5b8358af (diff)
remove old/used code
Diffstat (limited to 'src/mesa/pipe/draw/draw_vertex.h')
-rw-r--r--src/mesa/pipe/draw/draw_vertex.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/pipe/draw/draw_vertex.h b/src/mesa/pipe/draw/draw_vertex.h
index 5aa0df4e92..2968981708 100644
--- a/src/mesa/pipe/draw/draw_vertex.h
+++ b/src/mesa/pipe/draw/draw_vertex.h
@@ -34,15 +34,9 @@
#define DRAW_VERTEX_H
-
-#if 0
-#define MAX_VERT_ATTRIBS 12 /* OK? */
-#endif
-
struct draw_context;
-
/**
* Vertex attribute format
*/
@@ -92,9 +86,6 @@ draw_emit_vertex_attr(struct vertex_info *vinfo,
{
const uint n = vinfo->num_attribs;
assert(n < PIPE_MAX_SHADER_OUTPUTS);
- /*
- vinfo->attr_mask |= (1 << vfAttr);
- */
vinfo->format[n] = format;
vinfo->interp_mode[n] = interp;
vinfo->num_attribs++;