diff options
author | Brian Paul <brianp@vmware.com> | 2010-09-21 09:57:25 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-09-21 09:57:25 -0600 |
commit | d49f153ab36fec16f687f35f3a9aaf19fb7254be (patch) | |
tree | 227a3561c276b5d9a6b20fd2bd5b4b7775b03086 /src/gallium/auxiliary/draw/draw_pipe_aapoint.c | |
parent | 441344ba7ed2a1d162ee33ac4bac4bf645188ceb (diff) | |
parent | 77af10955462819d973a395270777c5b8217f6ae (diff) |
Merge branch 'sprite-coord'
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_aapoint.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_aapoint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_aapoint.c b/src/gallium/auxiliary/draw/draw_pipe_aapoint.c index d406a86ccb..5ea552f51c 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_aapoint.c +++ b/src/gallium/auxiliary/draw/draw_pipe_aapoint.c @@ -701,9 +701,9 @@ aapoint_first_point(struct draw_stage *stage, struct prim_header *header) aapoint->pos_slot = draw_current_shader_position_output(draw); - draw->extra_shader_outputs.semantic_name = TGSI_SEMANTIC_GENERIC; - draw->extra_shader_outputs.semantic_index = aapoint->fs->generic_attrib; - draw->extra_shader_outputs.slot = aapoint->tex_slot; + /* allocate the extra post-transformed vertex attribute */ + (void) draw_alloc_extra_vertex_attrib(draw, TGSI_SEMANTIC_GENERIC, + aapoint->fs->generic_attrib); /* find psize slot in post-transform vertex */ aapoint->psize_slot = -1; @@ -754,7 +754,7 @@ aapoint_flush(struct draw_stage *stage, unsigned flags) draw->suspend_flushing = FALSE; - draw->extra_shader_outputs.slot = 0; + draw_remove_extra_vertex_attribs(draw); } |