freedreno: small bit of cleanup about max rendertargets
authorRob Clark <robclark@freedesktop.org>
Fri, 31 Jul 2015 13:36:31 +0000 (09:36 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 4 Aug 2015 20:03:45 +0000 (16:03 -0400)
commita221f8d9ebb4ef43a83ef638458d1338dfe1e517
treed2e39e9421454b603c4f6bf1f355611eee71ffe1
parent5f247a9656cb8a0eccdc98ef5911ed15c1248dfb
freedreno: small bit of cleanup about max rendertargets

We hard-coded 4 or 8 as the max in various places.  Switch it all to a
define since the limit will go up with a4xx (and maybe even again in the
future?)

Signed-off-by: Rob Clark <robclark@freedesktop.org>
13 files changed:
src/gallium/drivers/freedreno/a3xx/fd3_blend.h
src/gallium/drivers/freedreno/a3xx/fd3_draw.c
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/a4xx/fd4_blend.h
src/gallium/drivers/freedreno/a4xx/fd4_draw.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/a4xx/fd4_gmem.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_gmem.h
src/gallium/drivers/freedreno/freedreno_program.c
src/gallium/drivers/freedreno/freedreno_util.h