i965/sf: Disable instruction compaction.
authorMatt Turner <mattst88@gmail.com>
Sun, 24 Aug 2014 07:03:37 +0000 (00:03 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 25 Sep 2014 18:02:36 +0000 (11:02 -0700)
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 <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_sf.c

index dc6135e00e384765676f83f5ae7428157ba359fb..ac9506ab6982bae37331ba081bccf9b8896037f2 100644 (file)
@@ -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
     */