radeonsi: assert that the DB format is valid (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Nov 2012 14:31:26 +0000 (09:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Nov 2012 17:08:17 +0000 (12:08 -0500)
commit34d487b64d467a568d197de8376dcba88418bea1
tree9ca2eb2610c8bbe618f93b221ae9a78d9e846e5c
parentfd1196c41201917441bfd9174e1a89212f9a1b5b
radeonsi: assert that the DB format is valid (v2)

Assert that the DB format is valid and default to
the INVALID hw format rather than ~0U when the format
doesn't match for non-debug builds.

v2: use INVALID hw format rather than ~0U

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state.c