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
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev