Add more error checks for interpolateAtVertexAMD()

This commit is contained in:
Rex Xu 2018-03-06 15:01:40 +08:00
parent c6c80a6e48
commit 4f5b99e37e
2 changed files with 23 additions and 0 deletions

View file

@ -508,6 +508,12 @@ public:
return flat || smooth || nopersp;
#endif
}
#ifdef AMD_EXTENSIONS
bool isExplicitInterpolation() const
{
return explicitInterp;
}
#endif
bool isAuxiliary() const
{
return centroid || patch || sample;