freedreno/a6xx: Simplify draw_emit() branches a bit
authorKristian H. Kristensen <hoegsberg@chromium.org>
Fri, 21 Sep 2018 19:07:22 +0000 (12:07 -0700)
committerRob Clark <robdclark@gmail.com>
Thu, 27 Sep 2018 20:08:52 +0000 (16:08 -0400)
commit74a87cdaa6ff47256abc68fc5ff5662397986e80
tree42891dc6b6eff717b89b11f5311a637af7a5c693
parent2516073cb654c8997955b0a21854649115945995
freedreno/a6xx: Simplify draw_emit() branches a bit

Now that we've copied the emit logic into each branch of the
if (info->index_size) statement, we can simplify the logic a bit
according to which case we're in.

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