i965/fs: Split the GLSL IR -> FS LIR visitor to brw_fs_visitor.cpp.
authorEric Anholt <eric@anholt.net>
Tue, 24 May 2011 23:45:17 +0000 (16:45 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 May 2011 15:51:40 +0000 (08:51 -0700)
commitd1f70a8a6c6ec7007bad22d3d6013415be2d243a
tree809feed97a1dc9bb8e5e555e1025668368e6362c
parent11dd9e9c0fcf9985b90ff4b63b2833345fece027
i965/fs: Split the GLSL IR -> FS LIR visitor to brw_fs_visitor.cpp.

We now have:
brw_fs.cpp handles calling out to everything and optimization.
brw_fs_visitor.cpp handles translating to our LIR.
brw_fs_emit.cpp handles emitting from our LIR to native code.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/Makefile
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp [new file with mode: 0644]