When the cg source contains a float4x4 matrix at the very beginning with a semantic like WORLDVIEW and that gets replaced by the GL build in matrix the conditioner crashes.
The problem seems to be in SrcStripper.cpp in method SrcStripper::cgRemoveFloat4x4Declaration. While searching for the left of a token the position in the source string is decremented below zero. I uploaded a fixed...