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

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

@@ -0,0 +1,9 @@
// Can't convert from pointer to SOA type "soa<8> struct A * uniform" to pointer to non-SOA type "void * varying"
struct A { float a, b; };
soa<8> A as[100];
void foo() {
void *ptr = &as[0];
}