diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-04-08 17:59:28 +0100 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2008-04-10 14:35:47 -0400 |
commit | c95dcc49629b72b95826e87e067d7a48753605fb (patch) | |
tree | c37e51d3537fc62f08e81e18e6f7c18383012933 /src/gallium/auxiliary/draw/draw_vbuf.c | |
parent | 7a8ad75c89b45520043693a37d9f0c7e0b24fc5d (diff) |
remove usage of vertex_header
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vbuf.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vbuf.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vbuf.c b/src/gallium/auxiliary/draw/draw_vbuf.c index f83b441e93..e3216ff711 100644 --- a/src/gallium/auxiliary/draw/draw_vbuf.c +++ b/src/gallium/auxiliary/draw/draw_vbuf.c @@ -126,13 +126,6 @@ dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data) case EMIT_OMIT: debug_printf("EMIT_OMIT:"); break; - case EMIT_ALL: - assert(i == 0); - assert(j == 0); - debug_printf("EMIT_ALL:\t"); - for(k = 0; k < vinfo->size*4; ++k) - debug_printf("%02x ", *data++); - break; case EMIT_1F: debug_printf("EMIT_1F:\t"); debug_printf("%f ", *(float *)data); data += sizeof(float); @@ -217,19 +210,6 @@ emit_vertex( struct vbuf_stage *vbuf, case EMIT_OMIT: /* no-op */ break; - case EMIT_ALL: - /* just copy the whole vertex as-is to the vbuf */ - assert(i == 0); - assert(j == 0); - memcpy(vbuf->vertex_ptr, vertex, vinfo->size * 4); - vbuf->vertex_ptr += vinfo->size; - count += vinfo->size; - break; - case EMIT_HEADER: - memcpy(vbuf->vertex_ptr, vertex, sizeof(*vertex)); - *vbuf->vertex_ptr += sizeof(*vertex) / 4; - count += sizeof(*vertex) / 4; - break; case EMIT_1F: *vbuf->vertex_ptr++ = fui(vertex->data[j][0]); count++; |