lima: pass array as parameter to PLBU and VS command macros
authorQiang Yu <yuq825@gmail.com>
Tue, 4 Feb 2020 03:06:54 +0000 (11:06 +0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 Feb 2020 02:54:15 +0000 (02:54 +0000)
commit92387ca23646d2d5b8ee4666968dced0c7198f2c
tree0484389c9df84c5a1279540c5ed3da9f6a667f2c
parentc3bbe4f7f8bd88ee92179679526664467e83c45a
lima: pass array as parameter to PLBU and VS command macros

Don't assume the ctx parameter, prepare for moving PLBU and
VS arrary from lima_context to lima_submit and adding new
plbu_cmd_head array.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3755>
src/gallium/drivers/lima/lima_draw.c