r600g: fix up segfault with variation between views and count.
authorDave Airlie <airlied@redhat.com>
Wed, 28 Jul 2010 05:26:14 +0000 (15:26 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Jul 2010 05:28:18 +0000 (15:28 +1000)
commit2ab24a6faedb0f9b93055cbf3d52be1120353ee1
tree59d90b9db883ed41c46b636ee308af6f9c2fad13
parent0a663bb4dbfd8389fd659184cfa4007b268fb140
r600g: fix up segfault with variation between views and count.

For some reason gallium hands us something with lots of empty views, and
we are expected to deal with it, just do what r300g does for this bit.
src/gallium/drivers/r600/r600_state.c