i965: Consider only the scissor rectangle for viewport 0 for clears
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 17 Jan 2014 23:28:23 +0000 (15:28 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 20 Jan 2014 19:32:01 +0000 (11:32 -0800)
commitbdff9a6e47c42c0ba8cec2d8b5c5438c0068f874
treeecf2164313f45247cde66bc6f0adee5f483fe353
parent2c27f1d47a4e084022a689f333f4d91708840a0e
i965: Consider only the scissor rectangle for viewport 0 for clears

noop_scissor (correctly) only examines the scissor rectangle for
viewport 0.  Therefore, it should only be called when that scissor
rectangle is enabled.

v2: Remove spurious change to radeon code.  Noticed by Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_clear.c