softpipe: handle more PIPE_CAP_x queries
authorBrian Paul <brianp@vmware.com>
Tue, 26 Jun 2012 20:02:43 +0000 (14:02 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 26 Jun 2012 21:03:43 +0000 (15:03 -0600)
commit7d23dcdaccaabece42adf82ef6cddbfc85582b63
treefe6b96849d9e438d5eb4c032995650de120c044c
parent80efb524ee94efc7c6b8f849b82305144838eea1
softpipe: handle more PIPE_CAP_x queries

These all return zero.  Add a debug_printf() to catch the default case so
we don't accidently mishandle something important in the future.

v2: remove 'default' case to get compile-time warning

Reviewed-by: Marek Olšák <maraeo@gmail.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/softpipe/sp_screen.c