freedreno/a6xx: move where we handle dirty vbo state
authorRob Clark <robdclark@gmail.com>
Fri, 26 Oct 2018 17:48:38 +0000 (13:48 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 26 Oct 2018 22:10:00 +0000 (18:10 -0400)
commit2a74d9ae8d1906913d15e45c7abeec20efc87e6d
tree43bdf74ef613cf7c55c0b013a036679aa0732a79
parentddb7fadaf8b1aa3004e72d6b0e28e465f8f45fba
freedreno/a6xx: move where we handle dirty vbo state

Historically this wasn't in fdN_emit_state(), because prior to addition
of blitter in a5xx, fdN_emit_state() was also used in the clear path.
These days that is only true for a2xx (a3xx and a4xx use u_blitter).  So
the reason for it not to be in fd6_emit_state() no longer exists.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_draw.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h