[Mesa-dev] [PATCH 2/3] llvmpipe: handle more PIPE_CAP_x queries

Marek Olšák maraeo at gmail.com
Tue Jun 26 15:44:45 PDT 2012


On Wed, Jun 27, 2012 at 12:22 AM, Olivier Galibert <galibert at pobox.com> wrote:
> On Tue, Jun 26, 2012 at 02:46:01PM -0600, Brian Paul wrote:
>> As with the previous commit for softpipe.
>>
>> v2: remove 'default' case to get compile-time warning
>> ---
>>  src/gallium/drivers/llvmpipe/lp_screen.c |   52 +++++++++++++++++++++++++++--
>>  1 files changed, 48 insertions(+), 4 deletions(-)
>>
>> diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
>> index 40037a5..e66737b 100644
>> --- a/src/gallium/drivers/llvmpipe/lp_screen.c
>> +++ b/src/gallium/drivers/llvmpipe/lp_screen.c
>> +   case PIPE_CAP_GLSL_FEATURE_LEVEL:
>> +      return 0;
>
> Why not 120?

Even though it would be nicer, the state tracker only looks for values
>= 130, so it's not a big deal.

Marek


More information about the mesa-dev mailing list