fix: laneIndex() must be varying

This commit is contained in:
Evghenii
2014-01-09 09:41:57 +01:00
parent 5f859e4885
commit f86de2be78

View File

@@ -73,7 +73,7 @@ __declspec(safe,cost0)
}
/***************/
__declspec(safe,cost0)
static inline uniform int laneIndex()
static inline varying int laneIndex()
{
return __tid_x() & (WARPSIZE-1) ; //& (warpSize()-1);
}