i965/gen7: Add missing ! to brw->gs.prog_active assertion.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Jun 2011 17:53:51 +0000 (10:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Jun 2011 17:57:55 +0000 (10:57 -0700)
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 <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_urb.c

index b36d780ed4a848893ab9dacd1ab3ab97bc7e49ac..2b650e9bc453b12da4327e1190982e73ee46df81 100644 (file)
@@ -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));