diff options
author | Dave Airlie <airlied@redhat.com> | 2015-03-10 11:32:44 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-03-10 11:32:44 +1000 |
commit | a6a0b09d5e22480559c99487f19041b622d304ca (patch) | |
tree | 68b9c59a22e7ec08ce11465bb5a8fd69d619d7ab /tests | |
parent | 5f7031e117dea5753924fd84d34a4b50e07e0657 (diff) |
tests: drop unused test
this is subsumed into other tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_virgl_transfer.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/test_virgl_transfer.c b/tests/test_virgl_transfer.c index 53108e0..102f111 100644 --- a/tests/test_virgl_transfer.c +++ b/tests/test_virgl_transfer.c @@ -567,42 +567,6 @@ START_TEST(virgl_test_transfer_inline_valid_large) } END_TEST -/* transfer writes have to fit in cmd stream, make sure we split them */ -START_TEST(virgl_test_transfer_inline_large_buffer) -{ - struct virgl_renderer_resource_create_args args; - struct pipe_box box; - struct virgl_context ctx; - struct virgl_resource res; - int ret; - int elsize = 1; - void *data = calloc(1, 65536*3); - - ret = testvirgl_init_ctx_cmdbuf(&ctx); - ck_assert_int_eq(ret, 0); - - get_resource_args(PIPE_BUFFER, false, &args, &box, 1, LARGE_FLAG_WIDTH); - - ret = virgl_renderer_resource_create(&args, NULL, 0); - ck_assert_int_eq(ret, 0); - - res.handle = args.handle; - res.base.target = args.target; - res.base.format = args.format; - - virgl_renderer_ctx_attach_resource(ctx.ctx_id, res.handle); - - virgl_encoder_inline_write(&ctx, &res, 0, 0, (struct pipe_box *)&box, data, box.width * elsize, 0); - ret = virgl_renderer_submit_cmd(ctx.cbuf->buf, ctx.ctx_id, ctx.cbuf->cdw); - ck_assert_int_eq(ret, 0); - virgl_renderer_ctx_detach_resource(ctx.ctx_id, res.handle); - virgl_renderer_resource_unref(res.handle); - testvirgl_fini_ctx_cmdbuf(&ctx); - free(data); -} -END_TEST - - Suite *virgl_init_suite(void) { Suite *s; |