radeonsi: Reinstate assertions against invalid colour/depth formats.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 23 Nov 2012 15:05:41 +0000 (16:05 +0100)
committerMichel Dänzer <michel@daenzer.net>
Wed, 28 Nov 2012 14:48:50 +0000 (15:48 +0100)
commit6e33b55ee16c9885391d3baff33545a5209c0623
treef3fec6d8f7e2e13db4037f6c8cbe46b67946c8d1
parenta8d46d017389c287db3e7062e8fdffbbef2ae50d
radeonsi: Reinstate assertions against invalid colour/depth formats.

radeonsi now supports Z16 and doesn't fail these assertions anymore.

This partially reverts commit 7bba4879bb79719e22a18b52759b1d1d839c783c, but
leaves the error messages in place to allow diagnosing such problems even with
non-debugging builds.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_state.c