v3d: Drop the GLSL version level.
authorEric Anholt <eric@anholt.net>
Tue, 8 Jan 2019 18:16:51 +0000 (10:16 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 14 Jan 2019 21:18:02 +0000 (13:18 -0800)
This was an arbitrary "we support lots of stuff" value when I started the
driver.  However, at 400 we expose OES_gpu_shader5, which claims support
for dynamically indexing samplers, which the driver doesn't do yet.

src/gallium/drivers/v3d/v3d_screen.c

index a1ff75435f0dcceef038d6beb60bc306a94a7168..5d949514d09217b80477f118592c6787a0b9ea64 100644 (file)
@@ -149,7 +149,7 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
                 return 4;
 
         case PIPE_CAP_GLSL_FEATURE_LEVEL:
-                return 400;
+                return 330;
 
        case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
                return 140;