summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-21 20:26:19 +0100
committerKeith Whitwell <[email protected]>2008-04-21 20:52:54 +0100
commit01dfa6cde157321f565bab949f23f367ed20fa0e (patch)
treeccf9940c101179565a5efe64d552771007370ae3 /src/gallium
parent1dc5e56f3e48b629daa18c2d8631c96bda638eb6 (diff)
use cso fs/vs handle functions
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_blit.c4
-rw-r--r--src/gallium/auxiliary/util/u_gen_mipmap.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c
index be5e83e8346..0938b03820b 100644
--- a/src/gallium/auxiliary/util/u_blit.c
+++ b/src/gallium/auxiliary/util/u_blit.c
@@ -318,8 +318,8 @@ util_blit_pixels(struct blit_state *ctx,
cso_set_sampler_textures(ctx->cso, 1, &tex);
/* shaders */
- cso_set_fragment_shader(ctx->cso, ctx->fs);
- cso_set_vertex_shader(ctx->cso, ctx->vs);
+ cso_set_fragment_shader_handle(ctx->cso, ctx->fs);
+ cso_set_vertex_shader_handle(ctx->cso, ctx->vs);
/* drawing dest */
memset(&fb, 0, sizeof(fb));
diff --git a/src/gallium/auxiliary/util/u_gen_mipmap.c b/src/gallium/auxiliary/util/u_gen_mipmap.c
index f0c4063b283..9822a25ca66 100644
--- a/src/gallium/auxiliary/util/u_gen_mipmap.c
+++ b/src/gallium/auxiliary/util/u_gen_mipmap.c
@@ -888,8 +888,8 @@ util_gen_mipmap(struct gen_mipmap_state *ctx,
cso_set_depth_stencil_alpha(ctx->cso, &ctx->depthstencil);
cso_set_rasterizer(ctx->cso, &ctx->rasterizer);
- cso_set_fragment_shader(ctx->cso, ctx->fs);
- cso_set_vertex_shader(ctx->cso, ctx->vs);
+ cso_set_fragment_shader_handle(ctx->cso, ctx->fs);
+ cso_set_vertex_shader_handle(ctx->cso, ctx->vs);
#if 0
cso_set_viewport(ctx->cso, &ctx->viewport);
#endif