diff options
author | Kristian H. Kristensen <[email protected]> | 2018-08-15 09:18:41 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2018-08-16 19:13:36 -0400 |
commit | de3b34df97326b793fac2152eedbd25a0c2d0812 (patch) | |
tree | e186a1d711a2c2f0695feca5de3ff357cebf5b27 /src/gallium/drivers/freedreno/freedreno_batch.h | |
parent | 6ee58e8257528abeea3f62310b7f30aeedac9e57 (diff) |
freedreno: Add a6xx backend
This adds a freedreno backend for the a6xx generation GPUs, which at
the time of this commit is about 98% GLES2 conformant. Much remains to
be done - both performance work and feature work towards more recent
GLES versions, but this is a good start.
Signed-off-by: Kristian H. Kristensen <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_batch.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_batch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_batch.h b/src/gallium/drivers/freedreno/freedreno_batch.h index 4b0539d0062..6bb88a62916 100644 --- a/src/gallium/drivers/freedreno/freedreno_batch.h +++ b/src/gallium/drivers/freedreno/freedreno_batch.h @@ -140,6 +140,11 @@ struct fd_batch { */ struct util_dynarray draw_patches; + /* Keep track of blitter GMEM offsets that need to be patched up once we + * know the gmem layout: + */ + struct util_dynarray gmem_patches; + /* Keep track of writes to RB_RENDER_CONTROL which need to be patched * once we know whether or not to use GMEM, and GMEM tile pitch. * |