freedreno/a6xx: Build up draw dword0 outside visibilty if statement
authorKristian H. Kristensen <hoegsberg@chromium.org>
Fri, 21 Sep 2018 19:24:47 +0000 (12:24 -0700)
committerRob Clark <robdclark@gmail.com>
Thu, 27 Sep 2018 20:08:52 +0000 (16:08 -0400)
commit3e905052248a6e9c0e1ce6b7f32ad5aeff28a7c8
treead8fde10ffee9d857e573b886758148bf13c04d7
parent74a87cdaa6ff47256abc68fc5ff5662397986e80
freedreno/a6xx: Build up draw dword0 outside visibilty if statement

Pulling this logic out means we can share the logic and avoid a couple
of temporary variables that helped make things clearer before. Note
that in either vismode case, we always program vismode 0.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/drivers/freedreno/a6xx/fd6_draw.c