i965/meta: Assert fast clears and rep clears never overlap
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 14 Oct 2015 03:50:25 +0000 (20:50 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Wed, 4 Nov 2015 05:54:11 +0000 (21:54 -0800)
commitd56a1478a8006af48aa65ab62e676e5f974f1ec3
tree07a2fa28570435e6e24d15d8d245ceab508578a6
parent13b19aa815661cd17b74c8694b6c466bfaf75740
i965/meta: Assert fast clears and rep clears never overlap

There is nothing wrong with the code today, but as one modifies the code it
turns out to be not too difficult to mess up the code, and this easy assertion
should catch such driver implementation failures quickly.

Cc: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chad Versace <chad.versace@intel.com>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/dri/i965/brw_meta_fast_clear.c