llvmpipe: remove lp_rast_cmd_arg::state field
authorBrian Paul <brianp@vmware.com>
Thu, 2 Jun 2022 16:00:11 +0000 (10:00 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 14 Jul 2022 19:16:07 +0000 (19:16 +0000)
commit3f0a6c7ac1d13d50dd460358d44586e976195282
tree3468d2a0e22f30b2ab9ea543bd9069e587acbbf1
parent4d5d7d16dced9727d4a1d37aade822ffd24d1345
llvmpipe: remove lp_rast_cmd_arg::state field

Use the existing 'set_state' field.  Some code was using 'state'
and other code was using 'set_state'.  It didn't really matter
since lp_rast_cmd_arg is a union, but this removes some potential
confusion.

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_rast.h
src/gallium/drivers/llvmpipe/lp_rast_debug.c