i965: Replace sizeof(struct gen7_sampler_state) with the size itself.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 27 Jul 2014 03:36:49 +0000 (20:36 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Aug 2014 12:16:41 +0000 (05:16 -0700)
commitb8c2538e17cd3e0a2fa8f6f80f76eee4a293a90a
treedd56391b431aa73f59c0c1581d9e882bd872297b
parent7da612e8d02d41eeb04935a41b20c66da103cc16
i965: Replace sizeof(struct gen7_sampler_state) with the size itself.

These are the last users of struct gen7_sampler_state.

v2: Use a local sampler_state_size variable, to help distinguish the
    various 16s (suggested by Topi Pohjolainen).

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
src/mesa/drivers/dri/i965/gen8_fs_generator.cpp
src/mesa/drivers/dri/i965/gen8_vec4_generator.cpp