diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-07-04 11:26:54 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-07-09 14:07:13 -0700 |
commit | 292139066698216dfc8fb1a65d327bb063d16a00 (patch) | |
tree | 23805cd943064545e78364bcb9fc47b875c0061b /src/mesa/drivers/dri/i965/brw_clip_line.c | |
parent | 968c57782d3c3ab646cc8605909604246f5f4f90 (diff) | |
download | external_mesa3d-292139066698216dfc8fb1a65d327bb063d16a00.zip external_mesa3d-292139066698216dfc8fb1a65d327bb063d16a00.tar.gz external_mesa3d-292139066698216dfc8fb1a65d327bb063d16a00.tar.bz2 |
i965: Replace intel_context:needs_ff_sync with intel->gen == 5.
Technically, needs_ff_sync was set on Gen5+, but it was only consulted
in the clipper threads and quad/lineloop decomposition code, which are
both Gen4-5 only. So in reality it only identified Ironlake.
The named flag doesn't really clarify things, and seems like overkill.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Chris Forbes <chrisf@ijw.co.nz>
Acked-by: Paul Berry <stereotype441@gmail.com>
Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_clip_line.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clip_line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clip_line.c b/src/mesa/drivers/dri/i965/brw_clip_line.c index 508fa29..f7c8d09 100644 --- a/src/mesa/drivers/dri/i965/brw_clip_line.c +++ b/src/mesa/drivers/dri/i965/brw_clip_line.c @@ -85,7 +85,7 @@ static void brw_clip_line_alloc_regs( struct brw_clip_compile *c ) i++; } - if (intel->needs_ff_sync) { + if (intel->gen == 5) { c->reg.ff_sync = retype(brw_vec1_grf(i, 0), BRW_REGISTER_TYPE_UD); i++; } |