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:
@@ -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
@@ -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();
|
||||||
|
1724
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
Normal file
1724
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user