v3d: Handle the line width intrinsics
authorNeil Roberts <nroberts@igalia.com>
Mon, 22 Jun 2020 07:52:25 +0000 (09:52 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 21:59:16 +0000 (21:59 +0000)
commit207da33a86d1a2b45995a7fd123afb761b1d841f
tree75d11d8858731e7fa7e648652eb08ea7ca8857f7
parent121b82f6387c267731a18f3cb9762cedf99ebb6d
v3d: Handle the line width intrinsics

Adds new QUNIFORMs to store the line widths.

v2: Also handle the aa_line_width intrinsic

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
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir_dump.c
src/gallium/drivers/v3d/v3d_uniforms.c