summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/trivial/compute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/trivial/compute.c')
-rw-r--r--src/gallium/tests/trivial/compute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/tests/trivial/compute.c b/src/gallium/tests/trivial/compute.c
index 443451e13d2..afe5d3e9f2b 100644
--- a/src/gallium/tests/trivial/compute.c
+++ b/src/gallium/tests/trivial/compute.c
@@ -1131,7 +1131,7 @@ static void test_surface_ld(struct context *ctx)
printf(" - %s\n", util_format_name(surface_fmts[i]));
if (!ctx->screen->is_format_supported(ctx->screen,
- surface_fmts[i], PIPE_TEXTURE_2D, 1,
+ surface_fmts[i], PIPE_TEXTURE_2D, 1, 1,
PIPE_BIND_COMPUTE_RESOURCE)) {
printf("(unsupported)\n");
continue;
@@ -1251,7 +1251,7 @@ static void test_surface_st(struct context *ctx)
printf(" - %s\n", util_format_name(surface_fmts[i]));
if (!ctx->screen->is_format_supported(ctx->screen,
- surface_fmts[i], PIPE_TEXTURE_2D, 1,
+ surface_fmts[i], PIPE_TEXTURE_2D, 1, 1,
PIPE_BIND_COMPUTE_RESOURCE)) {
printf("(unsupported)\n");
continue;