summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-08-24 00:03:37 -0700
committerMatt Turner <[email protected]>2014-09-25 11:02:36 -0700
commit1fce6fcac18f2daacaacebff5f5249c2a4f8cc79 (patch)
tree20640cd350578810a7ead2846e9b32a2fda1552b /src/mesa/drivers
parentb5466707d6632e7dd019b36ced8da2b4ec7d5297 (diff)
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 <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_sf.c5
1 files changed, 4 insertions, 1 deletions
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
*/