freedreno/a6xx: Consolidate more of dword 0 building in fd6_draw_vbo
authorKristian H. Kristensen <hoegsberg@google.com>
Mon, 3 Jun 2019 21:12:59 +0000 (14:12 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 7 Jun 2019 14:32:59 +0000 (07:32 -0700)
commit4552162e2d4aa03078d2c7ac7d903ff92126640b
tree35708174fd9aea4c31c7f931045cd23de5576967
parentcae6b4d741ee3cd7c6640574eea46481e05d13ba
freedreno/a6xx: Consolidate more of dword 0 building in fd6_draw_vbo

There's already a bit of duplicated logic here and tessellation will
add more. Build up dword 0 in fd6_draw_vbo() and drop the a4xx in the
process.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/freedreno/a6xx/fd6_draw.c