diff options
author | Samuel Pitoiset <[email protected]> | 2016-04-08 20:24:58 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-04-26 19:47:49 +0200 |
commit | 222d1a1bff8eeaf1007ff921bc321333a42fe2b4 (patch) | |
tree | 58bfab955bd11e1d1e2902b1c21c8ba697137796 /src/gallium/drivers/nouveau | |
parent | 9e367ed4805c460a81e9307799f7c8e34b70f16c (diff) |
nvc0: expose GLSL version 420 on GK104
Other chipsets will be added later.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 7889b6a019d..b0456f34210 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -120,6 +120,8 @@ 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) + return 420; return 410; case PIPE_CAP_MAX_RENDER_TARGETS: return 8; |