nvc0: reduce GL_MAX_3D_TEXTURE_SIZE to 2048 on Kepler+
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Apr 2016 14:58:57 +0000 (16:58 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Apr 2016 17:47:49 +0000 (19:47 +0200)
commitfdbb476829943095d0667e43cea2dbb96046ddb3
tree2ed5aa8f0e6ab7994d74fe2ed82c3c310e74f5a3
parent6fc6d548ed66caf4395190718163d964d9c0fe25
nvc0: reduce GL_MAX_3D_TEXTURE_SIZE to 2048 on Kepler+

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@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c