So the Adreno 320's driver is crashing there:
lowp float mask = smoothstep(distanceMin, distanceMax, shapeData[yCoord <= 0.0 ? 0 : 1]);
because of the index being computed on the same line, storing it in a variable before fixes it...
So the Adreno 320's driver is crashing there:
lowp float mask = smoothstep( distanceMin, distanceMax, shapeData[yCoord <= 0.0 ? 0 : 1]);
because of the index being computed on the same line, storing it in a variable before fixes it...