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>
This commit is contained in:
Eric Anholt
2011-05-24 16:45:17 -07:00
parent 11dd9e9c0f
commit d1f70a8a6c
4 changed files with 1736 additions and 1679 deletions

View File

@@ -117,6 +117,7 @@ CXX_SOURCES = \
brw_cubemap_normalize.cpp \ brw_cubemap_normalize.cpp \
brw_fs.cpp \ brw_fs.cpp \
brw_fs_emit.cpp \ brw_fs_emit.cpp \
brw_fs_visitor.cpp \
brw_fs_channel_expressions.cpp \ brw_fs_channel_expressions.cpp \
brw_fs_reg_allocate.cpp \ brw_fs_reg_allocate.cpp \
brw_fs_schedule_instructions.cpp \ brw_fs_schedule_instructions.cpp \

File diff suppressed because it is too large Load Diff

View File

@@ -466,6 +466,8 @@ public:
return emit(fs_inst(opcode, dst, src0, src1, src2)); return emit(fs_inst(opcode, dst, src0, src1, src2));
} }
int type_size(const struct glsl_type *type);
bool run(); bool run();
void setup_paramvalues_refs(); void setup_paramvalues_refs();
void assign_curb_setup(); void assign_curb_setup();

File diff suppressed because it is too large Load Diff