vc4: Only render tiles where the scissor ever intersected them.
authorEric Anholt <eric@anholt.net>
Sun, 28 Dec 2014 18:14:19 +0000 (08:14 -1000)
committerEric Anholt <eric@anholt.net>
Tue, 30 Dec 2014 22:33:52 +0000 (14:33 -0800)
commit3ba57bae47666ada1145259755fc326b1b9f9463
tree46f2e5952485f97aa47918d50c5051f028917c7f
parent0404e7fe0ac2a6234a11290b4b1596e8bc127a4b
vc4: Only render tiles where the scissor ever intersected them.

This gives a 2.7x improvement in x11perf -rect100, since we only end up
load/storing the x11perf window, not the whole screen.
src/gallium/drivers/vc4/vc4_context.c
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_emit.c