freedreno/a6xx: disable unused groups
authorRob Clark <robdclark@gmail.com>
Thu, 25 Oct 2018 19:27:10 +0000 (15:27 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 25 Oct 2018 22:38:53 +0000 (18:38 -0400)
commit3c402d0dc2a39a7d6efd51400d3cab5b737dfafc
tree7c130e8aace7950d656fd87fffd98a3068dbeb5a
parentd53074d3f10dbeffb5b991dffd19b2c17f2711fb
freedreno/a6xx: disable unused groups

Don't leave vsconst/fsconst group enabled if we switch to shader with no
uniforms.

Fixes: abcdf5627a2 freedreno/a6xx: move const emit to state group
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h