nvc0: enable ARB_tessellation_shader on GM107+
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 14 Jun 2016 16:27:31 +0000 (18:27 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 27 Jul 2016 21:19:07 +0000 (23:19 +0200)
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>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c

index 6d924c3544ce0f41974b17b6f99f3b874aa05602..fb0a9c85f153131a4b516043b09541a57b6c8ee9 100644 (file)
@@ -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;