From: Matt Turner Date: Sun, 24 Aug 2014 07:03:37 +0000 (-0700) Subject: i965/sf: Disable instruction compaction. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fce6fcac18f2daacaacebff5f5249c2a4f8cc79;p=mesa.git i965/sf: Disable instruction compaction. Currently a no-op, since instruction compaction isn't implemented for the generations that have a programmable strips-and-fans unit. Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/i965/brw_sf.c b/src/mesa/drivers/dri/i965/brw_sf.c index dc6135e00e3..ac9506ab698 100644 --- a/src/mesa/drivers/dri/i965/brw_sf.c +++ b/src/mesa/drivers/dri/i965/brw_sf.c @@ -108,7 +108,10 @@ static void compile_sf_prog( struct brw_context *brw, unreachable("not reached"); } - brw_compact_instructions(&c.func, 0, 0, NULL); + /* FINISHME: SF programs use calculated jumps (i.e., JMPI with a register + * source). Compacting would be difficult. + */ + /* brw_compact_instructions(&c.func, 0, 0, NULL); */ /* get the program */