softpipe: add layering to the surface tile cache.
authorDave Airlie <airlied@redhat.com>
Tue, 10 Jun 2014 02:12:27 +0000 (12:12 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Jun 2014 02:20:30 +0000 (12:20 +1000)
commitdc8fc39adac79cb8cbf59fc7ae5536536dceb52a
tree3544706a65a53a6632e5d85989bc47203f763d2b
parent5a57248541b45c81081b2d7bd30dc0097f126ad6
softpipe: add layering to the surface tile cache.

This adds the layer info to the tile cache.

This changes clear_flags to be dynamically allocated as
MAX_LAYERS seems like a too big step.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/softpipe/sp_quad_blend.c
src/gallium/drivers/softpipe/sp_quad_depth_test.c
src/gallium/drivers/softpipe/sp_quad_depth_test_tmp.h
src/gallium/drivers/softpipe/sp_tile_cache.c
src/gallium/drivers/softpipe/sp_tile_cache.h