[Mesa-dev] [PATCH 02/14] i965/sf: Disable instruction compaction.

Matt Turner mattst88 at gmail.com
Thu Aug 28 20:10:32 PDT 2014


Currently a no-op, since instruction compaction isn't implemented for the
generations that have a programmable strips-and-fans unit.
---
 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 dc6135e..ac9506a 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
     */
-- 
1.8.5.5



More information about the mesa-dev mailing list