[Mesa-dev] [RFC 24/24] nvc0: expose GLSL version 420 on GK104
Ilia Mirkin
imirkin at alum.mit.edu
Wed Apr 13 20:46:03 UTC 2016
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Maybe even make it 440 while you're at it? No harm done, we have all
the features. It'll get clamped down by mesa core for now having this
or that extension.
On Tue, Apr 12, 2016 at 7:57 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Other chipsets will be added later.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> index 2d22a50..3ba1e7a 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;
> --
> 2.8.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