i965: Don't set the complete field when there is more VUE yet to come.
authorEric Anholt <eric@anholt.net>
Tue, 4 Aug 2009 07:26:42 +0000 (00:26 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 21:20:09 +0000 (14:20 -0700)
This should help with things like lightsmark, but I don't have a testcase
for this commit.

src/mesa/drivers/dri/i965/brw_vs_emit.c

index 108e19cdbcff84ec28a0bc9775bf24fed6e08c7e..584fdbdfc37aff861e7e0fffb432c4a60683939c 100644 (file)
@@ -1208,7 +1208,7 @@ static void emit_vertex_write( struct brw_vs_compile *c)
                 MIN2(c->nr_outputs + 1 + len_vertext_header, (BRW_MAX_MRF-1)), /* msg len */
                 0,             /* response len */
                 eot,           /* eot */
-                1,             /* writes complete */
+                eot,           /* writes complete */
                 0,             /* urb destination offset */
                 BRW_URB_SWIZZLE_INTERLEAVE);