Mesa (master): i965: Don' t set the complete field when there is more VUE yet to come.

Eric Anholt anholt at kemper.freedesktop.org
Fri Sep 4 21:20:49 UTC 2009


Module: Mesa
Branch: master
Commit: 0612ad4f19ecde4963e55551bc316610f97282ae
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0612ad4f19ecde4963e55551bc316610f97282ae

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Aug  4 00:26:42 2009 -0700

i965: Don't set the complete field when there is more VUE yet to come.

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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 108e19c..584fdbd 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -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);
 




More information about the mesa-commit mailing list