diff options
Diffstat (limited to 'src/gallium/tests/graw')
-rw-r--r-- | src/gallium/tests/graw/fs-test.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/gs-test.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/quad-sample.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/quad-tex.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/tex-srgb.c | 4 | ||||
-rw-r--r-- | src/gallium/tests/graw/tex-swizzle.c | 2 | ||||
-rw-r--r-- | src/gallium/tests/graw/vs-test.c | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/tests/graw/fs-test.c b/src/gallium/tests/graw/fs-test.c index d9627913cff..4d38e084b80 100644 --- a/src/gallium/tests/graw/fs-test.c +++ b/src/gallium/tests/graw/fs-test.c @@ -352,7 +352,7 @@ static void init_tex( void ) if (sv == NULL) exit(5); - ctx->set_fragment_sampler_views(ctx, 1, &sv); + ctx->set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv); memset(&sampler_desc, 0, sizeof sampler_desc); diff --git a/src/gallium/tests/graw/gs-test.c b/src/gallium/tests/graw/gs-test.c index 2a8f26eedd4..3ada18a30ee 100644 --- a/src/gallium/tests/graw/gs-test.c +++ b/src/gallium/tests/graw/gs-test.c @@ -459,7 +459,7 @@ static void init_tex( void ) if (sv == NULL) exit(5); - ctx->set_fragment_sampler_views(ctx, 1, &sv); + ctx->set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv); memset(&sampler_desc, 0, sizeof sampler_desc); diff --git a/src/gallium/tests/graw/quad-sample.c b/src/gallium/tests/graw/quad-sample.c index bfae2e080c7..b4a29e101e4 100644 --- a/src/gallium/tests/graw/quad-sample.c +++ b/src/gallium/tests/graw/quad-sample.c @@ -267,7 +267,7 @@ static void init_tex( void ) if (sv == NULL) exit(5); - ctx->set_fragment_sampler_views(ctx, 1, &sv); + ctx->set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv); memset(&sampler_desc, 0, sizeof sampler_desc); diff --git a/src/gallium/tests/graw/quad-tex.c b/src/gallium/tests/graw/quad-tex.c index 7802d8efddf..9e4407e442e 100644 --- a/src/gallium/tests/graw/quad-tex.c +++ b/src/gallium/tests/graw/quad-tex.c @@ -167,7 +167,7 @@ static void init_tex( void ) PIPE_FORMAT_B8G8R8A8_UNORM, tex2d); sv = graw_util_create_simple_sampler_view(&info, texture); - 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, diff --git a/src/gallium/tests/graw/tex-srgb.c b/src/gallium/tests/graw/tex-srgb.c index 5035fa781a9..dce91188ebe 100644 --- a/src/gallium/tests/graw/tex-srgb.c +++ b/src/gallium/tests/graw/tex-srgb.c @@ -128,11 +128,11 @@ static void draw( void ) info.ctx->clear(info.ctx, PIPE_CLEAR_COLOR, &clear_color, 0, 0); - info.ctx->set_fragment_sampler_views(info.ctx, 1, &linear_sv); + info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, &linear_sv); set_vertices(vertices1, 4); util_draw_arrays(info.ctx, PIPE_PRIM_QUADS, 0, 4); - info.ctx->set_fragment_sampler_views(info.ctx, 1, &srgb_sv); + info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, &srgb_sv); set_vertices(vertices2, 4); util_draw_arrays(info.ctx, PIPE_PRIM_QUADS, 0, 4); diff --git a/src/gallium/tests/graw/tex-swizzle.c b/src/gallium/tests/graw/tex-swizzle.c index 65c1d4dde5e..910a8ca3e45 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, diff --git a/src/gallium/tests/graw/vs-test.c b/src/gallium/tests/graw/vs-test.c index f351928592b..f7d4d7342ec 100644 --- a/src/gallium/tests/graw/vs-test.c +++ b/src/gallium/tests/graw/vs-test.c @@ -346,7 +346,7 @@ static void init_tex( void ) if (sv == NULL) exit(5); - ctx->set_fragment_sampler_views(ctx, 1, &sv); + ctx->set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv); memset(&sampler_desc, 0, sizeof sampler_desc); |