vc4: Sanity check strides for imported BOs.
authorEric Anholt <eric@anholt.net>
Fri, 15 Apr 2016 20:17:26 +0000 (13:17 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 18 Apr 2016 17:10:44 +0000 (10:10 -0700)
commit56b14adf8508edea1c2d230f5e58b9110a26545a
tree00a28aa1b0f1d8f9def3bec6288a61ce9e1d1358
parent649704f1f7c9e1d0990d34a76154b2eb656bee42
vc4: Sanity check strides for imported BOs.

If we're going to sample from or render to them at some particular size,
we'd better make sure that they actually are that size.  Causes some tests
under simulation to generate appropriate error messages instead of
failures.
src/gallium/drivers/vc4/vc4_resource.c