freedreno: add resource tracking support for written buffers
authorRob Clark <robclark@freedesktop.org>
Sun, 26 Jul 2015 17:30:26 +0000 (13:30 -0400)
committerRob Clark <robclark@freedesktop.org>
Mon, 27 Jul 2015 17:51:06 +0000 (13:51 -0400)
commitbda1354aac9d32e236048af4d353d5530f644c34
treec576969a93da91735c2136c6d9076c515369bb11
parent65d36a109a7dd333c15180a0f30ad919eb01d78f
freedreno: add resource tracking support for written buffers

With stream-out (transform-feedback) we have the case where resources
are *written* by the gpu, which needs basically the same tracking to
figure out when rendering must be flushed.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_draw.c
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_resource.h