From: Kristian Høgsberg Date: Mon, 22 Sep 2014 10:10:34 +0000 (-0700) Subject: i965/skl: Init instructions compaction tables for SKL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bb072b42bb8a2a7e8043557d949f1bd25842912;p=mesa.git i965/skl: Init instructions compaction tables for SKL They are the same as for BDW, so just add a case for SKL to the init switch. Signed-off-by: Kristian Høgsberg Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_eu_compact.c b/src/mesa/drivers/dri/i965/brw_eu_compact.c index e660ad340b8..97dc368971f 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_compact.c +++ b/src/mesa/drivers/dri/i965/brw_eu_compact.c @@ -1265,6 +1265,7 @@ brw_init_compaction_tables(struct brw_context *brw) assert(gen8_src_index_table[ARRAY_SIZE(gen8_src_index_table) - 1] != 0); switch (brw->gen) { + case 9: case 8: control_index_table = gen8_control_index_table; datatype_table = gen8_datatype_table;