ISPC based hit testing