diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-07-24 18:17:05 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-08-29 09:21:18 +0100 |
commit | 80eb276630a194632d9eba1e2b107d678d0f0a4d (patch) | |
tree | 6663c2ad80067409280dda7cd9ab75097bdbcb01 /src/gallium/drivers/llvmpipe/lp_prim_vbuf.c | |
parent | bdbb4beb21876010b14785569a920fa65a67d1ad (diff) |
llvmpipe: actually pass >1 quad from triangle routine
First attempt
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_prim_vbuf.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_prim_vbuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_prim_vbuf.c b/src/gallium/drivers/llvmpipe/lp_prim_vbuf.c index 5921ed3f96..15795b9a07 100644 --- a/src/gallium/drivers/llvmpipe/lp_prim_vbuf.c +++ b/src/gallium/drivers/llvmpipe/lp_prim_vbuf.c @@ -44,6 +44,7 @@ #include "draw/draw_context.h" #include "draw/draw_vbuf.h" #include "util/u_memory.h" +#include "util/u_prim.h" #define LP_MAX_VBUF_INDEXES 1024 @@ -167,6 +168,7 @@ lp_vbuf_set_primitive(struct vbuf_render *vbr, unsigned prim) setup_prepare( setup_ctx ); + cvbr->llvmpipe->reduced_prim = u_reduced_prim(prim); cvbr->prim = prim; return TRUE; |