freedreno/ir3: add helper to determine point-coord inputs