From: Keith Whitwell Date: Tue, 22 Apr 2008 14:26:38 +0000 (+0100) Subject: cso: fix vs/fs confusion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88f8eed3c4430505b1436b6c5b0114d34c33f822;p=mesa.git cso: fix vs/fs confusion --- diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index 2d98a34edfd..23b1f5a0321 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++ b/src/gallium/auxiliary/cso_cache/cso_context.c @@ -600,7 +600,7 @@ void cso_restore_vertex_shader(struct cso_context *ctx) { assert(ctx->vertex_shader_saved); if (ctx->vertex_shader_saved != ctx->vertex_shader) { - ctx->pipe->bind_fs_state(ctx->pipe, ctx->vertex_shader_saved); + ctx->pipe->bind_vs_state(ctx->pipe, ctx->vertex_shader_saved); ctx->vertex_shader = ctx->vertex_shader_saved; } ctx->vertex_shader_saved = NULL;