diff options
Diffstat (limited to 'src/gallium/tests/graw/tex-swizzle.c')
-rw-r--r-- | src/gallium/tests/graw/tex-swizzle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/tex-swizzle.c b/src/gallium/tests/graw/tex-swizzle.c index 4ee79ee7a24..65c1d4dde5e 100644 --- a/src/gallium/tests/graw/tex-swizzle.c +++ b/src/gallium/tests/graw/tex-swizzle.c @@ -152,7 +152,8 @@ init_tex(const unsigned swizzle[4]) PIPE_TEX_WRAP_REPEAT, PIPE_TEX_FILTER_NEAREST); - info.ctx->bind_fragment_sampler_states(info.ctx, 1, &sampler); + info.ctx->bind_sampler_states(info.ctx, PIPE_SHADER_FRAGMENT, + 0, 1, &sampler); #undef SIZE } |