diff options
author | Kenneth Graunke <[email protected]> | 2011-06-29 10:53:51 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-06-29 10:57:55 -0700 |
commit | 5ddc518401ae69ad92218643f00ef50617a0f11d (patch) | |
tree | 2dc3972dc9049ee95acc3cf99277576618370cae /src | |
parent | e17f2bad3abf8e08b74871c71566dea5f1ce4bf7 (diff) |
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]>
Diffstat (limited to 'src')
-rw-r--r-- | 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 b36d780ed4a..2b650e9bc45 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)); |