From 1fce6fcac18f2daacaacebff5f5249c2a4f8cc79 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 24 Aug 2014 00:03:37 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/brw_sf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ -- 2.30.2