i965: Move brw_init_compaction_tables() to brw_create_compiler().
authorMatt Turner <mattst88@gmail.com>
Fri, 10 Mar 2017 00:01:30 +0000 (16:01 -0800)
committerMatt Turner <mattst88@gmail.com>
Sat, 11 Mar 2017 01:58:11 +0000 (17:58 -0800)
commitfa4b792e833a5b9a74d21ca72babeeebc72fd052
treea59af4793c9523435577f87283166f8c09cbe779
parent32be87852b06aae4618505aa0f26586436a8c927
i965: Move brw_init_compaction_tables() to brw_create_compiler().

... so that we can avoid threading complications or unnecessary
compaction table initializations (which just consists of setting some
pointers based on devinfo->gen).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_compiler.c
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu_compact.c