lima: add support for gl_PointSize
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 2 Nov 2019 02:23:57 +0000 (19:23 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Wed, 6 Nov 2019 01:44:56 +0000 (17:44 -0800)
commit65a5b24aeea34b370cd38083ccbbd38efcac1d4e
tree070fc44b890fca8985920421c14a74a7940b191d
parent73cc2fec10574816ff968b21183bd62e77517b66
lima: add support for gl_PointSize

GP handles gl_PointSize similar to gl_Position, i.e. it needs
separate buffer and it has special type in varying descriptors, also
for indexed draw we need to emit special PLBU command to pass
address of gl_PointSize buffer.

Blob also clamps gl_PointSize to 1 .. 100 (as well as line width),
so let's do the same.

Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
.gitlab-ci/deqp-lima-fails.txt
.gitlab-ci/deqp-lima-skips.txt
src/gallium/drivers/lima/ir/gp/nir.c
src/gallium/drivers/lima/lima_context.h
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_program.c
src/gallium/drivers/lima/lima_screen.c