i965/fs: Rework wm_fs_emit to take a nir_shader and a brw_compiler
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Oct 2015 02:27:28 +0000 (19:27 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 19 Oct 2015 15:47:03 +0000 (08:47 -0700)
commit22ad44910e993e1acd0b4052722fe786626008b5
treee461f86c28fffcf26a00d148076540abd42ba347
parent0ca401327ef9e280b3a8b008f1e41477afec3a35
i965/fs: Rework wm_fs_emit to take a nir_shader and a brw_compiler

This commit removes all dependence on GL state by getting rid of the
brw_context parameter and the GL data structures.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_wm.c
src/mesa/drivers/dri/i965/brw_wm.h