Mesa (master): i965/fs: Split the GLSL IR -> FS LIR visitor to brw_fs_visitor.cpp.

Eric Anholt anholt at kemper.freedesktop.org
Fri May 27 15:51:55 UTC 2011


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

Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 24 16:45:17 2011 -0700

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 at whitecape.org>

---

 src/mesa/drivers/dri/i965/Makefile           |    1 +
 src/mesa/drivers/dri/i965/brw_fs.cpp         | 1688 +-------------------------
 src/mesa/drivers/dri/i965/brw_fs.h           |    2 +
 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 1724 ++++++++++++++++++++++++++
 4 files changed, 1736 insertions(+), 1679 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=d1f70a8a6c6ec7007bad22d3d6013415be2d243a



More information about the mesa-commit mailing list