summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_drawpixels.c
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-09-19 06:46:32 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-09-19 06:46:32 -0400
commitf22e920f478d8732695913ec0d1f7244b451a8f5 (patch)
tree8244f28277fe213c2860c71c1dc368d34a5050a5 /src/mesa/state_tracker/st_cb_drawpixels.c
parentbb611c5f1f6aec7ac51d4fa3301422b47f6de795 (diff)
Finish up conversions of shaders to immutable objects.
Create/Delete calls should be split since in create we'll be compiling them so we want to know which one it is (vertex/fragment).
Diffstat (limited to 'src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r--src/mesa/state_tracker/st_cb_drawpixels.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c
index 731c060c11..67de781c83 100644
--- a/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -347,7 +347,7 @@ draw_textured_quad(GLcontext *ctx, GLint x, GLint y, GLfloat z,
memset(&fs, 0, sizeof(fs));
fs.inputs_read = stfp->Base.Base.InputsRead;
fs.tokens = &stfp->tokens[0];
- cached = st_cached_shader_state(ctx->st, &fs);
+ cached = st_cached_fs_state(ctx->st, &fs);
pipe->bind_fs_state(pipe, cached);
}
@@ -363,7 +363,7 @@ draw_textured_quad(GLcontext *ctx, GLint x, GLint y, GLfloat z,
vs.inputs_read = stvp->Base.Base.InputsRead;
vs.outputs_written = stvp->Base.Base.OutputsWritten;
vs.tokens = &stvp->tokens[0];
- cached = st_cached_shader_state(ctx->st, &vs);
+ cached = st_cached_vs_state(ctx->st, &vs);
pipe->bind_vs_state(pipe, cached);
}