Merge pull request #1272 from amdrexu/bugfix

Add more error checks for interpolateAtVertexAMD()