freedreno/ir3: add ctx->mem_to_mem()
authorRob Clark <robdclark@gmail.com>
Mon, 18 Dec 2017 20:06:37 +0000 (15:06 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 19 Dec 2017 20:00:18 +0000 (15:00 -0500)
commitd7cb509fd3af578c7b1b8eac57910e38e258e348
tree28dae17ebbb29c71b8efc15a847019b9c4530a0e
parent0536737983981b03fbe8bccd9f3a0f7ae81479b0
freedreno/ir3: add ctx->mem_to_mem()

For dealing with indirect-draw + gl_VertexID, we'll introduce another
case where we need to use CP_MEM_TO_MEM.  Rather than adding more
if(a5xx)/else make this a ctx vfunc.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/a5xx/fd5_emit.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/ir3/ir3_shader.c