summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nvc0
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-06-14 18:27:31 +0200
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-07-27 23:19:07 +0200
commitaf08cfc6266beea091db8bbc6fb8effeaa63c8d3 (patch)
tree4dc51f76d75c332dff1500003ab272d4e11a6385 /src/gallium/drivers/nouveau/nvc0
parent3ac373df6e47a65bdb5e5bda57dfc9f2a8010f53 (diff)
downloadexternal_mesa3d-af08cfc6266beea091db8bbc6fb8effeaa63c8d3.zip
external_mesa3d-af08cfc6266beea091db8bbc6fb8effeaa63c8d3.tar.gz
external_mesa3d-af08cfc6266beea091db8bbc6fb8effeaa63c8d3.tar.bz2
nvc0: enable ARB_tessellation_shader on GM107+
This exposes OpenGL 4.1 on Maxwell (tested on GM107 and GM206). 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')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 6d924c3..fb0a9c8 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -308,11 +308,8 @@ nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
case PIPE_SHADER_GEOMETRY:
case PIPE_SHADER_FRAGMENT:
case PIPE_SHADER_COMPUTE:
- break;
case PIPE_SHADER_TESS_CTRL:
case PIPE_SHADER_TESS_EVAL:
- if (class_3d >= GM107_3D_CLASS)
- return 0;
break;
default:
return 0;