v3d: Implement the line coord intrinsic
authorNeil Roberts <nroberts@igalia.com>
Mon, 22 Jun 2020 12:25:08 +0000 (14:25 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 21:59:16 +0000 (21:59 +0000)
commit2c4616368b963c8aebfb549eec7a517fc5f8589e
treee6713c23c85ffb021af1c2b0a09bc72d8bf307ef
parent14dd65bb5bff3165cf4f47efd62a65a51ed29aa4
v3d: Implement the line coord intrinsic

The line coord intrinsic is loaded from the implicit varying stored in
the same slot as the point coord when drawing lines.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5624>
src/broadcom/compiler/nir_to_vir.c