diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-10-01 18:40:01 +0100 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2008-10-02 10:19:48 -0400 |
commit | 21f98ad30aaeab5085d12278830f485e61b47cc1 (patch) | |
tree | 1dabc32cb92699e0ef2740dc8b60171cc9e257cf /src/gallium/auxiliary/draw/draw_vs.h | |
parent | 66d4beb874606baab95fb6539de895eb373b0ccb (diff) |
draw: don't keep refetching constant inputs
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs.h b/src/gallium/auxiliary/draw/draw_vs.h index 45992d1986..68c24abad3 100644 --- a/src/gallium/auxiliary/draw/draw_vs.h +++ b/src/gallium/auxiliary/draw/draw_vs.h @@ -64,7 +64,7 @@ struct draw_vs_varient_key { unsigned nr_outputs:8; unsigned viewport:1; unsigned clip:1; - unsigned pad:5; + unsigned const_vbuffers:5; struct draw_varient_element element[PIPE_MAX_ATTRIBS]; }; @@ -76,7 +76,7 @@ struct draw_vs_varient { struct draw_vertex_shader *vs; - void (*set_input)( struct draw_vs_varient *, + void (*set_buffer)( struct draw_vs_varient *, unsigned i, const void *ptr, unsigned stride ); |