freedreno: Move fd4_size2indextype() helper to freedreno_util.h
authorKristian H. Kristensen <hoegsberg@google.com>
Mon, 3 Jun 2019 21:01:14 +0000 (14:01 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 7 Jun 2019 14:32:34 +0000 (07:32 -0700)
commitcae6b4d741ee3cd7c6640574eea46481e05d13ba
tree926a314040c5adab0f9a5433577e5906e4950038
parent0905189a25edabaea8de5482b9d5f531a92aa1cf
freedreno: Move fd4_size2indextype() helper to freedreno_util.h

In preparation for refactoring fd6_draw.c a bit.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/freedreno/a4xx/fd4_draw.h
src/gallium/drivers/freedreno/freedreno_util.h