lima: fix PLBU_CMD_PRIMITIVE_SETUP command
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 11 Jan 2020 03:33:21 +0000 (19:33 -0800)
committerVasily Khoruzhick <anarsoul@gmail.com>
Sun, 12 Jan 2020 08:10:04 +0000 (00:10 -0800)
commit997a30d709b2cc207c4f524ed1fb59a9ac6547e3
tree3e04dba274d103110e9abdc904840613599aa5ee
parent6bafd230e37c78829bae680a36e1565df03731f6
lima: fix PLBU_CMD_PRIMITIVE_SETUP command

Apparently it doesn't depend on primitive type, the value
only depends on whether we specify point size via PLBU command --
bit 12 is set in this case

Reviewed-by: Qiang Yu <yuq825@gmail.com>
Tested-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_parser.c