Added tests and documentation for soa<> rate qualifier.

This commit is contained in:
Matt Pharr
2012-03-05 09:50:26 -08:00
parent db5db5aefd
commit 7adb250b59
46 changed files with 1155 additions and 158 deletions

7
tests_errors/soa-7.ispc Normal file
View File

@@ -0,0 +1,7 @@
// Can't convert between types "uniform struct Point" and "soa<4> struct Point" with different SOA widths
struct Point { float a, b, c; };
void foo(soa<8> Point pts[]) {
soa<4> Point x = pts[0];
}