i965: Rename brw_wm_sampler_state.c to brw_sampler_state.c.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 26 Jul 2014 08:26:54 +0000 (01:26 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Aug 2014 12:14:42 +0000 (05:14 -0700)
commit3f67fb4dc30ed662ffe23c1b8f64a25daec67cdc
tree0baa9af0d5c9e26a960811638123cf5d4b7b460d
parent6e120358340870795c22c42bd7dd7953b59f8296
i965: Rename brw_wm_sampler_state.c to brw_sampler_state.c.

When the driver was originally written, it only supported texturing in
the pixel shader backend; vertex and geometry shader texturing came much
later.  Originally, the pixel shader was referred to as "WM" (the
Windowizer/Masker unit).  So, this code happened to only be relevant for
the WM stage, at the time.

However, sampler state really applies to all stages, so putting "wm" in
the filename doesn't make sense.  I dropped it in gen7_sampler_state.c;
at this point the asymmetry just trips people up.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_sampler_state.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c [deleted file]