summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-04-18 18:55:22 +0200
committerSamuel Pitoiset <[email protected]>2016-04-26 19:47:49 +0200
commit5c429f88d9696d2060e02c95b832999e918718bc (patch)
treebdc3418c6796b42d27629266aa60f762361209e7
parenta0e777f6a12515cfadf8050eb63dfe24f84347b5 (diff)
nvc0: expose GLSL version 420 on GK110
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 7fa81ae00af..fbdfdd0853b 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -120,7 +120,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
return 128 * 1024 * 1024;
case PIPE_CAP_GLSL_FEATURE_LEVEL:
- if (class_3d == NVE4_3D_CLASS)
+ if (class_3d == NVE4_3D_CLASS || class_3d == NVF0_3D_CLASS)
return 420;
return 410;
case PIPE_CAP_MAX_RENDER_TARGETS: