freedreno/a6xx: move const state to single stateobj
authorRob Clark <robdclark@chromium.org>
Thu, 16 Apr 2020 19:55:35 +0000 (12:55 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Apr 2020 20:03:17 +0000 (20:03 +0000)
commit8cfa765049d571a95b14ea006f900de8a7bf5cae
treecc7e7c3092ad636cdd293361cf3d496753c4e6b9
parent89dbdb806faaf1a4b3da0ce0ab597f9ced40d549
freedreno/a6xx: move const state to single stateobj

In practice, we end up updating all the shader stages at the same time.
So collapse this into a single group.

Reduces CP overhead.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4813>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h