i965/fs: Replace c->key with a direct reference in the generators.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 14 May 2014 07:24:50 +0000 (00:24 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 19 May 2014 06:35:19 +0000 (23:35 -0700)
commitc96fdeb723dd92ec7dfed908e41e6ad401c36ff3
tree4e96120e7984783cbb7a97dc314985e7b16a119c
parent65b2df3ec8906c51ae5b28df9c0b2c71981080d0
i965/fs: Replace c->key with a direct reference in the generators.

'c' is going away.  This is also a bit shorter.

Marking the key pointer as const will also deter people from changing
it in these classes, as that's absolutely not OK.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/gen8_fs_generator.cpp