- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
Building Embree 2.3.3 with MSVC 2012, Icc 14.0, ispc 1.8
Compiling rtcore_ispc.ispc ...
ISPC : LLVM error : Do not know how to split this operator's operand!
Not too much infortmative ;-) Tried to insert #error directive to localize error - no effect. What to do?
Thx
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I see the problem is with "sizeof(varying float) == 32", example
void rtcIntersect (RTCScene scene, varying RTCRay& ray)
{
varying bool mask = __mask;
unmasked {
varying int imask = mask ? -1 : 0;
}if (sizeof(varying float) == 16) // it's Ok
ispcIntersect4(&imask,scene,&ray);
/*
else if (sizeof(varying float) == 32) // error with this line
ispcIntersect8(&imask,scene,&ray);
else if (sizeof(varying float) == 64) // Ok
ispcIntersect16(&imask,scene,&ray);
*/
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tried with ispc 1.7 - all is built fine and running.With Debug build render is tremendously slow - but it's MSVC problem
Thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just fixed this issue. The code should now also compile with ISPC v1.8.0 in Win32 mode.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page