softpipe: implement some support for multiple viewports
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Fri, 11 Dec 2015 11:43:30 +0000 (22:43 +1100)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 11 Dec 2015 19:09:21 +0000 (20:09 +0100)
commit00f97ad5def91d485de0e5dd79fd39fae9ed3ce1
tree1d0b4e7a556c3a9cd00a4e641d675572ecc9f838
parent6c2c1e0ffeb265aa508e0ce8e552e10b0b5c5962
softpipe: implement some support for multiple viewports

Mostly related to making sure the rasterizer can correctly
pick out the correct scissor box for the current viewport.

Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_context.h
src/gallium/drivers/softpipe/sp_quad.h
src/gallium/drivers/softpipe/sp_quad_depth_test.c
src/gallium/drivers/softpipe/sp_setup.c
src/gallium/drivers/softpipe/sp_setup.h
src/gallium/drivers/softpipe/sp_state_clip.c
src/gallium/drivers/softpipe/sp_state_derived.c
src/gallium/drivers/softpipe/sp_surface.c