Mesa (master): i965/skl: Init instructions compaction tables for SKL

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Nov 4 00:11:34 UTC 2014


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

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon Sep 22 03:10:34 2014 -0700

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 <krh at bitplanet.net>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_eu_compact.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/drivers/dri/i965/brw_eu_compact.c b/src/mesa/drivers/dri/i965/brw_eu_compact.c
index e660ad3..97dc368 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;




More information about the mesa-commit mailing list