summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tex-swizzle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/tex-swizzle.c')
-rw-r--r--src/gallium/tests/graw/tex-swizzle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/tex-swizzle.c b/src/gallium/tests/graw/tex-swizzle.c
index 65c1d4d..910a8ca 100644
--- a/src/gallium/tests/graw/tex-swizzle.c
+++ b/src/gallium/tests/graw/tex-swizzle.c
@@ -146,7 +146,7 @@ init_tex(const unsigned swizzle[4])
if (sv == NULL)
exit(5);
- info.ctx->set_fragment_sampler_views(info.ctx, 1, &sv);
+ info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv);
sampler = graw_util_create_simple_sampler(&info,
PIPE_TEX_WRAP_REPEAT,