freedreno/a6xx: cleanup rasterizer state
authorRob Clark <robdclark@chromium.org>
Thu, 16 Jan 2020 19:25:24 +0000 (11:25 -0800)
committerRob Clark <robdclark@chromium.org>
Fri, 17 Jan 2020 23:43:51 +0000 (15:43 -0800)
commit0e063b3079472af85f12fb77890cdfd97ce6a1d0
tree6fc80c56963a35ecf1e04fbbb09f4836792bda58
parentfba7e6f89600e1b2f41af5a42d91427be5468892
freedreno/a6xx: cleanup rasterizer state

All but one of the reg values is only used in the stateobj, so we can
inline the register value setup and stateobj construction.  While we
are at it, switch over to the new register builders.

Prep work for next patch.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3435>
src/gallium/drivers/freedreno/a6xx/fd6_rasterizer.c
src/gallium/drivers/freedreno/a6xx/fd6_rasterizer.h