freedreno/a3xx: add MRT support

Graphics / Mesa 3D Graphics Library / Mesa - Ilia Mirkin [alum.mit.edu] - 1 April 2015 23:09 UTC

The hardware only supports 4 MRTs. It should be possible to emulate support for 8, but doesn't seem worth the trouble.

4a3c0e9 freedreno/a3xx: add MRT support
docs/relnotes/10.6.0.html | 3 +-
src/gallium/drivers/freedreno/a3xx/fd3_draw.c | 20 +--
src/gallium/drivers/freedreno/a3xx/fd3_emit.c | 104 +++++++++-----
src/gallium/drivers/freedreno/a3xx/fd3_emit.h | 3 +-
src/gallium/drivers/freedreno/a3xx/fd3_format.h | 8 +-
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c | 159 +++++++++++++---------
src/gallium/drivers/freedreno/a3xx/fd3_program.c | 58 +++++---
src/gallium/drivers/freedreno/a3xx/fd3_program.h | 3 +-
src/gallium/drivers/freedreno/a3xx/fd3_screen.c | 2 +-
9 files changed, 221 insertions(+), 139 deletions(-)

Upstream: cgit.freedesktop.org


  • Share