summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/tests/graw/quad-sample.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-24 02:30:08 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-24 02:30:08 +0000
commit1d35364040c0ffa99133522fa5ab3bd6131d8bf7 (patch)
tree0ea3d9ca4ad10692c6477168b67e98cb50ea6bd3 /lib/mesa/src/gallium/tests/graw/quad-sample.c
parentb24b5b9049e889ee4eb39b565bcc8d48bd45ab48 (diff)
Merge Mesa 21.3.7
Diffstat (limited to 'lib/mesa/src/gallium/tests/graw/quad-sample.c')
-rw-r--r--lib/mesa/src/gallium/tests/graw/quad-sample.c6
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);