freedreno: prepare for hw binning
authorRob Clark <robclark@freedesktop.org>
Sat, 21 Dec 2013 01:48:18 +0000 (20:48 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 26 Dec 2013 17:06:29 +0000 (12:06 -0500)
commitbe01d7a905d827c3c0c222cab2430c6d4575429a
treefc714be776c88076f061280b60137c1322af103b
parent64fe0670664bc6f2c75cc1630aa07cef1898b8b5
freedreno: prepare for hw binning

Actually assign VSC_PIPE's properly, which will be needed for tiling.
And introduce fd_tile for per-tile state (including the assignment of
tile to VSC_PIPE).  This gives us the proper pipe setup that we'll
need for hw binning pass, and also cleans things up a bit by not having
to pass so many parameters around.  And will also make it easier to
introduce different tiling patterns (since we may no longer render
tiles in a simple left-to-right top-to-bottom pattern).

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a2xx/fd2_gmem.c
src/gallium/drivers/freedreno/a3xx/fd3_context.c
src/gallium/drivers/freedreno/a3xx/fd3_context.h
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c
src/gallium/drivers/freedreno/a3xx/fd3_program.c
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_gmem.h