Re: [Mesa-dev] [PATCH 1/2] softpipe: handle more PIPE_CAP_x queries

2012-06-26 Thread Brian Paul
On 06/26/2012 02:25 PM, Marek Olšák wrote: On Tue, Jun 26, 2012 at 10:11 PM, Brian Paul wrote: These all return zero. Add a debug_printf() to catch the default case so we don't accidently mishandle something important in the future. FWIW, it's better to remove the default statement and move

Re: [Mesa-dev] [PATCH 1/2] softpipe: handle more PIPE_CAP_x queries

2012-06-26 Thread Marek Olšák
On Tue, Jun 26, 2012 at 10:11 PM, Brian Paul wrote: > These all return zero.  Add a debug_printf() to catch the default case so > we don't accidently mishandle something important in the future. FWIW, it's better to remove the default statement and move the default code after the switch, so that

[Mesa-dev] [PATCH 1/2] softpipe: handle more PIPE_CAP_x queries

2012-06-26 Thread Brian Paul
These all return zero. Add a debug_printf() to catch the default case so we don't accidently mishandle something important in the future. --- src/gallium/drivers/softpipe/sp_screen.c | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/s