radeonsi: extract TGSI memory/texture opcode handling into its own file
[mesa.git] / src / gallium / drivers / freedreno / freedreno_texture.h
index b52e27d07a00fb59dae8687623a113b05f2f4b62..b12ce2f125f782a9bce33c5347f9f5b00e72ebe5 100644 (file)
 #include "pipe/p_context.h"
 
 void fd_sampler_states_bind(struct pipe_context *pctx,
-               unsigned shader, unsigned start,
+               enum pipe_shader_type shader, unsigned start,
                unsigned nr, void **hwcso);
 
-void fd_set_sampler_views(struct pipe_context *pctx, unsigned shader,
+void fd_set_sampler_views(struct pipe_context *pctx,
+                                                 enum pipe_shader_type shader,
                                                  unsigned start, unsigned nr,
                                                  struct pipe_sampler_view **views);