i965/skl: Init instructions compaction tables for SKL
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 22 Sep 2014 10:10:34 +0000 (03:10 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 3 Nov 2014 23:32:59 +0000 (15:32 -0800)
They are the same as for BDW, so just add a case for SKL to the init switch.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_compact.c

index e660ad340b8509d5b309b9cff0e496ad79f7ef7d..97dc368971f5d32f179673ffc9381d2f287c3cf0 100644 (file)
@@ -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;