i965: Drop the reg/hw_reg distinction.
authorEric Anholt <eric@anholt.net>
Sun, 15 May 2011 16:36:19 +0000 (09:36 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 10 Aug 2011 18:03:48 +0000 (11:03 -0700)
commitc9e81fe14f36933617c862efb15ae09194485eab
tree37333233bbd2370d380a5ed5cb3500a5b476345a
parentb1f0bffd399f377a19b0541e1d834afad8b9dad0
i965: Drop the reg/hw_reg distinction.

"reg" was set in only one case, virtual GRFs pre register allocation,
and would be unset and have hw_reg set after allocation.  Since we
never bothered with looking at virtual GRF number after allocation
anyway, just use the same storage and avoid confusion.
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