diff options
author | Eric Anholt <eric@anholt.net> | 2011-05-24 16:45:17 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2011-05-27 08:51:40 -0700 |
commit | d1f70a8a6c6ec7007bad22d3d6013415be2d243a (patch) | |
tree | 809feed97a1dc9bb8e5e555e1025668368e6362c /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 11dd9e9c0fcf9985b90ff4b63b2833345fece027 (diff) | |
download | external_mesa3d-d1f70a8a6c6ec7007bad22d3d6013415be2d243a.zip external_mesa3d-d1f70a8a6c6ec7007bad22d3d6013415be2d243a.tar.gz external_mesa3d-d1f70a8a6c6ec7007bad22d3d6013415be2d243a.tar.bz2 |
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>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 41e5004..d1f70ee 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -466,6 +466,8 @@ public: return emit(fs_inst(opcode, dst, src0, src1, src2)); } + int type_size(const struct glsl_type *type); + bool run(); void setup_paramvalues_refs(); void assign_curb_setup(); |