softpipe: get rid of tgsi_sampler_control param in img_filter

None of the filters used it (why would they). Maybe that param
was just there because some of the lines were considered to be
too short...

Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Roland Scheidegger
2013-02-05 19:18:58 -08:00
parent 66b6d51214
commit 1d71106f5c
2 changed files with 37 additions and 40 deletions

View File

@@ -55,7 +55,6 @@ typedef void (*img_filter_func)(struct tgsi_sampler *tgsi_sampler,
float p,
unsigned level,
unsigned face_id,
enum tgsi_sampler_control control,
float *rgba);
typedef void (*filter_func)(struct tgsi_sampler *tgsi_sampler,