freedreno: move bind_sampler_states to per-generation
authorRob Clark <robclark@freedesktop.org>
Mon, 29 Sep 2014 18:55:38 +0000 (14:55 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 29 Sep 2014 22:30:42 +0000 (18:30 -0400)
commita6746d11247cdd6f795c7e857019c3a4bd71e26a
tree81240f50c3c792b098e23d49bc5e1ee2f4e8b9e4
parent7e20c09d4ac22012a9d2697fb83e6815edb5a64d
freedreno: move bind_sampler_states to per-generation

Keep the existing function as a common helper.  But this lets us move an
a2xx specific hack out of common code.  And the PIPE_TEX_WRAP_CLAMP
emulation will require an a3xx specific hack.  So rather than piling on
hacks, split this out.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a2xx/fd2_texture.c
src/gallium/drivers/freedreno/a3xx/fd3_texture.c
src/gallium/drivers/freedreno/freedreno_texture.c
src/gallium/drivers/freedreno/freedreno_texture.h