i965/eu: Refactor brw_WHILE to share a bit more code on Gen6+.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 10 Aug 2014 14:06:36 +0000 (07:06 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 12 Aug 2014 20:39:25 +0000 (13:39 -0700)
commitd8ef0eab5a133ad9d8945a6b7f077fea000a87a6
tree650894fc432a164a9feabc8aeed304b0004fc8c1
parentaafdf9eef481a77810258b828e2a0b4e3c0aa696
i965/eu: Refactor brw_WHILE to share a bit more code on Gen6+.

We're going to add a Gen8+ case shortly, which would need to duplicate
this code again.  Instead, share it.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_eu_emit.c