diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2016-04-26 23:23:19 +0200 |
---|---|---|
committer | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2016-05-21 18:33:06 +0200 |
commit | 30b93141aac4cca18ca11b00b7124fbad1aee51e (patch) | |
tree | afdfe58924c35d71b409a63027a6c98952c833d5 /src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | |
parent | d04050071d02fab6f1578fc603f63e0181edd5eb (diff) | |
download | external_mesa3d-30b93141aac4cca18ca11b00b7124fbad1aee51e.zip external_mesa3d-30b93141aac4cca18ca11b00b7124fbad1aee51e.tar.gz external_mesa3d-30b93141aac4cca18ca11b00b7124fbad1aee51e.tar.bz2 |
nvc0: expose GLSL version 420 on GF100
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_screen.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 |
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 4ffefcd..956b39d 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 || class_3d == NVF0_3D_CLASS) + if (class_3d <= NVF0_3D_CLASS) return 420; return 410; case PIPE_CAP_MAX_RENDER_TARGETS: |