summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pt.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-16 12:55:47 +0100
committerKeith Whitwell <[email protected]>2008-04-16 12:55:47 +0100
commit3be453bf7fcffd945ee0238e66ff4247a4491f1c (patch)
tree1cadf13dc01f861a91c96b6b17cc8b7174349b37 /src/gallium/auxiliary/draw/draw_pt.c
parentd8c389171872b69af3c94ebab02ad5f4bcd2d4df (diff)
draw: allow pt paths to run without a vbuf render stage
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c
index 895224c9527..c0125c906fe 100644
--- a/src/gallium/auxiliary/draw/draw_pt.c
+++ b/src/gallium/auxiliary/draw/draw_pt.c
@@ -54,10 +54,9 @@ draw_pt_arrays(struct draw_context *draw,
struct draw_pt_middle_end *middle = NULL;
unsigned opt = 0;
- if (!draw->render)
- return FALSE;
- /*debug_printf("XXXXXXXXXX needs_pipeline = %d\n", pipeline);*/
-
+ if (!draw->render) {
+ opt |= PT_PIPELINE;
+ }
if (draw_need_pipeline(draw, prim)) {
opt |= PT_PIPELINE;