ispc/ispc — Issue #134: gather of struct with short vector member hits assertion
Author: mmp
Created: 2011-12-10 00:33:30+00:00
State: open
Labels: bugs

This program:

```
struct Ray {
float<3> origin;
};

bool BVHIntersect(Ray *r) {
Ray ray = *r;
}
```

Hits the assertion: Assertion failed: (dynamic_cast(baseType) != NULL || dynamic_cast(baseType) != NULL || dynamic_cast(baseType)), function addVaryingOffsetsIfNeeded, file ctx.cpp, line 2496.