[Mesa-dev] [RFC 21/24] nvc0: reduce GL_MAX_3D_TEXTURE_SIZE to 2048 on Kepler+
Ilia Mirkin
imirkin at alum.mit.edu
Wed Apr 13 20:41:09 UTC 2016
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
On Tue, Apr 12, 2016 at 7:57 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> The blob sets it to 2048 and using 4096 reports an INVALID_DATA error
> with RT_ARRAY_MODE when z is 4096. Suggested by Ilia Mirkin.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> index e1d042b..1853610 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
> @@ -106,7 +106,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
> case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
> return 15;
> case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
> - return (class_3d >= NVE4_3D_CLASS) ? 13 : 12;
> + return 12;
> case PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS:
> return 2048;
> case PIPE_CAP_MIN_TEXEL_OFFSET:
> --
> 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