diff options
Diffstat (limited to 'lib/mesa/src/gallium/tests/graw/quad-sample.c')
-rw-r--r-- | lib/mesa/src/gallium/tests/graw/quad-sample.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mesa/src/gallium/tests/graw/quad-sample.c b/lib/mesa/src/gallium/tests/graw/quad-sample.c index 912df7e7a..436674635 100644 --- a/lib/mesa/src/gallium/tests/graw/quad-sample.c +++ b/lib/mesa/src/gallium/tests/graw/quad-sample.c @@ -246,7 +246,7 @@ static void init_tex( void ) { struct pipe_transfer *t; uint32_t *ptr; - ptr = pipe_transfer_map(ctx, samptex, + ptr = pipe_texture_map(ctx, samptex, 0, 0, /* level, layer */ PIPE_MAP_READ, 0, 0, SIZE, SIZE, &t); /* x, y, width, height */ @@ -256,7 +256,7 @@ static void init_tex( void ) exit(9); } - ctx->transfer_unmap(ctx, t); + ctx->texture_unmap(ctx, t); } memset(&sv_template, 0, sizeof sv_template); @@ -270,7 +270,7 @@ static void init_tex( void ) if (sv == NULL) exit(5); - ctx->set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, 1, 0, &sv); + ctx->set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, 1, 0, false, &sv); memset(&sampler_desc, 0, sizeof sampler_desc); |