i965: Rename brw_{fs,vec4}_emit.cpp to brw_{fs,vec4}_generator.cpp.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 18 Sep 2013 06:32:10 +0000 (23:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 18 Sep 2013 07:08:31 +0000 (00:08 -0700)
commitec44d56a5b20632bcd4cb19ae6fa5d615df4149f
treea815604e7792bcda90732447e7a0c0af5c5dbc10
parenta3b51a22f71819236baa6bbda9d0d050914b149d
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>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_fs_emit.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_fs_generator.cpp [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_vec4_emit.cpp [deleted file]
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp [new file with mode: 0644]