assert(ctx->hwsmp[i]);
}
- pipe->bind_compute_sampler_states(pipe, 0, i, ctx->hwsmp);
+ pipe->bind_sampler_states(pipe, PIPE_SHADER_COMPUTE, 0, i, ctx->hwsmp);
}
static void destroy_sampler_states(struct context *ctx)
struct pipe_context *pipe = ctx->pipe;
int i;
- pipe->bind_compute_sampler_states(pipe, 0, MAX_RESOURCES, NULL);
+ pipe->bind_sampler_states(pipe, PIPE_SHADER_COMPUTE,
+ 0, MAX_RESOURCES, NULL);
for (i = 0; i < MAX_RESOURCES; ++i) {
if (ctx->hwsmp[i]) {