diff options
author | Brian Paul <[email protected]> | 2012-08-09 20:59:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-08-16 09:01:31 -0600 |
commit | d663a557fd27d7c238248e19f22f2e6b05f03030 (patch) | |
tree | 7d993eb4423e62bd1469a14a87c5e39e4b28cda2 /src/gallium/drivers/r600/r600_pipe.h | |
parent | 10e552d056dd080c4e763a31df517c2d7684a9cf (diff) |
r600: update sampler, sampler_view code for the future
For when we have pipe->set_sampler_states(pipe, shader, start, num, samplers),
etc.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h index aeff52849ce..5d72952168e 100644 --- a/src/gallium/drivers/r600/r600_pipe.h +++ b/src/gallium/drivers/r600/r600_pipe.h @@ -568,8 +568,9 @@ void r600_set_vertex_buffers(struct pipe_context *ctx, unsigned count, const struct pipe_vertex_buffer *input); void r600_sampler_views_dirty(struct r600_context *rctx, struct r600_samplerview_state *state); -void r600_set_sampler_views(struct r600_context *rctx, - struct r600_textures_info *dst, +void r600_set_sampler_views(struct pipe_context *pipe, + unsigned shader, + unsigned start, unsigned count, struct pipe_sampler_view **views); void r600_bind_vs_samplers(struct pipe_context *ctx, unsigned count, void **states); |