freedreno/a6xx: split out const emit
authorRob Clark <robdclark@chromium.org>
Wed, 22 Apr 2020 18:20:25 +0000 (11:20 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Apr 2020 20:03:17 +0000 (20:03 +0000)
commitaff93f54190f4c934e25b9210d59db22bdd38ec7
tree5d6a104c7ba52fb81ff3de575c2b98f7607f988f
parent58fd1d7ecd38daf5bcbaa225175b43b8c722b0d0
freedreno/a6xx: split out const emit

In order to inline the const emit and drop the per-gen vfuncs to emit
the correct sort of packet, we should consolidate all of the entry-
points to const emit in one object file, otherwise we'll end up with
multiple copies per gen.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4813>
src/gallium/drivers/freedreno/Makefile.sources
src/gallium/drivers/freedreno/a6xx/fd6_compute.c
src/gallium/drivers/freedreno/a6xx/fd6_const.c [new file with mode: 0644]
src/gallium/drivers/freedreno/a6xx/fd6_const.h [new file with mode: 0644]
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_program.c
src/gallium/drivers/freedreno/meson.build