Module: Mesa Branch: 7.11 Commit: a8d7f36d6598da452c9724d41b74feff4a0cdd88 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8d7f36d6598da452c9724d41b74feff4a0cdd88
Author: Kenneth Graunke <[email protected]> Date: Wed Jun 29 10:53:51 2011 -0700 i965/gen7: Add missing ! to brw->gs.prog_active assertion. A typo in commit c173541d9769 accidentally removed the !. It's supposed to assert that there is _not_ an active GS program. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=38762 Signed-off-by: Kenneth Graunke <[email protected]> (cherry-picked from commit 5ddc518401ae69ad92218643f00ef50617a0f11d) --- src/mesa/drivers/dri/i965/gen7_urb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen7_urb.c b/src/mesa/drivers/dri/i965/gen7_urb.c index b36d780..2b650e9 100644 --- a/src/mesa/drivers/dri/i965/gen7_urb.c +++ b/src/mesa/drivers/dri/i965/gen7_urb.c @@ -78,7 +78,7 @@ upload_urb(struct brw_context *brw) assert(brw->urb.nr_vs_entries % 8 == 0); assert(brw->urb.nr_gs_entries % 8 == 0); /* GS requirement */ - assert(brw->gs.prog_active); + assert(!brw->gs.prog_active); BEGIN_BATCH(2); OUT_BATCH(_3DSTATE_PUSH_CONSTANT_ALLOC_VS << 16 | (2 - 2)); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
