From 6c8edcb89c1264c43f5e98444551edb8df2f91f9 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 8 Jan 2019 10:16:51 -0800 Subject: [PATCH] v3d: Drop the GLSL version level. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c index a1ff75435f0..5d949514d09 100644 --- a/src/gallium/drivers/v3d/v3d_screen.c +++ b/src/gallium/drivers/v3d/v3d_screen.c @@ -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; -- 2.30.2