svga: handle missing PIPE_CAP_x queries
authorBrian Paul <brianp@vmware.com>
Tue, 26 Jun 2012 20:41:46 +0000 (14:41 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 26 Jun 2012 21:03:44 +0000 (15:03 -0600)
commit55a89889ba8b9e58fdccf9d363d22aac93ba1281
treeb4c74573d8631c89fc8c9235c8be915944ba30ed
parent056e9b45117dee45189aa91dd6c01da08ed23ee8
svga: handle missing PIPE_CAP_x queries

And fix incorrect error message for a bad shader type/number.

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/svga/svga_screen.c