i965: Pass brw to translate_wrap_mode().
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 29 May 2014 06:37:44 +0000 (23:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 5 Jun 2014 08:25:56 +0000 (01:25 -0700)
commit7f3d64a77b9ca6d738f67c7a3dd4499cdf817d79
tree81a3dadf7cdad119cdd861e67aacbce8faafdec9
parentcf29913aa156accbe60cb35f9a0bd2c21726cfa3
i965: Pass brw to translate_wrap_mode().

This lets us do generation checks.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
src/mesa/drivers/dri/i965/gen7_sampler_state.c