freedreno: add fd_context_batch() accessor
authorRob Clark <robdclark@gmail.com>
Mon, 3 Sep 2018 20:07:17 +0000 (16:07 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 5 Sep 2018 17:38:43 +0000 (13:38 -0400)
commita122118c14a3cc9da22b94174cae7ee8d8445dfa
tree13255fbc5fba72aeb524abdde8bf12dde6963829
parenta45e1802db528a5d2e622daccc5ca29a3d3d88b3
freedreno: add fd_context_batch() accessor

For cases in which (after the following commit) ctx->batch may be null.
Prep work for following commit.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a4xx/fd4_query.c
src/gallium/drivers/freedreno/freedreno_batch_cache.c
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_draw.c
src/gallium/drivers/freedreno/freedreno_fence.c
src/gallium/drivers/freedreno/freedreno_query_acc.c
src/gallium/drivers/freedreno/freedreno_query_hw.c