tests: use a box with height to test stride validation

macos/master
Dave Airlie 10 years ago
parent dfd7749ddb
commit 53ab094df9
  1. 2
      tests/test_virgl_transfer.c

@ -482,7 +482,7 @@ START_TEST(virgl_test_transfer_2d_bad_stride)
struct iovec iov = { .iov_base = data, .iov_len = sizeof(data) }; struct iovec iov = { .iov_base = data, .iov_len = sizeof(data) };
int niovs = 1; int niovs = 1;
int ret; int ret;
struct virgl_box box = { .w = 50, .h = 1, .d = 1 }; struct virgl_box box = { .w = 50, .h = 2, .d = 1 };
testvirgl_init_simple_2d_resource(&res, 1); testvirgl_init_simple_2d_resource(&res, 1);

Loading…
Cancel
Save