[Mesa-dev] [PATCH v1 3/3] nvc0: enable ARB_tessellation_shader on GM107+

Ilia Mirkin imirkin at alum.mit.edu
Wed Jul 27 20:57:14 UTC 2016


Patches 2, 3: Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Patch 1: Acked-by: Ilia Mirkin <imirkin at alum.mit.edu>

On Wed, Jul 27, 2016 at 4:51 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> This exposes OpenGL 4.1 on Maxwell (tested on GM107 and GM206).
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 ---
>  1 file changed, 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;
> --
> 2.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list