Structs containing vectors of dimension 3 cannot be exported before ICS.

BUG=5609007
BUG=34600 (http://code.google.com/p/android/issues/detail?id=34600)

We forbid the use of things like float3 in exported structures for older
target APIs, because it results in a runtime exception every time. This is
due to not padding the elements appropriately on the driver-side, while the
LLVM representation is padded.

Change-Id: I297af3418e733f0ab3996999be4a8f746f24da40
4 files changed