OSDN Git Service

i965: Share the register file enum between the two backends.
authorEric Anholt <eric@anholt.net>
Mon, 29 Apr 2013 23:05:05 +0000 (16:05 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 2 May 2013 22:54:31 +0000 (15:54 -0700)
commitab04f3b2d74af061a0d2ebf3d1a02d8fcf73ff09
tree2554496535e35b0281341531252a2ab69d86306b
parent63c8155b09bca7917631ec678a0d0db6e7965a1a
i965: Share the register file enum between the two backends.

I need this so I can look at vec4 and fs registers' files from the same
.cpp file without namespaces.  As far as I can tell we never rely on the
particular numerical values of the files, though I thought it sounded like
a good idea when doing the VS (it turns out having 0 be BAD_FILE is nicer).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp
src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp
src/mesa/drivers/dri/i965/brw_shader.h
src/mesa/drivers/dri/i965/brw_vec4.h