nir: pass compiler rather than devinfo to functions that call nir_optimize
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 15 Sep 2016 02:20:38 +0000 (12:20 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 22 Dec 2016 23:15:36 +0000 (10:15 +1100)
commite729504fb1799c3ae31cea76d73946530ef9806f
treeaf1db75d1dab6c82621b59e604cae78e928d1017
parent51daccb289eb6d39a2b399e6b0c38ec0b339643a
nir: pass compiler rather than devinfo to functions that call nir_optimize

Later we will pass compiler to nir_optimise to be used by the loop unroll
pass.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_nir.c
src/mesa/drivers/dri/i965/brw_nir.h
src/mesa/drivers/dri/i965/brw_shader.cpp
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
src/mesa/drivers/dri/i965/brw_vec4_tcs.cpp