OSDN Git Service

radeonsi: assert the CB format is valid (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Nov 2012 14:34:13 +0000 (09:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Nov 2012 17:10:48 +0000 (12:10 -0500)
commit565c29f221660fbcf9cd49780a9baf937586b768
tree4f97d9d0f348d298fae91fae38d82361674cbc57
parent34d487b64d467a568d197de8376dcba88418bea1
radeonsi: assert the CB format is valid (v2)

Assert the the CB 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