lima/ppir: Add gl_PointCoord handling
authorAndreas Baierl <ichgeh@imkreisrum.de>
Fri, 31 May 2019 07:54:27 +0000 (09:54 +0200)
committerQiang Yu <yuq825@gmail.com>
Thu, 18 Jul 2019 13:20:39 +0000 (13:20 +0000)
commit4627a0c4ebc777716e7cadfd80e4f9d5b411762b
treea2f1f45b36ae3a9b313af754ad66dc46f57300ca
parent35232330274cff321e746b219db9ec9de23172d0
lima/ppir: Add gl_PointCoord handling

Treat gl_PointCoord as a system value and
add the necessary bits for correct codegen.

Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/lima/ir/pp/codegen.c
src/gallium/drivers/lima/ir/pp/nir.c
src/gallium/drivers/lima/ir/pp/node.c
src/gallium/drivers/lima/ir/pp/node_to_instr.c
src/gallium/drivers/lima/ir/pp/ppir.h
src/gallium/drivers/lima/lima_screen.c