i965/guardband: Improve comments for guardband clipping
authorBen Widawsky <benjamin.widawsky@intel.com>
Sat, 2 Aug 2014 03:28:07 +0000 (20:28 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Mon, 11 Aug 2014 00:13:36 +0000 (17:13 -0700)
commit109d420f42b66224366f4604d1235204101abb37
tree64dcff338e4ae38d21bc0572b4ee26cad40cb107
parent31f1cbc24ddc32c2a7b768f9c017f2c7161c7728
i965/guardband: Improve comments for guardband clipping

While working in this part of the code I had a great deal of trouble
understanding what it was trying to do, and matching it with the spec.
(mostly due bad wording in the PRM). To help future people, I've cleaned
up the wording and provided some ascii art.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/gen8_viewport_state.c