radeon/compute: Always report at least 1 compute unit
authorTom Stellard <thomas.stellard@amd.com>
Fri, 13 Jun 2014 16:58:13 +0000 (12:58 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Sat, 14 Jun 2014 01:32:34 +0000 (21:32 -0400)
commitac26a562edc8b249de083a766eeac9ce1678cfa2
tree24bbaad146a2476dc2ae99c440072d8494fda90d
parentffe609cc69f328de5b57d4d7ab1d270fcf28de5f
radeon/compute: Always report at least 1 compute unit

Some apps will abort if they detect 0 compute units.  This fixes
crashes in some OpenCV tests.
src/gallium/drivers/radeon/r600_pipe_common.c