Mesa (master): i965/sf: Disable instruction compaction.

Matt Turner mattst88 at kemper.freedesktop.org
Thu Sep 25 18:26:23 UTC 2014


Module: Mesa
Branch: master
Commit: 1fce6fcac18f2daacaacebff5f5249c2a4f8cc79
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fce6fcac18f2daacaacebff5f5249c2a4f8cc79

Author: Matt Turner <mattst88 at gmail.com>
Date:   Sun Aug 24 00:03:37 2014 -0700

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 <kenneth at whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 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
     */




More information about the mesa-commit mailing list