[Mesa-dev] [PATCH] nvc0: bump compat GLSL version to match core

Ilia Mirkin imirkin at alum.mit.edu
Sun Aug 26 18:23:10 UTC 2018


This passes the handful of tests in piglit.

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---

... once the gl_TexCoord lowering fix is in, but that affects everyone

 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 802483038ef..4701b768bec 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -129,7 +129,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_GLSL_FEATURE_LEVEL:
       return 430;
    case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
-      return 140;
+      return 430;
    case PIPE_CAP_MAX_RENDER_TARGETS:
       return 8;
    case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
-- 
2.16.4



More information about the mesa-dev mailing list