diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index f1c1069d94a..c57bc357ee5 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++ b/src/gallium/auxiliary/cso_cache/cso_context.c @@ -402,7 +402,7 @@ cso_unbind_context(struct cso_context *cso) ctx->base.pipe->bind_sampler_states(ctx->base.pipe, sh, 0, maxsam, zeros); } if (maxview > 0) { - ctx->base.pipe->set_sampler_views(ctx->base.pipe, sh, 0, maxview, 0, views); + ctx->base.pipe->set_sampler_views(ctx->base.pipe, sh, 0, 0, maxview, views); } if (maxssbo > 0) { ctx->base.pipe->set_shader_buffers(ctx->base.pipe, sh, 0, maxssbo, ssbos, 0);