i965/gen8: Remove dead assertion
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Sun, 3 Jan 2016 13:06:09 +0000 (15:06 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 10 Feb 2016 07:11:34 +0000 (09:11 +0200)
commit878b2b8964c23d3be72dc28ef1a9758927f53214
tree3fb3486143adbd5fd28ae305a728d830ed6f1fd2
parent3c432d48bfe8b3d3326c16aed191fa80a5400963
i965/gen8: Remove dead assertion

The assertion is inside a condition mandating num_samples > 1 and
therefore the first half of the constraint is always met. The
second half in turn would only be applicable for single sampled
case and moreover it is trying to falsely check against surface
type instead of format.
Subsequent patches will introduce proper support for the lossless
compression and dropping this here makes the patches a little
simpler.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
src/mesa/drivers/dri/i965/gen8_surface_state.c