Browse Source

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>
tags/mesa-10.1-devel
Kenneth Graunke 12 years ago
parent
commit
ec44d56a5b

+ 2
- 2
src/mesa/drivers/dri/i965/Makefile.sources View File

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

src/mesa/drivers/dri/i965/brw_fs_emit.cpp → src/mesa/drivers/dri/i965/brw_fs_generator.cpp View File

@@ -21,9 +21,9 @@
* 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.
*/


src/mesa/drivers/dri/i965/brw_vec4_emit.cpp → src/mesa/drivers/dri/i965/brw_vec4_generator.cpp View File


Loading…
Cancel
Save