summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-03-25 18:09:25 +0000
committerKeith Whitwell <[email protected]>2008-03-25 18:09:53 +0000
commitcbec00849186db11d77fd00822145e11e69cb07f (patch)
tree442af1a084d04219cbe4b81539114eddcb47b389
parentc0ef16647424452ba60e165c82c59f5ff64f12d4 (diff)
draw: don't use fetch_and_store for bypass_vs mode, it's not quite right
-rw-r--r--src/gallium/auxiliary/draw/draw_prim.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/draw/draw_prim.c b/src/gallium/auxiliary/draw/draw_prim.c
index 4fe0ddc02a7..75b2f79babb 100644
--- a/src/gallium/auxiliary/draw/draw_prim.c
+++ b/src/gallium/auxiliary/draw/draw_prim.c
@@ -170,10 +170,7 @@ void draw_do_flush( struct draw_context *draw, unsigned flags )
if (flags >= DRAW_FLUSH_SHADER_QUEUE) {
if (draw->vs.queue_nr) {
- if (draw->rasterizer->bypass_vs)
- fetch_and_store(draw);
- else
- (*draw->shader_queue_flush)(draw);
+ (*draw->shader_queue_flush)(draw);
}
if (flags >= DRAW_FLUSH_PRIM_QUEUE) {