i965: Combine the Gen6 SF and Clip viewport atoms.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 21 Jan 2017 22:10:15 +0000 (14:10 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 7 Feb 2017 01:40:14 +0000 (17:40 -0800)
commit89ad7f1be6a607b33ffb388516b5d0547b491c33
tree46f31096c70520d8234a63c214a3b80cd18033c2
parent90ac2285f0900972d2a3e7a034b51ee4de374ffb
i965: Combine the Gen6 SF and Clip viewport atoms.

The next patch will make the guardband calculation dependent on the
transformation matrix.  Instead of computing it in both atoms, just
combine them into a single atom.

Cc: "17.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/gen6_viewport_state.c