i965: Rename brw_{fs,vec4}_emit.cpp to brw_{fs,vec4}_generator.cpp.

The previous names were really confusing to talk about:
- brw_fs_visitor() contained methods named emit_whatever().
- brw_fs_generator() contained methods named generate_whatever(), but
  lived in brw_fs_emit.cpp.

So when someone said "the emit layer", or "emit code", we weren't sure
whether they meant the visitor's emit() functions or the generator in
brw_fs_emit.cpp.

By renaming these files, the method names, class names, and file names
all match, which is much less confusing.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
Acked-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Kenneth Graunke 2013-09-17 23:32:10 -07:00
parent a3b51a22f7
commit ec44d56a5b
3 changed files with 4 additions and 4 deletions

View file

@ -54,8 +54,8 @@ i965_FILES = \
brw_fs_channel_expressions.cpp \ brw_fs_channel_expressions.cpp \
brw_fs_copy_propagation.cpp \ brw_fs_copy_propagation.cpp \
brw_fs_cse.cpp \ brw_fs_cse.cpp \
brw_fs_emit.cpp \
brw_fs_fp.cpp \ brw_fs_fp.cpp \
brw_fs_generator.cpp \
brw_fs_live_variables.cpp \ brw_fs_live_variables.cpp \
brw_fs_reg_allocate.cpp \ brw_fs_reg_allocate.cpp \
brw_fs_vector_splitting.cpp \ brw_fs_vector_splitting.cpp \
@ -87,7 +87,7 @@ i965_FILES = \
brw_util.c \ brw_util.c \
brw_vec4.cpp \ brw_vec4.cpp \
brw_vec4_copy_propagation.cpp \ brw_vec4_copy_propagation.cpp \
brw_vec4_emit.cpp \ brw_vec4_generator.cpp \
brw_vec4_gs.c \ brw_vec4_gs.c \
brw_vec4_gs_visitor.cpp \ brw_vec4_gs_visitor.cpp \
brw_vec4_live_variables.cpp \ brw_vec4_live_variables.cpp \

View file

@ -21,9 +21,9 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
/** @file brw_fs_emit.cpp /** @file brw_fs_generator.cpp
* *
* This file supports emitting code from the FS LIR to the actual * This file supports generating code from the FS LIR to the actual
* native instructions. * native instructions.
*/ */