softpipe: move some image filter parameters into a struct
authorDave Airlie <airlied@redhat.com>
Tue, 19 May 2015 05:31:06 +0000 (15:31 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 20 May 2015 02:32:27 +0000 (12:32 +1000)
commit99e583120cde8820aae94eb0f8beb723509398fc
treecb51721426479e19e8e1910763550fe014003c61
parentb9b516248e0441a5aa06bdeb58525b4ef8dd0001
softpipe: move some image filter parameters into a struct

This moves some of the image filter args into a struct,
and passes that instead, this is prep work for adding texture
gather support which needs new arguments.

review: make filter args const.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_tex_sample.h