OSDN Git Service

draw: Allocate the output buffer for output primitives
authorZack Rusin <zackr@vmware.com>
Tue, 26 Mar 2013 19:32:30 +0000 (12:32 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 27 Mar 2013 10:53:02 +0000 (03:53 -0700)
commit10964fc73d8cead8a798c642e6e8fe15e64df95f
tree8503c0686ec8986d774657543b08846878ada4a2
parentf20f981553ede032b72988c10189be7bc2cc6bda
draw: Allocate the output buffer for output primitives

We were allocating the output buffer but using the input
primitives. We need to allocate that buffer using the
maximum number of output, not input, primitives.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_gs.c