llvmpipe: return 120 for PIPE_CAP_GLSL_FEATURE_LEVEL
authorBrian Paul <brianp@vmware.com>
Tue, 26 Jun 2012 22:37:22 +0000 (16:37 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 26 Jun 2012 23:03:33 +0000 (17:03 -0600)
Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/drivers/llvmpipe/lp_screen.c

index e66737b3c7c3c03081610b97e8baa92cfd62c73b..33fa24133947660c90e45256fedefecf9d28dc34 100644 (file)
@@ -190,7 +190,7 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_VERTEX_COLOR_CLAMPED:
       return 0;
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
-      return 0;
+      return 120;
    case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
       return 0;
    case PIPE_CAP_COMPUTE: