i965/gen8+: Extract color clear surface state
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 14 Oct 2015 03:50:19 +0000 (20:50 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Tue, 3 Nov 2015 21:49:21 +0000 (13:49 -0800)
commit5d4b019d2a6d4deb4db11780618515cf1fa8a4fc
treed6d23309d6a484fae08db89e198c594512b0c447
parentf3223ebd6c6ae35b14fe463b8889cf93df1e9aac
i965/gen8+: Extract color clear surface state

On future generation platforms the color clear value is stored elsewhere in the
surface state. By extracting this logic, we can cleanly implement the difference
in an upcoming patch.

Should have no functional impact.

v2: Move hunk from the next patch into this patch (Matt)
Whitespace fix (Ben)

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/dri/i965/gen8_surface_state.c