ilo: bump up PIPE_CAP_GLSL_FEATURE_LEVEL to 140
authorChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2013 09:48:00 +0000 (17:48 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2013 15:47:18 +0000 (23:47 +0800)
With UBO and TBO support, we are supposedly good to claim GLSL 1.40.

src/gallium/drivers/ilo/ilo_screen.c

index 9daf01ed8a1bd6ef7e991f22e9ee2e4188a9223f..d2b211366b10e09b1038ccbf16b3a5c5d30c5cdd 100644 (file)
@@ -380,7 +380,7 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param)
    case PIPE_CAP_VERTEX_COLOR_CLAMPED:
       return false;
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
-      return 130;
+      return 140;
    case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION:
    case PIPE_CAP_USER_VERTEX_BUFFERS:
       return false;