summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c
index fbb26ca511e..f7f4aebb161 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.c
+++ b/src/gallium/auxiliary/cso_cache/cso_context.c
@@ -349,6 +349,6 @@ void cso_set_vertex_shader(struct cso_context *ctx,
if (ctx->vertex_shader != handle) {
ctx->vertex_shader = handle;
- ctx->pipe->bind_fs_state(ctx->pipe, handle);
+ ctx->pipe->bind_vs_state(ctx->pipe, handle);
}
}