aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_texture.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2014-09-29 14:55:38 -0400
committerRob Clark <[email protected]>2014-09-29 18:30:42 -0400
commita6746d11247cdd6f795c7e857019c3a4bd71e26a (patch)
tree81240f50c3c792b098e23d49bc5e1ee2f4e8b9e4 /src/gallium/drivers/freedreno/freedreno_texture.h
parent7e20c09d4ac22012a9d2697fb83e6815edb5a64d (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_texture.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_texture.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_texture.h b/src/gallium/drivers/freedreno/freedreno_texture.h
index f73110dde12..388b980d857 100644
--- a/src/gallium/drivers/freedreno/freedreno_texture.h
+++ b/src/gallium/drivers/freedreno/freedreno_texture.h
@@ -31,6 +31,10 @@
#include "pipe/p_context.h"
+void fd_sampler_states_bind(struct pipe_context *pctx,
+ unsigned shader, unsigned start,
+ unsigned nr, void **hwcso);
+
void fd_texture_init(struct pipe_context *pctx);
#endif /* FREEDRENO_TEXTURE_H_ */